2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc1.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='1.0-rc1'
578 PACKAGE_STRING='Wine 1.0-rc1'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
776 ac_subst_files='MAKE_RULES
781 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 1.0-rc1 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 1.0-rc1:";;
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-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-rc1
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-rc1, 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 sigsetjmp" >&5
14454 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14455 if test "${ac_cv_c_sigsetjmp+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 #include <setjmp.h>
14469 sigsetjmp( buf, 1 );
14470 siglongjmp( buf, 1 );
14475 rm -f conftest.$ac_objext conftest$ac_exeext
14476 if { (ac_try="$ac_link"
14477 case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_link") 2>conftest.er1
14484 grep -v '^ *+' conftest.er1 >conftest.err
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } && {
14489 test -z "$ac_c_werror_flag" ||
14490 test ! -s conftest.err
14491 } && test -s conftest$ac_exeext &&
14492 $as_test_x conftest$ac_exeext; then
14493 ac_cv_c_sigsetjmp="yes"
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 ac_cv_c_sigsetjmp="no"
14501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14502 conftest$ac_exeext conftest.$ac_ext
14505 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14506 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14507 if test "$ac_cv_c_sigsetjmp" = "yes"
14510 cat >>confdefs.h <<\_ACEOF
14511 #define HAVE_SIGSETJMP 1
14516 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14517 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14518 if test "${ac_cv_type_pthread_rwlock_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_rwlock_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_rwlock_t=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 ac_cv_type_pthread_rwlock_t=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14570 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14571 if test $ac_cv_type_pthread_rwlock_t = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_PTHREAD_RWLOCK_T 1
14579 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14580 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14581 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14584 cat >conftest.$ac_ext <<_ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 #define _GNU_SOURCE
14591 #include <pthread.h>
14593 typedef pthread_rwlockattr_t ac__type_new_;
14597 if ((ac__type_new_ *) 0)
14599 if (sizeof (ac__type_new_))
14605 rm -f conftest.$ac_objext
14606 if { (ac_try="$ac_compile"
14607 case "(($ac_try" in
14608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14609 *) ac_try_echo=$ac_try;;
14611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14612 (eval "$ac_compile") 2>conftest.er1
14614 grep -v '^ *+' conftest.er1 >conftest.err
14616 cat conftest.err >&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } && {
14619 test -z "$ac_c_werror_flag" ||
14620 test ! -s conftest.err
14621 } && test -s conftest.$ac_objext; then
14622 ac_cv_type_pthread_rwlockattr_t=yes
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14627 ac_cv_type_pthread_rwlockattr_t=no
14630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14633 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14634 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14636 cat >>confdefs.h <<_ACEOF
14637 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14644 ac_wine_check_funcs_save_LIBS="$LIBS"
14645 LIBS="$LIBS $LIBPTHREAD"
14651 pthread_attr_get_np \
14652 pthread_getattr_np \
14653 pthread_get_stackaddr_np \
14654 pthread_get_stacksize_np
14656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14670 #define $ac_func innocuous_$ac_func
14672 /* System header to define __stub macros and hopefully few prototypes,
14673 which can conflict with char $ac_func (); below.
14674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14675 <limits.h> exists even on freestanding compilers. */
14678 # include <limits.h>
14680 # include <assert.h>
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14692 /* The GNU C library defines this for functions which it implements
14693 to always fail with ENOSYS. Some functions are actually named
14694 something starting with __ and the normal name is an alias. */
14695 #if defined __stub_$ac_func || defined __stub___$ac_func
14702 return $ac_func ();
14707 rm -f conftest.$ac_objext conftest$ac_exeext
14708 if { (ac_try="$ac_link"
14709 case "(($ac_try" in
14710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14711 *) ac_try_echo=$ac_try;;
14713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14714 (eval "$ac_link") 2>conftest.er1
14716 grep -v '^ *+' conftest.er1 >conftest.err
14718 cat conftest.err >&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } && {
14721 test -z "$ac_c_werror_flag" ||
14722 test ! -s conftest.err
14723 } && test -s conftest$ac_exeext &&
14724 $as_test_x conftest$ac_exeext; then
14725 eval "$as_ac_var=yes"
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.$ac_ext >&5
14730 eval "$as_ac_var=no"
14733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14734 conftest$ac_exeext conftest.$ac_ext
14736 ac_res=`eval echo '${'$as_ac_var'}'`
14737 { echo "$as_me:$LINENO: result: $ac_res" >&5
14738 echo "${ECHO_T}$ac_res" >&6; }
14739 if test `eval echo '${'$as_ac_var'}'` = yes; then
14740 cat >>confdefs.h <<_ACEOF
14741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14747 LIBS="$ac_wine_check_funcs_save_LIBS"
14749 # Extract the first word of "esd-config", so it can be a program name with args.
14750 set dummy esd-config; ac_word=$2
14751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14753 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14762 for as_dir in $PATH
14765 test -z "$as_dir" && as_dir=.
14766 for ac_exec_ext in '' $ac_executable_extensions; do
14767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14768 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14779 ESDCONFIG=$ac_cv_path_ESDCONFIG
14780 if test -n "$ESDCONFIG"; then
14781 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14782 echo "${ECHO_T}$ESDCONFIG" >&6; }
14784 { echo "$as_me:$LINENO: result: no" >&5
14785 echo "${ECHO_T}no" >&6; }
14789 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14792 for i in `$ESDCONFIG --cflags`
14795 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14798 ESD_LIBS=`$ESDCONFIG --libs`
14799 save_CFLAGS="$CFLAGS"
14800 CFLAGS="$CFLAGS $ESD_CFLAGS"
14801 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14802 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14803 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14806 ac_check_lib_save_LIBS=$LIBS
14808 cat >conftest.$ac_ext <<_ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14821 char esd_open_sound ();
14825 return esd_open_sound ();
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (ac_try="$ac_link"
14832 case "(($ac_try" in
14833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14834 *) ac_try_echo=$ac_try;;
14836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14837 (eval "$ac_link") 2>conftest.er1
14839 grep -v '^ *+' conftest.er1 >conftest.err
14841 cat conftest.err >&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } && {
14844 test -z "$ac_c_werror_flag" ||
14845 test ! -s conftest.err
14846 } && test -s conftest$ac_exeext &&
14847 $as_test_x conftest$ac_exeext; then
14848 ac_cv_lib_esd_esd_open_sound=yes
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.$ac_ext >&5
14853 ac_cv_lib_esd_esd_open_sound=no
14856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14857 conftest$ac_exeext conftest.$ac_ext
14858 LIBS=$ac_check_lib_save_LIBS
14860 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14861 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14862 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14865 ESDINCL=$ESD_CFLAGS
14868 cat >>confdefs.h <<\_ACEOF
14874 CFLAGS="$save_CFLAGS"
14879 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14881 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14882 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14883 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 ac_check_lib_save_LIBS=$LIBS
14887 LIBS="-lasound $LIBS"
14888 cat >conftest.$ac_ext <<_ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14901 char snd_pcm_hw_params_get_access ();
14905 return snd_pcm_hw_params_get_access ();
14910 rm -f conftest.$ac_objext conftest$ac_exeext
14911 if { (ac_try="$ac_link"
14912 case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_link") 2>conftest.er1
14919 grep -v '^ *+' conftest.er1 >conftest.err
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } && {
14924 test -z "$ac_c_werror_flag" ||
14925 test ! -s conftest.err
14926 } && test -s conftest$ac_exeext &&
14927 $as_test_x conftest$ac_exeext; then
14928 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14933 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_check_lib_save_LIBS
14940 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14941 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14942 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14943 cat >conftest.$ac_ext <<_ACEOF
14946 cat confdefs.h >>conftest.$ac_ext
14947 cat >>conftest.$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 #ifdef HAVE_ALSA_ASOUNDLIB_H
14950 #include <alsa/asoundlib.h>
14951 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14952 #include <sys/asoundlib.h>
14957 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14962 rm -f conftest.$ac_objext
14963 if { (ac_try="$ac_compile"
14964 case "(($ac_try" in
14965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14966 *) ac_try_echo=$ac_try;;
14968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14969 (eval "$ac_compile") 2>conftest.er1
14971 grep -v '^ *+' conftest.er1 >conftest.err
14973 cat conftest.err >&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } && {
14976 test -z "$ac_c_werror_flag" ||
14977 test ! -s conftest.err
14978 } && test -s conftest.$ac_objext; then
14980 cat >>confdefs.h <<\_ACEOF
14981 #define HAVE_ALSA 1
14984 ALSALIBS="-lasound"
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14999 if test "$ac_cv_header_libaudioio_h" = "yes"
15001 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15002 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15003 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-laudioio $LIBS"
15008 cat >conftest.$ac_ext <<_ACEOF
15011 cat confdefs.h >>conftest.$ac_ext
15012 cat >>conftest.$ac_ext <<_ACEOF
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15021 char AudioIOGetVersion ();
15025 return AudioIOGetVersion ();
15030 rm -f conftest.$ac_objext conftest$ac_exeext
15031 if { (ac_try="$ac_link"
15032 case "(($ac_try" in
15033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15034 *) ac_try_echo=$ac_try;;
15036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15037 (eval "$ac_link") 2>conftest.er1
15039 grep -v '^ *+' conftest.er1 >conftest.err
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } && {
15044 test -z "$ac_c_werror_flag" ||
15045 test ! -s conftest.err
15046 } && test -s conftest$ac_exeext &&
15047 $as_test_x conftest$ac_exeext; then
15048 ac_cv_lib_audioio_AudioIOGetVersion=yes
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15053 ac_cv_lib_audioio_AudioIOGetVersion=no
15056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_check_lib_save_LIBS
15060 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15061 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15062 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15063 AUDIOIOLIBS="-laudioio"
15065 cat >>confdefs.h <<\_ACEOF
15066 #define HAVE_LIBAUDIOIO 1
15074 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15076 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15077 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15078 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lcapi20 $LIBS"
15083 cat >conftest.$ac_ext <<_ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15096 char capi20_register ();
15100 return capi20_register ();
15105 rm -f conftest.$ac_objext conftest$ac_exeext
15106 if { (ac_try="$ac_link"
15107 case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_link") 2>conftest.er1
15114 grep -v '^ *+' conftest.er1 >conftest.err
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } && {
15119 test -z "$ac_c_werror_flag" ||
15120 test ! -s conftest.err
15121 } && test -s conftest$ac_exeext &&
15122 $as_test_x conftest$ac_exeext; then
15125 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'` ;;
15126 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15136 conftest$ac_exeext conftest.$ac_ext
15137 LIBS=$ac_check_soname_save_LIBS
15139 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15140 { echo "$as_me:$LINENO: result: not found" >&5
15141 echo "${ECHO_T}not found" >&6; }
15144 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15145 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15147 cat >>confdefs.h <<_ACEOF
15148 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15155 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15156 case "x$with_capi" in
15157 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15159 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15160 This is an error since --with-capi was requested." >&5
15161 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15162 This is an error since --with-capi was requested." >&2;}
15163 { (exit 1); exit 1; }; } ;;
15168 if test "$ac_cv_header_cups_cups_h" = "yes"
15170 { echo "$as_me:$LINENO: checking for -lcups" >&5
15171 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15172 if test "${ac_cv_lib_soname_cups+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 ac_check_soname_save_LIBS=$LIBS
15176 LIBS="-lcups $LIBS"
15177 cat >conftest.$ac_ext <<_ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15190 char cupsGetDefault ();
15194 return cupsGetDefault ();
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (ac_try="$ac_link"
15201 case "(($ac_try" in
15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_link") 2>conftest.er1
15208 grep -v '^ *+' conftest.er1 >conftest.err
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } && {
15213 test -z "$ac_c_werror_flag" ||
15214 test ! -s conftest.err
15215 } && test -s conftest$ac_exeext &&
15216 $as_test_x conftest$ac_exeext; then
15219 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'` ;;
15220 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15223 echo "$as_me: failed program was:" >&5
15224 sed 's/^/| /' conftest.$ac_ext >&5
15229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_soname_save_LIBS
15233 if test "x$ac_cv_lib_soname_cups" = "x"; then
15234 { echo "$as_me:$LINENO: result: not found" >&5
15235 echo "${ECHO_T}not found" >&6; }
15238 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15239 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15241 cat >>confdefs.h <<_ACEOF
15242 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15249 if test "x$ac_cv_lib_soname_cups" = "x"; then
15250 case "x$with_cups" in
15251 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15253 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15254 This is an error since --with-cups was requested." >&5
15255 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15256 This is an error since --with-cups was requested." >&2;}
15257 { (exit 1); exit 1; }; } ;;
15262 if test "$ac_cv_header_jack_jack_h" = "yes"
15264 { echo "$as_me:$LINENO: checking for -ljack" >&5
15265 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15266 if test "${ac_cv_lib_soname_jack+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-ljack $LIBS"
15271 cat >conftest.$ac_ext <<_ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15284 char jack_client_new ();
15288 return jack_client_new ();
15293 rm -f conftest.$ac_objext conftest$ac_exeext
15294 if { (ac_try="$ac_link"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_link") 2>conftest.er1
15302 grep -v '^ *+' conftest.er1 >conftest.err
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest$ac_exeext &&
15310 $as_test_x conftest$ac_exeext; then
15313 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'` ;;
15314 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.$ac_ext >&5
15323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if test "x$ac_cv_lib_soname_jack" = "x"; then
15328 { echo "$as_me:$LINENO: result: not found" >&5
15329 echo "${ECHO_T}not found" >&6; }
15332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15333 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15344 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15346 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15347 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15348 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 ac_check_soname_save_LIBS=$LIBS
15352 LIBS="-lfontconfig $LIBS"
15353 cat >conftest.$ac_ext <<_ACEOF
15356 cat confdefs.h >>conftest.$ac_ext
15357 cat >>conftest.$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15360 /* Override any GCC internal prototype to avoid an error.
15361 Use char because int might match the return type of a GCC
15362 builtin and then its argument prototype would still apply. */
15375 rm -f conftest.$ac_objext conftest$ac_exeext
15376 if { (ac_try="$ac_link"
15377 case "(($ac_try" in
15378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15379 *) ac_try_echo=$ac_try;;
15381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15382 (eval "$ac_link") 2>conftest.er1
15384 grep -v '^ *+' conftest.er1 >conftest.err
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } && {
15389 test -z "$ac_c_werror_flag" ||
15390 test ! -s conftest.err
15391 } && test -s conftest$ac_exeext &&
15392 $as_test_x conftest$ac_exeext; then
15395 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'` ;;
15396 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_soname_save_LIBS
15409 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15410 { echo "$as_me:$LINENO: result: not found" >&5
15411 echo "${ECHO_T}not found" >&6; }
15414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15415 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15417 cat >>confdefs.h <<_ACEOF
15418 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15424 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15426 ac_save_CPPFLAGS="$CPPFLAGS"
15427 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15428 $as_unset ac_cv_header_fontconfig_fontconfig_h
15430 for ac_header in fontconfig/fontconfig.h
15432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15434 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 ac_res=`eval echo '${'$as_ac_Header'}'`
15440 { echo "$as_me:$LINENO: result: $ac_res" >&5
15441 echo "${ECHO_T}$ac_res" >&6; }
15443 # Is the header compilable?
15444 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15446 cat >conftest.$ac_ext <<_ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 $ac_includes_default
15453 #include <$ac_header>
15455 rm -f conftest.$ac_objext
15456 if { (ac_try="$ac_compile"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compile") 2>conftest.er1
15464 grep -v '^ *+' conftest.er1 >conftest.err
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && {
15469 test -z "$ac_c_werror_flag" ||
15470 test ! -s conftest.err
15471 } && test -s conftest.$ac_objext; then
15472 ac_header_compiler=yes
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15477 ac_header_compiler=no
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15482 echo "${ECHO_T}$ac_header_compiler" >&6; }
15484 # Is the header present?
15485 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15487 cat >conftest.$ac_ext <<_ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 #include <$ac_header>
15495 if { (ac_try="$ac_cpp conftest.$ac_ext"
15496 case "(($ac_try" in
15497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15498 *) ac_try_echo=$ac_try;;
15500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15503 grep -v '^ *+' conftest.er1 >conftest.err
15505 cat conftest.err >&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } >/dev/null && {
15508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15509 test ! -s conftest.err
15511 ac_header_preproc=yes
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15516 ac_header_preproc=no
15519 rm -f conftest.err conftest.$ac_ext
15520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15521 echo "${ECHO_T}$ac_header_preproc" >&6; }
15523 # So? What about this header?
15524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15530 ac_header_preproc=yes
15533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15546 ## ------------------------------------ ##
15547 ## Report this to wine-devel@winehq.org ##
15548 ## ------------------------------------ ##
15550 ) | sed "s/^/$as_me: WARNING: /" >&2
15553 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15558 eval "$as_ac_Header=\$ac_header_preproc"
15560 ac_res=`eval echo '${'$as_ac_Header'}'`
15561 { echo "$as_me:$LINENO: result: $ac_res" >&5
15562 echo "${ECHO_T}$ac_res" >&6; }
15565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15566 cat >>confdefs.h <<_ACEOF
15567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15574 CPPFLAGS="$ac_save_CPPFLAGS"
15575 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15577 FONTCONFIGINCL="$X_CFLAGS"
15579 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15580 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15581 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 ac_check_soname_save_LIBS=$LIBS
15585 LIBS="-lfontconfig $X_LIBS $LIBS"
15586 cat >conftest.$ac_ext <<_ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15608 rm -f conftest.$ac_objext conftest$ac_exeext
15609 if { (ac_try="$ac_link"
15610 case "(($ac_try" in
15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15612 *) ac_try_echo=$ac_try;;
15614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15615 (eval "$ac_link") 2>conftest.er1
15617 grep -v '^ *+' conftest.er1 >conftest.err
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } && {
15622 test -z "$ac_c_werror_flag" ||
15623 test ! -s conftest.err
15624 } && test -s conftest$ac_exeext &&
15625 $as_test_x conftest$ac_exeext; then
15628 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'` ;;
15629 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15639 conftest$ac_exeext conftest.$ac_ext
15640 LIBS=$ac_check_soname_save_LIBS
15642 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15643 { echo "$as_me:$LINENO: result: not found" >&5
15644 echo "${ECHO_T}not found" >&6; }
15647 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15648 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15650 cat >>confdefs.h <<_ACEOF
15651 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15659 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15660 case "x$with_fontconfig" in
15661 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15663 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15664 This is an error since --with-fontconfig was requested." >&5
15665 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15666 This is an error since --with-fontconfig was requested." >&2;}
15667 { (exit 1); exit 1; }; } ;;
15672 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15674 { echo "$as_me:$LINENO: checking for -lssl" >&5
15675 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15676 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 ac_check_soname_save_LIBS=$LIBS
15681 cat >conftest.$ac_ext <<_ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15694 char SSL_library_init ();
15698 return SSL_library_init ();
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (ac_try="$ac_link"
15705 case "(($ac_try" in
15706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707 *) ac_try_echo=$ac_try;;
15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_link") 2>conftest.er1
15712 grep -v '^ *+' conftest.er1 >conftest.err
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest$ac_exeext &&
15720 $as_test_x conftest$ac_exeext; then
15723 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'` ;;
15724 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_soname_save_LIBS
15737 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15738 { echo "$as_me:$LINENO: result: not found" >&5
15739 echo "${ECHO_T}not found" >&6; }
15742 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15743 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15745 cat >>confdefs.h <<_ACEOF
15746 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15752 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15753 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15754 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15757 ac_check_soname_save_LIBS=$LIBS
15758 LIBS="-lcrypto $LIBS"
15759 cat >conftest.$ac_ext <<_ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15772 char BIO_new_socket ();
15776 return BIO_new_socket ();
15781 rm -f conftest.$ac_objext conftest$ac_exeext
15782 if { (ac_try="$ac_link"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_link") 2>conftest.er1
15790 grep -v '^ *+' conftest.er1 >conftest.err
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } && {
15795 test -z "$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 } && test -s conftest$ac_exeext &&
15798 $as_test_x conftest$ac_exeext; then
15801 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'` ;;
15802 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15812 conftest$ac_exeext conftest.$ac_ext
15813 LIBS=$ac_check_soname_save_LIBS
15815 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15816 { echo "$as_me:$LINENO: result: not found" >&5
15817 echo "${ECHO_T}not found" >&6; }
15820 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15821 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15823 cat >>confdefs.h <<_ACEOF
15824 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15831 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15832 case "x$with_openssl" in
15833 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15835 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15836 This is an error since --with-openssl was requested." >&5
15837 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15838 This is an error since --with-openssl was requested." >&2;}
15839 { (exit 1); exit 1; }; } ;;
15844 if test "$ac_cv_header_jpeglib_h" = "yes"
15846 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15847 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15848 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 ac_check_soname_save_LIBS=$LIBS
15852 LIBS="-ljpeg $LIBS"
15853 cat >conftest.$ac_ext <<_ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15860 /* Override any GCC internal prototype to avoid an error.
15861 Use char because int might match the return type of a GCC
15862 builtin and then its argument prototype would still apply. */
15866 char jpeg_start_decompress ();
15870 return jpeg_start_decompress ();
15875 rm -f conftest.$ac_objext conftest$ac_exeext
15876 if { (ac_try="$ac_link"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_link") 2>conftest.er1
15884 grep -v '^ *+' conftest.er1 >conftest.err
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest$ac_exeext &&
15892 $as_test_x conftest$ac_exeext; then
15895 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'` ;;
15896 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15906 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_check_soname_save_LIBS
15909 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15910 { echo "$as_me:$LINENO: result: not found" >&5
15911 echo "${ECHO_T}not found" >&6; }
15914 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15915 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15917 cat >>confdefs.h <<_ACEOF
15918 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15925 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15926 case "x$with_jpeg" in
15927 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15929 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15930 This is an error since --with-jpeg was requested." >&5
15931 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15932 This is an error since --with-jpeg was requested." >&2;}
15933 { (exit 1); exit 1; }; } ;;
15938 if test "$ac_cv_header_png_h" = "yes"
15940 { echo "$as_me:$LINENO: checking for -lpng" >&5
15941 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15942 if test "${ac_cv_lib_soname_png+set}" = set; then
15943 echo $ECHO_N "(cached) $ECHO_C" >&6
15945 ac_check_soname_save_LIBS=$LIBS
15947 cat >conftest.$ac_ext <<_ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15960 char png_create_read_struct ();
15964 return png_create_read_struct ();
15969 rm -f conftest.$ac_objext conftest$ac_exeext
15970 if { (ac_try="$ac_link"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_link") 2>conftest.er1
15978 grep -v '^ *+' conftest.er1 >conftest.err
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } && {
15983 test -z "$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15985 } && test -s conftest$ac_exeext &&
15986 $as_test_x conftest$ac_exeext; then
15989 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'` ;;
15990 *) 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'` ;;
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16000 conftest$ac_exeext conftest.$ac_ext
16001 LIBS=$ac_check_soname_save_LIBS
16003 if test "x$ac_cv_lib_soname_png" = "x"; then
16004 { echo "$as_me:$LINENO: result: not found" >&5
16005 echo "${ECHO_T}not found" >&6; }
16008 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16009 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16011 cat >>confdefs.h <<_ACEOF
16012 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16019 if test "x$ac_cv_lib_soname_png" = "x"; then
16020 case "x$with_png" in
16021 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16023 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16024 This is an error since --with-png was requested." >&5
16025 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16026 This is an error since --with-png was requested." >&2;}
16027 { (exit 1); exit 1; }; } ;;
16032 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16033 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16034 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 ac_check_soname_save_LIBS=$LIBS
16038 LIBS="-lodbc $LIBS"
16039 cat >conftest.$ac_ext <<_ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16052 char SQLConnect ();
16056 return SQLConnect ();
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (ac_try="$ac_link"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16068 (eval "$ac_link") 2>conftest.er1
16070 grep -v '^ *+' conftest.er1 >conftest.err
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } && {
16075 test -z "$ac_c_werror_flag" ||
16076 test ! -s conftest.err
16077 } && test -s conftest$ac_exeext &&
16078 $as_test_x conftest$ac_exeext; then
16081 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'` ;;
16082 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16092 conftest$ac_exeext conftest.$ac_ext
16093 LIBS=$ac_check_soname_save_LIBS
16095 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16096 { echo "$as_me:$LINENO: result: not found" >&5
16097 echo "${ECHO_T}not found" >&6; }
16098 cat >>confdefs.h <<_ACEOF
16099 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16103 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16104 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16106 cat >>confdefs.h <<_ACEOF
16107 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16114 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16115 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16116 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16117 "$ac_cv_header_soundcard_h" != "yes" -a \
16118 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16120 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16126 if test "x${GCC}" = "xyes"
16128 EXTRACFLAGS="-Wall -pipe"
16130 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16131 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16132 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 if test "$cross_compiling" = yes; then
16136 ac_cv_c_gcc_strength_bug="yes"
16138 cat >conftest.$ac_ext <<_ACEOF
16141 cat confdefs.h >>conftest.$ac_ext
16142 cat >>conftest.$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16144 int L[4] = {0,1,2,3};
16148 static int Array[3];
16149 unsigned int B = 3;
16151 for(i=0; i<B; i++) Array[i] = i - 3;
16152 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16154 exit( Array[1] != -2 || L[2] != 3)
16159 rm -f conftest$ac_exeext
16160 if { (ac_try="$ac_link"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_link") 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16170 { (case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 ac_cv_c_gcc_strength_bug="no"
16181 echo "$as_me: program exited with status $ac_status" >&5
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 ( exit $ac_status )
16186 ac_cv_c_gcc_strength_bug="yes"
16188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16193 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16194 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16195 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16197 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16201 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16202 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16203 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 ac_wine_try_cflags_saved=$CFLAGS
16207 CFLAGS="$CFLAGS -fshort-wchar"
16208 cat >conftest.$ac_ext <<_ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16223 rm -f conftest.$ac_objext conftest$ac_exeext
16224 if { (ac_try="$ac_link"
16225 case "(($ac_try" in
16226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_link") 2>conftest.er1
16232 grep -v '^ *+' conftest.er1 >conftest.err
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } && {
16237 test -z "$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 } && test -s conftest$ac_exeext &&
16240 $as_test_x conftest$ac_exeext; then
16241 ac_cv_cflags__fshort_wchar=yes
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16246 ac_cv_cflags__fshort_wchar=no
16249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16250 conftest$ac_exeext conftest.$ac_ext
16251 CFLAGS=$ac_wine_try_cflags_saved
16253 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16254 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16255 if test $ac_cv_cflags__fshort_wchar = yes; then
16257 cat >>confdefs.h <<\_ACEOF
16258 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16263 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16264 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16265 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 ac_wine_try_cflags_saved=$CFLAGS
16269 CFLAGS="$CFLAGS -fno-strict-aliasing"
16270 cat >conftest.$ac_ext <<_ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16285 rm -f conftest.$ac_objext conftest$ac_exeext
16286 if { (ac_try="$ac_link"
16287 case "(($ac_try" in
16288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_link") 2>conftest.er1
16294 grep -v '^ *+' conftest.er1 >conftest.err
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && {
16299 test -z "$ac_c_werror_flag" ||
16300 test ! -s conftest.err
16301 } && test -s conftest$ac_exeext &&
16302 $as_test_x conftest$ac_exeext; then
16303 ac_cv_cflags__fno_strict_aliasing=yes
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16308 ac_cv_cflags__fno_strict_aliasing=no
16311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16312 conftest$ac_exeext conftest.$ac_ext
16313 CFLAGS=$ac_wine_try_cflags_saved
16315 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16316 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16317 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16318 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16321 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16322 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16323 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 ac_wine_try_cflags_saved=$CFLAGS
16327 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16328 cat >conftest.$ac_ext <<_ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16343 rm -f conftest.$ac_objext conftest$ac_exeext
16344 if { (ac_try="$ac_link"
16345 case "(($ac_try" in
16346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347 *) ac_try_echo=$ac_try;;
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350 (eval "$ac_link") 2>conftest.er1
16352 grep -v '^ *+' conftest.er1 >conftest.err
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } && {
16357 test -z "$ac_c_werror_flag" ||
16358 test ! -s conftest.err
16359 } && test -s conftest$ac_exeext &&
16360 $as_test_x conftest$ac_exeext; then
16361 ac_cv_cflags__Wdeclaration_after_statement=yes
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16366 ac_cv_cflags__Wdeclaration_after_statement=no
16369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16370 conftest$ac_exeext conftest.$ac_ext
16371 CFLAGS=$ac_wine_try_cflags_saved
16373 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16374 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16375 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16376 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16379 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16380 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16381 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 ac_wine_try_cflags_saved=$CFLAGS
16385 CFLAGS="$CFLAGS -Wwrite-strings"
16386 cat >conftest.$ac_ext <<_ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16401 rm -f conftest.$ac_objext conftest$ac_exeext
16402 if { (ac_try="$ac_link"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_link") 2>conftest.er1
16410 grep -v '^ *+' conftest.er1 >conftest.err
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_c_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest$ac_exeext &&
16418 $as_test_x conftest$ac_exeext; then
16419 ac_cv_cflags__Wwrite_strings=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_cv_cflags__Wwrite_strings=no
16427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16428 conftest$ac_exeext conftest.$ac_ext
16429 CFLAGS=$ac_wine_try_cflags_saved
16431 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16432 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16433 if test $ac_cv_cflags__Wwrite_strings = yes; then
16434 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16437 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16438 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16439 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 ac_wine_try_cflags_saved=$CFLAGS
16443 CFLAGS="$CFLAGS -Wtype-limits"
16444 cat >conftest.$ac_ext <<_ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16459 rm -f conftest.$ac_objext conftest$ac_exeext
16460 if { (ac_try="$ac_link"
16461 case "(($ac_try" in
16462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16463 *) ac_try_echo=$ac_try;;
16465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16466 (eval "$ac_link") 2>conftest.er1
16468 grep -v '^ *+' conftest.er1 >conftest.err
16470 cat conftest.err >&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } && {
16473 test -z "$ac_c_werror_flag" ||
16474 test ! -s conftest.err
16475 } && test -s conftest$ac_exeext &&
16476 $as_test_x conftest$ac_exeext; then
16477 ac_cv_cflags__Wtype_limits=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16482 ac_cv_cflags__Wtype_limits=no
16485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16486 conftest$ac_exeext conftest.$ac_ext
16487 CFLAGS=$ac_wine_try_cflags_saved
16489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16490 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16491 if test $ac_cv_cflags__Wtype_limits = yes; then
16492 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16496 saved_CFLAGS="$CFLAGS"
16497 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16498 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16499 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16500 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 cat >conftest.$ac_ext <<_ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <string.h>
16518 rm -f conftest.$ac_objext
16519 if { (ac_try="$ac_compile"
16520 case "(($ac_try" in
16521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16522 *) ac_try_echo=$ac_try;;
16524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16525 (eval "$ac_compile") 2>conftest.er1
16527 grep -v '^ *+' conftest.er1 >conftest.err
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } && {
16532 test -z "$ac_c_werror_flag" ||
16533 test ! -s conftest.err
16534 } && test -s conftest.$ac_objext; then
16535 ac_cv_c_string_h_warnings=no
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16540 ac_cv_c_string_h_warnings=yes
16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16545 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16546 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16547 CFLAGS="$saved_CFLAGS"
16548 if test "$ac_cv_c_string_h_warnings" = "no"
16550 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16555 saved_CFLAGS="$CFLAGS"
16556 CFLAGS="$CFLAGS -Werror"
16557 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16558 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16559 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 cat >conftest.$ac_ext <<_ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16572 int iswlower(unsigned short);
16577 rm -f conftest.$ac_objext
16578 if { (ac_try="$ac_compile"
16579 case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_compile") 2>conftest.er1
16586 grep -v '^ *+' conftest.er1 >conftest.err
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } && {
16591 test -z "$ac_c_werror_flag" ||
16592 test ! -s conftest.err
16593 } && test -s conftest.$ac_objext; then
16594 ac_cv_c_builtin_wchar_ctype=no
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16599 ac_cv_c_builtin_wchar_ctype=yes
16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16605 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16606 CFLAGS="$saved_CFLAGS"
16607 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16609 BUILTINFLAG="-fno-builtin"
16614 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16615 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16616 if test "${ac_cv_asm_func_def+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 cat >conftest.$ac_ext <<_ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16629 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16634 rm -f conftest.$ac_objext conftest$ac_exeext
16635 if { (ac_try="$ac_link"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_link") 2>conftest.er1
16643 grep -v '^ *+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest$ac_exeext &&
16651 $as_test_x conftest$ac_exeext; then
16652 ac_cv_asm_func_def=".def"
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16657 cat >conftest.$ac_ext <<_ACEOF
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16667 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16672 rm -f conftest.$ac_objext conftest$ac_exeext
16673 if { (ac_try="$ac_link"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_link") 2>conftest.er1
16681 grep -v '^ *+' conftest.er1 >conftest.err
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } && {
16686 test -z "$ac_c_werror_flag" ||
16687 test ! -s conftest.err
16688 } && test -s conftest$ac_exeext &&
16689 $as_test_x conftest$ac_exeext; then
16690 ac_cv_asm_func_def=".type @function"
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16695 cat >conftest.$ac_ext <<_ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16705 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16710 rm -f conftest.$ac_objext conftest$ac_exeext
16711 if { (ac_try="$ac_link"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_link") 2>conftest.er1
16719 grep -v '^ *+' conftest.er1 >conftest.err
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_c_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest$ac_exeext &&
16727 $as_test_x conftest$ac_exeext; then
16728 ac_cv_asm_func_def=".type 2"
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16733 ac_cv_asm_func_def="unknown"
16736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16737 conftest$ac_exeext conftest.$ac_ext
16740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16741 conftest$ac_exeext conftest.$ac_ext
16744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16745 conftest$ac_exeext conftest.$ac_ext
16747 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16748 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16752 case "$ac_cv_asm_func_def" in
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16764 cat >>confdefs.h <<\_ACEOF
16765 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16769 cat >>confdefs.h <<\_ACEOF
16770 #define __ASM_FUNC(name) ""
16776 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16777 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16778 if test "${ac_cv_c_extern_prefix+set}" = set; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 cat >conftest.$ac_ext <<_ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 extern int ac_test;
16791 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16796 rm -f conftest.$ac_objext conftest$ac_exeext
16797 if { (ac_try="$ac_link"
16798 case "(($ac_try" in
16799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16800 *) ac_try_echo=$ac_try;;
16802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16803 (eval "$ac_link") 2>conftest.er1
16805 grep -v '^ *+' conftest.er1 >conftest.err
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } && {
16810 test -z "$ac_c_werror_flag" ||
16811 test ! -s conftest.err
16812 } && test -s conftest$ac_exeext &&
16813 $as_test_x conftest$ac_exeext; then
16814 ac_cv_c_extern_prefix="yes"
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_cv_c_extern_prefix="no"
16822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16823 conftest$ac_exeext conftest.$ac_ext
16825 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16826 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16830 if test "$ac_cv_c_extern_prefix" = "yes"
16832 cat >>confdefs.h <<\_ACEOF
16833 #define __ASM_NAME(name) "_" name
16837 cat >>confdefs.h <<\_ACEOF
16838 #define __ASM_NAME(name) name
16848 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16852 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16854 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16858 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16866 SOCKETLIBS="-lws2_32"
16871 MAIN_BINARY="wine-pthread"
16875 linux* | k*bsd*-gnu)
16876 MAIN_BINARY="wine-glibc"
16878 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16881 MAIN_BINARY="wine-freebsd"
16883 EXTRA_BINARIES="wine-pthread"
17031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 cat >conftest.$ac_ext <<_ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17045 #define $ac_func innocuous_$ac_func
17047 /* System header to define __stub macros and hopefully few prototypes,
17048 which can conflict with char $ac_func (); below.
17049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17050 <limits.h> exists even on freestanding compilers. */
17053 # include <limits.h>
17055 # include <assert.h>
17060 /* Override any GCC internal prototype to avoid an error.
17061 Use char because int might match the return type of a GCC
17062 builtin and then its argument prototype would still apply. */
17067 /* The GNU C library defines this for functions which it implements
17068 to always fail with ENOSYS. Some functions are actually named
17069 something starting with __ and the normal name is an alias. */
17070 #if defined __stub_$ac_func || defined __stub___$ac_func
17077 return $ac_func ();
17082 rm -f conftest.$ac_objext conftest$ac_exeext
17083 if { (ac_try="$ac_link"
17084 case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_link") 2>conftest.er1
17091 grep -v '^ *+' conftest.er1 >conftest.err
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest$ac_exeext &&
17099 $as_test_x conftest$ac_exeext; then
17100 eval "$as_ac_var=yes"
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 eval "$as_ac_var=no"
17108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17109 conftest$ac_exeext conftest.$ac_ext
17111 ac_res=`eval echo '${'$as_ac_var'}'`
17112 { echo "$as_me:$LINENO: result: $ac_res" >&5
17113 echo "${ECHO_T}$ac_res" >&6; }
17114 if test `eval echo '${'$as_ac_var'}'` = yes; then
17115 cat >>confdefs.h <<_ACEOF
17116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17123 if test "$ac_cv_func_dlopen" = no
17125 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17126 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17127 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 ac_check_lib_save_LIBS=$LIBS
17132 cat >conftest.$ac_ext <<_ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17154 rm -f conftest.$ac_objext conftest$ac_exeext
17155 if { (ac_try="$ac_link"
17156 case "(($ac_try" in
17157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17158 *) ac_try_echo=$ac_try;;
17160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17161 (eval "$ac_link") 2>conftest.er1
17163 grep -v '^ *+' conftest.er1 >conftest.err
17165 cat conftest.err >&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } && {
17168 test -z "$ac_c_werror_flag" ||
17169 test ! -s conftest.err
17170 } && test -s conftest$ac_exeext &&
17171 $as_test_x conftest$ac_exeext; then
17172 ac_cv_lib_dl_dlopen=yes
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17177 ac_cv_lib_dl_dlopen=no
17180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17181 conftest$ac_exeext conftest.$ac_ext
17182 LIBS=$ac_check_lib_save_LIBS
17184 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17185 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17186 if test $ac_cv_lib_dl_dlopen = yes; then
17187 cat >>confdefs.h <<\_ACEOF
17188 #define HAVE_DLOPEN 1
17195 ac_wine_check_funcs_save_LIBS="$LIBS"
17196 LIBS="$LIBS $LIBDL"
17198 for ac_func in dladdr
17200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17214 #define $ac_func innocuous_$ac_func
17216 /* System header to define __stub macros and hopefully few prototypes,
17217 which can conflict with char $ac_func (); below.
17218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17219 <limits.h> exists even on freestanding compilers. */
17222 # include <limits.h>
17224 # include <assert.h>
17229 /* Override any GCC internal prototype to avoid an error.
17230 Use char because int might match the return type of a GCC
17231 builtin and then its argument prototype would still apply. */
17236 /* The GNU C library defines this for functions which it implements
17237 to always fail with ENOSYS. Some functions are actually named
17238 something starting with __ and the normal name is an alias. */
17239 #if defined __stub_$ac_func || defined __stub___$ac_func
17246 return $ac_func ();
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (ac_try="$ac_link"
17253 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;;
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 (eval "$ac_link") 2>conftest.er1
17260 grep -v '^ *+' conftest.er1 >conftest.err
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && {
17265 test -z "$ac_c_werror_flag" ||
17266 test ! -s conftest.err
17267 } && test -s conftest$ac_exeext &&
17268 $as_test_x conftest$ac_exeext; then
17269 eval "$as_ac_var=yes"
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 eval "$as_ac_var=no"
17277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17278 conftest$ac_exeext conftest.$ac_ext
17280 ac_res=`eval echo '${'$as_ac_var'}'`
17281 { echo "$as_me:$LINENO: result: $ac_res" >&5
17282 echo "${ECHO_T}$ac_res" >&6; }
17283 if test `eval echo '${'$as_ac_var'}'` = yes; then
17284 cat >>confdefs.h <<_ACEOF
17285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17291 LIBS="$ac_wine_check_funcs_save_LIBS"
17293 if test "$ac_cv_func_poll" = no
17295 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17296 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17297 if test "${ac_cv_lib_poll_poll+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 ac_check_lib_save_LIBS=$LIBS
17301 LIBS="-lpoll $LIBS"
17302 cat >conftest.$ac_ext <<_ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17309 /* Override any GCC internal prototype to avoid an error.
17310 Use char because int might match the return type of a GCC
17311 builtin and then its argument prototype would still apply. */
17324 rm -f conftest.$ac_objext conftest$ac_exeext
17325 if { (ac_try="$ac_link"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_link") 2>conftest.er1
17333 grep -v '^ *+' conftest.er1 >conftest.err
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest$ac_exeext &&
17341 $as_test_x conftest$ac_exeext; then
17342 ac_cv_lib_poll_poll=yes
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 ac_cv_lib_poll_poll=no
17350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17351 conftest$ac_exeext conftest.$ac_ext
17352 LIBS=$ac_check_lib_save_LIBS
17354 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17355 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17356 if test $ac_cv_lib_poll_poll = yes; then
17357 cat >>confdefs.h <<\_ACEOF
17358 #define HAVE_POLL 1
17366 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17367 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17368 if test "${ac_cv_search_gethostbyname+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 ac_func_search_save_LIBS=$LIBS
17372 cat >conftest.$ac_ext <<_ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17379 /* Override any GCC internal prototype to avoid an error.
17380 Use char because int might match the return type of a GCC
17381 builtin and then its argument prototype would still apply. */
17385 char gethostbyname ();
17389 return gethostbyname ();
17394 for ac_lib in '' nsl; do
17395 if test -z "$ac_lib"; then
17396 ac_res="none required"
17399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17401 rm -f conftest.$ac_objext conftest$ac_exeext
17402 if { (ac_try="$ac_link"
17403 case "(($ac_try" in
17404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17405 *) ac_try_echo=$ac_try;;
17407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17408 (eval "$ac_link") 2>conftest.er1
17410 grep -v '^ *+' conftest.er1 >conftest.err
17412 cat conftest.err >&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } && {
17415 test -z "$ac_c_werror_flag" ||
17416 test ! -s conftest.err
17417 } && test -s conftest$ac_exeext &&
17418 $as_test_x conftest$ac_exeext; then
17419 ac_cv_search_gethostbyname=$ac_res
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17429 if test "${ac_cv_search_gethostbyname+set}" = set; then
17433 if test "${ac_cv_search_gethostbyname+set}" = set; then
17436 ac_cv_search_gethostbyname=no
17438 rm conftest.$ac_ext
17439 LIBS=$ac_func_search_save_LIBS
17441 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17442 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17443 ac_res=$ac_cv_search_gethostbyname
17444 if test "$ac_res" != no; then
17445 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17450 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17451 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17452 if test "${ac_cv_search_connect+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 ac_func_search_save_LIBS=$LIBS
17456 cat >conftest.$ac_ext <<_ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17463 /* Override any GCC internal prototype to avoid an error.
17464 Use char because int might match the return type of a GCC
17465 builtin and then its argument prototype would still apply. */
17478 for ac_lib in '' socket; do
17479 if test -z "$ac_lib"; then
17480 ac_res="none required"
17483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17494 grep -v '^ *+' conftest.er1 >conftest.err
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest$ac_exeext &&
17502 $as_test_x conftest$ac_exeext; then
17503 ac_cv_search_connect=$ac_res
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17513 if test "${ac_cv_search_connect+set}" = set; then
17517 if test "${ac_cv_search_connect+set}" = set; then
17520 ac_cv_search_connect=no
17522 rm conftest.$ac_ext
17523 LIBS=$ac_func_search_save_LIBS
17525 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17526 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17527 ac_res=$ac_cv_search_connect
17528 if test "$ac_res" != no; then
17529 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17534 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17535 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17536 if test "${ac_cv_search_inet_aton+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 ac_func_search_save_LIBS=$LIBS
17540 cat >conftest.$ac_ext <<_ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17557 return inet_aton ();
17562 for ac_lib in '' resolv; do
17563 if test -z "$ac_lib"; then
17564 ac_res="none required"
17567 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17569 rm -f conftest.$ac_objext conftest$ac_exeext
17570 if { (ac_try="$ac_link"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_link") 2>conftest.er1
17578 grep -v '^ *+' conftest.er1 >conftest.err
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest$ac_exeext &&
17586 $as_test_x conftest$ac_exeext; then
17587 ac_cv_search_inet_aton=$ac_res
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17597 if test "${ac_cv_search_inet_aton+set}" = set; then
17601 if test "${ac_cv_search_inet_aton+set}" = set; then
17604 ac_cv_search_inet_aton=no
17606 rm conftest.$ac_ext
17607 LIBS=$ac_func_search_save_LIBS
17609 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17610 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17611 ac_res=$ac_cv_search_inet_aton
17612 if test "$ac_res" != no; then
17613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17651 #define $ac_func innocuous_$ac_func
17653 /* System header to define __stub macros and hopefully few prototypes,
17654 which can conflict with char $ac_func (); below.
17655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17656 <limits.h> exists even on freestanding compilers. */
17659 # include <limits.h>
17661 # include <assert.h>
17666 /* Override any GCC internal prototype to avoid an error.
17667 Use char because int might match the return type of a GCC
17668 builtin and then its argument prototype would still apply. */
17673 /* The GNU C library defines this for functions which it implements
17674 to always fail with ENOSYS. Some functions are actually named
17675 something starting with __ and the normal name is an alias. */
17676 #if defined __stub_$ac_func || defined __stub___$ac_func
17683 return $ac_func ();
17688 rm -f conftest.$ac_objext conftest$ac_exeext
17689 if { (ac_try="$ac_link"
17690 case "(($ac_try" in
17691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17692 *) ac_try_echo=$ac_try;;
17694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17695 (eval "$ac_link") 2>conftest.er1
17697 grep -v '^ *+' conftest.er1 >conftest.err
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } && {
17702 test -z "$ac_c_werror_flag" ||
17703 test ! -s conftest.err
17704 } && test -s conftest$ac_exeext &&
17705 $as_test_x conftest$ac_exeext; then
17706 eval "$as_ac_var=yes"
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17711 eval "$as_ac_var=no"
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17717 ac_res=`eval echo '${'$as_ac_var'}'`
17718 { echo "$as_me:$LINENO: result: $ac_res" >&5
17719 echo "${ECHO_T}$ac_res" >&6; }
17720 if test `eval echo '${'$as_ac_var'}'` = yes; then
17721 cat >>confdefs.h <<_ACEOF
17722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17730 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17731 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17732 if test "${ac_cv_c_const+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.$ac_ext <<_ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17745 /* FIXME: Include the comments suggested by Paul. */
17746 #ifndef __cplusplus
17747 /* Ultrix mips cc rejects this. */
17748 typedef int charset[2];
17750 /* SunOS 4.1.1 cc rejects this. */
17751 char const *const *pcpcc;
17753 /* NEC SVR4.0.2 mips cc rejects this. */
17754 struct point {int x, y;};
17755 static struct point const zero = {0,0};
17756 /* AIX XL C 1.02.0.0 rejects this.
17757 It does not let you subtract one const X* pointer from another in
17758 an arm of an if-expression whose if-part is not a constant
17760 const char *g = "string";
17761 pcpcc = &g + (g ? g-g : 0);
17762 /* HPUX 7.0 cc rejects these. */
17764 ppc = (char**) pcpcc;
17765 pcpcc = (char const *const *) ppc;
17766 { /* SCO 3.2v4 cc rejects this. */
17768 char const *s = 0 ? (char *) 0 : (char const *) 0;
17773 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17774 int x[] = {25, 17};
17775 const int *foo = &x[0];
17778 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17779 typedef const int *iptr;
17783 { /* AIX XL C 1.02.0.0 rejects this saying
17784 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17785 struct s { int j; const int *ap[3]; };
17786 struct s *b; b->j = 5;
17788 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17789 const int foo = 10;
17790 if (!foo) return 0;
17792 return !cs[0] && !zero.x;
17799 rm -f conftest.$ac_objext
17800 if { (ac_try="$ac_compile"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_compile") 2>conftest.er1
17808 grep -v '^ *+' conftest.er1 >conftest.err
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest.$ac_objext; then
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17826 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17827 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17828 if test $ac_cv_c_const = no; then
17830 cat >>confdefs.h <<\_ACEOF
17836 { echo "$as_me:$LINENO: checking for inline" >&5
17837 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17838 if test "${ac_cv_c_inline+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 for ac_kw in inline __inline__ __inline; do
17843 cat >conftest.$ac_ext <<_ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 #ifndef __cplusplus
17851 static $ac_kw foo_t static_foo () {return 0; }
17852 $ac_kw foo_t foo () {return 0; }
17856 rm -f conftest.$ac_objext
17857 if { (ac_try="$ac_compile"
17858 case "(($ac_try" in
17859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17860 *) ac_try_echo=$ac_try;;
17862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17863 (eval "$ac_compile") 2>conftest.er1
17865 grep -v '^ *+' conftest.er1 >conftest.err
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } && {
17870 test -z "$ac_c_werror_flag" ||
17871 test ! -s conftest.err
17872 } && test -s conftest.$ac_objext; then
17873 ac_cv_c_inline=$ac_kw
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882 test "$ac_cv_c_inline" != no && break
17886 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17887 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17890 case $ac_cv_c_inline in
17893 case $ac_cv_c_inline in
17895 *) ac_val=$ac_cv_c_inline;;
17897 cat >>confdefs.h <<_ACEOF
17898 #ifndef __cplusplus
17899 #define inline $ac_val
17905 { echo "$as_me:$LINENO: checking for mode_t" >&5
17906 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17907 if test "${ac_cv_type_mode_t+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 cat >conftest.$ac_ext <<_ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17917 typedef mode_t ac__type_new_;
17921 if ((ac__type_new_ *) 0)
17923 if (sizeof (ac__type_new_))
17929 rm -f conftest.$ac_objext
17930 if { (ac_try="$ac_compile"
17931 case "(($ac_try" in
17932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17933 *) ac_try_echo=$ac_try;;
17935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17936 (eval "$ac_compile") 2>conftest.er1
17938 grep -v '^ *+' conftest.er1 >conftest.err
17940 cat conftest.err >&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } && {
17943 test -z "$ac_c_werror_flag" ||
17944 test ! -s conftest.err
17945 } && test -s conftest.$ac_objext; then
17946 ac_cv_type_mode_t=yes
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17951 ac_cv_type_mode_t=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17957 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17958 if test $ac_cv_type_mode_t = yes; then
17960 cat >>confdefs.h <<_ACEOF
17961 #define HAVE_MODE_T 1
17966 { echo "$as_me:$LINENO: checking for off_t" >&5
17967 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17968 if test "${ac_cv_type_off_t+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 cat >conftest.$ac_ext <<_ACEOF
17974 cat confdefs.h >>conftest.$ac_ext
17975 cat >>conftest.$ac_ext <<_ACEOF
17976 /* end confdefs.h. */
17977 $ac_includes_default
17978 typedef off_t ac__type_new_;
17982 if ((ac__type_new_ *) 0)
17984 if (sizeof (ac__type_new_))
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17999 grep -v '^ *+' conftest.er1 >conftest.err
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 ac_cv_type_off_t=yes
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18012 ac_cv_type_off_t=no
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18018 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18019 if test $ac_cv_type_off_t = yes; then
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_OFF_T 1
18027 { echo "$as_me:$LINENO: checking for pid_t" >&5
18028 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18029 if test "${ac_cv_type_pid_t+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 cat >conftest.$ac_ext <<_ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18039 typedef pid_t ac__type_new_;
18043 if ((ac__type_new_ *) 0)
18045 if (sizeof (ac__type_new_))
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18060 grep -v '^ *+' conftest.er1 >conftest.err
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 ac_cv_type_pid_t=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18073 ac_cv_type_pid_t=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18079 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18080 if test $ac_cv_type_pid_t = yes; then
18082 cat >>confdefs.h <<_ACEOF
18083 #define HAVE_PID_T 1
18088 { echo "$as_me:$LINENO: checking for size_t" >&5
18089 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18090 if test "${ac_cv_type_size_t+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 cat >conftest.$ac_ext <<_ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18100 typedef size_t ac__type_new_;
18104 if ((ac__type_new_ *) 0)
18106 if (sizeof (ac__type_new_))
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1 >conftest.err
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_type_size_t=yes
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18134 ac_cv_type_size_t=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18140 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18141 if test $ac_cv_type_size_t = yes; then
18143 cat >>confdefs.h <<_ACEOF
18144 #define HAVE_SIZE_T 1
18149 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18150 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18151 if test "${ac_cv_type_ssize_t+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 cat >conftest.$ac_ext <<_ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 $ac_includes_default
18161 typedef ssize_t ac__type_new_;
18165 if ((ac__type_new_ *) 0)
18167 if (sizeof (ac__type_new_))
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18182 grep -v '^ *+' conftest.er1 >conftest.err
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 ac_cv_type_ssize_t=yes
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_cv_type_ssize_t=no
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18201 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18202 if test $ac_cv_type_ssize_t = yes; then
18204 cat >>confdefs.h <<_ACEOF
18205 #define HAVE_SSIZE_T 1
18210 { echo "$as_me:$LINENO: checking for long long" >&5
18211 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18212 if test "${ac_cv_type_long_long+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 cat >conftest.$ac_ext <<_ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221 $ac_includes_default
18222 typedef long long ac__type_new_;
18226 if ((ac__type_new_ *) 0)
18228 if (sizeof (ac__type_new_))
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18243 grep -v '^ *+' conftest.er1 >conftest.err
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18251 ac_cv_type_long_long=yes
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_type_long_long=no
18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18262 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18263 if test $ac_cv_type_long_long = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_LONG_LONG 1
18271 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18272 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18273 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 cat >conftest.$ac_ext <<_ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 $ac_includes_default
18283 typedef fsblkcnt_t ac__type_new_;
18287 if ((ac__type_new_ *) 0)
18289 if (sizeof (ac__type_new_))
18295 rm -f conftest.$ac_objext
18296 if { (ac_try="$ac_compile"
18297 case "(($ac_try" in
18298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18299 *) ac_try_echo=$ac_try;;
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_compile") 2>conftest.er1
18304 grep -v '^ *+' conftest.er1 >conftest.err
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } && {
18309 test -z "$ac_c_werror_flag" ||
18310 test ! -s conftest.err
18311 } && test -s conftest.$ac_objext; then
18312 ac_cv_type_fsblkcnt_t=yes
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 ac_cv_type_fsblkcnt_t=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18323 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18324 if test $ac_cv_type_fsblkcnt_t = yes; then
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_FSBLKCNT_T 1
18332 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18333 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18334 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18335 echo $ECHO_N "(cached) $ECHO_C" >&6
18337 cat >conftest.$ac_ext <<_ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 $ac_includes_default
18344 typedef fsfilcnt_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_fsfilcnt_t=yes
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 ac_cv_type_fsfilcnt_t=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18384 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18385 if test $ac_cv_type_fsfilcnt_t = yes; then
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_FSFILCNT_T 1
18394 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18395 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18396 if test "${ac_cv_type_sigset_t+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 <signal.h>
18407 typedef sigset_t 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_sigset_t=yes
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 ac_cv_type_sigset_t=no
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18447 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18448 if test $ac_cv_type_sigset_t = yes; then
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_SIGSET_T 1
18457 { echo "$as_me:$LINENO: checking for request_sense" >&5
18458 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18459 if test "${ac_cv_type_request_sense+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 cat >conftest.$ac_ext <<_ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #include <linux/cdrom.h>
18470 typedef request_sense ac__type_new_;
18474 if ((ac__type_new_ *) 0)
18476 if (sizeof (ac__type_new_))
18482 rm -f conftest.$ac_objext
18483 if { (ac_try="$ac_compile"
18484 case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_compile") 2>conftest.er1
18491 grep -v '^ *+' conftest.er1 >conftest.err
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } && {
18496 test -z "$ac_c_werror_flag" ||
18497 test ! -s conftest.err
18498 } && test -s conftest.$ac_objext; then
18499 ac_cv_type_request_sense=yes
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ac_cv_type_request_sense=no
18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18510 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18511 if test $ac_cv_type_request_sense = yes; then
18513 cat >>confdefs.h <<_ACEOF
18514 #define HAVE_REQUEST_SENSE 1
18521 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18522 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18523 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18524 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 cat >conftest.$ac_ext <<_ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #ifdef HAVE_LINUX_INPUT_H
18533 #include <linux/input.h>
18539 static struct ff_effect ac_aggr;
18540 if (ac_aggr.direction)
18546 rm -f conftest.$ac_objext
18547 if { (ac_try="$ac_compile"
18548 case "(($ac_try" in
18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18550 *) ac_try_echo=$ac_try;;
18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18553 (eval "$ac_compile") 2>conftest.er1
18555 grep -v '^ *+' conftest.er1 >conftest.err
18557 cat conftest.err >&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } && {
18560 test -z "$ac_c_werror_flag" ||
18561 test ! -s conftest.err
18562 } && test -s conftest.$ac_objext; then
18563 ac_cv_member_struct_ff_effect_direction=yes
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 cat >conftest.$ac_ext <<_ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #ifdef HAVE_LINUX_INPUT_H
18575 #include <linux/input.h>
18581 static struct ff_effect ac_aggr;
18582 if (sizeof ac_aggr.direction)
18588 rm -f conftest.$ac_objext
18589 if { (ac_try="$ac_compile"
18590 case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_compile") 2>conftest.er1
18597 grep -v '^ *+' conftest.er1 >conftest.err
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && {
18602 test -z "$ac_c_werror_flag" ||
18603 test ! -s conftest.err
18604 } && test -s conftest.$ac_objext; then
18605 ac_cv_member_struct_ff_effect_direction=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 ac_cv_member_struct_ff_effect_direction=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18619 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18620 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18630 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18631 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18632 if test "${wine_cv_have_sigaddset+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 cat >conftest.$ac_ext <<_ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <signal.h>
18645 sigset_t set; sigaddset(&set,SIGTERM);
18650 rm -f conftest.$ac_objext conftest$ac_exeext
18651 if { (ac_try="$ac_link"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_link") 2>conftest.er1
18659 grep -v '^ *+' conftest.er1 >conftest.err
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest$ac_exeext &&
18667 $as_test_x conftest$ac_exeext; then
18668 wine_cv_have_sigaddset=yes
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18673 wine_cv_have_sigaddset=no
18676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18677 conftest$ac_exeext conftest.$ac_ext
18679 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18680 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18681 if test "$wine_cv_have_sigaddset" = "yes"
18684 cat >>confdefs.h <<\_ACEOF
18685 #define HAVE_SIGADDSET 1
18691 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18692 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18693 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18709 struct hostent *result;
18716 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18717 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18723 rm -f conftest.$ac_objext conftest$ac_exeext
18724 if { (ac_try="$ac_link"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_link") 2>conftest.er1
18732 grep -v '^ *+' conftest.er1 >conftest.err
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest$ac_exeext &&
18740 $as_test_x conftest$ac_exeext; then
18741 wine_cv_linux_gethostbyname_r_6=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 wine_cv_linux_gethostbyname_r_6=no
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751 conftest$ac_exeext conftest.$ac_ext
18754 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18755 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18756 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18759 cat >>confdefs.h <<\_ACEOF
18760 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18765 if test "$ac_cv_header_linux_joystick_h" = "yes"
18767 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18768 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18769 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 cat >conftest.$ac_ext <<_ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18779 #include <sys/ioctl.h>
18780 #include <sys/types.h>
18781 #include <linux/joystick.h>
18783 struct js_event blub;
18784 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18785 #error "no 2.2 header"
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18805 grep -v '^ *+' conftest.er1 >conftest.err
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 wine_cv_linux_joystick_22_api=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 wine_cv_linux_joystick_22_api=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18825 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18826 if test "$wine_cv_linux_joystick_22_api" = "yes"
18829 cat >>confdefs.h <<\_ACEOF
18830 #define HAVE_LINUX_22_JOYSTICK_API 1
18837 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18838 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18839 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18842 cat >conftest.$ac_ext <<_ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #include <sys/types.h>
18849 #ifdef HAVE_SYS_PARAM_H
18850 # include <sys/param.h>
18852 #ifdef HAVE_SYS_MOUNT_H
18853 # include <sys/mount.h>
18855 #ifdef HAVE_SYS_VFS_H
18856 # include <sys/vfs.h>
18858 #ifdef HAVE_SYS_STATFS_H
18859 # include <sys/statfs.h>
18865 static struct statfs ac_aggr;
18866 if (ac_aggr.f_bfree)
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18881 grep -v '^ *+' conftest.er1 >conftest.err
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.$ac_objext; then
18889 ac_cv_member_struct_statfs_f_bfree=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 cat >conftest.$ac_ext <<_ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SYS_PARAM_H
18902 # include <sys/param.h>
18904 #ifdef HAVE_SYS_MOUNT_H
18905 # include <sys/mount.h>
18907 #ifdef HAVE_SYS_VFS_H
18908 # include <sys/vfs.h>
18910 #ifdef HAVE_SYS_STATFS_H
18911 # include <sys/statfs.h>
18917 static struct statfs ac_aggr;
18918 if (sizeof ac_aggr.f_bfree)
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18933 grep -v '^ *+' conftest.er1 >conftest.err
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_member_struct_statfs_f_bfree=yes
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 ac_cv_member_struct_statfs_f_bfree=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18955 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18956 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_STATFS_F_BFREE 1
18964 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18965 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18966 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 cat >conftest.$ac_ext <<_ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SYS_PARAM_H
18977 # include <sys/param.h>
18979 #ifdef HAVE_SYS_MOUNT_H
18980 # include <sys/mount.h>
18982 #ifdef HAVE_SYS_VFS_H
18983 # include <sys/vfs.h>
18985 #ifdef HAVE_SYS_STATFS_H
18986 # include <sys/statfs.h>
18992 static struct statfs ac_aggr;
18993 if (ac_aggr.f_bavail)
18999 rm -f conftest.$ac_objext
19000 if { (ac_try="$ac_compile"
19001 case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19003 *) ac_try_echo=$ac_try;;
19005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19006 (eval "$ac_compile") 2>conftest.er1
19008 grep -v '^ *+' conftest.er1 >conftest.err
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } && {
19013 test -z "$ac_c_werror_flag" ||
19014 test ! -s conftest.err
19015 } && test -s conftest.$ac_objext; then
19016 ac_cv_member_struct_statfs_f_bavail=yes
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19021 cat >conftest.$ac_ext <<_ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <sys/types.h>
19028 #ifdef HAVE_SYS_PARAM_H
19029 # include <sys/param.h>
19031 #ifdef HAVE_SYS_MOUNT_H
19032 # include <sys/mount.h>
19034 #ifdef HAVE_SYS_VFS_H
19035 # include <sys/vfs.h>
19037 #ifdef HAVE_SYS_STATFS_H
19038 # include <sys/statfs.h>
19044 static struct statfs ac_aggr;
19045 if (sizeof ac_aggr.f_bavail)
19051 rm -f conftest.$ac_objext
19052 if { (ac_try="$ac_compile"
19053 case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_compile") 2>conftest.er1
19060 grep -v '^ *+' conftest.er1 >conftest.err
19062 cat conftest.err >&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } && {
19065 test -z "$ac_c_werror_flag" ||
19066 test ! -s conftest.err
19067 } && test -s conftest.$ac_objext; then
19068 ac_cv_member_struct_statfs_f_bavail=yes
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19073 ac_cv_member_struct_statfs_f_bavail=no
19076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19082 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19083 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19091 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19092 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19093 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19096 cat >conftest.$ac_ext <<_ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <sys/types.h>
19103 #ifdef HAVE_SYS_PARAM_H
19104 # include <sys/param.h>
19106 #ifdef HAVE_SYS_MOUNT_H
19107 # include <sys/mount.h>
19109 #ifdef HAVE_SYS_VFS_H
19110 # include <sys/vfs.h>
19112 #ifdef HAVE_SYS_STATFS_H
19113 # include <sys/statfs.h>
19119 static struct statfs ac_aggr;
19120 if (ac_aggr.f_frsize)
19126 rm -f conftest.$ac_objext
19127 if { (ac_try="$ac_compile"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compile") 2>conftest.er1
19135 grep -v '^ *+' conftest.er1 >conftest.err
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } && {
19140 test -z "$ac_c_werror_flag" ||
19141 test ! -s conftest.err
19142 } && test -s conftest.$ac_objext; then
19143 ac_cv_member_struct_statfs_f_frsize=yes
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19148 cat >conftest.$ac_ext <<_ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <sys/types.h>
19155 #ifdef HAVE_SYS_PARAM_H
19156 # include <sys/param.h>
19158 #ifdef HAVE_SYS_MOUNT_H
19159 # include <sys/mount.h>
19161 #ifdef HAVE_SYS_VFS_H
19162 # include <sys/vfs.h>
19164 #ifdef HAVE_SYS_STATFS_H
19165 # include <sys/statfs.h>
19171 static struct statfs ac_aggr;
19172 if (sizeof ac_aggr.f_frsize)
19178 rm -f conftest.$ac_objext
19179 if { (ac_try="$ac_compile"
19180 case "(($ac_try" in
19181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19182 *) ac_try_echo=$ac_try;;
19184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19185 (eval "$ac_compile") 2>conftest.er1
19187 grep -v '^ *+' conftest.er1 >conftest.err
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } && {
19192 test -z "$ac_c_werror_flag" ||
19193 test ! -s conftest.err
19194 } && test -s conftest.$ac_objext; then
19195 ac_cv_member_struct_statfs_f_frsize=yes
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19200 ac_cv_member_struct_statfs_f_frsize=no
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19209 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19210 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19218 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19219 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19220 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 cat >conftest.$ac_ext <<_ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <sys/types.h>
19230 #ifdef HAVE_SYS_PARAM_H
19231 # include <sys/param.h>
19233 #ifdef HAVE_SYS_MOUNT_H
19234 # include <sys/mount.h>
19236 #ifdef HAVE_SYS_VFS_H
19237 # include <sys/vfs.h>
19239 #ifdef HAVE_SYS_STATFS_H
19240 # include <sys/statfs.h>
19246 static struct statfs ac_aggr;
19247 if (ac_aggr.f_ffree)
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19262 grep -v '^ *+' conftest.er1 >conftest.err
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } && {
19267 test -z "$ac_c_werror_flag" ||
19268 test ! -s conftest.err
19269 } && test -s conftest.$ac_objext; then
19270 ac_cv_member_struct_statfs_f_ffree=yes
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 #include <sys/types.h>
19282 #ifdef HAVE_SYS_PARAM_H
19283 # include <sys/param.h>
19285 #ifdef HAVE_SYS_MOUNT_H
19286 # include <sys/mount.h>
19288 #ifdef HAVE_SYS_VFS_H
19289 # include <sys/vfs.h>
19291 #ifdef HAVE_SYS_STATFS_H
19292 # include <sys/statfs.h>
19298 static struct statfs ac_aggr;
19299 if (sizeof ac_aggr.f_ffree)
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19314 grep -v '^ *+' conftest.er1 >conftest.err
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19322 ac_cv_member_struct_statfs_f_ffree=yes
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 ac_cv_member_struct_statfs_f_ffree=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19335 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19336 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19337 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_STATFS_F_FFREE 1
19345 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19346 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19347 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 cat >conftest.$ac_ext <<_ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 #include <sys/types.h>
19357 #ifdef HAVE_SYS_PARAM_H
19358 # include <sys/param.h>
19360 #ifdef HAVE_SYS_MOUNT_H
19361 # include <sys/mount.h>
19363 #ifdef HAVE_SYS_VFS_H
19364 # include <sys/vfs.h>
19366 #ifdef HAVE_SYS_STATFS_H
19367 # include <sys/statfs.h>
19373 static struct statfs ac_aggr;
19374 if (ac_aggr.f_favail)
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19389 grep -v '^ *+' conftest.er1 >conftest.err
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_cv_member_struct_statfs_f_favail=yes
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19402 cat >conftest.$ac_ext <<_ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <sys/types.h>
19409 #ifdef HAVE_SYS_PARAM_H
19410 # include <sys/param.h>
19412 #ifdef HAVE_SYS_MOUNT_H
19413 # include <sys/mount.h>
19415 #ifdef HAVE_SYS_VFS_H
19416 # include <sys/vfs.h>
19418 #ifdef HAVE_SYS_STATFS_H
19419 # include <sys/statfs.h>
19425 static struct statfs ac_aggr;
19426 if (sizeof ac_aggr.f_favail)
19432 rm -f conftest.$ac_objext
19433 if { (ac_try="$ac_compile"
19434 case "(($ac_try" in
19435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19436 *) ac_try_echo=$ac_try;;
19438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19439 (eval "$ac_compile") 2>conftest.er1
19441 grep -v '^ *+' conftest.er1 >conftest.err
19443 cat conftest.err >&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && {
19446 test -z "$ac_c_werror_flag" ||
19447 test ! -s conftest.err
19448 } && test -s conftest.$ac_objext; then
19449 ac_cv_member_struct_statfs_f_favail=yes
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19454 ac_cv_member_struct_statfs_f_favail=no
19457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19463 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19464 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19472 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19473 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19474 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 #include <sys/types.h>
19484 #ifdef HAVE_SYS_PARAM_H
19485 # include <sys/param.h>
19487 #ifdef HAVE_SYS_MOUNT_H
19488 # include <sys/mount.h>
19490 #ifdef HAVE_SYS_VFS_H
19491 # include <sys/vfs.h>
19493 #ifdef HAVE_SYS_STATFS_H
19494 # include <sys/statfs.h>
19500 static struct statfs ac_aggr;
19501 if (ac_aggr.f_namelen)
19507 rm -f conftest.$ac_objext
19508 if { (ac_try="$ac_compile"
19509 case "(($ac_try" in
19510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19511 *) ac_try_echo=$ac_try;;
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19514 (eval "$ac_compile") 2>conftest.er1
19516 grep -v '^ *+' conftest.er1 >conftest.err
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && {
19521 test -z "$ac_c_werror_flag" ||
19522 test ! -s conftest.err
19523 } && test -s conftest.$ac_objext; then
19524 ac_cv_member_struct_statfs_f_namelen=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 cat >conftest.$ac_ext <<_ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 #include <sys/types.h>
19536 #ifdef HAVE_SYS_PARAM_H
19537 # include <sys/param.h>
19539 #ifdef HAVE_SYS_MOUNT_H
19540 # include <sys/mount.h>
19542 #ifdef HAVE_SYS_VFS_H
19543 # include <sys/vfs.h>
19545 #ifdef HAVE_SYS_STATFS_H
19546 # include <sys/statfs.h>
19552 static struct statfs ac_aggr;
19553 if (sizeof ac_aggr.f_namelen)
19559 rm -f conftest.$ac_objext
19560 if { (ac_try="$ac_compile"
19561 case "(($ac_try" in
19562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19563 *) ac_try_echo=$ac_try;;
19565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19566 (eval "$ac_compile") 2>conftest.er1
19568 grep -v '^ *+' conftest.er1 >conftest.err
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && {
19573 test -z "$ac_c_werror_flag" ||
19574 test ! -s conftest.err
19575 } && test -s conftest.$ac_objext; then
19576 ac_cv_member_struct_statfs_f_namelen=yes
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19581 ac_cv_member_struct_statfs_f_namelen=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19590 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19591 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19593 cat >>confdefs.h <<_ACEOF
19594 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19601 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19602 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19603 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 cat >conftest.$ac_ext <<_ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #ifdef HAVE_SYS_STATVFS_H
19613 #include <sys/statvfs.h>
19619 static struct statvfs ac_aggr;
19620 if (ac_aggr.f_blocks)
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_statvfs_f_blocks=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #ifdef HAVE_SYS_STATVFS_H
19655 #include <sys/statvfs.h>
19661 static struct statvfs ac_aggr;
19662 if (sizeof ac_aggr.f_blocks)
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19677 grep -v '^ *+' conftest.er1 >conftest.err
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } && {
19682 test -z "$ac_c_werror_flag" ||
19683 test ! -s conftest.err
19684 } && test -s conftest.$ac_objext; then
19685 ac_cv_member_struct_statvfs_f_blocks=yes
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 ac_cv_member_struct_statvfs_f_blocks=no
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19699 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19700 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19702 cat >>confdefs.h <<_ACEOF
19703 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19710 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19711 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19712 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 cat >conftest.$ac_ext <<_ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 #include <sys/types.h>
19722 #ifdef HAVE_SYS_SOCKET_H
19723 # include <sys/socket.h>
19725 #ifdef HAVE_SYS_UN_H
19726 # include <sys/un.h>
19732 static struct msghdr ac_aggr;
19733 if (ac_aggr.msg_accrights)
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1 >conftest.err
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_struct_msghdr_msg_accrights=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <sys/types.h>
19768 #ifdef HAVE_SYS_SOCKET_H
19769 # include <sys/socket.h>
19771 #ifdef HAVE_SYS_UN_H
19772 # include <sys/un.h>
19778 static struct msghdr ac_aggr;
19779 if (sizeof ac_aggr.msg_accrights)
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_cv_member_struct_msghdr_msg_accrights=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 ac_cv_member_struct_msghdr_msg_accrights=no
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19816 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19817 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19819 cat >>confdefs.h <<_ACEOF
19820 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19825 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19826 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19827 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 cat >conftest.$ac_ext <<_ACEOF
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h. */
19836 #include <sys/types.h>
19837 #ifdef HAVE_SYS_SOCKET_H
19838 # include <sys/socket.h>
19840 #ifdef HAVE_SYS_UN_H
19841 # include <sys/un.h>
19847 static struct sockaddr ac_aggr;
19848 if (ac_aggr.sa_len)
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19863 grep -v '^ *+' conftest.er1 >conftest.err
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19871 ac_cv_member_struct_sockaddr_sa_len=yes
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 cat >conftest.$ac_ext <<_ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 #include <sys/types.h>
19883 #ifdef HAVE_SYS_SOCKET_H
19884 # include <sys/socket.h>
19886 #ifdef HAVE_SYS_UN_H
19887 # include <sys/un.h>
19893 static struct sockaddr ac_aggr;
19894 if (sizeof ac_aggr.sa_len)
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19909 grep -v '^ *+' conftest.er1 >conftest.err
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19917 ac_cv_member_struct_sockaddr_sa_len=yes
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.$ac_ext >&5
19922 ac_cv_member_struct_sockaddr_sa_len=no
19925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19931 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19932 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19934 cat >>confdefs.h <<_ACEOF
19935 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19940 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19941 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19942 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 cat >conftest.$ac_ext <<_ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #include <sys/types.h>
19952 #ifdef HAVE_SYS_SOCKET_H
19953 # include <sys/socket.h>
19955 #ifdef HAVE_SYS_UN_H
19956 # include <sys/un.h>
19962 static struct sockaddr_un ac_aggr;
19963 if (ac_aggr.sun_len)
19969 rm -f conftest.$ac_objext
19970 if { (ac_try="$ac_compile"
19971 case "(($ac_try" in
19972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19973 *) ac_try_echo=$ac_try;;
19975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19976 (eval "$ac_compile") 2>conftest.er1
19978 grep -v '^ *+' conftest.er1 >conftest.err
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } && {
19983 test -z "$ac_c_werror_flag" ||
19984 test ! -s conftest.err
19985 } && test -s conftest.$ac_objext; then
19986 ac_cv_member_struct_sockaddr_un_sun_len=yes
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19991 cat >conftest.$ac_ext <<_ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 #include <sys/types.h>
19998 #ifdef HAVE_SYS_SOCKET_H
19999 # include <sys/socket.h>
20001 #ifdef HAVE_SYS_UN_H
20002 # include <sys/un.h>
20008 static struct sockaddr_un ac_aggr;
20009 if (sizeof ac_aggr.sun_len)
20015 rm -f conftest.$ac_objext
20016 if { (ac_try="$ac_compile"
20017 case "(($ac_try" in
20018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20019 *) ac_try_echo=$ac_try;;
20021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20022 (eval "$ac_compile") 2>conftest.er1
20024 grep -v '^ *+' conftest.er1 >conftest.err
20026 cat conftest.err >&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } && {
20029 test -z "$ac_c_werror_flag" ||
20030 test ! -s conftest.err
20031 } && test -s conftest.$ac_objext; then
20032 ac_cv_member_struct_sockaddr_un_sun_len=yes
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20037 ac_cv_member_struct_sockaddr_un_sun_len=no
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20045 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20046 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20047 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20049 cat >>confdefs.h <<_ACEOF
20050 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20057 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20058 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20059 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 cat >conftest.$ac_ext <<_ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 #include <sys/types.h>
20069 #ifdef HAVE_SCSI_SG_H
20070 #include <scsi/sg.h>
20076 static scsireq_t ac_aggr;
20083 rm -f conftest.$ac_objext
20084 if { (ac_try="$ac_compile"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_compile") 2>conftest.er1
20092 grep -v '^ *+' conftest.er1 >conftest.err
20094 cat conftest.err >&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } && {
20097 test -z "$ac_c_werror_flag" ||
20098 test ! -s conftest.err
20099 } && test -s conftest.$ac_objext; then
20100 ac_cv_member_scsireq_t_cmd=yes
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 #include <sys/types.h>
20112 #ifdef HAVE_SCSI_SG_H
20113 #include <scsi/sg.h>
20119 static scsireq_t ac_aggr;
20120 if (sizeof ac_aggr.cmd)
20126 rm -f conftest.$ac_objext
20127 if { (ac_try="$ac_compile"
20128 case "(($ac_try" in
20129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_compile") 2>conftest.er1
20135 grep -v '^ *+' conftest.er1 >conftest.err
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } && {
20140 test -z "$ac_c_werror_flag" ||
20141 test ! -s conftest.err
20142 } && test -s conftest.$ac_objext; then
20143 ac_cv_member_scsireq_t_cmd=yes
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20148 ac_cv_member_scsireq_t_cmd=no
20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20157 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20158 if test $ac_cv_member_scsireq_t_cmd = yes; then
20160 cat >>confdefs.h <<_ACEOF
20161 #define HAVE_SCSIREQ_T_CMD 1
20166 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20167 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20168 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 cat >conftest.$ac_ext <<_ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 #include <sys/types.h>
20178 #ifdef HAVE_SCSI_SG_H
20179 #include <scsi/sg.h>
20185 static sg_io_hdr_t ac_aggr;
20186 if (ac_aggr.interface_id)
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20201 grep -v '^ *+' conftest.er1 >conftest.err
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20209 ac_cv_member_sg_io_hdr_t_interface_id=yes
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20214 cat >conftest.$ac_ext <<_ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/types.h>
20221 #ifdef HAVE_SCSI_SG_H
20222 #include <scsi/sg.h>
20228 static sg_io_hdr_t ac_aggr;
20229 if (sizeof ac_aggr.interface_id)
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20244 grep -v '^ *+' conftest.er1 >conftest.err
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_cv_member_sg_io_hdr_t_interface_id=yes
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20257 ac_cv_member_sg_io_hdr_t_interface_id=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20265 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20266 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20267 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20269 cat >>confdefs.h <<_ACEOF
20270 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20277 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20278 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20279 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20280 echo $ECHO_N "(cached) $ECHO_C" >&6
20282 cat >conftest.$ac_ext <<_ACEOF
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 #include <signal.h>
20293 static siginfo_t ac_aggr;
20300 rm -f conftest.$ac_objext
20301 if { (ac_try="$ac_compile"
20302 case "(($ac_try" in
20303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304 *) ac_try_echo=$ac_try;;
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_compile") 2>conftest.er1
20309 grep -v '^ *+' conftest.er1 >conftest.err
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } && {
20314 test -z "$ac_c_werror_flag" ||
20315 test ! -s conftest.err
20316 } && test -s conftest.$ac_objext; then
20317 ac_cv_member_siginfo_t_si_fd=yes
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 cat >conftest.$ac_ext <<_ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 #include <signal.h>
20333 static siginfo_t ac_aggr;
20334 if (sizeof ac_aggr.si_fd)
20340 rm -f conftest.$ac_objext
20341 if { (ac_try="$ac_compile"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_compile") 2>conftest.er1
20349 grep -v '^ *+' conftest.er1 >conftest.err
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && {
20354 test -z "$ac_c_werror_flag" ||
20355 test ! -s conftest.err
20356 } && test -s conftest.$ac_objext; then
20357 ac_cv_member_siginfo_t_si_fd=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ac_cv_member_siginfo_t_si_fd=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20370 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20371 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20372 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20374 cat >>confdefs.h <<_ACEOF
20375 #define HAVE_SIGINFO_T_SI_FD 1
20382 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20383 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20384 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20385 echo $ECHO_N "(cached) $ECHO_C" >&6
20387 cat >conftest.$ac_ext <<_ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 #include <sys/types.h>
20394 #ifdef HAVE_SYS_MTIO_H
20395 #include <sys/mtio.h>
20401 static struct mtget ac_aggr;
20402 if (ac_aggr.mt_blksiz)
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_compile") 2>conftest.er1
20417 grep -v '^ *+' conftest.er1 >conftest.err
20419 cat conftest.err >&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && {
20422 test -z "$ac_c_werror_flag" ||
20423 test ! -s conftest.err
20424 } && test -s conftest.$ac_objext; then
20425 ac_cv_member_struct_mtget_mt_blksiz=yes
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20430 cat >conftest.$ac_ext <<_ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <sys/types.h>
20437 #ifdef HAVE_SYS_MTIO_H
20438 #include <sys/mtio.h>
20444 static struct mtget ac_aggr;
20445 if (sizeof ac_aggr.mt_blksiz)
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20460 grep -v '^ *+' conftest.er1 >conftest.err
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.$ac_objext; then
20468 ac_cv_member_struct_mtget_mt_blksiz=yes
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20473 ac_cv_member_struct_mtget_mt_blksiz=no
20476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20481 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20482 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20483 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20485 cat >>confdefs.h <<_ACEOF
20486 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20491 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20492 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20493 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #include <sys/types.h>
20503 #ifdef HAVE_SYS_MTIO_H
20504 #include <sys/mtio.h>
20510 static struct mtget ac_aggr;
20511 if (ac_aggr.mt_gstat)
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_member_struct_mtget_mt_gstat=yes
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 cat >conftest.$ac_ext <<_ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 #include <sys/types.h>
20546 #ifdef HAVE_SYS_MTIO_H
20547 #include <sys/mtio.h>
20553 static struct mtget ac_aggr;
20554 if (sizeof ac_aggr.mt_gstat)
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20569 grep -v '^ *+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20577 ac_cv_member_struct_mtget_mt_gstat=yes
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20582 ac_cv_member_struct_mtget_mt_gstat=no
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20590 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20591 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20592 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20594 cat >>confdefs.h <<_ACEOF
20595 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20600 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20601 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20602 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 cat >conftest.$ac_ext <<_ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 #include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20619 static struct mtget ac_aggr;
20620 if (ac_aggr.mt_blkno)
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20635 grep -v '^ *+' conftest.er1 >conftest.err
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 ac_cv_member_struct_mtget_mt_blkno=yes
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20648 cat >conftest.$ac_ext <<_ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 #include <sys/types.h>
20655 #ifdef HAVE_SYS_MTIO_H
20656 #include <sys/mtio.h>
20662 static struct mtget ac_aggr;
20663 if (sizeof ac_aggr.mt_blkno)
20669 rm -f conftest.$ac_objext
20670 if { (ac_try="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20678 grep -v '^ *+' conftest.er1 >conftest.err
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.$ac_objext; then
20686 ac_cv_member_struct_mtget_mt_blkno=yes
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20691 ac_cv_member_struct_mtget_mt_blkno=no
20694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20700 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20701 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20703 cat >>confdefs.h <<_ACEOF
20704 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20711 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20712 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20713 if test "${ac_cv_member_struct_option_name+set}" = set; then
20714 echo $ECHO_N "(cached) $ECHO_C" >&6
20716 cat >conftest.$ac_ext <<_ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 #ifdef HAVE_GETOPT_H
20723 #include <getopt.h>
20729 static struct option ac_aggr;
20736 rm -f conftest.$ac_objext
20737 if { (ac_try="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20745 grep -v '^ *+' conftest.er1 >conftest.err
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_struct_option_name=yes
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 #ifdef HAVE_GETOPT_H
20765 #include <getopt.h>
20771 static struct option ac_aggr;
20772 if (sizeof ac_aggr.name)
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20787 grep -v '^ *+' conftest.er1 >conftest.err
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && {
20792 test -z "$ac_c_werror_flag" ||
20793 test ! -s conftest.err
20794 } && test -s conftest.$ac_objext; then
20795 ac_cv_member_struct_option_name=yes
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20800 ac_cv_member_struct_option_name=no
20803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20809 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20810 if test $ac_cv_member_struct_option_name = yes; then
20812 cat >>confdefs.h <<_ACEOF
20813 #define HAVE_STRUCT_OPTION_NAME 1
20820 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20821 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20822 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20823 echo $ECHO_N "(cached) $ECHO_C" >&6
20825 cat >conftest.$ac_ext <<_ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 $ac_includes_default
20835 static struct stat ac_aggr;
20836 if (ac_aggr.st_blocks)
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20851 grep -v '^ *+' conftest.er1 >conftest.err
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20859 ac_cv_member_struct_stat_st_blocks=yes
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 cat >conftest.$ac_ext <<_ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20874 static struct stat ac_aggr;
20875 if (sizeof ac_aggr.st_blocks)
20881 rm -f conftest.$ac_objext
20882 if { (ac_try="$ac_compile"
20883 case "(($ac_try" in
20884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_compile") 2>conftest.er1
20890 grep -v '^ *+' conftest.er1 >conftest.err
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_c_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest.$ac_objext; then
20898 ac_cv_member_struct_stat_st_blocks=yes
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 ac_cv_member_struct_stat_st_blocks=no
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20912 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20913 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20915 cat >>confdefs.h <<_ACEOF
20916 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20923 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20924 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20925 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 #ifdef HAVE_SYS_TYPES_H
20935 #include <sys/types.h>
20937 #ifdef HAVE_NETINET_IN_H
20938 #include <netinet/in.h>
20944 static struct sockaddr_in6 ac_aggr;
20945 if (ac_aggr.sin6_scope_id)
20951 rm -f conftest.$ac_objext
20952 if { (ac_try="$ac_compile"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_compile") 2>conftest.er1
20960 grep -v '^ *+' conftest.er1 >conftest.err
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest.$ac_objext; then
20968 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20973 cat >conftest.$ac_ext <<_ACEOF
20976 cat confdefs.h >>conftest.$ac_ext
20977 cat >>conftest.$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20979 #ifdef HAVE_SYS_TYPES_H
20980 #include <sys/types.h>
20982 #ifdef HAVE_NETINET_IN_H
20983 #include <netinet/in.h>
20989 static struct sockaddr_in6 ac_aggr;
20990 if (sizeof ac_aggr.sin6_scope_id)
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21027 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21028 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21030 cat >>confdefs.h <<_ACEOF
21031 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21038 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21039 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21040 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21041 echo $ECHO_N "(cached) $ECHO_C" >&6
21043 cat >conftest.$ac_ext <<_ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 #ifdef HAVE_SYS_TYPES_H
21050 #include <sys/types.h>
21052 #ifdef HAVE_NETINET_IN_H
21053 # include <netinet/in.h>
21055 #ifdef HAVE_ARPA_NAMESER_H
21056 # include <arpa/nameser.h>
21062 static ns_msg ac_aggr;
21063 if (ac_aggr._msg_ptr)
21069 rm -f conftest.$ac_objext
21070 if { (ac_try="$ac_compile"
21071 case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21076 (eval "$ac_compile") 2>conftest.er1
21078 grep -v '^ *+' conftest.er1 >conftest.err
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } && {
21083 test -z "$ac_c_werror_flag" ||
21084 test ! -s conftest.err
21085 } && test -s conftest.$ac_objext; then
21086 ac_cv_member_ns_msg__msg_ptr=yes
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21091 cat >conftest.$ac_ext <<_ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #ifdef HAVE_SYS_TYPES_H
21098 #include <sys/types.h>
21100 #ifdef HAVE_NETINET_IN_H
21101 # include <netinet/in.h>
21103 #ifdef HAVE_ARPA_NAMESER_H
21104 # include <arpa/nameser.h>
21110 static ns_msg ac_aggr;
21111 if (sizeof ac_aggr._msg_ptr)
21117 rm -f conftest.$ac_objext
21118 if { (ac_try="$ac_compile"
21119 case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_compile") 2>conftest.er1
21126 grep -v '^ *+' conftest.er1 >conftest.err
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest.$ac_objext; then
21134 ac_cv_member_ns_msg__msg_ptr=yes
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_member_ns_msg__msg_ptr=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21148 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21149 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_NS_MSG__MSG_PTR 1
21159 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21160 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21161 if test "${ac_cv_have_timezone+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 cat >conftest.$ac_ext <<_ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21179 rm -f conftest.$ac_objext conftest$ac_exeext
21180 if { (ac_try="$ac_link"
21181 case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_link") 2>conftest.er1
21188 grep -v '^ *+' conftest.er1 >conftest.err
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && {
21193 test -z "$ac_c_werror_flag" ||
21194 test ! -s conftest.err
21195 } && test -s conftest$ac_exeext &&
21196 $as_test_x conftest$ac_exeext; then
21197 ac_cv_have_timezone="yes"
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.$ac_ext >&5
21202 ac_cv_have_timezone="no"
21205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21206 conftest$ac_exeext conftest.$ac_ext
21208 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21209 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21210 if test "$ac_cv_have_timezone" = "yes"
21213 cat >>confdefs.h <<\_ACEOF
21214 #define HAVE_TIMEZONE 1
21218 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21219 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21220 if test "${ac_cv_have_daylight+set}" = set; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6
21223 cat >conftest.$ac_ext <<_ACEOF
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21238 rm -f conftest.$ac_objext conftest$ac_exeext
21239 if { (ac_try="$ac_link"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_link") 2>conftest.er1
21247 grep -v '^ *+' conftest.er1 >conftest.err
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest$ac_exeext &&
21255 $as_test_x conftest$ac_exeext; then
21256 ac_cv_have_daylight="yes"
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ac_cv_have_daylight="no"
21264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21265 conftest$ac_exeext conftest.$ac_ext
21267 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21268 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21269 if test "$ac_cv_have_daylight" = "yes"
21272 cat >>confdefs.h <<\_ACEOF
21273 #define HAVE_DAYLIGHT 1
21278 { echo "$as_me:$LINENO: checking for isinf" >&5
21279 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21280 if test "${ac_cv_have_isinf+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 cat >conftest.$ac_ext <<_ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21293 float f = 0.0; isinf(f)
21298 rm -f conftest.$ac_objext conftest$ac_exeext
21299 if { (ac_try="$ac_link"
21300 case "(($ac_try" in
21301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_link") 2>conftest.er1
21307 grep -v '^ *+' conftest.er1 >conftest.err
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest$ac_exeext &&
21315 $as_test_x conftest$ac_exeext; then
21316 ac_cv_have_isinf="yes"
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.$ac_ext >&5
21321 ac_cv_have_isinf="no"
21324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21325 conftest$ac_exeext conftest.$ac_ext
21327 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21328 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21329 if test "$ac_cv_have_isinf" = "yes"
21332 cat >>confdefs.h <<\_ACEOF
21333 #define HAVE_ISINF 1
21340 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21341 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21342 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 cat >conftest.$ac_ext <<_ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21356 $EGREP "yes" >/dev/null 2>&1; then
21357 ac_cv_cpp_def___i386__=yes
21359 ac_cv_cpp_def___i386__=no
21364 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21365 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21366 if test $ac_cv_cpp_def___i386__ = yes; then
21367 CFLAGS="$CFLAGS -D__i386__"
21368 LINTFLAGS="$LINTFLAGS -D__i386__"
21371 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21372 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21373 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21376 cat >conftest.$ac_ext <<_ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21387 $EGREP "yes" >/dev/null 2>&1; then
21388 ac_cv_cpp_def___x86_64__=yes
21390 ac_cv_cpp_def___x86_64__=no
21395 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21396 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21397 if test $ac_cv_cpp_def___x86_64__ = yes; then
21398 CFLAGS="$CFLAGS -D__x86_64__"
21399 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21402 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21403 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21404 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 cat >conftest.$ac_ext <<_ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21418 $EGREP "yes" >/dev/null 2>&1; then
21419 ac_cv_cpp_def___ALPHA__=yes
21421 ac_cv_cpp_def___ALPHA__=no
21426 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21427 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21428 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21429 CFLAGS="$CFLAGS -D__ALPHA__"
21430 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21433 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21434 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21435 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21436 echo $ECHO_N "(cached) $ECHO_C" >&6
21438 cat >conftest.$ac_ext <<_ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21449 $EGREP "yes" >/dev/null 2>&1; then
21450 ac_cv_cpp_def___sparc__=yes
21452 ac_cv_cpp_def___sparc__=no
21457 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21458 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21459 if test $ac_cv_cpp_def___sparc__ = yes; then
21460 CFLAGS="$CFLAGS -D__sparc__"
21461 LINTFLAGS="$LINTFLAGS -D__sparc__"
21464 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21465 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21466 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 cat >conftest.$ac_ext <<_ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 #ifndef __powerpc__
21479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21480 $EGREP "yes" >/dev/null 2>&1; then
21481 ac_cv_cpp_def___powerpc__=yes
21483 ac_cv_cpp_def___powerpc__=no
21488 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21489 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21490 if test $ac_cv_cpp_def___powerpc__ = yes; then
21491 CFLAGS="$CFLAGS -D__powerpc__"
21492 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21497 case $host_vendor in
21498 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21499 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21500 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21503 cat >conftest.$ac_ext <<_ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21514 $EGREP "yes" >/dev/null 2>&1; then
21515 ac_cv_cpp_def___sun__=yes
21517 ac_cv_cpp_def___sun__=no
21522 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21523 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21524 if test $ac_cv_cpp_def___sun__ = yes; then
21525 CFLAGS="$CFLAGS -D__sun__"
21526 LINTFLAGS="$LINTFLAGS -D__sun__"
21532 DEPENDENCIES="### Dependencies:
21537 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21539 \$(OBJS): \$(IDL_GEN_HEADERS)
21540 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21541 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21542 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21543 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21549 ac_config_commands="$ac_config_commands include/stamp-h"
21552 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21554 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21556 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21558 ac_config_commands="$ac_config_commands dlls/user32/resources"
21560 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21562 ac_config_commands="$ac_config_commands include/wine"
21565 MAKE_RULES=Make.rules
21568 MAKE_DLL_RULES=dlls/Makedll.rules
21571 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21574 MAKE_TEST_RULES=dlls/Maketest.rules
21577 MAKE_PROG_RULES=programs/Makeprog.rules
21580 ac_config_files="$ac_config_files Make.rules"
21582 ac_config_files="$ac_config_files dlls/Makedll.rules"
21584 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21586 ac_config_files="$ac_config_files dlls/Maketest.rules"
21588 ac_config_files="$ac_config_files programs/Makeprog.rules"
21590 ac_config_files="$ac_config_files Makefile"
21592 ac_config_files="$ac_config_files dlls/Makefile"
21594 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21596 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21598 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21600 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21602 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21604 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21608 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21610 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21612 ac_config_files="$ac_config_files dlls/atl/Makefile"
21614 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21616 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21618 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21620 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21622 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21624 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21626 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21628 ac_config_files="$ac_config_files dlls/cards/Makefile"
21630 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21632 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21634 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21636 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21640 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21642 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21644 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21648 ac_config_files="$ac_config_files dlls/credui/Makefile"
21650 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21652 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21654 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21656 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21660 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21662 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21664 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21666 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21668 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21670 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21684 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21686 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21690 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21692 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21694 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21696 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21698 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21700 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21702 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21704 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21706 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21708 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21710 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21712 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21714 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21716 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21718 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21720 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21722 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21724 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21726 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21728 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21730 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21732 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21734 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21736 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21738 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21740 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21742 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21744 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21746 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21748 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21750 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21752 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21754 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21756 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21758 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21760 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21762 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21766 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21768 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21770 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21772 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21774 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21776 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21778 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21780 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21782 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21784 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21786 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21788 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21790 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21792 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21794 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21796 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21798 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21800 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21802 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21804 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21806 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21808 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21810 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21812 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21814 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21816 ac_config_files="$ac_config_files dlls/hal/Makefile"
21818 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21820 ac_config_files="$ac_config_files dlls/hid/Makefile"
21822 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21824 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21826 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21828 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21830 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21832 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21834 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21836 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21838 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21840 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21842 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21844 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21848 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21852 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21854 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21856 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21858 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21862 ac_config_files="$ac_config_files dlls/itss/Makefile"
21864 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21868 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21870 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21872 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21874 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21876 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21878 ac_config_files="$ac_config_files dlls/localui/Makefile"
21880 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21882 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21884 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21888 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21890 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21892 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21894 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21896 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21898 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21900 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21902 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21904 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21906 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21908 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21910 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21912 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21914 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21916 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21918 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21920 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21922 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21924 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21926 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21928 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21930 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21932 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21934 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21936 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21938 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21940 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/msi/Makefile"
21944 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21946 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21948 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21950 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21952 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21954 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21956 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21958 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21960 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21962 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21964 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21968 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21970 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21972 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21976 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21978 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21980 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21982 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21984 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21986 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21988 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21990 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21992 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21994 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21996 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21998 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22000 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22002 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22004 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22006 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22008 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22010 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22012 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22014 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22016 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22018 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22020 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22022 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22024 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22026 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22028 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22030 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22032 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22034 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22036 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22038 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22040 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22042 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22044 ac_config_files="$ac_config_files dlls/printui/Makefile"
22046 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22048 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22050 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22052 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22054 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22056 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22058 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22062 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22064 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22066 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22068 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/query/Makefile"
22072 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22074 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22076 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22078 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22080 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22082 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22086 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22088 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22090 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22092 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22096 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22098 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22100 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22102 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22104 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22106 ac_config_files="$ac_config_files dlls/security/Makefile"
22108 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22110 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22112 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22114 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22116 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22120 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22122 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22124 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22126 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22130 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22132 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22134 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22136 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22138 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22140 ac_config_files="$ac_config_files dlls/slc/Makefile"
22142 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22144 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22146 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22148 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22150 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22154 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22156 ac_config_files="$ac_config_files dlls/sti/Makefile"
22158 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22160 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22162 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22164 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22166 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22168 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22170 ac_config_files="$ac_config_files dlls/url/Makefile"
22172 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22174 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22176 ac_config_files="$ac_config_files dlls/user32/Makefile"
22178 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22180 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22182 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22184 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22186 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22188 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22190 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22192 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22194 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22196 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22198 ac_config_files="$ac_config_files dlls/version/Makefile"
22200 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22202 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22204 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22206 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22208 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22210 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22212 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22214 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22216 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22218 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22220 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22222 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22224 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22226 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22228 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22230 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22232 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22234 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22236 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22238 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22240 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22242 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22244 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22246 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22248 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22250 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22252 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22254 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22256 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22258 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22260 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22262 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22264 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22266 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22268 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22270 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22272 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22274 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22276 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22278 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22280 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22282 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22284 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22286 ac_config_files="$ac_config_files documentation/Makefile"
22288 ac_config_files="$ac_config_files fonts/Makefile"
22290 ac_config_files="$ac_config_files include/Makefile"
22292 ac_config_files="$ac_config_files libs/Makefile"
22294 ac_config_files="$ac_config_files libs/port/Makefile"
22296 ac_config_files="$ac_config_files libs/wine/Makefile"
22298 ac_config_files="$ac_config_files libs/wpp/Makefile"
22300 ac_config_files="$ac_config_files loader/Makefile"
22302 ac_config_files="$ac_config_files programs/Makefile"
22304 ac_config_files="$ac_config_files programs/clock/Makefile"
22306 ac_config_files="$ac_config_files programs/cmd/Makefile"
22308 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22310 ac_config_files="$ac_config_files programs/control/Makefile"
22312 ac_config_files="$ac_config_files programs/eject/Makefile"
22314 ac_config_files="$ac_config_files programs/expand/Makefile"
22316 ac_config_files="$ac_config_files programs/explorer/Makefile"
22318 ac_config_files="$ac_config_files programs/hh/Makefile"
22320 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22322 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22324 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22326 ac_config_files="$ac_config_files programs/net/Makefile"
22328 ac_config_files="$ac_config_files programs/notepad/Makefile"
22330 ac_config_files="$ac_config_files programs/oleview/Makefile"
22332 ac_config_files="$ac_config_files programs/progman/Makefile"
22334 ac_config_files="$ac_config_files programs/reg/Makefile"
22336 ac_config_files="$ac_config_files programs/regedit/Makefile"
22338 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22340 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22342 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22344 ac_config_files="$ac_config_files programs/secedit/Makefile"
22346 ac_config_files="$ac_config_files programs/services/Makefile"
22348 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22350 ac_config_files="$ac_config_files programs/start/Makefile"
22352 ac_config_files="$ac_config_files programs/svchost/Makefile"
22354 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22356 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22358 ac_config_files="$ac_config_files programs/view/Makefile"
22360 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22362 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22364 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22366 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22368 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22370 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22372 ac_config_files="$ac_config_files programs/winefile/Makefile"
22374 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22376 ac_config_files="$ac_config_files programs/winemine/Makefile"
22378 ac_config_files="$ac_config_files programs/winepath/Makefile"
22380 ac_config_files="$ac_config_files programs/winetest/Makefile"
22382 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22384 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22386 ac_config_files="$ac_config_files programs/winver/Makefile"
22388 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22390 ac_config_files="$ac_config_files programs/write/Makefile"
22392 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22394 ac_config_files="$ac_config_files server/Makefile"
22396 ac_config_files="$ac_config_files tools/Makefile"
22398 ac_config_files="$ac_config_files tools/widl/Makefile"
22400 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22402 ac_config_files="$ac_config_files tools/winedump/Makefile"
22404 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22406 ac_config_files="$ac_config_files tools/wmc/Makefile"
22408 ac_config_files="$ac_config_files tools/wrc/Makefile"
22411 cat >confcache <<\_ACEOF
22412 # This file is a shell script that caches the results of configure
22413 # tests run on this system so they can be shared between configure
22414 # scripts and configure runs, see configure's option --config-cache.
22415 # It is not useful on other systems. If it contains results you don't
22416 # want to keep, you may remove or edit it.
22418 # config.status only pays attention to the cache file if you give it
22419 # the --recheck option to rerun configure.
22421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22423 # following values.
22427 # The following way of writing the cache mishandles newlines in values,
22428 # but we know of no workaround that is simple, portable, and efficient.
22429 # So, we kill variables containing newlines.
22430 # Ultrix sh set writes to stderr and can't be redirected directly,
22431 # and sets the high bit in the cache file unless we assign to the vars.
22433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22434 eval ac_val=\$$ac_var
22438 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22439 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22442 _ | IFS | as_nl) ;; #(
22443 *) $as_unset $ac_var ;;
22449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22450 *${as_nl}ac_space=\ *)
22451 # `set' does not quote correctly, so add quotes (double-quote
22452 # substitution turns \\\\ into \\, and sed turns \\ into \).
22455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22458 # `set' quotes correctly as required by POSIX, so do not add quotes.
22459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22473 if test -w "$cache_file"; then
22474 test "x$cache_file" != "x/dev/null" &&
22475 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22476 echo "$as_me: updating cache $cache_file" >&6;}
22477 cat confcache >$cache_file
22479 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22480 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22485 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22486 # Let make expand exec_prefix.
22487 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22489 DEFS=-DHAVE_CONFIG_H
22493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22494 # 1. Remove the extension, and $U if already installed.
22495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22496 ac_i=`echo "$ac_i" | sed "$ac_script"`
22497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22498 # will be set to the directory where LIBOBJS objects are built.
22499 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22500 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22502 LIBOBJS=$ac_libobjs
22504 LTLIBOBJS=$ac_ltlibobjs
22508 : ${CONFIG_STATUS=./config.status}
22509 ac_clean_files_save=$ac_clean_files
22510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22511 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22512 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22513 cat >$CONFIG_STATUS <<_ACEOF
22515 # Generated by $as_me.
22516 # Run this file to recreate the current configuration.
22517 # Compiler output produced by configure, useful for debugging
22518 # configure, is in config.log if it exists.
22521 ac_cs_recheck=false
22523 SHELL=\${CONFIG_SHELL-$SHELL}
22526 cat >>$CONFIG_STATUS <<\_ACEOF
22527 ## --------------------- ##
22528 ## M4sh Initialization. ##
22529 ## --------------------- ##
22531 # Be more Bourne compatible
22532 DUALCASE=1; export DUALCASE # for MKS sh
22533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22536 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22537 # is contrary to our usage. Disable this feature.
22538 alias -g '${1+"$@"}'='"$@"'
22539 setopt NO_GLOB_SUBST
22541 case `(set -o) 2>/dev/null` in
22542 *posix*) set -o posix ;;
22551 # Avoid depending upon Character Ranges.
22552 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22553 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22554 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22555 as_cr_digits='0123456789'
22556 as_cr_alnum=$as_cr_Letters$as_cr_digits
22558 # The user is always right.
22559 if test "${PATH_SEPARATOR+set}" != set; then
22560 echo "#! /bin/sh" >conf$$.sh
22561 echo "exit 0" >>conf$$.sh
22563 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22571 # Support unset when possible.
22572 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22580 # We need space, tab and new line, in precisely that order. Quoting is
22581 # there to prevent editors from complaining about space-tab.
22582 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22583 # splitting by setting IFS to empty value.)
22588 # Find who we are. Look in the path if we contain no directory separator.
22590 *[\\/]* ) as_myself=$0 ;;
22591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22592 for as_dir in $PATH
22595 test -z "$as_dir" && as_dir=.
22596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22602 # We did not find ourselves, most probably we were run as `sh COMMAND'
22603 # in which case we are not to be found in the path.
22604 if test "x$as_myself" = x; then
22607 if test ! -f "$as_myself"; then
22608 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22609 { (exit 1); exit 1; }
22612 # Work around bugs in pre-3.0 UWIN ksh.
22613 for as_var in ENV MAIL MAILPATH
22614 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22622 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22623 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22624 LC_TELEPHONE LC_TIME
22626 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22627 eval $as_var=C; export $as_var
22629 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22633 # Required to use basename.
22634 if expr a : '\(a\)' >/dev/null 2>&1 &&
22635 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22641 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22642 as_basename=basename
22648 # Name of the executable.
22649 as_me=`$as_basename -- "$0" ||
22650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22651 X"$0" : 'X\(//\)$' \| \
22652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22654 sed '/^.*\/\([^/][^/]*\)\/*$/{
22673 as_lineno_1=$LINENO
22674 as_lineno_2=$LINENO
22675 test "x$as_lineno_1" != "x$as_lineno_2" &&
22676 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22678 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22679 # uniformly replaced by the line number. The first 'sed' inserts a
22680 # line-number line after each line using $LINENO; the second 'sed'
22681 # does the real work. The second script uses 'N' to pair each
22682 # line-number line with the line containing $LINENO, and appends
22683 # trailing '-' during substitution so that $LINENO is not a special
22684 # case at line end.
22685 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22686 # scripts with optimization help from Paolo Bonzini. Blame Lee
22687 # E. McMahon (1931-1989) for sed's syntax. :-)
22699 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22702 ' >$as_me.lineno &&
22703 chmod +x "$as_me.lineno" ||
22704 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22705 { (exit 1); exit 1; }; }
22707 # Don't try to exec as it changes $[0], causing all sort of problems
22708 # (the dirname of $[0] is not the place where we might find the
22709 # original and so on. Autoconf is especially sensitive to this).
22710 . "./$as_me.lineno"
22711 # Exit status is that of the last command.
22716 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22722 ECHO_C= ECHO_N= ECHO_T=
22723 case `echo -n x` in
22725 case `echo 'x\c'` in
22726 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22733 if expr a : '\(a\)' >/dev/null 2>&1 &&
22734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22740 rm -f conf$$ conf$$.exe conf$$.file
22741 if test -d conf$$.dir; then
22742 rm -f conf$$.dir/conf$$.file
22748 if ln -s conf$$.file conf$$ 2>/dev/null; then
22750 # ... but there are two gotchas:
22751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22753 # In both cases, we have to default to `cp -p'.
22754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22756 elif ln conf$$.file conf$$ 2>/dev/null; then
22761 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22762 rmdir conf$$.dir 2>/dev/null
22764 if mkdir -p . 2>/dev/null; then
22767 test -d ./-p && rmdir ./-p
22771 if test -x / >/dev/null 2>&1; then
22772 as_test_x='test -x'
22774 if ls -dL / >/dev/null 2>&1; then
22781 if test -d "$1"; then
22787 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22788 ???[sx]*):;;*)false;;esac;fi
22792 as_executable_p=$as_test_x
22794 # Sed expression to map a string onto a valid CPP name.
22795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22797 # Sed expression to map a string onto a valid variable name.
22798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22803 # Save the log message, to keep $[0] and so on meaningful, and to
22804 # report actual input values of CONFIG_FILES etc. instead of their
22805 # values after options handling.
22807 This file was extended by Wine $as_me 1.0-rc1, which was
22808 generated by GNU Autoconf 2.61. Invocation command line was
22810 CONFIG_FILES = $CONFIG_FILES
22811 CONFIG_HEADERS = $CONFIG_HEADERS
22812 CONFIG_LINKS = $CONFIG_LINKS
22813 CONFIG_COMMANDS = $CONFIG_COMMANDS
22816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22821 cat >>$CONFIG_STATUS <<_ACEOF
22822 # Files that config.status was made for.
22823 config_files="$ac_config_files"
22824 config_headers="$ac_config_headers"
22825 config_commands="$ac_config_commands"
22829 cat >>$CONFIG_STATUS <<\_ACEOF
22831 \`$as_me' instantiates files from templates according to the
22832 current configuration.
22834 Usage: $0 [OPTIONS] [FILE]...
22836 -h, --help print this help, then exit
22837 -V, --version print version number and configuration settings, then exit
22838 -q, --quiet do not print progress messages
22839 -d, --debug don't remove temporary files
22840 --recheck update $as_me by reconfiguring in the same conditions
22841 --file=FILE[:TEMPLATE]
22842 instantiate the configuration file FILE
22843 --header=FILE[:TEMPLATE]
22844 instantiate the configuration header FILE
22846 Configuration files:
22849 Configuration headers:
22852 Configuration commands:
22855 Report bugs to <bug-autoconf@gnu.org>."
22858 cat >>$CONFIG_STATUS <<_ACEOF
22860 Wine config.status 1.0-rc1
22861 configured by $0, generated by GNU Autoconf 2.61,
22862 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22864 Copyright (C) 2006 Free Software Foundation, Inc.
22865 This config.status script is free software; the Free Software Foundation
22866 gives unlimited permission to copy, distribute and modify it."
22873 cat >>$CONFIG_STATUS <<\_ACEOF
22874 # If no file are specified by the user, then we need to provide default
22875 # value. By we need to know if files were specified by the user.
22881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22882 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22893 # Handling of the options.
22894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22897 echo "$ac_cs_version"; exit ;;
22898 --debug | --debu | --deb | --de | --d | -d )
22900 --file | --fil | --fi | --f )
22902 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22903 ac_need_defaults=false;;
22904 --header | --heade | --head | --hea )
22906 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22907 ac_need_defaults=false;;
22909 # Conflict between --help and --header
22910 { echo "$as_me: error: ambiguous option: $1
22911 Try \`$0 --help' for more information." >&2
22912 { (exit 1); exit 1; }; };;
22913 --help | --hel | -h )
22914 echo "$ac_cs_usage"; exit ;;
22915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22919 # This is an error.
22920 -*) { echo "$as_me: error: unrecognized option: $1
22921 Try \`$0 --help' for more information." >&2
22922 { (exit 1); exit 1; }; } ;;
22924 *) ac_config_targets="$ac_config_targets $1"
22925 ac_need_defaults=false ;;
22931 ac_configure_extra_args=
22933 if $ac_cs_silent; then
22935 ac_configure_extra_args="$ac_configure_extra_args --silent"
22939 cat >>$CONFIG_STATUS <<_ACEOF
22940 if \$ac_cs_recheck; then
22941 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22942 CONFIG_SHELL=$SHELL
22943 export CONFIG_SHELL
22944 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22948 cat >>$CONFIG_STATUS <<\_ACEOF
22952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22953 ## Running $as_me. ##
22959 cat >>$CONFIG_STATUS <<_ACEOF
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22964 # Handling of arguments.
22965 for ac_config_target in $ac_config_targets
22967 case $ac_config_target in
22968 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22969 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22970 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22971 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22972 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22973 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22974 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22975 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22976 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22977 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22978 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22979 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22980 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22981 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22982 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22983 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22984 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22985 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22986 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22987 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22988 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22989 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22990 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22991 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22992 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22993 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22994 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22995 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22996 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22997 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22998 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22999 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23000 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23001 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23002 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23003 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23004 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23005 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23006 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23007 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23008 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23009 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23010 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23011 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23012 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23013 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23014 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23015 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23016 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23017 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23018 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23019 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23020 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23021 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23022 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23023 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23024 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23025 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23026 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23027 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23028 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23029 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23030 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23031 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23032 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23033 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23034 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23035 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23036 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23037 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23038 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23039 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23040 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23041 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23042 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23043 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23044 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23045 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23046 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23047 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23048 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23049 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23050 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23051 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23052 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23053 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23054 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23055 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23056 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23057 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23058 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23059 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23060 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23061 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23062 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23063 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23064 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23065 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23066 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23067 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23068 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23069 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23070 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23071 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23072 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23073 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23074 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23075 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23076 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23077 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23078 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23079 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23080 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23081 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23082 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23083 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23084 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23085 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23086 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23087 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23088 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23089 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23090 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23091 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23092 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23093 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23094 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23095 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23096 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23097 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23098 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23099 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23100 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23101 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23102 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23103 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23104 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23105 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23106 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23107 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23108 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23109 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23110 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23111 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23112 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23113 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23114 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23115 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23116 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23117 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23118 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23119 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23120 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23121 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23122 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23123 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23124 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23125 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23126 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23127 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23128 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23129 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23130 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23131 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23132 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23133 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23134 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23135 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23136 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23137 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23138 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23139 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23140 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23141 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23142 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23143 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23144 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23145 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23146 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23147 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23148 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23149 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23150 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23151 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23152 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23153 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23154 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23155 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23156 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23157 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23158 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23159 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23160 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23161 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23162 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23163 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23164 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23165 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23166 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23167 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23168 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23169 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23170 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23171 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23172 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23173 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23174 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23175 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23176 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23177 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23178 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23179 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23180 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23181 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23182 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23183 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23184 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23185 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23186 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23187 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23188 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23189 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23190 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23191 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23192 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23193 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23194 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23195 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23196 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23197 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23198 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23199 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23200 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23201 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23202 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23203 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23204 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23205 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23206 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23207 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23208 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23209 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23210 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23211 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23212 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23213 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23214 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23215 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23216 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23217 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23218 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23219 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23220 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23221 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23222 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23223 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23224 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23225 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23226 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23227 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23228 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23229 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23230 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23231 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23232 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23233 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23234 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23235 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23236 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23237 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23238 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23239 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23240 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23241 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23242 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23243 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23244 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23245 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23246 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23247 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23248 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23249 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23250 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23251 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23252 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23253 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23254 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23255 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23256 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23257 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23258 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23259 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23260 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23261 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23262 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23263 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23264 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23265 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23266 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23267 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23268 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23269 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23270 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23271 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23272 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23273 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23274 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23275 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23276 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23277 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23278 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23279 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23280 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23281 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23282 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23283 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23284 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23285 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23286 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23287 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23288 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23289 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23290 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23291 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23292 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23293 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23294 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23295 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23296 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23297 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23298 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23299 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23300 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23301 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23302 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23303 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23304 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23305 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23306 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23307 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23308 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23309 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23310 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23311 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23312 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23313 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23314 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23315 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23316 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23317 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23318 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23319 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23320 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23321 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23322 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23323 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23324 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23325 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23326 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23327 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23328 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23329 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23330 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23331 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23332 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23333 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23334 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23335 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23336 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23337 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23338 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23339 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23340 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23341 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23342 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23343 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23344 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23345 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23346 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23347 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23348 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23349 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23350 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23351 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23352 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23353 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23354 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23355 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23356 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23357 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23358 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23359 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23360 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23361 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23362 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23363 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23364 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23365 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23366 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23367 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23368 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23369 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23370 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23371 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23372 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23373 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23374 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23375 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23376 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23377 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23378 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23379 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23380 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23381 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23382 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23383 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23384 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23385 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23386 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23387 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23388 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23389 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23390 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23392 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23393 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23394 { (exit 1); exit 1; }; };;
23399 # If the user did not use the arguments to specify the items to instantiate,
23400 # then the envvar interface is used. Set only those that are not.
23401 # We use the long form for the default assignment because of an extremely
23402 # bizarre bug on SunOS 4.1.3.
23403 if $ac_need_defaults; then
23404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23409 # Have a temporary directory for convenience. Make it in the build tree
23410 # simply because there is no reason against having it here, and in addition,
23411 # creating and moving files from /tmp can sometimes cause problems.
23412 # Hook for its removal unless debugging.
23413 # Note that there is a small window in which the directory will not be cleaned:
23414 # after its creation but before its name has been assigned to `$tmp'.
23418 trap 'exit_status=$?
23419 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23421 trap '{ (exit 1); exit 1; }' 1 2 13 15
23423 # Create a (secure) tmp directory for tmp files.
23426 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23427 test -n "$tmp" && test -d "$tmp"
23430 tmp=./conf$$-$RANDOM
23431 (umask 077 && mkdir "$tmp")
23434 echo "$me: cannot create a temporary directory in ." >&2
23435 { (exit 1); exit 1; }
23439 # Set up the sed scripts for CONFIG_FILES section.
23442 # No need to generate the scripts if there are no CONFIG_FILES.
23443 # This happens for instance when ./config.status config.h
23444 if test -n "$CONFIG_FILES"; then
23448 # Create sed commands to just substitute file output variables.
23450 # Remaining file output variables are in a fragment that also has non-file
23456 for ac_last_try in false false false false false :; do
23457 cat >conf$$subs.sed <<_ACEOF
23458 SHELL!$SHELL$ac_delim
23459 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23460 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23461 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23462 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23463 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23464 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23465 exec_prefix!$exec_prefix$ac_delim
23466 prefix!$prefix$ac_delim
23467 program_transform_name!$program_transform_name$ac_delim
23468 bindir!$bindir$ac_delim
23469 sbindir!$sbindir$ac_delim
23470 libexecdir!$libexecdir$ac_delim
23471 datarootdir!$datarootdir$ac_delim
23472 datadir!$datadir$ac_delim
23473 sysconfdir!$sysconfdir$ac_delim
23474 sharedstatedir!$sharedstatedir$ac_delim
23475 localstatedir!$localstatedir$ac_delim
23476 includedir!$includedir$ac_delim
23477 oldincludedir!$oldincludedir$ac_delim
23478 docdir!$docdir$ac_delim
23479 infodir!$infodir$ac_delim
23480 htmldir!$htmldir$ac_delim
23481 dvidir!$dvidir$ac_delim
23482 pdfdir!$pdfdir$ac_delim
23483 psdir!$psdir$ac_delim
23484 libdir!$libdir$ac_delim
23485 localedir!$localedir$ac_delim
23486 mandir!$mandir$ac_delim
23487 DEFS!$DEFS$ac_delim
23488 ECHO_C!$ECHO_C$ac_delim
23489 ECHO_N!$ECHO_N$ac_delim
23490 ECHO_T!$ECHO_T$ac_delim
23491 LIBS!$LIBS$ac_delim
23492 build_alias!$build_alias$ac_delim
23493 host_alias!$host_alias$ac_delim
23494 target_alias!$target_alias$ac_delim
23495 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23496 build!$build$ac_delim
23497 build_cpu!$build_cpu$ac_delim
23498 build_vendor!$build_vendor$ac_delim
23499 build_os!$build_os$ac_delim
23500 host!$host$ac_delim
23501 host_cpu!$host_cpu$ac_delim
23502 host_vendor!$host_vendor$ac_delim
23503 host_os!$host_os$ac_delim
23504 WIN16_FILES!$WIN16_FILES$ac_delim
23505 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23506 SET_MAKE!$SET_MAKE$ac_delim
23508 CFLAGS!$CFLAGS$ac_delim
23509 LDFLAGS!$LDFLAGS$ac_delim
23510 CPPFLAGS!$CPPFLAGS$ac_delim
23511 ac_ct_CC!$ac_ct_CC$ac_delim
23512 EXEEXT!$EXEEXT$ac_delim
23513 OBJEXT!$OBJEXT$ac_delim
23515 CXXFLAGS!$CXXFLAGS$ac_delim
23516 ac_ct_CXX!$ac_ct_CXX$ac_delim
23517 CPPBIN!$CPPBIN$ac_delim
23518 TOOLSDIR!$TOOLSDIR$ac_delim
23519 XMKMF!$XMKMF$ac_delim
23521 X_CFLAGS!$X_CFLAGS$ac_delim
23522 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23523 X_LIBS!$X_LIBS$ac_delim
23524 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23525 FLEX!$FLEX$ac_delim
23526 BISON!$BISON$ac_delim
23528 ac_ct_AS!$ac_ct_AS$ac_delim
23531 ARFLAGS!$ARFLAGS$ac_delim
23532 RANLIB!$RANLIB$ac_delim
23533 STRIP!$STRIP$ac_delim
23534 WINDRES!$WINDRES$ac_delim
23535 LN_S!$LN_S$ac_delim
23537 GREP!$GREP$ac_delim
23538 EGREP!$EGREP$ac_delim
23539 LDCONFIG!$LDCONFIG$ac_delim
23542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23544 elif $ac_last_try; then
23545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23546 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23547 { (exit 1); exit 1; }; }
23549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23553 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23554 if test -n "$ac_eof"; then
23555 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23556 ac_eof=`expr $ac_eof + 1`
23559 cat >>$CONFIG_STATUS <<_ACEOF
23560 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23562 /^[ ]*@MAKE_RULES@[ ]*$/{
23566 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23570 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23571 r $MAKE_IMPLIB_RULES
23574 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23578 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23584 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23585 s/^/s,@/; s/!/@,|#_!!_#|/
23588 s/'"$ac_delim"'$/,g/; t
23590 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23591 ' >>$CONFIG_STATUS <conf$$subs.sed
23592 rm -f conf$$subs.sed
23593 cat >>$CONFIG_STATUS <<_ACEOF
23599 for ac_last_try in false false false false false :; do
23600 cat >conf$$subs.sed <<_ACEOF
23601 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23602 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23603 INSTALL_DATA!$INSTALL_DATA$ac_delim
23604 LINT!$LINT$ac_delim
23605 LINTFLAGS!$LINTFLAGS$ac_delim
23606 FONTFORGE!$FONTFORGE$ac_delim
23607 PKG_CONFIG!$PKG_CONFIG$ac_delim
23608 RSVG!$RSVG$ac_delim
23609 ICOTOOL!$ICOTOOL$ac_delim
23610 PRELINK!$PRELINK$ac_delim
23611 LIBPTHREAD!$LIBPTHREAD$ac_delim
23612 XLIB!$XLIB$ac_delim
23613 XFILES!$XFILES$ac_delim
23614 OPENGLFILES!$OPENGLFILES$ac_delim
23615 GLU32FILES!$GLU32FILES$ac_delim
23616 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23617 QUARTZFILES!$QUARTZFILES$ac_delim
23618 DLLEXT!$DLLEXT$ac_delim
23619 DLLFLAGS!$DLLFLAGS$ac_delim
23620 LDSHARED!$LDSHARED$ac_delim
23621 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23622 LIBEXT!$LIBEXT$ac_delim
23623 IMPLIBEXT!$IMPLIBEXT$ac_delim
23624 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23625 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23627 DLLTOOL!$DLLTOOL$ac_delim
23628 DLLWRAP!$DLLWRAP$ac_delim
23629 MINGWAR!$MINGWAR$ac_delim
23630 SECURITYLIB!$SECURITYLIB$ac_delim
23631 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23632 IOKITLIB!$IOKITLIB$ac_delim
23633 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23634 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23635 COREAUDIO!$COREAUDIO$ac_delim
23636 CARBONLIB!$CARBONLIB$ac_delim
23637 CROSSTEST!$CROSSTEST$ac_delim
23638 CROSSCC!$CROSSCC$ac_delim
23639 CROSSWINDRES!$CROSSWINDRES$ac_delim
23640 NASLIBS!$NASLIBS$ac_delim
23641 XML2LIBS!$XML2LIBS$ac_delim
23642 XML2INCL!$XML2INCL$ac_delim
23643 XSLTLIBS!$XSLTLIBS$ac_delim
23644 XSLTINCL!$XSLTINCL$ac_delim
23645 HALINCL!$HALINCL$ac_delim
23646 sane_devel!$sane_devel$ac_delim
23647 SANEINCL!$SANEINCL$ac_delim
23648 gphoto2_devel!$gphoto2_devel$ac_delim
23649 gphoto2port_devel!$gphoto2port_devel$ac_delim
23650 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23651 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23652 RESOLVLIBS!$RESOLVLIBS$ac_delim
23653 LCMSLIBS!$LCMSLIBS$ac_delim
23654 LDAPLIBS!$LDAPLIBS$ac_delim
23655 ft_devel!$ft_devel$ac_delim
23656 FREETYPELIBS!$FREETYPELIBS$ac_delim
23657 FREETYPEINCL!$FREETYPEINCL$ac_delim
23658 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23659 ESDCONFIG!$ESDCONFIG$ac_delim
23660 ESDLIBS!$ESDLIBS$ac_delim
23661 ESDINCL!$ESDINCL$ac_delim
23662 ALSALIBS!$ALSALIBS$ac_delim
23663 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23664 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23665 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23666 BUILTINFLAG!$BUILTINFLAG$ac_delim
23667 LDPATH!$LDPATH$ac_delim
23668 CRTLIBS!$CRTLIBS$ac_delim
23669 SOCKETLIBS!$SOCKETLIBS$ac_delim
23670 MAIN_BINARY!$MAIN_BINARY$ac_delim
23671 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23672 LIBDL!$LIBDL$ac_delim
23673 LIBPOLL!$LIBPOLL$ac_delim
23674 DEPENDENCIES!$DEPENDENCIES$ac_delim
23675 LIBOBJS!$LIBOBJS$ac_delim
23676 LTLIBOBJS!$LTLIBOBJS$ac_delim
23679 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23681 elif $ac_last_try; then
23682 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23683 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23684 { (exit 1); exit 1; }; }
23686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23690 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23691 if test -n "$ac_eof"; then
23692 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23693 ac_eof=`expr $ac_eof + 1`
23696 cat >>$CONFIG_STATUS <<_ACEOF
23697 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23701 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23702 s/^/s,@/; s/!/@,|#_!!_#|/
23705 s/'"$ac_delim"'$/,g/; t
23707 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23708 ' >>$CONFIG_STATUS <conf$$subs.sed
23709 rm -f conf$$subs.sed
23710 cat >>$CONFIG_STATUS <<_ACEOF
23717 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23718 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23719 # trailing colons and then remove the whole line if VPATH becomes empty
23720 # (actually we leave an empty line to preserve line numbers).
23721 if test "x$srcdir" = x.; then
23722 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23723 s/:*\$(srcdir):*/:/
23724 s/:*\${srcdir}:*/:/
23726 s/^\([^=]*=[ ]*\):*/\1/
23732 cat >>$CONFIG_STATUS <<\_ACEOF
23733 fi # test -n "$CONFIG_FILES"
23736 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23739 :[FHLC]) ac_mode=$ac_tag; continue;;
23741 case $ac_mode$ac_tag in
23743 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23744 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23745 { (exit 1); exit 1; }; };;
23746 :[FH]-) ac_tag=-:-;;
23747 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23764 -) ac_f="$tmp/stdin";;
23765 *) # Look for the file first in the build tree, then in the source tree
23766 # (if the path is not absolute). The absolute path cannot be DOS-style,
23767 # because $ac_f cannot contain `:'.
23771 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23773 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23774 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23775 { (exit 1); exit 1; }; };;
23777 ac_file_inputs="$ac_file_inputs $ac_f"
23780 # Let's still pretend it is `configure' which instantiates (i.e., don't
23781 # use $as_me), people would be surprised to read:
23782 # /* config.h. Generated by config.status. */
23783 configure_input="Generated from "`IFS=:
23784 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23785 if test x"$ac_file" != x-; then
23786 configure_input="$ac_file. $configure_input"
23787 { echo "$as_me:$LINENO: creating $ac_file" >&5
23788 echo "$as_me: creating $ac_file" >&6;}
23792 *:-:* | *:-) cat >"$tmp/stdin";;
23797 ac_dir=`$as_dirname -- "$ac_file" ||
23798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23799 X"$ac_file" : 'X\(//\)[^/]' \| \
23800 X"$ac_file" : 'X\(//\)$' \| \
23801 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23807 /^X\(\/\/\)[^/].*/{
23822 -*) as_dir=./$as_dir;;
23824 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23828 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23829 *) as_qdir=$as_dir;;
23831 as_dirs="'$as_qdir' $as_dirs"
23832 as_dir=`$as_dirname -- "$as_dir" ||
23833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23834 X"$as_dir" : 'X\(//\)[^/]' \| \
23835 X"$as_dir" : 'X\(//\)$' \| \
23836 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23842 /^X\(\/\/\)[^/].*/{
23855 test -d "$as_dir" && break
23857 test -z "$as_dirs" || eval "mkdir $as_dirs"
23858 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23859 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23860 { (exit 1); exit 1; }; }; }
23864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23867 # A ".." for each directory in $ac_dir_suffix.
23868 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23869 case $ac_top_builddir_sub in
23870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23874 ac_abs_top_builddir=$ac_pwd
23875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23876 # for backward compatibility:
23877 ac_top_builddir=$ac_top_build_prefix
23880 .) # We are building in place.
23882 ac_top_srcdir=$ac_top_builddir_sub
23883 ac_abs_top_srcdir=$ac_pwd ;;
23884 [\\/]* | ?:[\\/]* ) # Absolute name.
23885 ac_srcdir=$srcdir$ac_dir_suffix;
23886 ac_top_srcdir=$srcdir
23887 ac_abs_top_srcdir=$srcdir ;;
23888 *) # Relative name.
23889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23890 ac_top_srcdir=$ac_top_build_prefix$srcdir
23891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23903 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23904 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23908 cat >>$CONFIG_STATUS <<\_ACEOF
23909 # If the template does not know about datarootdir, expand it.
23910 # FIXME: This hack should be removed a few years after 2.60.
23911 ac_datarootdir_hack=; ac_datarootdir_seen=
23913 case `sed -n '/datarootdir/ {
23922 ' $ac_file_inputs` in
23923 *datarootdir*) ac_datarootdir_seen=yes;;
23924 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23925 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23926 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23928 cat >>$CONFIG_STATUS <<_ACEOF
23929 ac_datarootdir_hack='
23930 s&@datadir@&$datadir&g
23931 s&@docdir@&$docdir&g
23932 s&@infodir@&$infodir&g
23933 s&@localedir@&$localedir&g
23934 s&@mandir@&$mandir&g
23935 s&\\\${datarootdir}&$datarootdir&g' ;;
23939 # Neutralize VPATH when `$srcdir' = `.'.
23940 # Shell code in configure.ac might set extrasub.
23941 # FIXME: do we really want to maintain this feature?
23942 cat >>$CONFIG_STATUS <<_ACEOF
23946 cat >>$CONFIG_STATUS <<\_ACEOF
23948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23949 s&@configure_input@&$configure_input&;t t
23950 s&@top_builddir@&$ac_top_builddir_sub&;t t
23951 s&@srcdir@&$ac_srcdir&;t t
23952 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23953 s&@top_srcdir@&$ac_top_srcdir&;t t
23954 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23955 s&@builddir@&$ac_builddir&;t t
23956 s&@abs_builddir@&$ac_abs_builddir&;t t
23957 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23958 s&@INSTALL@&$ac_INSTALL&;t t
23959 $ac_datarootdir_hack
23960 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23963 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23964 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23965 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23966 which seems to be undefined. Please make sure it is defined." >&5
23967 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23968 which seems to be undefined. Please make sure it is defined." >&2;}
23972 -) cat "$tmp/out"; rm -f "$tmp/out";;
23973 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23982 # Transform confdefs.h into a sed script `conftest.defines', that
23983 # substitutes the proper values into config.h.in to produce config.h.
23984 rm -f conftest.defines conftest.tail
23985 # First, append a space to every undef/define line, to ease matching.
23986 echo 's/$/ /' >conftest.defines
23987 # Then, protect against being on the right side of a sed subst, or in
23988 # an unquoted here document, in config.status. If some macros were
23989 # called several times there might be several #defines for the same
23990 # symbol, which is useless. But do not sort them, since the last
23991 # AC_DEFINE must be honored.
23992 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23993 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23994 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23995 # PARAMS is the parameter list in the macro definition--in most cases, it's
23996 # just an empty string.
23997 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23998 ac_dB='\\)[ (].*,\\1define\\2'
24006 s/^[ ]*#[ ]*define[ ][ ]*//
24011 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24012 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24013 ' >>conftest.defines
24015 # Remove the space that was appended to ease matching.
24016 # Then replace #undef with comments. This is necessary, for
24017 # example, in the case of _POSIX_SOURCE, which is predefined and required
24018 # on some systems where configure will not decide to define it.
24019 # (The regexp can be short, since the line contains either #define or #undef.)
24021 s,^[ #]*u.*,/* & */,' >>conftest.defines
24023 # Break up conftest.defines:
24024 ac_max_sed_lines=50
24026 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24027 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24028 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24030 ac_in='$ac_file_inputs'
24031 ac_out='"$tmp/out1"'
24032 ac_nxt='"$tmp/out2"'
24036 # Write a here document:
24037 cat >>$CONFIG_STATUS <<_ACEOF
24038 # First, check the format of the line:
24039 cat >"\$tmp/defines.sed" <<\\CEOF
24040 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24041 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24045 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24047 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24048 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24049 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24050 grep . conftest.tail >/dev/null || break
24051 rm -f conftest.defines
24052 mv conftest.tail conftest.defines
24054 rm -f conftest.defines conftest.tail
24056 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24057 cat >>$CONFIG_STATUS <<\_ACEOF
24058 if test x"$ac_file" != x-; then
24059 echo "/* $configure_input */" >"$tmp/config.h"
24060 cat "$ac_result" >>"$tmp/config.h"
24061 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24062 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24063 echo "$as_me: $ac_file is unchanged" >&6;}
24066 mv "$tmp/config.h" $ac_file
24069 echo "/* $configure_input */"
24075 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24076 echo "$as_me: executing $ac_file commands" >&6;}
24081 case $ac_file$ac_mode in
24082 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24083 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24084 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24085 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24086 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24087 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24088 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24089 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24090 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24091 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24092 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24093 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24094 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24100 { (exit 0); exit 0; }
24102 chmod +x $CONFIG_STATUS
24103 ac_clean_files=$ac_clean_files_save
24106 # configure is writing to config.log, and then calls config.status.
24107 # config.status does its own redirection, appending to config.log.
24108 # Unfortunately, on DOS this fails, as config.log is still kept open
24109 # by configure, so config.status won't be able to write to it; its
24110 # output is simply discarded. So we exec the FD to /dev/null,
24111 # effectively closing config.log, so it can be properly (re)opened and
24112 # appended to by config.status. When coming back to configure, we
24113 # need to make the FD available again.
24114 if test "$no_create" != yes; then
24116 ac_config_status_args=
24117 test "$silent" = yes &&
24118 ac_config_status_args="$ac_config_status_args --quiet"
24120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24123 # would make configure fail if this is the last instruction.
24124 $ac_cs_success || { (exit 1); exit 1; }
24128 if test "$no_create" = "yes"
24135 if test "x$wine_notices != "x; then
24137 for msg in $wine_notices; do
24138 if test -n "$msg"; then
24139 { echo "$as_me:$LINENO: $msg" >&5
24140 echo "$as_me: $msg" >&6;}
24144 for msg in $wine_warnings; do
24145 if test -n "$msg"; then
24147 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24148 echo "$as_me: WARNING: $msg" >&2;}
24154 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.