2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.46.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.46'
578 PACKAGE_STRING
='Wine 0.9.46'
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
772 ac_subst_files
='MAKE_RULES
777 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_
$ac_feature=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_
$ac_feature=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_
$ac_package=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target
=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x
; then
1199 if test "x$build_alias" = x
; then
1200 cross_compiling
=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var
in $ac_precious_vars; do
1279 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1281 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures Wine 0.9.46 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --x-includes=DIR X include files are
in DIR
1351 --x-libraries=DIR X library files are
in DIR
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive
) echo "Configuration of Wine 0.9.46:";;
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1371 --disable-tests do not build the testsuites
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-opengl do not use OpenGL
1377 --with-wine-tools=<dir> use Wine tools from directory <dir>
1378 --with-x use the X Window System
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CXX C++ compiler command
1389 CXXFLAGS C++ compiler flags
1390 XMKMF Path to xmkmf, Makefile generator for X Window System
1393 Use these variables to override the choices made by `configure' or to
help
1394 it to
find libraries and programs with nonstandard names
/locations.
1396 Report bugs to
<wine-devel@winehq.org
>.
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1404 test -d "$ac_dir" ||
continue
1408 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1410 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1415 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1418 ac_abs_top_builddir
=$ac_pwd
1419 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir
=$ac_top_build_prefix
1424 .
) # We are building in place.
1426 ac_top_srcdir
=$ac_top_builddir_sub
1427 ac_abs_top_srcdir
=$ac_pwd ;;
1428 [\\/]* | ?
:[\\/]* ) # Absolute name.
1429 ac_srcdir
=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir
=$srcdir
1431 ac_abs_top_srcdir
=$srcdir ;;
1433 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1437 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1448 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1457 Wine configure
0.9.46
1458 generated by GNU Autoconf
2.61
1460 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1462 This configure
script is free software
; the Free Software Foundation
1463 gives unlimited permission to copy
, distribute and modify it.
1467 cat >config.log
<<_ACEOF
1468 This file contains any messages produced by compilers while
1469 running configure, to aid debugging if configure makes a mistake.
1471 It was created by Wine $as_me 0.9.46, which was
1472 generated by GNU Autoconf 2.61. Invocation command line was
1484 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1494 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1497 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1498 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1499 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir
=.
1508 echo "PATH: $as_dir"
1524 # Keep a trace of the command line.
1525 # Strip out --no-create and --no-recursion so they do not pile up.
1526 # Strip out --silent because we don't want to record it for future runs.
1527 # Also quote any args containing shell meta-characters.
1528 # Make two passes to allow for proper duplicate-argument suppression.
1532 ac_must_keep_next
=false
1538 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1540 |
-silent |
--silent |
--silen |
--sile |
--sil)
1543 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1548 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1549 if test $ac_must_keep_next = true
; then
1550 ac_must_keep_next
=false
# Got value, back to normal.
1553 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1554 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1555 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1556 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1557 case "$ac_configure_args0 " in
1558 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 -* ) ac_must_keep_next
=true
;;
1564 ac_configure_args
="$ac_configure_args '$ac_arg'"
1569 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1570 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1572 # When interrupted or exit'd, cleanup temporary files, and complete
1573 # config.log. We remove comments because anyway the quotes in there
1574 # would cause problems or look ugly.
1575 # WARNING: Use '\'' to represent an apostrophe within the trap.
1576 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577 trap 'exit_status=$?
1578 # Save into config.log some information that might help in debugging.
1583 ## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1595 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1596 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1599 _ | IFS | as_nl) ;; #(
1600 *) $as_unset $ac_var ;;
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 echo "$ac_var='\''$ac_val'\''"
1635 if test -n "$ac_subst_files"; then
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1642 for ac_var
in $ac_subst_files
1644 eval ac_val
=\$
$ac_var
1646 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 echo "$ac_var='\''$ac_val'\''"
1653 if test -s confdefs.h; then
1663 test "$ac_signal" != 0 &&
1664 echo "$as_me: caught signal $ac_signal"
1665 echo "$as_me: exit $exit_status"
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 for ac_signal
in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest
* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h
<<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 cat >>confdefs.h
<<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 cat >>confdefs.h
<<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 cat >>confdefs.h
<<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1701 cat >>confdefs.h
<<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer explicitly selected file to automatically selected ones.
1708 if test -n "$CONFIG_SITE"; then
1709 set x
"$CONFIG_SITE"
1710 elif test "x$prefix" != xNONE
; then
1711 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1713 set x
"$ac_default_prefix/share/config.site" \
1714 "$ac_default_prefix/etc/config.site"
1719 if test -r "$ac_site_file"; then
1720 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1721 echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1727 if test -r "$cache_file"; then
1728 # Some versions of bash will fail to source /dev/null (special
1729 # files actually), so we avoid doing that.
1730 if test -f "$cache_file"; then
1731 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1732 echo "$as_me: loading cache $cache_file" >&6;}
1734 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1735 *) .
"./$cache_file";;
1739 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1740 echo "$as_me: creating cache $cache_file" >&6;}
1744 # Check that the precious variables saved in the cache have kept the same
1746 ac_cache_corrupted
=false
1747 for ac_var
in $ac_precious_vars; do
1748 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1749 eval ac_new_set
=\
$ac_env_${ac_var}_set
1750 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1751 eval ac_new_val
=\
$ac_env_${ac_var}_value
1752 case $ac_old_set,$ac_new_set in
1754 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756 ac_cache_corrupted
=: ;;
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760 ac_cache_corrupted
=: ;;
1763 if test "x$ac_old_val" != "x$ac_new_val"; then
1764 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1765 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1766 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1767 echo "$as_me: former value: $ac_old_val" >&2;}
1768 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1769 echo "$as_me: current value: $ac_new_val" >&2;}
1770 ac_cache_corrupted
=:
1773 # Pass precious variables to config.status.
1774 if test "$ac_new_set" = set; then
1776 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 *) ac_arg
=$ac_var=$ac_new_val ;;
1779 case " $ac_configure_args " in
1780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1781 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1785 if $ac_cache_corrupted; then
1786 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1787 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1818 ac_cpp
='$CPP $CPPFLAGS'
1819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1825 ac_config_headers
="$ac_config_headers include/config.h"
1828 for ac_dir
in tools
"$srcdir"/tools
; do
1829 if test -f "$ac_dir/install-sh"; then
1831 ac_install_sh
="$ac_aux_dir/install-sh -c"
1833 elif test -f "$ac_dir/install.sh"; then
1835 ac_install_sh
="$ac_aux_dir/install.sh -c"
1837 elif test -f "$ac_dir/shtool"; then
1839 ac_install_sh
="$ac_aux_dir/shtool install -c"
1843 if test -z "$ac_aux_dir"; then
1844 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1845 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1846 { (exit 1); exit 1; }; }
1849 # These three variables are undocumented and unsupported,
1850 # and are intended to be withdrawn in a future Autoconf release.
1851 # They can cause serious problems if a builder's source tree is in a directory
1852 # whose full name contains unusual characters.
1853 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1854 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1855 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1860 # Check whether --enable-win16 was given.
1861 if test "${enable_win16+set}" = set; then
1862 enableval
=$enable_win16;
1865 # Check whether --enable-win64 was given.
1866 if test "${enable_win64+set}" = set; then
1867 enableval
=$enable_win64;
1872 # Check whether --with-opengl was given.
1873 if test "${with_opengl+set}" = set; then
1874 withval
=$with_opengl;
1878 # Check whether --with-wine-tools was given.
1879 if test "${with_wine_tools+set}" = set; then
1880 withval
=$with_wine_tools;
1883 # Check whether --enable-tests was given.
1884 if test "${enable_tests+set}" = set; then
1885 enableval
=$enable_tests;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 ac_build_alias
=$build_alias
1901 test "x$ac_build_alias" = x
&&
1902 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x
&&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1922 ac_save_IFS
=$IFS; IFS
='-'
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1932 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test "x$host_alias" = x
; then
1941 ac_cv_host
=$ac_cv_build
1943 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1959 ac_save_IFS
=$IFS; IFS
='-'
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1969 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1974 if test "x$enable_win64" != "xyes"
1976 test -n "$CC" || CC
="gcc -m32"
1977 test -n "$CXX"|| CXX
="g++ -m32"
1978 test -n "$LD" || LD
="ld -m elf_i386"
1979 test -n "$AS" || AS
="as --32"
1987 if test "x$enable_win16" != "xno"
1994 WIN16_FILES
="\$(WIN16_FILES)"
1996 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
2004 if test "x$enable_tests" == "xno"
2011 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
make <<\_ACEOF
2038 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2045 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2049 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE
="MAKE=${MAKE-make}"
2060 ac_cpp
='$CPP $CPPFLAGS'
2061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC
="$CC" # Let the user override the test.
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 for ac_exec_ext
in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc
; ac_word
=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC
="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x
; then
2144 case $cross_compiling:$ac_tool_warned in
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned
=yes ;;
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc
; ac_word
=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC
="$CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected
=yes
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy
$ac_cv_prog_CC
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2241 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog
in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC
="$CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2301 if test -z "$CC"; then
2303 for ac_prog
in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy
$ac_prog; ac_word
=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC
="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2345 if test "x$ac_ct_CC" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned
=yes ;;
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler
=`set X $ac_compile; echo $2`
2374 { (ac_try
="$ac_compiler --version >&5"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler --version >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try
="$ac_compiler -V >&5"
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2438 for ac_file in $ac_files
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2447 if { (ac_try="$ac_link_default"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2462 for ac_file
in $ac_files ''
2464 test -f "$ac_file" ||
continue
2466 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2469 # We found the default executable, but exeext='' is most
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2487 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext
=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try
='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 if test "$cross_compiling" = maybe; then
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details.
" >&5
2533 echo "$as_me: error
: cannot run C compiled programs.
2534 If you meant to cross compile
, use \
`--host'.
2535 See \`config.log
' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2568 for ac_file
in conftest.exe conftest conftest.
*; do
2569 test -f "$ac_file" ||
continue
2571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest
$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.
$ac_ext
2590 EXEEXT
=$ac_cv_exeext
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 cat >conftest.
$ac_ext <<_ACEOF
2600 cat confdefs.h
>>conftest.
$ac_ext
2601 cat >>conftest.
$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try
="$ac_compile"
2615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log
' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details.
" >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached
) $ECHO_C" >&6
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2680 grep -v '^ *+' conftest.er1 >conftest.err
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2690 echo "$as_me: failed program was
:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2706 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached
) $ECHO_C" >&6
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2748 echo "$as_me: failed program was
:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2786 echo "$as_me: failed program was
:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2815 grep -v '^ *+' conftest.er1 >conftest.err
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2825 echo "$as_me: failed program was
:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2851 if test "$GCC" = yes; then
2857 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2858 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached
) $ECHO_C" >&6
2862 ac_cv_prog_cc_c89=no
2864 cat >conftest.$ac_ext <<_ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2888 s = g (p, va_arg (v,int));
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2934 grep -v '^ *+' conftest.er1 >conftest.err
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2944 echo "$as_me: failed program was
:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2953 rm -f conftest.$ac_ext
2958 case "x
$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result
: none needed
" >&5
2961 echo "${ECHO_T}none needed
" >&6; } ;;
2963 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2964 echo "${ECHO_T}unsupported
" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached
) $ECHO_C" >&6
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result
: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3022 { echo "$as_me:$LINENO: result
: no
" >&5
3023 echo "${ECHO_T}no
" >&6; }
3027 test -n "$CXX" && break
3030 if test -z "$CXX"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached
) $ECHO_C" >&6
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 { echo "$as_me:$LINENO: result
: no
" >&5
3067 echo "${ECHO_T}no
" >&6; }
3071 test -n "$ac_ct_CXX" && break
3074 if test "x
$ac_ct_CXX" = x; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3080 whose name does not start with the
host triplet. If you think this
3081 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3082 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3083 whose name does not start with the
host triplet. If you think this
3084 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3085 ac_tool_warned=yes ;;
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler --version >&5") 2>&5
3104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached
) $ECHO_C" >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3169 echo "$as_me: failed program was
:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3185 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached
) $ECHO_C" >&6
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3193 cat >conftest.$ac_ext <<_ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3227 echo "$as_me: failed program was
:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3265 echo "$as_me: failed program was
:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3294 grep -v '^ *+' conftest.er1 >conftest.err
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3304 echo "$as_me: failed program was
:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3330 if test "$GXX" = yes; then
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached
) $ECHO_C" >&6
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3375 { echo "$as_me:$LINENO: result
: no
" >&5
3376 echo "${ECHO_T}no
" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp
", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached
) $ECHO_C" >&6
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 { echo "$as_me:$LINENO: result
: no
" >&5
3416 echo "${ECHO_T}no
" >&6; }
3419 if test "x
$ac_ct_CPPBIN" = x; then
3422 case $cross_compiling:$ac_tool_warned in
3424 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3425 whose name does not start with the
host triplet. If you think this
3426 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3427 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3428 whose name does not start with the
host triplet. If you think this
3429 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3430 ac_tool_warned=yes ;;
3432 CPPBIN=$ac_ct_CPPBIN
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3440 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached
) $ECHO_C" >&6
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3447 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3448 { (exit 1); exit 1; }; }
3450 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3452 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3458 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3459 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached
) $ECHO_C" >&6
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error
" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3503 # include <limits.h>
3505 # include <assert.h>
3509 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3517 grep -v '^ *+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3527 echo "$as_me: failed program was
:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3546 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3562 # Broken: success on invalid input.
3565 echo "$as_me: failed program was
:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3573 rm -f conftest.err conftest.$ac_ext
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3590 { echo "$as_me:$LINENO: result
: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error
" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3622 grep -v '^ *+' conftest.er1 >conftest.err
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3632 echo "$as_me: failed program was
:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3651 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3667 # Broken: success on invalid input.
3670 echo "$as_me: failed program was
:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3678 rm -f conftest.err conftest.$ac_ext
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3686 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3687 See \
`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log
' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3696 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3709 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3726 cat >Imakefile <<'_ACEOF'
3728 @echo incroot='${INCROOT}'
3730 @echo usrlibdir='${USRLIBDIR}'
3732 @echo libdir='${LIBDIR}'
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 case $ac_im_usrlibdir in
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3775 /usr
/local
/X11
/include
3776 /usr
/local
/X11R
6/include
3777 /usr
/local
/X11R
5/include
3778 /usr
/local
/X11R
4/include
3780 /usr
/local
/include
/X11
3781 /usr
/local
/include
/X11R6
3782 /usr
/local
/include
/X11R5
3783 /usr
/local
/include
/X11R4
3787 /usr
/XFree86
/include
/X11
3791 /usr
/unsupported
/include
3793 /usr
/local
/x11r
5/include
3794 /usr
/lpp
/Xamples
/include
3796 /usr
/openwin
/include
3797 /usr
/openwin
/share
/include
'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 grep -v '^
*+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3826 # We can compile using X headers with no special include directory.
3829 echo "$as_me: failed program was:" >&5
3830 sed 's
/^
/|
/' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to
$LIBS permanently.
3849 cat >conftest.
$ac_ext <<_ACEOF
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3864 rm -f conftest.
$ac_objext conftest
$ac_exeext
3865 if { (ac_try
="$ac_link"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3873 grep -v '^ *+' conftest.er1 >conftest.err
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3883 # We can link X programs with no special library path.
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3920 eval "$ac_cv_have_x"
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3986 grep -v '^ *+' conftest.er1
>conftest.err
3988 cat conftest.err
>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest
$ac_exeext &&
3994 $as_test_x conftest
$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS
="$X_LIBS -R$x_libraries"
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.
$ac_ext >&5
4002 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4018 rm -f conftest.
$ac_objext conftest
$ac_exeext
4019 if { (ac_try
="$ac_link"
4021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4081 char XOpenDisplay ();
4085 return XOpenDisplay ();
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest
$ac_exeext &&
4107 $as_test_x conftest
$ac_exeext; then
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_check_lib_save_LIBS
=$LIBS
4120 cat >conftest.
$ac_ext <<_ACEOF
4123 cat confdefs.h
>>conftest.
$ac_ext
4124 cat >>conftest.
$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4137 return dnet_ntoa ();
4142 rm -f conftest.
$ac_objext conftest
$ac_exeext
4143 if { (ac_try
="$ac_link"
4145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4151 grep -v '^ *+' conftest.er1 >conftest.err
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4203 return dnet_ntoa ();
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4212 *) ac_try_echo
=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest
$ac_exeext &&
4225 $as_test_x conftest
$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4235 conftest
$ac_exeext conftest.
$ac_ext
4236 LIBS
=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4248 conftest
$ac_exeext conftest.
$ac_ext
4249 LIBS
="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4280 # include <limits.h>
4282 # include <assert.h>
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4304 return gethostbyname ();
4309 rm -f conftest.
$ac_objext conftest
$ac_exeext
4310 if { (ac_try
="$ac_link"
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4318 grep -v '^ *+' conftest.er1 >conftest.err
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 ac_check_lib_save_LIBS=$LIBS
4349 cat >conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4362 char gethostbyname ();
4366 return gethostbyname ();
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest
$ac_exeext &&
4388 $as_test_x conftest
$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname
=yes
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.
$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname
=no
4397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4398 conftest
$ac_exeext conftest.
$ac_ext
4399 LIBS
=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 ac_check_lib_save_LIBS
=$LIBS
4415 cat >conftest.
$ac_ext <<_ACEOF
4418 cat confdefs.h
>>conftest.
$ac_ext
4419 cat >>conftest.
$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4428 char gethostbyname ();
4432 return gethostbyname ();
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext
4438 if { (ac_try
="$ac_link"
4440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4446 grep -v '^ *+' conftest.er1 >conftest.err
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4537 *) ac_try_echo
=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest
$ac_exeext &&
4550 $as_test_x conftest
$ac_exeext; then
4551 ac_cv_func_connect
=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.
$ac_ext >&5
4556 ac_cv_func_connect
=no
4559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4560 conftest
$ac_exeext conftest.
$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no
; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS
=$LIBS
4572 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.
$ac_ext <<_ACEOF
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4595 rm -f conftest.
$ac_objext conftest
$ac_exeext
4596 if { (ac_try
="$ac_link"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.$ac_ext <<_ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4655 # include <limits.h>
4657 # include <assert.h>
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4688 *) ac_try_echo
=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1
>conftest.err
4695 cat conftest.err
>&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest
$ac_exeext &&
4701 $as_test_x conftest
$ac_exeext; then
4702 ac_cv_func_remove
=yes
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4707 ac_cv_func_remove
=no
4710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4711 conftest
$ac_exeext conftest.
$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no
; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 ac_check_lib_save_LIBS
=$LIBS
4723 LIBS
="-lposix $LIBS"
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.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. */
4746 rm -f conftest.
$ac_objext conftest
$ac_exeext
4747 if { (ac_try
="$ac_link"
4749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4806 # include <limits.h>
4808 # include <assert.h>
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4839 *) ac_try_echo
=$ac_try;;
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1
>conftest.err
4846 cat conftest.err
>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest
$ac_exeext &&
4852 $as_test_x conftest
$ac_exeext; then
4853 ac_cv_func_shmat
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4862 conftest
$ac_exeext conftest.
$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no
; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 ac_check_lib_save_LIBS
=$LIBS
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.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. */
4897 rm -f conftest.
$ac_objext conftest
$ac_exeext
4898 if { (ac_try
="$ac_link"
4900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1 >conftest.err
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4965 char IceConnectionNumber ();
4969 return IceConnectionNumber ();
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4978 *) ac_try_echo
=$ac_try;;
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest
$ac_exeext &&
4991 $as_test_x conftest
$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber
=yes
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber
=no
5000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5001 conftest
$ac_exeext conftest.
$ac_ext
5002 LIBS
=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS
=$ac_save_LDFLAGS
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy
$ac_prog; ac_word
=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX
="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 FLEX
=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5056 test -n "$FLEX" || FLEX
="none"
5058 if test "$FLEX" = "none"
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog
in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy
$ac_prog; ac_word
=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON
="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 BISON
=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5106 test -n "$BISON" || BISON
="none"
5108 if test "$BISON" = "none"
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog
in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS
="$AS" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5158 if test -z "$AS"; then
5160 for ac_prog
in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy
$ac_prog; ac_word
=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir
=.
5177 for ac_exec_ext
in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS
="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5202 if test "x$ac_ct_AS" = x
; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned
=yes ;;
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD
="$LD" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld
; ac_word
=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD
="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x
; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned
=yes ;;
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR
="$AR" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy
ar; ac_word
=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR
="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x
; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned
=yes ;;
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 RANLIB
=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB
=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib
; ac_word
=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x
; then
5491 case $cross_compiling:$ac_tool_warned in
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned
=yes ;;
5501 RANLIB
=$ac_ct_RANLIB
5504 RANLIB
="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 STRIP
=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip
; ac_word
=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP
="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x
; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned
=yes ;;
5600 STRIP
="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 WINDRES
=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES
=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres
; ac_word
=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES
="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x
; then
5683 case $cross_compiling:$ac_tool_warned in
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned
=yes ;;
5693 WINDRES
=$ac_ct_WINDRES
5696 WINDRES
="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.
file
5714 if ln conf$$.
file conf$$
2>/dev
/null
; then
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.
file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy
grep ggrep
; ac_prog_name
=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 ac_path_GREP_found
=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5743 test -z "$as_dir" && as_dir
=.
5744 for ac_prog
in grep ggrep
; do
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5752 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5763 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5764 ac_count
=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP
="$ac_path_GREP"
5768 ac_path_GREP_max
=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5773 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5777 $ac_path_GREP_found && break 3
5787 GREP
="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5795 ac_cv_path_GREP
=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP
="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5811 then ac_cv_path_EGREP
="$GREP -E"
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy
egrep; ac_prog_name
=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 ac_path_EGREP_found
=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5822 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_prog
in egrep; do
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5834 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5845 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5846 ac_count
=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP
="$ac_path_EGREP"
5850 ac_path_EGREP_max
=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5855 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5859 $ac_path_EGREP_found && break 3
5869 EGREP
="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5877 ac_cv_path_EGREP
=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP
="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig
; ac_word
=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 for as_dir
in /sbin
/usr
/sbin
$PATH
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5919 LDCONFIG
=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 # Account for people who put trailing slashes in PATH elements.
5955 .
/ | .
// |
/cC
/* | \
5956 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5963 for ac_prog
in ginstall scoinst
install; do
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5975 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL
=$ac_cv_path_install
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL
=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6010 [\\/$
]* | ?
:[\\/]* ) ;;
6011 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6014 for ac_prog
in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy
$ac_prog; ac_word
=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir
=.
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT
="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 LINT
=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6056 if test "$LINT" = "lint"
6058 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog
in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy
$ac_prog; ac_word
=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir
=.
6080 for ac_exec_ext
in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE
="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 FONTFORGE
=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6104 test -n "$FONTFORGE" || FONTFORGE
="false"
6106 for ac_prog
in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy
$ac_prog; ac_word
=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_exec_ext
in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6147 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink
; ac_word
=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 for as_dir
in /sbin
/usr
/sbin
$PATH
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6183 PRELINK
=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 ac_check_lib_save_LIBS
=$LIBS
6205 cat >conftest.
$ac_ext <<_ACEOF
6208 cat confdefs.h
>>conftest.
$ac_ext
6209 cat >>conftest.
$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6218 char i386_set_ldt ();
6222 return i386_set_ldt ();
6227 rm -f conftest.
$ac_objext conftest
$ac_exeext
6228 if { (ac_try
="$ac_link"
6230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6236 grep -v '^ *+' conftest.er1 >conftest.err
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6293 return _oss_ioctl ();
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6302 *) ac_try_echo
=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6307 grep -v '^ *+' conftest.er1
>conftest.err
6309 cat conftest.err
>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest
$ac_exeext &&
6315 $as_test_x conftest
$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl
=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.
$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl
=no
6324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6325 conftest
$ac_exeext conftest.
$ac_ext
6326 LIBS
=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h
<<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6335 LIBS
="-lossaudio $LIBS"
6339 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6340 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6341 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 ac_check_lib_save_LIBS
=$LIBS
6345 LIBS
="-lpthread $LIBS"
6346 cat >conftest.
$ac_ext <<_ACEOF
6349 cat confdefs.h
>>conftest.
$ac_ext
6350 cat >>conftest.
$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6353 /* Override any GCC internal prototype to avoid an error.
6354 Use char because int might match the return type of a GCC
6355 builtin and then its argument prototype would still apply. */
6359 char pthread_create ();
6363 return pthread_create ();
6368 rm -f conftest.
$ac_objext conftest
$ac_exeext
6369 if { (ac_try
="$ac_link"
6371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6372 *) ac_try_echo=$ac_try;;
6374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6375 (eval "$ac_link") 2>conftest.er1
6377 grep -v '^ *+' conftest.er1 >conftest.err
6379 cat conftest.err >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } && {
6382 test -z "$ac_c_werror_flag" ||
6383 test ! -s conftest.err
6384 } && test -s conftest$ac_exeext &&
6385 $as_test_x conftest$ac_exeext; then
6386 ac_cv_lib_pthread_pthread_create=yes
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.$ac_ext >&5
6391 ac_cv_lib_pthread_pthread_create=no
6394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6395 conftest$ac_exeext conftest.$ac_ext
6396 LIBS=$ac_check_lib_save_LIBS
6398 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6399 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6400 if test $ac_cv_lib_pthread_pthread_create = yes; then
6401 LIBPTHREAD="-lpthread"
6420 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6421 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6422 if test "${ac_cv_header_stdc+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 cat >conftest.$ac_ext <<_ACEOF
6428 cat confdefs.h >>conftest.$ac_ext
6429 cat >>conftest.$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6444 rm -f conftest.$ac_objext
6445 if { (ac_try="$ac_compile"
6447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6448 *) ac_try_echo
=$ac_try;;
6450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.
$ac_objext; then
6461 ac_cv_header_stdc
=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.
$ac_ext >&5
6466 ac_cv_header_stdc
=no
6469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat >conftest.
$ac_ext <<_ACEOF
6476 cat confdefs.h
>>conftest.
$ac_ext
6477 cat >>conftest.
$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "memchr" >/dev
/null
2>&1; then
6486 ac_cv_header_stdc
=no
6492 if test $ac_cv_header_stdc = yes; then
6493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6494 cat >conftest.
$ac_ext <<_ACEOF
6497 cat confdefs.h
>>conftest.
$ac_ext
6498 cat >>conftest.
$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev
/null
2>&1; then
6507 ac_cv_header_stdc
=no
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then
6518 cat >conftest.
$ac_ext <<_ACEOF
6521 cat confdefs.h
>>conftest.
$ac_ext
6522 cat >>conftest.
$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6549 rm -f conftest
$ac_exeext
6550 if { (ac_try
="$ac_link"
6552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6560 { (case "(($ac_try" in
6561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6562 *) ac_try_echo
=$ac_try;;
6564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_try") 2>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6571 echo "$as_me: program exited with status $ac_status" >&5
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.
$ac_ext >&5
6576 ac_cv_header_stdc
=no
6578 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6584 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6585 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6586 if test $ac_cv_header_stdc = yes; then
6588 cat >>confdefs.h
<<\_ACEOF
6589 #define STDC_HEADERS 1
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6604 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6605 inttypes.h stdint.h unistd.h
6607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6610 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6621 #include <$ac_header>
6623 rm -f conftest.
$ac_objext
6624 if { (ac_try
="$ac_compile"
6626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6630 (eval "$ac_compile") 2>conftest.er1
6632 grep -v '^ *+' conftest.er1 >conftest.err
6634 cat conftest.err >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } && {
6637 test -z "$ac_c_werror_flag" ||
6638 test ! -s conftest.err
6639 } && test -s conftest.$ac_objext; then
6640 eval "$as_ac_Header=yes"
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6645 eval "$as_ac_Header=no"
6648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6650 ac_res=`eval echo '${'$as_ac_Header'}'`
6651 { echo "$as_me:$LINENO: result: $ac_res" >&5
6652 echo "${ECHO_T}$ac_res" >&6; }
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6774 AudioUnit/AudioUnit.h \
6776 CoreAudio/CoreAudio.h \
6777 DiskArbitration/DiskArbitration.h \
6790 fontconfig/fontconfig.h \
6816 machine/soundcard.h \
6821 netinet/in_systm.h \
6886 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_res=`eval echo '${'$as_ac_Header'}'`
6894 { echo "$as_me:$LINENO: result: $ac_res" >&5
6895 echo "${ECHO_T}$ac_res" >&6; }
6897 # Is the header compilable?
6898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6900 cat >conftest.$ac_ext <<_ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <$ac_header>
6909 rm -f conftest.$ac_objext
6910 if { (ac_try="$ac_compile"
6912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6913 *) ac_try_echo
=$ac_try;;
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6918 grep -v '^ *+' conftest.er1
>conftest.err
6920 cat conftest.err
>&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.
$ac_objext; then
6926 ac_header_compiler
=yes
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_header_compiler
=no
6934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6936 echo "${ECHO_T}$ac_header_compiler" >&6; }
6938 # Is the header present?
6939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6941 cat >conftest.
$ac_ext <<_ACEOF
6944 cat confdefs.h
>>conftest.
$ac_ext
6945 cat >>conftest.
$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <$ac_header>
6949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6957 grep -v '^ *+' conftest.er1 >conftest.err
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } >/dev/null && {
6962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6963 test ! -s conftest.err
6965 ac_header_preproc=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 ac_header_preproc=no
6973 rm -f conftest.err conftest.$ac_ext
6974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6975 echo "${ECHO_T}$ac_header_preproc" >&6; }
6977 # So? What about this header?
6978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6984 ac_header_preproc=yes
6987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7000 ## ------------------------------------ ##
7001 ## Report this to wine-devel@winehq.org ##
7002 ## ------------------------------------ ##
7004 ) | sed "s/^/$as_me: WARNING: /" >&2
7007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 eval "$as_ac_Header=\$ac_header_preproc"
7014 ac_res=`eval echo '${'$as_ac_Header'}'`
7015 { echo "$as_me:$LINENO: result: $ac_res" >&5
7016 echo "${ECHO_T}$ac_res" >&6; }
7019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7020 cat >>confdefs.h <<_ACEOF
7021 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7028 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7029 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7030 if test "${ac_cv_header_stat_broken+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 cat >conftest.$ac_ext <<_ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <sys/types.h>
7040 #include <sys/stat.h>
7042 #if defined S_ISBLK && defined S_IFDIR
7043 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7046 #if defined S_ISBLK && defined S_IFCHR
7047 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7050 #if defined S_ISLNK && defined S_IFREG
7051 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7054 #if defined S_ISSOCK && defined S_IFREG
7055 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7059 rm -f conftest.$ac_objext
7060 if { (ac_try="$ac_compile"
7062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7063 *) ac_try_echo
=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_compile") 2>conftest.er1
7068 grep -v '^ *+' conftest.er1
>conftest.err
7070 cat conftest.err
>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && {
7073 test -z "$ac_c_werror_flag" ||
7074 test ! -s conftest.err
7075 } && test -s conftest.
$ac_objext; then
7076 ac_cv_header_stat_broken
=no
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 ac_cv_header_stat_broken
=yes
7084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7086 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7087 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7088 if test $ac_cv_header_stat_broken = yes; then
7090 cat >>confdefs.h
<<\_ACEOF
7091 #define STAT_MACROS_BROKEN 1
7102 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 cat >conftest.
$ac_ext <<_ACEOF
7113 cat confdefs.h
>>conftest.
$ac_ext
7114 cat >>conftest.
$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 #if HAVE_SYS_PARAM_H
7118 # include <sys/param.h>
7121 #include <$ac_header>
7123 rm -f conftest.
$ac_objext
7124 if { (ac_try
="$ac_compile"
7126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_compile") 2>conftest.er1
7132 grep -v '^ *+' conftest.er1 >conftest.err
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_c_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest.$ac_objext; then
7140 eval "$as_ac_Header=yes"
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 eval "$as_ac_Header=no"
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_res=`eval echo '${'$as_ac_Header'}'`
7151 { echo "$as_me:$LINENO: result: $ac_res" >&5
7152 echo "${ECHO_T}$ac_res" >&6; }
7153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7154 cat >>confdefs.h <<_ACEOF
7155 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7171 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
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7190 #include <$ac_header>
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7196 *) ac_try_echo
=$ac_try;;
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1
>conftest.err
7203 cat conftest.err
>&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.
$ac_objext; then
7209 eval "$as_ac_Header=yes"
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.
$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7219 ac_res
=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h
<<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7231 #if HAVE_SYS_SOCKETVAR_H
7232 # include <sys/socketvar.h>
7236 for ac_header
in netinet
/tcp_var.h
7238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7241 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <sys/types.h>
7251 #if HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7254 #if HAVE_SYS_SOCKETVAR_H
7255 # include <sys/socketvar.h>
7257 #if HAVE_NETINET_IN_H
7258 # include <netinet/in.h>
7260 #ifdef HAVE_NETINET_TCP_H
7261 # include <netinet/tcp.h>
7264 #include <$ac_header>
7266 rm -f conftest.
$ac_objext
7267 if { (ac_try
="$ac_compile"
7269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7307 for ac_header in linux/ipx.h
7309 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 cat >conftest.$ac_ext <<_ACEOF
7318 cat confdefs.h >>conftest.$ac_ext
7319 cat >>conftest.$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 #include <sys/types.h>
7322 #ifdef HAVE_ASM_TYPES_H
7323 # include <asm/types.h>
7325 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7329 #include <$ac_header>
7331 rm -f conftest.$ac_objext
7332 if { (ac_try="$ac_compile"
7334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7335 *) ac_try_echo
=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_compile") 2>conftest.er1
7340 grep -v '^ *+' conftest.er1
>conftest.err
7342 cat conftest.err
>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } && {
7345 test -z "$ac_c_werror_flag" ||
7346 test ! -s conftest.err
7347 } && test -s conftest.
$ac_objext; then
7348 eval "$as_ac_Header=yes"
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.
$ac_ext >&5
7353 eval "$as_ac_Header=no"
7356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7358 ac_res
=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7362 cat >>confdefs.h
<<_ACEOF
7363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7372 for ac_header
in resolv.h
7374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7377 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #if HAVE_SYS_SOCKET_H
7388 # include <sys/socket.h>
7390 #if HAVE_NETINET_IN_H
7391 # include <netinet/in.h>
7393 #if HAVE_ARPA_NAMESER_H
7394 # include <arpa/nameser.h>
7397 #include <$ac_header>
7399 rm -f conftest.
$ac_objext
7400 if { (ac_try
="$ac_compile"
7402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7408 grep -v '^ *+' conftest.er1 >conftest.err
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } && {
7413 test -z "$ac_c_werror_flag" ||
7414 test ! -s conftest.err
7415 } && test -s conftest.$ac_objext; then
7416 eval "$as_ac_Header=yes"
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 eval "$as_ac_Header=no"
7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 ac_res=`eval echo '${'$as_ac_Header'}'`
7427 { echo "$as_me:$LINENO: result: $ac_res" >&5
7428 echo "${ECHO_T}$ac_res" >&6; }
7429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7430 cat >>confdefs.h <<_ACEOF
7431 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7440 for ac_header in ucontext.h
7442 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7456 #include <$ac_header>
7458 rm -f conftest.$ac_objext
7459 if { (ac_try="$ac_compile"
7461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7462 *) ac_try_echo
=$ac_try;;
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_compile") 2>conftest.er1
7467 grep -v '^ *+' conftest.er1
>conftest.err
7469 cat conftest.err
>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } && {
7472 test -z "$ac_c_werror_flag" ||
7473 test ! -s conftest.err
7474 } && test -s conftest.
$ac_objext; then
7475 eval "$as_ac_Header=yes"
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.
$ac_ext >&5
7480 eval "$as_ac_Header=no"
7483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 ac_res
=`eval echo '${'$as_ac_Header'}'`
7486 { echo "$as_me:$LINENO: result: $ac_res" >&5
7487 echo "${ECHO_T}$ac_res" >&6; }
7488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7489 cat >>confdefs.h
<<_ACEOF
7490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7499 for ac_header
in sys
/thr.h
7501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7504 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 cat >conftest.
$ac_ext <<_ACEOF
7510 cat confdefs.h
>>conftest.
$ac_ext
7511 cat >>conftest.
$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7515 #include <ucontext.h>
7518 #include <$ac_header>
7520 rm -f conftest.
$ac_objext
7521 if { (ac_try
="$ac_compile"
7523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7561 for ac_header in pthread_np.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 cat >conftest.$ac_ext <<_ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #ifdef HAVE_PTHREAD_H
7576 #include <pthread.h>
7579 #include <$ac_header>
7581 rm -f conftest.$ac_objext
7582 if { (ac_try="$ac_compile"
7584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7585 *) ac_try_echo
=$ac_try;;
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588 (eval "$ac_compile") 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } && {
7595 test -z "$ac_c_werror_flag" ||
7596 test ! -s conftest.err
7597 } && test -s conftest.
$ac_objext; then
7598 eval "$as_ac_Header=yes"
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7603 eval "$as_ac_Header=no"
7606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 ac_res
=`eval echo '${'$as_ac_Header'}'`
7609 { echo "$as_me:$LINENO: result: $ac_res" >&5
7610 echo "${ECHO_T}$ac_res" >&6; }
7611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7622 for ac_header
in linux
/videodev.h
7624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 #ifdef HAVE_SYS_TIME_H
7637 #include <sys/time.h>
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 #include <asm/types.h>
7644 #include <$ac_header>
7646 rm -f conftest.
$ac_objext
7647 if { (ac_try
="$ac_compile"
7649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7655 grep -v '^ *+' conftest.er1 >conftest.err
7657 cat conftest.err >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_c_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 eval "$as_ac_Header=yes"
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 eval "$as_ac_Header=no"
7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7673 ac_res=`eval echo '${'$as_ac_Header'}'`
7674 { echo "$as_me:$LINENO: result: $ac_res" >&5
7675 echo "${ECHO_T}$ac_res" >&6; }
7676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7677 cat >>confdefs.h <<_ACEOF
7678 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7687 for ac_header in linux/capi.h
7689 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 cat >conftest.$ac_ext <<_ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7703 #include <$ac_header>
7705 rm -f conftest.$ac_objext
7706 if { (ac_try="$ac_compile"
7708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7709 *) ac_try_echo
=$ac_try;;
7711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7712 (eval "$ac_compile") 2>conftest.er1
7714 grep -v '^ *+' conftest.er1
>conftest.err
7716 cat conftest.err
>&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } && {
7719 test -z "$ac_c_werror_flag" ||
7720 test ! -s conftest.err
7721 } && test -s conftest.
$ac_objext; then
7722 eval "$as_ac_Header=yes"
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.
$ac_ext >&5
7727 eval "$as_ac_Header=no"
7730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7732 ac_res
=`eval echo '${'$as_ac_Header'}'`
7733 { echo "$as_me:$LINENO: result: $ac_res" >&5
7734 echo "${ECHO_T}$ac_res" >&6; }
7735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7736 cat >>confdefs.h
<<_ACEOF
7737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 DLLFLAGS
="-D_REENTRANT"
7762 # Extract the first word of "ldd", so it can be a program name with args.
7763 set dummy ldd
; ac_word
=$2
7764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7766 if test "${ac_cv_path_LDD+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 as_dummy
="/sbin:/usr/sbin:$PATH"
7776 for as_dir
in $as_dummy
7779 test -z "$as_dir" && as_dir
=.
7780 for ac_exec_ext
in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7795 if test -n "$LDD"; then
7796 { echo "$as_me:$LINENO: result: $LDD" >&5
7797 echo "${ECHO_T}$LDD" >&6; }
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7809 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7812 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 if test -n "$DLLTOOL"; then
7816 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir
=.
7823 for ac_exec_ext
in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 DLLTOOL
=$ac_cv_prog_DLLTOOL
7836 if test -n "$DLLTOOL"; then
7837 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7838 echo "${ECHO_T}$DLLTOOL" >&6; }
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 if test -z "$ac_cv_prog_DLLTOOL"; then
7847 ac_ct_DLLTOOL
=$DLLTOOL
7848 # Extract the first word of "dlltool", so it can be a program name with args.
7849 set dummy dlltool
; ac_word
=$2
7850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7852 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir
=.
7863 for ac_exec_ext
in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7878 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7880 { echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6; }
7884 if test "x$ac_ct_DLLTOOL" = x
; then
7887 case $cross_compiling:$ac_tool_warned in
7889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7890 whose name does not start with the host triplet. If you think this
7891 configuration is useful to you, please write to autoconf@gnu.org." >&5
7892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7895 ac_tool_warned
=yes ;;
7897 DLLTOOL
=$ac_ct_DLLTOOL
7900 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7905 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7908 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 if test -n "$DLLWRAP"; then
7912 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7918 test -z "$as_dir" && as_dir
=.
7919 for ac_exec_ext
in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 DLLWRAP
=$ac_cv_prog_DLLWRAP
7932 if test -n "$DLLWRAP"; then
7933 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7934 echo "${ECHO_T}$DLLWRAP" >&6; }
7936 { echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6; }
7942 if test -z "$ac_cv_prog_DLLWRAP"; then
7943 ac_ct_DLLWRAP
=$DLLWRAP
7944 # Extract the first word of "dllwrap", so it can be a program name with args.
7945 set dummy dllwrap
; ac_word
=$2
7946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7948 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 if test -n "$ac_ct_DLLWRAP"; then
7952 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7958 test -z "$as_dir" && as_dir
=.
7959 for ac_exec_ext
in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7972 if test -n "$ac_ct_DLLWRAP"; then
7973 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7974 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7976 { echo "$as_me:$LINENO: result: no" >&5
7977 echo "${ECHO_T}no" >&6; }
7980 if test "x$ac_ct_DLLWRAP" = x
; then
7983 case $cross_compiling:$ac_tool_warned in
7985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7986 whose name does not start with the host triplet. If you think this
7987 configuration is useful to you, please write to autoconf@gnu.org." >&5
7988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7991 ac_tool_warned
=yes ;;
7993 DLLWRAP
=$ac_ct_DLLWRAP
7996 DLLWRAP
="$ac_cv_prog_DLLWRAP"
7999 if test -n "$ac_tool_prefix"; then
8000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8001 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8004 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 if test -n "$MINGWAR"; then
8008 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8014 test -z "$as_dir" && as_dir
=.
8015 for ac_exec_ext
in '' $ac_executable_extensions; do
8016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 MINGWAR
=$ac_cv_prog_MINGWAR
8028 if test -n "$MINGWAR"; then
8029 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8030 echo "${ECHO_T}$MINGWAR" >&6; }
8032 { echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6; }
8038 if test -z "$ac_cv_prog_MINGWAR"; then
8039 ac_ct_MINGWAR
=$MINGWAR
8040 # Extract the first word of "ar", so it can be a program name with args.
8041 set dummy
ar; ac_word
=$2
8042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8044 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 if test -n "$ac_ct_MINGWAR"; then
8048 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir
=.
8055 for ac_exec_ext
in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_ac_ct_MINGWAR
="ar"
8058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8068 if test -n "$ac_ct_MINGWAR"; then
8069 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8070 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8076 if test "x$ac_ct_MINGWAR" = x
; then
8079 case $cross_compiling:$ac_tool_warned in
8081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8082 whose name does not start with the host triplet. If you think this
8083 configuration is useful to you, please write to autoconf@gnu.org." >&5
8084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8087 ac_tool_warned
=yes ;;
8089 MINGWAR
=$ac_ct_MINGWAR
8092 MINGWAR
="$ac_cv_prog_MINGWAR"
8095 if test "$DLLWRAP" = "false"; then
8107 DLLFLAGS
="$DLLFLAGS -fPIC"
8108 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8109 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8110 LDSHARED
="\$(CC) -dynamiclib"
8112 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8113 COREFOUNDATIONLIB
="-framework CoreFoundation"
8115 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8117 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8119 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8121 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8124 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8126 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8131 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8135 CARBONLIB
="-framework Carbon"
8137 QUARTZFILES
='$(QUARTZFILES)'
8141 DLLFLAGS
="$DLLFLAGS -fPIC"
8143 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8144 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8145 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_wine_try_cflags_saved
=$CFLAGS
8149 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8150 cat >conftest.
$ac_ext <<_ACEOF
8153 rm -f conftest.
$ac_objext conftest
$ac_exeext
8154 if { (ac_try
="$ac_link"
8156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8160 (eval "$ac_link") 2>conftest.er1
8162 grep -v '^ *+' conftest.er1 >conftest.err
8164 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && {
8167 test -z "$ac_c_werror_flag" ||
8168 test ! -s conftest.err
8169 } && test -s conftest$ac_exeext &&
8170 $as_test_x conftest$ac_exeext; then
8171 ac_cv_c_dll_gnuelf="yes"
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8176 ac_cv_c_dll_gnuelf="no"
8179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8184 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8185 if test "$ac_cv_c_dll_gnuelf" = "yes"
8187 LDSHARED="\$(CC) -shared"
8188 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8189 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8190 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8191 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8196 cat >conftest.$ac_ext <<_ACEOF
8199 cat confdefs.h >>conftest.$ac_ext
8200 cat >>conftest.$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8211 rm -f conftest.$ac_objext conftest$ac_exeext
8212 if { (ac_try="$ac_link"
8214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8215 *) ac_try_echo
=$ac_try;;
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_link") 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && {
8225 test -z "$ac_c_werror_flag" ||
8226 test ! -s conftest.err
8227 } && test -s conftest
$ac_exeext &&
8228 $as_test_x conftest
$ac_exeext; then
8229 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.
$ac_ext >&5
8234 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8238 conftest
$ac_exeext conftest.
$ac_ext
8239 CFLAGS
=$ac_wine_try_cflags_saved
8241 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8242 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8243 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8244 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8246 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8247 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8248 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 ac_wine_try_cflags_saved
=$CFLAGS
8252 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8253 cat >conftest.
$ac_ext <<_ACEOF
8256 cat confdefs.h
>>conftest.
$ac_ext
8257 cat >>conftest.
$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8268 rm -f conftest.
$ac_objext conftest
$ac_exeext
8269 if { (ac_try
="$ac_link"
8271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_link") 2>conftest.er1
8277 grep -v '^ *+' conftest.er1 >conftest.err
8279 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest$ac_exeext &&
8285 $as_test_x conftest$ac_exeext; then
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8291 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8299 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8300 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8301 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8307 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8308 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8309 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8314 cat >conftest.$ac_ext <<_ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (ac_try="$ac_link"
8332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8333 *) ac_try_echo
=$ac_try;;
8335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest
$ac_exeext &&
8346 $as_test_x conftest
$ac_exeext; then
8347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.
$ac_ext >&5
8352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8356 conftest
$ac_exeext conftest.
$ac_ext
8357 CFLAGS
=$ac_wine_try_cflags_saved
8359 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8360 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8361 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8362 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8366 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8367 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8368 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 ac_wine_try_cflags_saved
=$CFLAGS
8372 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8373 cat >conftest.
$ac_ext <<_ACEOF
8376 cat confdefs.h
>>conftest.
$ac_ext
8377 cat >>conftest.
$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8388 rm -f conftest.
$ac_objext conftest
$ac_exeext
8389 if { (ac_try
="$ac_link"
8391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_link") 2>conftest.er1
8397 grep -v '^ *+' conftest.er1 >conftest.err
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest$ac_exeext &&
8405 $as_test_x conftest$ac_exeext; then
8406 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8419 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8420 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8421 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8425 echo '{ global: *; };' >conftest.map
8426 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8428 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat >conftest.$ac_ext <<_ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8448 rm -f conftest.$ac_objext conftest$ac_exeext
8449 if { (ac_try="$ac_link"
8451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8452 *) ac_try_echo
=$ac_try;;
8454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455 (eval "$ac_link") 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && {
8462 test -z "$ac_c_werror_flag" ||
8463 test ! -s conftest.err
8464 } && test -s conftest
$ac_exeext &&
8465 $as_test_x conftest
$ac_exeext; then
8466 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.
$ac_ext >&5
8471 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 CFLAGS
=$ac_wine_try_cflags_saved
8478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8479 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8480 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8481 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8486 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8487 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8488 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_wine_try_cflags_saved
=$CFLAGS
8492 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8493 cat >conftest.
$ac_ext <<_ACEOF
8496 cat confdefs.h
>>conftest.
$ac_ext
8497 cat >>conftest.
$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8508 rm -f conftest.
$ac_objext conftest
$ac_exeext
8509 if { (ac_try
="$ac_link"
8511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515 (eval "$ac_link") 2>conftest.er1
8517 grep -v '^ *+' conftest.er1 >conftest.err
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_c_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest$ac_exeext &&
8525 $as_test_x conftest$ac_exeext; then
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8539 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8540 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8541 LDEXECFLAGS="-Wl,--export-dynamic"
8546 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8547 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8548 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8554 cat >conftest.$ac_ext <<_ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8569 rm -f conftest.$ac_objext conftest$ac_exeext
8570 if { (ac_try="$ac_link"
8572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8573 *) ac_try_echo
=$ac_try;;
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_link") 2>conftest.er1
8578 grep -v '^ *+' conftest.er1
>conftest.err
8580 cat conftest.err
>&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest
$ac_exeext &&
8586 $as_test_x conftest
$ac_exeext; then
8587 eval "$as_ac_var=yes"
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.
$ac_ext >&5
8592 eval "$as_ac_var=no"
8595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8596 conftest
$ac_exeext conftest.
$ac_ext
8597 CFLAGS
=$ac_wine_try_cflags_saved
8599 ac_res
=`eval echo '${'$as_ac_var'}'`
8600 { echo "$as_me:$LINENO: result: $ac_res" >&5
8601 echo "${ECHO_T}$ac_res" >&6; }
8602 if test `eval echo '${'$as_ac_var'}'` = yes; then
8603 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8604 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8606 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8607 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8608 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8609 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 ac_wine_try_cflags_saved
=$CFLAGS
8613 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8614 cat >conftest.
$ac_ext <<_ACEOF
8617 cat confdefs.h
>>conftest.
$ac_ext
8618 cat >>conftest.
$ac_ext <<_ACEOF
8619 /* end confdefs.h. */
8629 rm -f conftest.
$ac_objext conftest
$ac_exeext
8630 if { (ac_try
="$ac_link"
8632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8636 (eval "$ac_link") 2>conftest.er1
8638 grep -v '^ *+' conftest.er1 >conftest.err
8640 cat conftest.err >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); } && {
8643 test -z "$ac_c_werror_flag" ||
8644 test ! -s conftest.err
8645 } && test -s conftest$ac_exeext &&
8646 $as_test_x conftest$ac_exeext; then
8647 eval "$as_ac_var=yes"
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8652 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 ac_res=`eval echo '${'$as_ac_var'}'`
8660 { echo "$as_me:$LINENO: result: $ac_res" >&5
8661 echo "${ECHO_T}$ac_res" >&6; }
8662 if test `eval echo '${'$as_ac_var'}'` = yes; then
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8670 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8671 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8672 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8677 cat >conftest.$ac_ext <<_ACEOF
8680 cat confdefs.h >>conftest.$ac_ext
8681 cat >>conftest.$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8692 rm -f conftest.$ac_objext conftest$ac_exeext
8693 if { (ac_try="$ac_link"
8695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8696 *) ac_try_echo
=$ac_try;;
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_link") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1
>conftest.err
8703 cat conftest.err
>&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && {
8706 test -z "$ac_c_werror_flag" ||
8707 test ! -s conftest.err
8708 } && test -s conftest
$ac_exeext &&
8709 $as_test_x conftest
$ac_exeext; then
8710 ac_cv_cflags__Wl___enable_new_dtags
=yes
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.
$ac_ext >&5
8715 ac_cv_cflags__Wl___enable_new_dtags
=no
8718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8719 conftest
$ac_exeext conftest.
$ac_ext
8720 CFLAGS
=$ac_wine_try_cflags_saved
8722 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8723 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8724 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8725 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8730 *i
[3456789]86* | x86_64
)
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8732 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_wine_try_cflags_saved
=$CFLAGS
8737 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8738 cat >conftest.
$ac_ext <<_ACEOF
8741 cat confdefs.h
>>conftest.
$ac_ext
8742 cat >>conftest.
$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8753 rm -f conftest.
$ac_objext conftest
$ac_exeext
8754 if { (ac_try
="$ac_link"
8756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8762 grep -v '^ *+' conftest.er1 >conftest.err
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8785 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8786 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8793 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8794 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_unixware+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8800 cat >conftest.$ac_ext <<_ACEOF
8803 rm -f conftest.$ac_objext conftest$ac_exeext
8804 if { (ac_try="$ac_link"
8806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8807 *) ac_try_echo
=$ac_try;;
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_link") 2>conftest.er1
8812 grep -v '^ *+' conftest.er1
>conftest.err
8814 cat conftest.err
>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } && {
8817 test -z "$ac_c_werror_flag" ||
8818 test ! -s conftest.err
8819 } && test -s conftest
$ac_exeext &&
8820 $as_test_x conftest
$ac_exeext; then
8821 ac_cv_c_dll_unixware
="yes"
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.
$ac_ext >&5
8826 ac_cv_c_dll_unixware
="no"
8829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8830 conftest
$ac_exeext conftest.
$ac_ext
8831 CFLAGS
=$ac_wine_try_cflags_saved
8833 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8835 if test "$ac_cv_c_dll_unixware" = "yes"
8837 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8838 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8841 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8842 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8843 if test "${ac_cv_c_dll_hpux+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_wine_try_cflags_saved
=$CFLAGS
8847 CFLAGS
="$CFLAGS -shared"
8848 cat >conftest.
$ac_ext <<_ACEOF
8851 rm -f conftest.
$ac_objext conftest
$ac_exeext
8852 if { (ac_try
="$ac_link"
8854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8860 grep -v '^ *+' conftest.er1 >conftest.err
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_c_dll_hpux="yes"
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_c_dll_hpux="no"
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8882 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8883 if test "$ac_cv_c_dll_hpux" = "yes"
8887 LDDLLFLAGS="-shared -fPIC"
8888 LDSHARED="\$(CC) -shared"
8895 if test "$cross_compiling" = "no"
8897 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy $ac_prog; ac_word=$2
8901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8903 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_prog_CROSSCC="$ac_prog"
8917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 CROSSCC=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8929 echo "${ECHO_T}$CROSSCC" >&6; }
8931 { echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6; }
8936 test -n "$CROSSCC" && break
8938 test -n "$CROSSCC" || CROSSCC="false"
8940 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8942 # Extract the first word of "$ac_prog", so it can be a program name with args.
8943 set dummy $ac_prog; ac_word=$2
8944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8946 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 if test -n "$DLLTOOL"; then
8950 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_DLLTOOL="$ac_prog"
8960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8969 DLLTOOL=$ac_cv_prog_DLLTOOL
8970 if test -n "$DLLTOOL"; then
8971 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8972 echo "${ECHO_T}$DLLTOOL" >&6; }
8974 { echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6; }
8979 test -n "$DLLTOOL" && break
8981 test -n "$DLLTOOL" || DLLTOOL="false"
8983 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8985 # Extract the first word of "$ac_prog", so it can be a program name with args.
8986 set dummy $ac_prog; ac_word=$2
8987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8989 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8992 if test -n "$CROSSWINDRES"; then
8993 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_CROSSWINDRES="$ac_prog"
9003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9012 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9013 if test -n "$CROSSWINDRES"; then
9014 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9015 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9017 { echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6; }
9022 test -n "$CROSSWINDRES" && break
9024 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9026 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9028 # Extract the first word of "$ac_prog", so it can be a program name with args.
9029 set dummy $ac_prog; ac_word=$2
9030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9032 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 if test -n "$MINGWAR"; then
9036 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_MINGWAR="$ac_prog"
9046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 MINGWAR=$ac_cv_prog_MINGWAR
9056 if test -n "$MINGWAR"; then
9057 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9058 echo "${ECHO_T}$MINGWAR" >&6; }
9060 { echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6; }
9065 test -n "$MINGWAR" && break
9067 test -n "$MINGWAR" || MINGWAR="false"
9069 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9074 if test "$LIBEXT" = "a"; then
9075 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9076 It is currently not possible to build Wine without shared library
9077 (.so) support to allow transparent switch between .so and .dll files.
9078 If you are using Linux, you will need a newer binutils.
9080 echo "$as_me: error: could not find a way to build shared libraries.
9081 It is currently not possible to build Wine without shared library
9082 (.so) support to allow transparent switch between .so and .dll files.
9083 If you are using Linux, you will need a newer binutils.
9085 { (exit 1); exit 1; }; }
9089 if test "$have_x" = "yes"
9092 ac_save_CPPFLAGS="$CPPFLAGS"
9093 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9095 { echo "$as_me:$LINENO: checking for -lX11" >&5
9096 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9097 if test "${ac_cv_lib_soname_X11+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9100 ac_check_soname_save_LIBS=$LIBS
9101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9102 cat >conftest.$ac_ext <<_ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9115 char XCreateWindow ();
9119 return XCreateWindow ();
9124 rm -f conftest.$ac_objext conftest$ac_exeext
9125 if { (ac_try="$ac_link"
9127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9128 *) ac_try_echo
=$ac_try;;
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_link") 2>conftest.er1
9133 grep -v '^ *+' conftest.er1
>conftest.err
9135 cat conftest.err
>&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && {
9138 test -z "$ac_c_werror_flag" ||
9139 test ! -s conftest.err
9140 } && test -s conftest
$ac_exeext &&
9141 $as_test_x conftest
$ac_exeext; then
9144 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'` ;;
9145 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_soname_save_LIBS
9158 if test "x$ac_cv_lib_soname_X11" = "x"; then
9159 { echo "$as_me:$LINENO: result: not found" >&5
9160 echo "${ECHO_T}not found" >&6; }
9163 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9164 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9166 cat >>confdefs.h
<<_ACEOF
9167 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9173 { echo "$as_me:$LINENO: checking for -lXext" >&5
9174 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9175 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_soname_save_LIBS
=$LIBS
9179 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9180 cat >conftest.
$ac_ext <<_ACEOF
9183 cat confdefs.h
>>conftest.
$ac_ext
9184 cat >>conftest.
$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9193 char XextCreateExtension ();
9197 return XextCreateExtension ();
9202 rm -f conftest.
$ac_objext conftest
$ac_exeext
9203 if { (ac_try
="$ac_link"
9205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;;
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext &&
9219 $as_test_x conftest$ac_exeext; then
9222 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'` ;;
9223 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_soname_save_LIBS
9236 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9237 { echo "$as_me:$LINENO: result: not found" >&5
9238 echo "${ECHO_T}not found" >&6; }
9241 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9242 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9244 cat >>confdefs.h <<_ACEOF
9245 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9264 for ac_header in X11/Xlib.h \
9267 X11/Xcursor/Xcursor.h \
9268 X11/extensions/shape.h \
9269 X11/extensions/XInput.h \
9270 X11/extensions/XShm.h \
9271 X11/extensions/Xcomposite.h \
9272 X11/extensions/Xinerama.h \
9273 X11/extensions/Xrandr.h \
9274 X11/extensions/Xrender.h \
9275 X11/extensions/xf86vmode.h
9277 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 cat >conftest.$ac_ext <<_ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9289 #ifdef HAVE_X11_XLIB_H
9290 # include <X11/Xlib.h>
9292 #ifdef HAVE_X11_XUTIL_H
9293 # include <X11/Xutil.h>
9296 #include <$ac_header>
9298 rm -f conftest.$ac_objext
9299 if { (ac_try="$ac_compile"
9301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9302 *) ac_try_echo
=$ac_try;;
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9307 grep -v '^ *+' conftest.er1
>conftest.err
9309 cat conftest.err
>&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest.
$ac_objext; then
9315 eval "$as_ac_Header=yes"
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.
$ac_ext >&5
9320 eval "$as_ac_Header=no"
9323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9325 ac_res
=`eval echo '${'$as_ac_Header'}'`
9326 { echo "$as_me:$LINENO: result: $ac_res" >&5
9327 echo "${ECHO_T}$ac_res" >&6; }
9328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9329 cat >>confdefs.h
<<_ACEOF
9330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9338 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9340 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9341 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9342 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9343 echo $ECHO_N "(cached) $ECHO_C" >&6
9345 ac_check_lib_save_LIBS
=$LIBS
9346 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9347 cat >conftest.
$ac_ext <<_ACEOF
9350 cat confdefs.h
>>conftest.
$ac_ext
9351 cat >>conftest.
$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9360 char XkbQueryExtension ();
9364 return XkbQueryExtension ();
9369 rm -f conftest.
$ac_objext conftest
$ac_exeext
9370 if { (ac_try
="$ac_link"
9372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9373 *) ac_try_echo=$ac_try;;
9375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9376 (eval "$ac_link") 2>conftest.er1
9378 grep -v '^ *+' conftest.er1 >conftest.err
9380 cat conftest.err >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } && {
9383 test -z "$ac_c_werror_flag" ||
9384 test ! -s conftest.err
9385 } && test -s conftest$ac_exeext &&
9386 $as_test_x conftest$ac_exeext; then
9387 ac_cv_lib_X11_XkbQueryExtension=yes
9389 echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.$ac_ext >&5
9392 ac_cv_lib_X11_XkbQueryExtension=no
9395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9400 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9401 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9403 cat >>confdefs.h <<\_ACEOF
9411 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9413 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9414 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9415 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9418 ac_check_soname_save_LIBS=$LIBS
9419 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9420 cat >conftest.$ac_ext <<_ACEOF
9423 cat confdefs.h >>conftest.$ac_ext
9424 cat >>conftest.$ac_ext <<_ACEOF
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9433 char XcursorImageLoadCursor ();
9437 return XcursorImageLoadCursor ();
9442 rm -f conftest.$ac_objext conftest$ac_exeext
9443 if { (ac_try="$ac_link"
9445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9446 *) ac_try_echo
=$ac_try;;
9448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9449 (eval "$ac_link") 2>conftest.er1
9451 grep -v '^ *+' conftest.er1
>conftest.err
9453 cat conftest.err
>&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } && {
9456 test -z "$ac_c_werror_flag" ||
9457 test ! -s conftest.err
9458 } && test -s conftest
$ac_exeext &&
9459 $as_test_x conftest
$ac_exeext; then
9462 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'` ;;
9463 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.
$ac_ext >&5
9472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 LIBS
=$ac_check_soname_save_LIBS
9476 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9477 { echo "$as_me:$LINENO: result: not found" >&5
9478 echo "${ECHO_T}not found" >&6; }
9481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9482 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9484 cat >>confdefs.h
<<_ACEOF
9485 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9493 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9495 { echo "$as_me:$LINENO: checking for -lXi" >&5
9496 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9497 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 ac_check_soname_save_LIBS
=$LIBS
9501 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9502 cat >conftest.
$ac_ext <<_ACEOF
9505 cat confdefs.h
>>conftest.
$ac_ext
9506 cat >>conftest.
$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9515 char XOpenDevice ();
9519 return XOpenDevice ();
9524 rm -f conftest.
$ac_objext conftest
$ac_exeext
9525 if { (ac_try
="$ac_link"
9527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9528 *) ac_try_echo=$ac_try;;
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_link") 2>conftest.er1
9533 grep -v '^ *+' conftest.er1 >conftest.err
9535 cat conftest.err >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } && {
9538 test -z "$ac_c_werror_flag" ||
9539 test ! -s conftest.err
9540 } && test -s conftest$ac_exeext &&
9541 $as_test_x conftest$ac_exeext; then
9544 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'` ;;
9545 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_soname_save_LIBS
9558 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9559 { echo "$as_me:$LINENO: result: not found" >&5
9560 echo "${ECHO_T}not found" >&6; }
9563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9564 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9566 cat >>confdefs.h <<_ACEOF
9567 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9575 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9577 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9578 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9579 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9584 cat >conftest.$ac_ext <<_ACEOF
9587 cat confdefs.h >>conftest.$ac_ext
9588 cat >>conftest.$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9597 char XShmQueryExtension ();
9601 return XShmQueryExtension ();
9606 rm -f conftest.$ac_objext conftest$ac_exeext
9607 if { (ac_try="$ac_link"
9609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9610 *) ac_try_echo
=$ac_try;;
9612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9613 (eval "$ac_link") 2>conftest.er1
9615 grep -v '^ *+' conftest.er1
>conftest.err
9617 cat conftest.err
>&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); } && {
9620 test -z "$ac_c_werror_flag" ||
9621 test ! -s conftest.err
9622 } && test -s conftest
$ac_exeext &&
9623 $as_test_x conftest
$ac_exeext; then
9624 ac_cv_lib_Xext_XShmQueryExtension
=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.
$ac_ext >&5
9629 ac_cv_lib_Xext_XShmQueryExtension
=no
9632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9637 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9638 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9640 cat >>confdefs.h
<<\_ACEOF
9641 #define HAVE_LIBXXSHM 1
9647 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9648 wine_notices
="$wine_notices|XShm development files not found.
9649 Wine will be built without XShm support. (winex11.drv)"
9653 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9655 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9656 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9657 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9658 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 ac_check_lib_save_LIBS
=$LIBS
9661 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9662 cat >conftest.
$ac_ext <<_ACEOF
9665 cat confdefs.h
>>conftest.
$ac_ext
9666 cat >>conftest.
$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9675 char XShapeQueryExtension ();
9679 return XShapeQueryExtension ();
9684 rm -f conftest.
$ac_objext conftest
$ac_exeext
9685 if { (ac_try
="$ac_link"
9687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_link") 2>conftest.er1
9693 grep -v '^ *+' conftest.er1 >conftest.err
9695 cat conftest.err >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); } && {
9698 test -z "$ac_c_werror_flag" ||
9699 test ! -s conftest.err
9700 } && test -s conftest$ac_exeext &&
9701 $as_test_x conftest$ac_exeext; then
9702 ac_cv_lib_Xext_XShapeQueryExtension=yes
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.$ac_ext >&5
9707 ac_cv_lib_Xext_XShapeQueryExtension=no
9710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9711 conftest$ac_exeext conftest.$ac_ext
9712 LIBS=$ac_check_lib_save_LIBS
9714 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9715 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9716 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9718 cat >>confdefs.h <<\_ACEOF
9719 #define HAVE_LIBXSHAPE 1
9725 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9726 wine_notices="$wine_notices|XShape development files not found.
9727 Wine will be built without XShape support. (winex11.drv)"
9731 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9733 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9734 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 ac_check_lib_save_LIBS=$LIBS
9739 LIBS="-lXxf86vm $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 XF86VidModeQueryExtension ();
9757 return XF86VidModeQueryExtension ();
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
9780 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9782 echo "$as_me: failed program was:" >&5
9783 sed 's/^/| /' conftest.
$ac_ext >&5
9785 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 LIBS
=$ac_check_lib_save_LIBS
9792 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9793 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9794 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9796 cat >>confdefs.h
<<\_ACEOF
9797 #define HAVE_LIBXXF86VM 1
9800 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9805 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9806 wine_notices
="$wine_notices|Xxf86vm development files not found.
9807 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9811 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"
9813 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9814 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9815 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 ac_check_soname_save_LIBS
=$LIBS
9819 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9820 cat >conftest.
$ac_ext <<_ACEOF
9823 cat confdefs.h
>>conftest.
$ac_ext
9824 cat >>conftest.
$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9833 char XRenderQueryExtension ();
9837 return XRenderQueryExtension ();
9842 rm -f conftest.
$ac_objext conftest
$ac_exeext
9843 if { (ac_try
="$ac_link"
9845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9846 *) ac_try_echo=$ac_try;;
9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9849 (eval "$ac_link") 2>conftest.er1
9851 grep -v '^ *+' conftest.er1 >conftest.err
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } && {
9856 test -z "$ac_c_werror_flag" ||
9857 test ! -s conftest.err
9858 } && test -s conftest$ac_exeext &&
9859 $as_test_x conftest$ac_exeext; then
9862 dylib) ac_cv_lib_soname_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'` ;;
9863 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9877 { echo "$as_me:$LINENO: result: not found" >&5
9878 echo "${ECHO_T}not found" >&6; }
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9882 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9888 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9889 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9890 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9891 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9895 cat >conftest.$ac_ext <<_ACEOF
9898 cat confdefs.h >>conftest.$ac_ext
9899 cat >>conftest.$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9908 char XRenderSetPictureTransform ();
9912 return XRenderSetPictureTransform ();
9917 rm -f conftest.$ac_objext conftest$ac_exeext
9918 if { (ac_try="$ac_link"
9920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9921 *) ac_try_echo
=$ac_try;;
9923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9924 (eval "$ac_link") 2>conftest.er1
9926 grep -v '^ *+' conftest.er1
>conftest.err
9928 cat conftest.err
>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && {
9931 test -z "$ac_c_werror_flag" ||
9932 test ! -s conftest.err
9933 } && test -s conftest
$ac_exeext &&
9934 $as_test_x conftest
$ac_exeext; then
9935 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9940 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9944 conftest
$ac_exeext conftest.
$ac_ext
9945 LIBS
=$ac_check_lib_save_LIBS
9947 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9948 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9949 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9951 cat >>confdefs.h
<<\_ACEOF
9952 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9961 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9962 wine_notices
="$wine_notices|XRender development files not found.
9963 Wine will be built without XRender support. (winex11.drv)"
9967 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9969 cat >conftest.
$ac_ext <<_ACEOF
9972 cat confdefs.h
>>conftest.
$ac_ext
9973 cat >>conftest.
$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9975 #include <X11/Xlib.h>
9976 #include <X11/extensions/Xrandr.h>
9980 static typeof(XRRSetScreenConfigAndRate) * func;
9985 rm -f conftest.
$ac_objext
9986 if { (ac_try
="$ac_compile"
9988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9989 *) ac_try_echo=$ac_try;;
9991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9992 (eval "$ac_compile") 2>conftest.er1
9994 grep -v '^ *+' conftest.er1 >conftest.err
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } && {
9999 test -z "$ac_c_werror_flag" ||
10000 test ! -s conftest.err
10001 } && test -s conftest.$ac_objext; then
10002 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10003 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10004 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10005 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10009 cat >conftest.$ac_ext <<_ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10022 char XRRQueryExtension ();
10026 return XRRQueryExtension ();
10031 rm -f conftest.$ac_objext conftest$ac_exeext
10032 if { (ac_try="$ac_link"
10033 case "(($ac_try" in
10034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10035 *) ac_try_echo
=$ac_try;;
10037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10038 (eval "$ac_link") 2>conftest.er1
10040 grep -v '^ *+' conftest.er1
>conftest.err
10042 cat conftest.err
>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } && {
10045 test -z "$ac_c_werror_flag" ||
10046 test ! -s conftest.err
10047 } && test -s conftest
$ac_exeext &&
10048 $as_test_x conftest
$ac_exeext; then
10051 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'` ;;
10052 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.
$ac_ext >&5
10061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 LIBS
=$ac_check_soname_save_LIBS
10065 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10066 { echo "$as_me:$LINENO: result: not found" >&5
10067 echo "${ECHO_T}not found" >&6; }
10070 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10071 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10073 cat >>confdefs.h
<<_ACEOF
10074 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.
$ac_ext >&5
10087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10089 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10090 wine_notices
="$wine_notices|XRandr development files not found.
10091 Wine will be built without XRandr support. (winex11.drv)"
10095 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10097 cat >conftest.
$ac_ext <<_ACEOF
10100 cat confdefs.h
>>conftest.
$ac_ext
10101 cat >>conftest.
$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10103 #include <X11/Xlib.h>
10104 #include <X11/extensions/Xinerama.h>
10108 static typeof(XineramaQueryScreens) * func;
10113 rm -f conftest.
$ac_objext
10114 if { (ac_try
="$ac_compile"
10115 case "(($ac_try" in
10116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10117 *) ac_try_echo=$ac_try;;
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_compile") 2>conftest.er1
10122 grep -v '^ *+' conftest.er1 >conftest.err
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest.$ac_objext; then
10130 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10131 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10132 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 ac_check_soname_save_LIBS=$LIBS
10136 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10137 cat >conftest.$ac_ext <<_ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10150 char XineramaQueryScreens ();
10154 return XineramaQueryScreens ();
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10163 *) ac_try_echo
=$ac_try;;
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest
$ac_exeext &&
10176 $as_test_x conftest
$ac_exeext; then
10179 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'` ;;
10180 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10183 echo "$as_me: failed program was:" >&5
10184 sed 's/^/| /' conftest.
$ac_ext >&5
10189 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10190 conftest
$ac_exeext conftest.
$ac_ext
10191 LIBS
=$ac_check_soname_save_LIBS
10193 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10194 { echo "$as_me:$LINENO: result: not found" >&5
10195 echo "${ECHO_T}not found" >&6; }
10198 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10199 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10201 cat >>confdefs.h
<<_ACEOF
10202 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.
$ac_ext >&5
10215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10217 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10218 wine_notices
="$wine_notices|Xinerama development files not found.
10219 Wine will be built without Xinerama support. (winex11.drv)"
10223 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10225 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10226 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 ac_check_soname_save_LIBS
=$LIBS
10231 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10232 cat >conftest.
$ac_ext <<_ACEOF
10235 cat confdefs.h
>>conftest.
$ac_ext
10236 cat >>conftest.
$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10245 char XCompositeRedirectWindow ();
10249 return XCompositeRedirectWindow ();
10254 rm -f conftest.
$ac_objext conftest
$ac_exeext
10255 if { (ac_try
="$ac_link"
10256 case "(($ac_try" in
10257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_link") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest$ac_exeext &&
10271 $as_test_x conftest$ac_exeext; then
10274 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'` ;;
10275 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.$ac_ext >&5
10284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_soname_save_LIBS
10288 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10289 { echo "$as_me:$LINENO: result: not found" >&5
10290 echo "${ECHO_T}not found" >&6; }
10293 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10294 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10296 cat >>confdefs.h <<_ACEOF
10297 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10304 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10305 wine_notices="$wine_notices|XComposite development files not found.
10306 Wine will be built without XComposite support. (winex11.drv)"
10311 if test "x$with_opengl" != "xno"
10317 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10319 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10320 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 cat >conftest.$ac_ext <<_ACEOF
10328 cat confdefs.h >>conftest.$ac_ext
10329 cat >>conftest.$ac_ext <<_ACEOF
10330 /* end confdefs.h. */
10331 #ifdef HAVE_GL_GLX_H
10332 # include <GL/glx.h>
10335 #include <$ac_header>
10337 rm -f conftest.$ac_objext
10338 if { (ac_try="$ac_compile"
10339 case "(($ac_try" in
10340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10341 *) ac_try_echo
=$ac_try;;
10343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10344 (eval "$ac_compile") 2>conftest.er1
10346 grep -v '^ *+' conftest.er1
>conftest.err
10348 cat conftest.err
>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); } && {
10351 test -z "$ac_c_werror_flag" ||
10352 test ! -s conftest.err
10353 } && test -s conftest.
$ac_objext; then
10354 eval "$as_ac_Header=yes"
10356 echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.
$ac_ext >&5
10359 eval "$as_ac_Header=no"
10362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10364 ac_res
=`eval echo '${'$as_ac_Header'}'`
10365 { echo "$as_me:$LINENO: result: $ac_res" >&5
10366 echo "${ECHO_T}$ac_res" >&6; }
10367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10368 cat >>confdefs.h
<<_ACEOF
10369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10376 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10378 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10379 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10380 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 cat >conftest.
$ac_ext <<_ACEOF
10386 cat confdefs.h
>>conftest.
$ac_ext
10387 cat >>conftest.
$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10393 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10398 rm -f conftest.
$ac_objext
10399 if { (ac_try
="$ac_compile"
10400 case "(($ac_try" in
10401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10402 *) ac_try_echo=$ac_try;;
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_compile") 2>conftest.er1
10407 grep -v '^ *+' conftest.er1 >conftest.err
10409 cat conftest.err >&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } && {
10412 test -z "$ac_c_werror_flag" ||
10413 test ! -s conftest.err
10414 } && test -s conftest.$ac_objext; then
10415 wine_cv_opengl_header_version_OK="yes"
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.$ac_ext >&5
10420 wine_cv_opengl_header_version_OK="no"
10423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10425 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10426 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10428 if test "$wine_cv_opengl_header_version_OK" = "yes"
10430 { echo "$as_me:$LINENO: checking for -lGL" >&5
10431 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10432 if test "${ac_cv_lib_soname_GL+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 ac_check_soname_save_LIBS=$LIBS
10436 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10437 cat >conftest.$ac_ext <<_ACEOF
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10450 char glXCreateContext ();
10454 return glXCreateContext ();
10459 rm -f conftest.$ac_objext conftest$ac_exeext
10460 if { (ac_try="$ac_link"
10461 case "(($ac_try" in
10462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10463 *) ac_try_echo
=$ac_try;;
10465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10466 (eval "$ac_link") 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } && {
10473 test -z "$ac_c_werror_flag" ||
10474 test ! -s conftest.err
10475 } && test -s conftest
$ac_exeext &&
10476 $as_test_x conftest
$ac_exeext; then
10479 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'` ;;
10480 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.
$ac_ext >&5
10489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10490 conftest
$ac_exeext conftest.
$ac_ext
10491 LIBS
=$ac_check_soname_save_LIBS
10493 if test "x$ac_cv_lib_soname_GL" = "x"; then
10494 { echo "$as_me:$LINENO: result: not found" >&5
10495 echo "${ECHO_T}not found" >&6; }
10496 if test -f /usr
/X11R
6/lib
/libGL.a
10498 wine_warnings
="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10499 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10501 wine_warnings
="$wine_warnings|No OpenGL library found on this system.
10502 Wine will be build without OpenGL or Direct3D support."
10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10506 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10508 cat >>confdefs.h
<<_ACEOF
10509 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10513 OPENGLFILES
='$(OPENGLFILES)'
10515 cat >>confdefs.h
<<\_ACEOF
10516 #define HAVE_OPENGL 1
10522 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10523 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10524 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 ac_check_lib_save_LIBS
=$LIBS
10528 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10546 return gluLookAt ();
10551 rm -f conftest.
$ac_objext conftest
$ac_exeext
10552 if { (ac_try
="$ac_link"
10553 case "(($ac_try" in
10554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10555 *) ac_try_echo=$ac_try;;
10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10558 (eval "$ac_link") 2>conftest.er1
10560 grep -v '^ *+' conftest.er1 >conftest.err
10562 cat conftest.err >&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } && {
10565 test -z "$ac_c_werror_flag" ||
10566 test ! -s conftest.err
10567 } && test -s conftest$ac_exeext &&
10568 $as_test_x conftest$ac_exeext; then
10569 ac_cv_lib_GLU_gluLookAt=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_cv_lib_GLU_gluLookAt=no
10577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_lib_save_LIBS
10581 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10582 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10583 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10584 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10585 GLU32FILES='$(GLU32FILES)'
10590 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10591 Wine will be build without OpenGL or Direct3D support."
10594 wine_warnings="$wine_warnings|OpenGL development headers not found.
10595 Wine will be build without OpenGL or Direct3D support."
10602 for ac_header in audio/audiolib.h
10604 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 ac_res=`eval echo '${'$as_ac_Header'}'`
10612 { echo "$as_me:$LINENO: result: $ac_res" >&5
10613 echo "${ECHO_T}$ac_res" >&6; }
10615 # Is the header compilable?
10616 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10618 cat >conftest.$ac_ext <<_ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10624 $ac_includes_default
10625 #include <$ac_header>
10627 rm -f conftest.$ac_objext
10628 if { (ac_try="$ac_compile"
10629 case "(($ac_try" in
10630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10631 *) ac_try_echo
=$ac_try;;
10633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10634 (eval "$ac_compile") 2>conftest.er1
10636 grep -v '^ *+' conftest.er1
>conftest.err
10638 cat conftest.err
>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } && {
10641 test -z "$ac_c_werror_flag" ||
10642 test ! -s conftest.err
10643 } && test -s conftest.
$ac_objext; then
10644 ac_header_compiler
=yes
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.
$ac_ext >&5
10649 ac_header_compiler
=no
10652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10654 echo "${ECHO_T}$ac_header_compiler" >&6; }
10656 # Is the header present?
10657 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10659 cat >conftest.
$ac_ext <<_ACEOF
10662 cat confdefs.h
>>conftest.
$ac_ext
10663 cat >>conftest.
$ac_ext <<_ACEOF
10664 /* end confdefs.h. */
10665 #include <$ac_header>
10667 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10668 case "(($ac_try" in
10669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10670 *) ac_try_echo=$ac_try;;
10672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10675 grep -v '^ *+' conftest.er1 >conftest.err
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } >/dev/null && {
10680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10681 test ! -s conftest.err
10683 ac_header_preproc=yes
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10688 ac_header_preproc=no
10691 rm -f conftest.err conftest.$ac_ext
10692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10693 echo "${ECHO_T}$ac_header_preproc" >&6; }
10695 # So? What about this header?
10696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10702 ac_header_preproc=yes
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10718 ## ------------------------------------ ##
10719 ## Report this to wine-devel@winehq.org ##
10720 ## ------------------------------------ ##
10722 ) | sed "s/^/$as_me: WARNING: /" >&2
10725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 eval "$as_ac_Header=\$ac_header_preproc"
10732 ac_res=`eval echo '${'$as_ac_Header'}'`
10733 { echo "$as_me:$LINENO: result: $ac_res" >&5
10734 echo "${ECHO_T}$ac_res" >&6; }
10737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10738 cat >>confdefs.h <<_ACEOF
10739 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10742 for ac_header in audio/soundlib.h
10744 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10748 echo $ECHO_N "(cached) $ECHO_C" >&6
10750 cat >conftest.$ac_ext <<_ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <audio/audiolib.h>
10758 #include <$ac_header>
10760 rm -f conftest.$ac_objext
10761 if { (ac_try="$ac_compile"
10762 case "(($ac_try" in
10763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10764 *) ac_try_echo
=$ac_try;;
10766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 (eval "$ac_compile") 2>conftest.er1
10769 grep -v '^ *+' conftest.er1
>conftest.err
10771 cat conftest.err
>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } && {
10774 test -z "$ac_c_werror_flag" ||
10775 test ! -s conftest.err
10776 } && test -s conftest.
$ac_objext; then
10777 eval "$as_ac_Header=yes"
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.
$ac_ext >&5
10782 eval "$as_ac_Header=no"
10785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10787 ac_res
=`eval echo '${'$as_ac_Header'}'`
10788 { echo "$as_me:$LINENO: result: $ac_res" >&5
10789 echo "${ECHO_T}$ac_res" >&6; }
10790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10791 cat >>confdefs.h
<<_ACEOF
10792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10799 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10800 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10801 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 ac_check_lib_save_LIBS
=$LIBS
10805 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10806 cat >conftest.
$ac_ext <<_ACEOF
10809 cat confdefs.h
>>conftest.
$ac_ext
10810 cat >>conftest.
$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10819 char AuCreateFlow ();
10823 return AuCreateFlow ();
10828 rm -f conftest.
$ac_objext conftest
$ac_exeext
10829 if { (ac_try
="$ac_link"
10830 case "(($ac_try" in
10831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10832 *) ac_try_echo=$ac_try;;
10834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10835 (eval "$ac_link") 2>conftest.er1
10837 grep -v '^ *+' conftest.er1 >conftest.err
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } && {
10842 test -z "$ac_c_werror_flag" ||
10843 test ! -s conftest.err
10844 } && test -s conftest$ac_exeext &&
10845 $as_test_x conftest$ac_exeext; then
10846 ac_cv_lib_audio_AuCreateFlow=yes
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10851 ac_cv_lib_audio_AuCreateFlow=no
10854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10859 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10860 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10862 cat >>confdefs.h <<\_ACEOF
10866 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10867 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10868 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 ac_check_lib_save_LIBS=$LIBS
10872 LIBS="-lXau $X_LIBS $LIBS"
10873 cat >conftest.$ac_ext <<_ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10886 char XauGetBestAuthByAddr ();
10890 return XauGetBestAuthByAddr ();
10895 rm -f conftest.$ac_objext conftest$ac_exeext
10896 if { (ac_try="$ac_link"
10897 case "(($ac_try" in
10898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10899 *) ac_try_echo
=$ac_try;;
10901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10902 (eval "$ac_link") 2>conftest.er1
10904 grep -v '^ *+' conftest.er1
>conftest.err
10906 cat conftest.err
>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } && {
10909 test -z "$ac_c_werror_flag" ||
10910 test ! -s conftest.err
10911 } && test -s conftest
$ac_exeext &&
10912 $as_test_x conftest
$ac_exeext; then
10913 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.
$ac_ext >&5
10918 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10922 conftest
$ac_exeext conftest.
$ac_ext
10923 LIBS
=$ac_check_lib_save_LIBS
10925 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10926 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10927 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10928 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10930 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10941 CPPFLAGS
="$ac_save_CPPFLAGS"
10947 wine_warnings
="$wine_warnings|X development files not found. Wine will be built
10948 without X support, which probably isn't what you want. You will need to install
10949 development packages of Xlib/Xfree86 at the very least."
10961 ac_save_CPPFLAGS
="$CPPFLAGS"
10962 if test "$PKG_CONFIG" != "false"
10964 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10965 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10967 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10968 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10970 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10972 for ac_header
in libxml
/parser.h
10974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10976 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10978 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 ac_res
=`eval echo '${'$as_ac_Header'}'`
10982 { echo "$as_me:$LINENO: result: $ac_res" >&5
10983 echo "${ECHO_T}$ac_res" >&6; }
10985 # Is the header compilable?
10986 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10988 cat >conftest.
$ac_ext <<_ACEOF
10991 cat confdefs.h
>>conftest.
$ac_ext
10992 cat >>conftest.
$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 $ac_includes_default
10995 #include <$ac_header>
10997 rm -f conftest.
$ac_objext
10998 if { (ac_try
="$ac_compile"
10999 case "(($ac_try" in
11000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11001 *) ac_try_echo=$ac_try;;
11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11004 (eval "$ac_compile") 2>conftest.er1
11006 grep -v '^ *+' conftest.er1 >conftest.err
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } && {
11011 test -z "$ac_c_werror_flag" ||
11012 test ! -s conftest.err
11013 } && test -s conftest.$ac_objext; then
11014 ac_header_compiler=yes
11016 echo "$as_me: failed program was:" >&5
11017 sed 's/^/| /' conftest.$ac_ext >&5
11019 ac_header_compiler=no
11022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11023 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11024 echo "${ECHO_T}$ac_header_compiler" >&6; }
11026 # Is the header present?
11027 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11029 cat >conftest.$ac_ext <<_ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11035 #include <$ac_header>
11037 if { (ac_try="$ac_cpp conftest.$ac_ext"
11038 case "(($ac_try" in
11039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11040 *) ac_try_echo
=$ac_try;;
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1
>conftest.err
11047 cat conftest.err
>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } >/dev
/null
&& {
11050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11053 ac_header_preproc
=yes
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.
$ac_ext >&5
11058 ac_header_preproc
=no
11061 rm -f conftest.err conftest.
$ac_ext
11062 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11063 echo "${ECHO_T}$ac_header_preproc" >&6; }
11065 # So? What about this header?
11066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11072 ac_header_preproc
=yes
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11088 ## ------------------------------------ ##
11089 ## Report this to wine-devel@winehq.org ##
11090 ## ------------------------------------ ##
11092 ) |
sed "s/^/$as_me: WARNING: /" >&2
11095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11097 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 eval "$as_ac_Header=\$ac_header_preproc"
11102 ac_res
=`eval echo '${'$as_ac_Header'}'`
11103 { echo "$as_me:$LINENO: result: $ac_res" >&5
11104 echo "${ECHO_T}$ac_res" >&6; }
11107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11108 cat >>confdefs.h
<<_ACEOF
11109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11111 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11112 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11113 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 ac_check_lib_save_LIBS
=$LIBS
11117 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11118 cat >conftest.
$ac_ext <<_ACEOF
11121 cat confdefs.h
>>conftest.
$ac_ext
11122 cat >>conftest.
$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11131 char xmlParseMemory ();
11135 return xmlParseMemory ();
11140 rm -f conftest.
$ac_objext conftest
$ac_exeext
11141 if { (ac_try
="$ac_link"
11142 case "(($ac_try" in
11143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_link") 2>conftest.er1
11149 grep -v '^ *+' conftest.er1 >conftest.err
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest$ac_exeext &&
11157 $as_test_x conftest$ac_exeext; then
11158 ac_cv_lib_xml2_xmlParseMemory=yes
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 ac_cv_lib_xml2_xmlParseMemory=no
11166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11171 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11172 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11174 cat >>confdefs.h <<\_ACEOF
11175 #define HAVE_LIBXML2 1
11178 XML2LIBS="$ac_xml_libs"
11179 XML2INCL="$ac_xml_cflags"
11182 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11183 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11184 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-lxml2 $ac_xml_libs $LIBS"
11189 cat >conftest.$ac_ext <<_ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11202 char xmlReadMemory ();
11206 return xmlReadMemory ();
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (ac_try="$ac_link"
11213 case "(($ac_try" in
11214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11215 *) ac_try_echo
=$ac_try;;
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_link") 2>conftest.er1
11220 grep -v '^ *+' conftest.er1
>conftest.err
11222 cat conftest.err
>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } && {
11225 test -z "$ac_c_werror_flag" ||
11226 test ! -s conftest.err
11227 } && test -s conftest
$ac_exeext &&
11228 $as_test_x conftest
$ac_exeext; then
11229 ac_cv_lib_xml2_xmlReadMemory
=yes
11231 echo "$as_me: failed program was:" >&5
11232 sed 's/^/| /' conftest.
$ac_ext >&5
11234 ac_cv_lib_xml2_xmlReadMemory
=no
11237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11238 conftest
$ac_exeext conftest.
$ac_ext
11239 LIBS
=$ac_check_lib_save_LIBS
11241 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11242 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11243 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11245 cat >>confdefs.h
<<\_ACEOF
11246 #define HAVE_XMLREADMEMORY 1
11251 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11252 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11253 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 ac_check_lib_save_LIBS
=$LIBS
11257 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11271 char xmlNewDocPI ();
11275 return xmlNewDocPI ();
11280 rm -f conftest.
$ac_objext conftest
$ac_exeext
11281 if { (ac_try
="$ac_link"
11282 case "(($ac_try" in
11283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_link") 2>conftest.er1
11289 grep -v '^ *+' conftest.er1 >conftest.err
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && {
11294 test -z "$ac_c_werror_flag" ||
11295 test ! -s conftest.err
11296 } && test -s conftest$ac_exeext &&
11297 $as_test_x conftest$ac_exeext; then
11298 ac_cv_lib_xml2_xmlNewDocPI=yes
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.$ac_ext >&5
11303 ac_cv_lib_xml2_xmlNewDocPI=no
11306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11311 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11312 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11314 cat >>confdefs.h <<\_ACEOF
11315 #define HAVE_XMLNEWDOCPI 1
11325 CPPFLAGS="$ac_save_CPPFLAGS"
11326 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11327 wine_notices="$wine_notices|libxml2 development files not found.
11328 Wine will be built without XML support. (msxml.dll)"
11332 if test "$PKG_CONFIG" != "false"
11334 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11335 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11337 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
11338 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
11340 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11343 for ac_header in libxslt/pattern.h libxslt/transform.h
11345 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11346 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 cat >conftest.$ac_ext <<_ACEOF
11354 cat confdefs.h >>conftest.$ac_ext
11355 cat >>conftest.$ac_ext <<_ACEOF
11356 /* end confdefs.h. */
11357 #ifdef HAVE_LIBXSLT_PATTERN_H
11358 # include <libxslt/pattern.h>
11361 #include <$ac_header>
11363 rm -f conftest.$ac_objext
11364 if { (ac_try="$ac_compile"
11365 case "(($ac_try" in
11366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11367 *) ac_try_echo
=$ac_try;;
11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11370 (eval "$ac_compile") 2>conftest.er1
11372 grep -v '^ *+' conftest.er1
>conftest.err
11374 cat conftest.err
>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } && {
11377 test -z "$ac_c_werror_flag" ||
11378 test ! -s conftest.err
11379 } && test -s conftest.
$ac_objext; then
11380 eval "$as_ac_Header=yes"
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.
$ac_ext >&5
11385 eval "$as_ac_Header=no"
11388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 ac_res
=`eval echo '${'$as_ac_Header'}'`
11391 { echo "$as_me:$LINENO: result: $ac_res" >&5
11392 echo "${ECHO_T}$ac_res" >&6; }
11393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11394 cat >>confdefs.h
<<_ACEOF
11395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11397 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11398 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11399 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 ac_check_lib_save_LIBS
=$LIBS
11403 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11404 cat >conftest.
$ac_ext <<_ACEOF
11407 cat confdefs.h
>>conftest.
$ac_ext
11408 cat >>conftest.
$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11417 char xsltCompilePattern ();
11421 return xsltCompilePattern ();
11426 rm -f conftest.
$ac_objext conftest
$ac_exeext
11427 if { (ac_try
="$ac_link"
11428 case "(($ac_try" in
11429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11430 *) ac_try_echo=$ac_try;;
11432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 (eval "$ac_link") 2>conftest.er1
11435 grep -v '^ *+' conftest.er1 >conftest.err
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } && {
11440 test -z "$ac_c_werror_flag" ||
11441 test ! -s conftest.err
11442 } && test -s conftest$ac_exeext &&
11443 $as_test_x conftest$ac_exeext; then
11444 ac_cv_lib_xslt_xsltCompilePattern=yes
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.$ac_ext >&5
11449 ac_cv_lib_xslt_xsltCompilePattern=no
11452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11457 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11458 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11460 cat >>confdefs.h <<\_ACEOF
11461 #define HAVE_LIBXSLT 1
11464 XSLTLIBS="$ac_xslt_libs"
11465 XSLTINCL="$ac_xslt_cflags"
11473 CPPFLAGS="$ac_save_CPPFLAGS"
11474 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11475 wine_notices="$wine_notices|libxslt development files not found.
11476 Wine will be built without xslt support. (msxml.dll)"
11482 if test "$PKG_CONFIG" != "false"
11484 ac_save_CPPFLAGS="$CPPFLAGS"
11485 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11486 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11487 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11490 for ac_header in dbus/dbus.h hal/libhal.h
11492 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 ac_res=`eval echo '${'$as_ac_Header'}'`
11500 { echo "$as_me:$LINENO: result: $ac_res" >&5
11501 echo "${ECHO_T}$ac_res" >&6; }
11503 # Is the header compilable?
11504 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11506 cat >conftest.$ac_ext <<_ACEOF
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 $ac_includes_default
11513 #include <$ac_header>
11515 rm -f conftest.$ac_objext
11516 if { (ac_try="$ac_compile"
11517 case "(($ac_try" in
11518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11519 *) ac_try_echo
=$ac_try;;
11521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11522 (eval "$ac_compile") 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } && {
11529 test -z "$ac_c_werror_flag" ||
11530 test ! -s conftest.err
11531 } && test -s conftest.
$ac_objext; then
11532 ac_header_compiler
=yes
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.
$ac_ext >&5
11537 ac_header_compiler
=no
11540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11542 echo "${ECHO_T}$ac_header_compiler" >&6; }
11544 # Is the header present?
11545 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11547 cat >conftest.
$ac_ext <<_ACEOF
11550 cat confdefs.h
>>conftest.
$ac_ext
11551 cat >>conftest.
$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553 #include <$ac_header>
11555 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11556 case "(($ac_try" in
11557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11558 *) ac_try_echo=$ac_try;;
11560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11563 grep -v '^ *+' conftest.er1 >conftest.err
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } >/dev/null && {
11568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11569 test ! -s conftest.err
11571 ac_header_preproc=yes
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11576 ac_header_preproc=no
11579 rm -f conftest.err conftest.$ac_ext
11580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11581 echo "${ECHO_T}$ac_header_preproc" >&6; }
11583 # So? What about this header?
11584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11590 ac_header_preproc=yes
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11606 ## ------------------------------------ ##
11607 ## Report this to wine-devel@winehq.org ##
11608 ## ------------------------------------ ##
11610 ) | sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
11620 ac_res=`eval echo '${'$as_ac_Header'}'`
11621 { echo "$as_me:$LINENO: result: $ac_res" >&5
11622 echo "${ECHO_T}$ac_res" >&6; }
11625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11626 cat >>confdefs.h <<_ACEOF
11627 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11634 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11636 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11637 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11638 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11643 cat >conftest.$ac_ext <<_ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11656 char dbus_connection_close ();
11660 return dbus_connection_close ();
11665 rm -f conftest.$ac_objext conftest$ac_exeext
11666 if { (ac_try="$ac_link"
11667 case "(($ac_try" in
11668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11669 *) ac_try_echo
=$ac_try;;
11671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11672 (eval "$ac_link") 2>conftest.er1
11674 grep -v '^ *+' conftest.er1
>conftest.err
11676 cat conftest.err
>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && {
11679 test -z "$ac_c_werror_flag" ||
11680 test ! -s conftest.err
11681 } && test -s conftest
$ac_exeext &&
11682 $as_test_x conftest
$ac_exeext; then
11683 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11688 ac_cv_lib_dbus_1_dbus_connection_close
=no
11691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11692 conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11696 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11697 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11698 { echo "$as_me:$LINENO: checking for -lhal" >&5
11699 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11700 if test "${ac_cv_lib_soname_hal+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 ac_check_soname_save_LIBS
=$LIBS
11704 LIBS
="-lhal $ac_hal_libs $LIBS"
11705 cat >conftest.
$ac_ext <<_ACEOF
11708 cat confdefs.h
>>conftest.
$ac_ext
11709 cat >>conftest.
$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11718 char libhal_ctx_new ();
11722 return libhal_ctx_new ();
11727 rm -f conftest.
$ac_objext conftest
$ac_exeext
11728 if { (ac_try
="$ac_link"
11729 case "(($ac_try" in
11730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11731 *) ac_try_echo=$ac_try;;
11733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_link") 2>conftest.er1
11736 grep -v '^ *+' conftest.er1 >conftest.err
11738 cat conftest.err >&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } && {
11741 test -z "$ac_c_werror_flag" ||
11742 test ! -s conftest.err
11743 } && test -s conftest$ac_exeext &&
11744 $as_test_x conftest$ac_exeext; then
11747 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'` ;;
11748 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if test "x$ac_cv_lib_soname_hal" = "x"; then
11762 { echo "$as_me:$LINENO: result: not found" >&5
11763 echo "${ECHO_T}not found" >&6; }
11766 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11767 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11773 HALINCL="$ac_hal_cflags"
11779 CPPFLAGS="$ac_save_CPPFLAGS"
11781 if test "x$ac_cv_lib_soname_hal" = "x"; then
11782 wine_notices="$wine_notices|libhal development files not found.
11783 Wine will be built without dynamic device support. (explorer.exe)"
11788 if test "$ac_cv_header_ncurses_h" = "yes"
11790 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11791 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11792 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lncurses $LIBS"
11797 cat >conftest.$ac_ext <<_ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11819 rm -f conftest.$ac_objext conftest$ac_exeext
11820 if { (ac_try="$ac_link"
11821 case "(($ac_try" in
11822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11823 *) ac_try_echo
=$ac_try;;
11825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 (eval "$ac_link") 2>conftest.er1
11828 grep -v '^ *+' conftest.er1
>conftest.err
11830 cat conftest.err
>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } && {
11833 test -z "$ac_c_werror_flag" ||
11834 test ! -s conftest.err
11835 } && test -s conftest
$ac_exeext &&
11836 $as_test_x conftest
$ac_exeext; then
11839 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'` ;;
11840 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11850 conftest
$ac_exeext conftest.
$ac_ext
11851 LIBS
=$ac_check_soname_save_LIBS
11853 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11854 { echo "$as_me:$LINENO: result: not found" >&5
11855 echo "${ECHO_T}not found" >&6; }
11858 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11859 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11861 cat >>confdefs.h
<<_ACEOF
11862 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11865 CURSESLIBS
="-lncurses"
11868 elif test "$ac_cv_header_curses_h" = "yes"
11870 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11871 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11872 if test "${ac_cv_lib_soname_curses+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 ac_check_soname_save_LIBS
=$LIBS
11876 LIBS
="-lcurses $LIBS"
11877 cat >conftest.
$ac_ext <<_ACEOF
11880 cat confdefs.h
>>conftest.
$ac_ext
11881 cat >>conftest.
$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11899 rm -f conftest.
$ac_objext conftest
$ac_exeext
11900 if { (ac_try
="$ac_link"
11901 case "(($ac_try" in
11902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11906 (eval "$ac_link") 2>conftest.er1
11908 grep -v '^ *+' conftest.er1 >conftest.err
11910 cat conftest.err >&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } && {
11913 test -z "$ac_c_werror_flag" ||
11914 test ! -s conftest.err
11915 } && test -s conftest$ac_exeext &&
11916 $as_test_x conftest$ac_exeext; then
11919 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'` ;;
11920 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.$ac_ext >&5
11929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_soname_save_LIBS
11933 if test "x$ac_cv_lib_soname_curses" = "x"; then
11934 { echo "$as_me:$LINENO: result: not found" >&5
11935 echo "${ECHO_T}not found" >&6; }
11938 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11939 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11941 cat >>confdefs.h <<_ACEOF
11942 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11945 CURSESLIBS="-lcurses"
11949 ac_save_LIBS="$LIBS"
11950 LIBS="$LIBS $CURSESLIBS"
11952 for ac_func in mousemask
11954 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 cat >conftest.$ac_ext <<_ACEOF
11963 cat confdefs.h >>conftest.$ac_ext
11964 cat >>conftest.$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11968 #define $ac_func innocuous_$ac_func
11970 /* System header to define __stub macros and hopefully few prototypes,
11971 which can conflict with char $ac_func (); below.
11972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11973 <limits.h> exists even on freestanding compilers. */
11976 # include <limits.h>
11978 # include <assert.h>
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11990 /* The GNU C library defines this for functions which it implements
11991 to always fail with ENOSYS. Some functions are actually named
11992 something starting with __ and the normal name is an alias. */
11993 #if defined __stub_$ac_func || defined __stub___$ac_func
12000 return $ac_func ();
12005 rm -f conftest.$ac_objext conftest$ac_exeext
12006 if { (ac_try="$ac_link"
12007 case "(($ac_try" in
12008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12009 *) ac_try_echo
=$ac_try;;
12011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12012 (eval "$ac_link") 2>conftest.er1
12014 grep -v '^ *+' conftest.er1
>conftest.err
12016 cat conftest.err
>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } && {
12019 test -z "$ac_c_werror_flag" ||
12020 test ! -s conftest.err
12021 } && test -s conftest
$ac_exeext &&
12022 $as_test_x conftest
$ac_exeext; then
12023 eval "$as_ac_var=yes"
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.
$ac_ext >&5
12028 eval "$as_ac_var=no"
12031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12032 conftest
$ac_exeext conftest.
$ac_ext
12034 ac_res
=`eval echo '${'$as_ac_var'}'`
12035 { echo "$as_me:$LINENO: result: $ac_res" >&5
12036 echo "${ECHO_T}$ac_res" >&6; }
12037 if test `eval echo '${'$as_ac_var'}'` = yes; then
12038 cat >>confdefs.h
<<_ACEOF
12039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12045 LIBS
="$ac_save_LIBS"
12046 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12047 wine_notices
="$wine_notices|lib(n)curses development files not found.
12048 Wine will be built without (n)curses support. (wineconsole.exe)"
12052 # Extract the first word of "sane-config", so it can be a program name with args.
12053 set dummy sane-config
; ac_word
=$2
12054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12056 if test "${ac_cv_prog_sane_devel+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 if test -n "$sane_devel"; then
12060 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12063 for as_dir
in $PATH
12066 test -z "$as_dir" && as_dir
=.
12067 for ac_exec_ext
in '' $ac_executable_extensions; do
12068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12069 ac_cv_prog_sane_devel
="sane-config"
12070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12080 sane_devel
=$ac_cv_prog_sane_devel
12081 if test -n "$sane_devel"; then
12082 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12083 echo "${ECHO_T}$sane_devel" >&6; }
12085 { echo "$as_me:$LINENO: result: no" >&5
12086 echo "${ECHO_T}no" >&6; }
12090 if test "$sane_devel" != "no"
12092 ac_sane_incl
="`$sane_devel --cflags`"
12093 ac_save_CPPFLAGS
="$CPPFLAGS"
12094 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12095 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12096 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12097 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12098 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12102 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12104 # Is the header compilable?
12105 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12106 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12107 cat >conftest.
$ac_ext <<_ACEOF
12110 cat confdefs.h
>>conftest.
$ac_ext
12111 cat >>conftest.
$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12113 $ac_includes_default
12114 #include <sane/sane.h>
12116 rm -f conftest.
$ac_objext
12117 if { (ac_try
="$ac_compile"
12118 case "(($ac_try" in
12119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12120 *) ac_try_echo=$ac_try;;
12122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12123 (eval "$ac_compile") 2>conftest.er1
12125 grep -v '^ *+' conftest.er1 >conftest.err
12127 cat conftest.err >&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); } && {
12130 test -z "$ac_c_werror_flag" ||
12131 test ! -s conftest.err
12132 } && test -s conftest.$ac_objext; then
12133 ac_header_compiler=yes
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12138 ac_header_compiler=no
12141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12142 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12143 echo "${ECHO_T}$ac_header_compiler" >&6; }
12145 # Is the header present?
12146 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12147 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12148 cat >conftest.$ac_ext <<_ACEOF
12151 cat confdefs.h >>conftest.$ac_ext
12152 cat >>conftest.$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12154 #include <sane/sane.h>
12156 if { (ac_try="$ac_cpp conftest.$ac_ext"
12157 case "(($ac_try" in
12158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12159 *) ac_try_echo
=$ac_try;;
12161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12164 grep -v '^ *+' conftest.er1
>conftest.err
12166 cat conftest.err
>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } >/dev
/null
&& {
12169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12170 test ! -s conftest.err
12172 ac_header_preproc
=yes
12174 echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.
$ac_ext >&5
12177 ac_header_preproc
=no
12180 rm -f conftest.err conftest.
$ac_ext
12181 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12182 echo "${ECHO_T}$ac_header_preproc" >&6; }
12184 # So? What about this header?
12185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12187 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12188 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12189 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12190 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12191 ac_header_preproc
=yes
12194 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12195 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12197 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12199 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12201 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12203 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12205 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12207 ## ------------------------------------ ##
12208 ## Report this to wine-devel@winehq.org ##
12209 ## ------------------------------------ ##
12211 ) |
sed "s/^/$as_me: WARNING: /" >&2
12214 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12215 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12216 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_cv_header_sane_sane_h
=$ac_header_preproc
12221 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12222 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12225 if test $ac_cv_header_sane_sane_h = yes; then
12226 { echo "$as_me:$LINENO: checking for -lsane" >&5
12227 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12228 if test "${ac_cv_lib_soname_sane+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 ac_check_soname_save_LIBS
=$LIBS
12232 LIBS
="-lsane $LIBS"
12233 cat >conftest.
$ac_ext <<_ACEOF
12236 cat confdefs.h
>>conftest.
$ac_ext
12237 cat >>conftest.
$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12250 return sane_init ();
12255 rm -f conftest.
$ac_objext conftest
$ac_exeext
12256 if { (ac_try
="$ac_link"
12257 case "(($ac_try" in
12258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12259 *) ac_try_echo=$ac_try;;
12261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12262 (eval "$ac_link") 2>conftest.er1
12264 grep -v '^ *+' conftest.er1 >conftest.err
12266 cat conftest.err >&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } && {
12269 test -z "$ac_c_werror_flag" ||
12270 test ! -s conftest.err
12271 } && test -s conftest$ac_exeext &&
12272 $as_test_x conftest$ac_exeext; then
12275 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'` ;;
12276 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_soname_save_LIBS
12289 if test "x$ac_cv_lib_soname_sane" = "x"; then
12290 { echo "$as_me:$LINENO: result: not found" >&5
12291 echo "${ECHO_T}not found" >&6; }
12294 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12295 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12297 cat >>confdefs.h <<_ACEOF
12298 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12301 SANEINCL="$ac_sane_incl"
12308 CPPFLAGS="$ac_save_CPPFLAGS"
12310 if test "x$ac_cv_lib_soname_sane" = "x"; then
12311 wine_notices="$wine_notices|libsane development files not found.
12312 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12316 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12317 set dummy gphoto2-config; ac_word=$2
12318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12320 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 if test -n "$gphoto2_devel"; then
12324 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12327 for as_dir in $PATH
12330 test -z "$as_dir" && as_dir=.
12331 for ac_exec_ext in '' $ac_executable_extensions; do
12332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12333 ac_cv_prog_gphoto2_devel="gphoto2-config"
12334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12341 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12344 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12345 if test -n "$gphoto2_devel"; then
12346 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12347 echo "${ECHO_T}$gphoto2_devel" >&6; }
12349 { echo "$as_me:$LINENO: result: no" >&5
12350 echo "${ECHO_T}no" >&6; }
12354 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12355 set dummy gphoto2-port-config; ac_word=$2
12356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12358 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 if test -n "$gphoto2port_devel"; then
12362 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12379 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12382 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12383 if test -n "$gphoto2port_devel"; then
12384 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12385 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12387 { echo "$as_me:$LINENO: result: no" >&5
12388 echo "${ECHO_T}no" >&6; }
12392 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12394 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12396 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12399 -L/usr/lib|-L/usr/lib64) ;;
12400 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12403 ac_save_CPPFLAGS="$CPPFLAGS"
12404 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12405 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12406 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12407 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12408 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12412 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12414 # Is the header compilable?
12415 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12416 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12417 cat >conftest.$ac_ext <<_ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 $ac_includes_default
12424 #include <gphoto2-camera.h>
12426 rm -f conftest.$ac_objext
12427 if { (ac_try="$ac_compile"
12428 case "(($ac_try" in
12429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12430 *) ac_try_echo
=$ac_try;;
12432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12433 (eval "$ac_compile") 2>conftest.er1
12435 grep -v '^ *+' conftest.er1
>conftest.err
12437 cat conftest.err
>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } && {
12440 test -z "$ac_c_werror_flag" ||
12441 test ! -s conftest.err
12442 } && test -s conftest.
$ac_objext; then
12443 ac_header_compiler
=yes
12445 echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.
$ac_ext >&5
12448 ac_header_compiler
=no
12451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12452 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12453 echo "${ECHO_T}$ac_header_compiler" >&6; }
12455 # Is the header present?
12456 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12457 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12458 cat >conftest.
$ac_ext <<_ACEOF
12461 cat confdefs.h
>>conftest.
$ac_ext
12462 cat >>conftest.
$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464 #include <gphoto2-camera.h>
12466 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12467 case "(($ac_try" in
12468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12469 *) ac_try_echo=$ac_try;;
12471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12474 grep -v '^ *+' conftest.er1 >conftest.err
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } >/dev/null && {
12479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12480 test ! -s conftest.err
12482 ac_header_preproc=yes
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12487 ac_header_preproc=no
12490 rm -f conftest.err conftest.$ac_ext
12491 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12492 echo "${ECHO_T}$ac_header_preproc" >&6; }
12494 # So? What about this header?
12495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12497 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12498 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12499 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12500 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12501 ac_header_preproc=yes
12504 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12505 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12507 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12509 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12511 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12513 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12515 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12517 ## ------------------------------------ ##
12518 ## Report this to wine-devel@winehq.org ##
12519 ## ------------------------------------ ##
12521 ) | sed "s/^/$as_me: WARNING: /" >&2
12524 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12525 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12526 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12531 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12532 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12535 if test $ac_cv_header_gphoto2_camera_h = yes; then
12536 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12537 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12543 cat >conftest.$ac_ext <<_ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12556 char gp_camera_new ();
12560 return gp_camera_new ();
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12569 *) ac_try_echo
=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } && {
12579 test -z "$ac_c_werror_flag" ||
12580 test ! -s conftest.err
12581 } && test -s conftest
$ac_exeext &&
12582 $as_test_x conftest
$ac_exeext; then
12583 ac_cv_lib_gphoto2_gp_camera_new
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_cv_lib_gphoto2_gp_camera_new
=no
12591 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 LIBS
=$ac_check_lib_save_LIBS
12595 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12596 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12597 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12599 cat >>confdefs.h
<<\_ACEOF
12600 #define HAVE_GPHOTO2 1
12603 GPHOTO2LIBS
="$ac_gphoto2_libs"
12605 GPHOTO2INCL
="$ac_gphoto2_incl"
12612 CPPFLAGS
="$ac_save_CPPFLAGS"
12614 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12615 wine_notices
="$wine_notices|libgphoto2 development files not found.
12616 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12623 if test "$ac_cv_header_resolv_h" = "yes"
12625 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12626 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12627 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 ac_check_lib_save_LIBS
=$LIBS
12631 LIBS
="-lresolv $LIBS"
12632 cat >conftest.
$ac_ext <<_ACEOF
12635 cat confdefs.h
>>conftest.
$ac_ext
12636 cat >>conftest.
$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12649 return res_query ();
12654 rm -f conftest.
$ac_objext conftest
$ac_exeext
12655 if { (ac_try
="$ac_link"
12656 case "(($ac_try" in
12657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_link") 2>conftest.er1
12663 grep -v '^ *+' conftest.er1 >conftest.err
12665 cat conftest.err >&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } && {
12668 test -z "$ac_c_werror_flag" ||
12669 test ! -s conftest.err
12670 } && test -s conftest$ac_exeext &&
12671 $as_test_x conftest$ac_exeext; then
12672 ac_cv_lib_resolv_res_query=yes
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12677 ac_cv_lib_resolv_res_query=no
12680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_lib_save_LIBS
12684 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12685 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12686 if test $ac_cv_lib_resolv_res_query = yes; then
12688 cat >>confdefs.h <<\_ACEOF
12689 #define HAVE_RESOLV 1
12692 RESOLVLIBS="-lresolv"
12699 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12701 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12702 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12703 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 ac_check_lib_save_LIBS=$LIBS
12707 LIBS="-llcms $LIBS"
12708 cat >conftest.$ac_ext <<_ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12721 char cmsOpenProfileFromFile ();
12725 return cmsOpenProfileFromFile ();
12730 rm -f conftest.$ac_objext conftest$ac_exeext
12731 if { (ac_try="$ac_link"
12732 case "(($ac_try" in
12733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12734 *) ac_try_echo
=$ac_try;;
12736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12737 (eval "$ac_link") 2>conftest.er1
12739 grep -v '^ *+' conftest.er1
>conftest.err
12741 cat conftest.err
>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && {
12744 test -z "$ac_c_werror_flag" ||
12745 test ! -s conftest.err
12746 } && test -s conftest
$ac_exeext &&
12747 $as_test_x conftest
$ac_exeext; then
12748 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12753 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12757 conftest
$ac_exeext conftest.
$ac_ext
12758 LIBS
=$ac_check_lib_save_LIBS
12760 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12761 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12762 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12764 cat >>confdefs.h
<<\_ACEOF
12765 #define HAVE_LCMS 1
12772 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12773 wine_notices
="$wine_notices|liblcms development files not found.
12774 Wine will be built without Color Management support. (mscms.dll)"
12780 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12782 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12783 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12784 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 ac_check_lib_save_LIBS
=$LIBS
12788 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 cat confdefs.h
>>conftest.
$ac_ext
12793 cat >>conftest.
$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12802 char ldap_initialize ();
12806 return ldap_initialize ();
12811 rm -f conftest.
$ac_objext conftest
$ac_exeext
12812 if { (ac_try
="$ac_link"
12813 case "(($ac_try" in
12814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12815 *) ac_try_echo=$ac_try;;
12817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12818 (eval "$ac_link") 2>conftest.er1
12820 grep -v '^ *+' conftest.er1 >conftest.err
12822 cat conftest.err >&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); } && {
12825 test -z "$ac_c_werror_flag" ||
12826 test ! -s conftest.err
12827 } && test -s conftest$ac_exeext &&
12828 $as_test_x conftest$ac_exeext; then
12829 ac_cv_lib_ldap_r_ldap_initialize=yes
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12834 ac_cv_lib_ldap_r_ldap_initialize=no
12837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12842 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12843 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12844 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12845 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12846 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 ac_check_lib_save_LIBS=$LIBS
12850 LIBS="-llber $LIBPTHREAD $LIBS"
12851 cat >conftest.$ac_ext <<_ACEOF
12854 cat confdefs.h >>conftest.$ac_ext
12855 cat >>conftest.$ac_ext <<_ACEOF
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12868 return ber_init ();
12873 rm -f conftest.$ac_objext conftest$ac_exeext
12874 if { (ac_try="$ac_link"
12875 case "(($ac_try" in
12876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12877 *) ac_try_echo
=$ac_try;;
12879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12880 (eval "$ac_link") 2>conftest.er1
12882 grep -v '^ *+' conftest.er1
>conftest.err
12884 cat conftest.err
>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } && {
12887 test -z "$ac_c_werror_flag" ||
12888 test ! -s conftest.err
12889 } && test -s conftest
$ac_exeext &&
12890 $as_test_x conftest
$ac_exeext; then
12891 ac_cv_lib_lber_ber_init
=yes
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.
$ac_ext >&5
12896 ac_cv_lib_lber_ber_init
=no
12899 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12900 conftest
$ac_exeext conftest.
$ac_ext
12901 LIBS
=$ac_check_lib_save_LIBS
12903 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12904 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12905 if test $ac_cv_lib_lber_ber_init = yes; then
12907 cat >>confdefs.h
<<\_ACEOF
12908 #define HAVE_LDAP 1
12911 LDAPLIBS
="-lldap_r -llber"
12916 ac_wine_check_funcs_save_LIBS
="$LIBS"
12917 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12923 ldap_count_references \
12924 ldap_first_reference \
12925 ldap_next_reference \
12926 ldap_parse_reference
12928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12931 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 cat >conftest.
$ac_ext <<_ACEOF
12937 cat confdefs.h
>>conftest.
$ac_ext
12938 cat >>conftest.
$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12942 #define $ac_func innocuous_$ac_func
12944 /* System header to define __stub macros and hopefully few prototypes,
12945 which can conflict with char $ac_func (); below.
12946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12947 <limits.h> exists even on freestanding compilers. */
12950 # include <limits.h>
12952 # include <assert.h>
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12964 /* The GNU C library defines this for functions which it implements
12965 to always fail with ENOSYS. Some functions are actually named
12966 something starting with __ and the normal name is an alias. */
12967 #if defined __stub_$ac_func || defined __stub___$ac_func
12974 return $ac_func ();
12979 rm -f conftest.
$ac_objext conftest
$ac_exeext
12980 if { (ac_try
="$ac_link"
12981 case "(($ac_try" in
12982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 (eval "$ac_link") 2>conftest.er1
12988 grep -v '^ *+' conftest.er1 >conftest.err
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } && {
12993 test -z "$ac_c_werror_flag" ||
12994 test ! -s conftest.err
12995 } && test -s conftest$ac_exeext &&
12996 $as_test_x conftest$ac_exeext; then
12997 eval "$as_ac_var=yes"
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.$ac_ext >&5
13002 eval "$as_ac_var=no"
13005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13006 conftest$ac_exeext conftest.$ac_ext
13008 ac_res=`eval echo '${'$as_ac_var'}'`
13009 { echo "$as_me:$LINENO: result: $ac_res" >&5
13010 echo "${ECHO_T}$ac_res" >&6; }
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13019 LIBS="$ac_wine_check_funcs_save_LIBS"
13021 if test "x$LDAPLIBS" = "x"; then
13022 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13023 Wine will be built without LDAP support. (wldap32.dll)"
13027 for ac_prog in freetype-config freetype2-config
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy $ac_prog; ac_word=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ft_devel+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 if test -n "$ft_devel"; then
13037 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13043 test -z "$as_dir" && as_dir=.
13044 for ac_exec_ext in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ft_devel="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 ft_devel=$ac_cv_prog_ft_devel
13057 if test -n "$ft_devel"; then
13058 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13059 echo "${ECHO_T}$ft_devel" >&6; }
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13066 test -n "$ft_devel" && break
13068 test -n "$ft_devel" || ft_devel="false"
13070 if test "$ft_devel" != "false"
13072 ac_freetype_libs=`$ft_devel --libs`
13073 ac_freetype_incl=`$ft_devel --cflags`
13074 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13075 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13076 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 ac_check_soname_save_LIBS=$LIBS
13080 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13081 cat >conftest.$ac_ext <<_ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13094 char FT_Init_FreeType ();
13098 return FT_Init_FreeType ();
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (ac_try="$ac_link"
13105 case "(($ac_try" in
13106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13107 *) ac_try_echo
=$ac_try;;
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_link") 2>conftest.er1
13112 grep -v '^ *+' conftest.er1
>conftest.err
13114 cat conftest.err
>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } && {
13117 test -z "$ac_c_werror_flag" ||
13118 test ! -s conftest.err
13119 } && test -s conftest
$ac_exeext &&
13120 $as_test_x conftest
$ac_exeext; then
13123 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'` ;;
13124 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.
$ac_ext >&5
13133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13134 conftest
$ac_exeext conftest.
$ac_ext
13135 LIBS
=$ac_check_soname_save_LIBS
13137 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13138 { echo "$as_me:$LINENO: result: not found" >&5
13139 echo "${ECHO_T}not found" >&6; }
13142 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13143 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13145 cat >>confdefs.h
<<_ACEOF
13146 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13152 if test "$ft_lib" = "yes"
13154 ac_save_CPPFLAGS
="$CPPFLAGS"
13155 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13168 for ac_header
in ft2build.h \
13169 freetype
/freetype.h \
13170 freetype
/ftglyph.h \
13171 freetype
/fttypes.h \
13172 freetype
/tttables.h \
13173 freetype
/ftnames.h \
13174 freetype
/ftsnames.h \
13175 freetype
/ttnameid.h \
13176 freetype
/ftoutln.h \
13177 freetype
/ftwinfnt.h \
13178 freetype
/ftmodapi.h \
13179 freetype
/internal
/sfnt.h
13181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13184 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 cat >conftest.
$ac_ext <<_ACEOF
13190 cat confdefs.h
>>conftest.
$ac_ext
13191 cat >>conftest.
$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #if HAVE_FT2BUILD_H
13194 #include <ft2build.h>
13197 #include <$ac_header>
13199 rm -f conftest.
$ac_objext
13200 if { (ac_try
="$ac_compile"
13201 case "(($ac_try" in
13202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_compile") 2>conftest.er1
13208 grep -v '^ *+' conftest.er1 >conftest.err
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } && {
13213 test -z "$ac_c_werror_flag" ||
13214 test ! -s conftest.err
13215 } && test -s conftest.$ac_objext; then
13216 eval "$as_ac_Header=yes"
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 eval "$as_ac_Header=no"
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13226 ac_res=`eval echo '${'$as_ac_Header'}'`
13227 { echo "$as_me:$LINENO: result: $ac_res" >&5
13228 echo "${ECHO_T}$ac_res" >&6; }
13229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13230 cat >>confdefs.h <<_ACEOF
13231 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13238 cat >conftest.$ac_ext <<_ACEOF
13241 cat confdefs.h >>conftest.$ac_ext
13242 cat >>conftest.$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244 #include <ft2build.h>
13245 #include <freetype/fttrigon.h>
13247 if { (ac_try="$ac_cpp conftest.$ac_ext"
13248 case "(($ac_try" in
13249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13250 *) ac_try_echo
=$ac_try;;
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13255 grep -v '^ *+' conftest.er1
>conftest.err
13257 cat conftest.err
>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev
/null
&& {
13260 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13261 test ! -s conftest.err
13264 cat >>confdefs.h
<<\_ACEOF
13265 #define HAVE_FREETYPE_FTTRIGON_H 1
13268 wine_cv_fttrigon
=yes
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 wine_cv_fttrigon
=no
13276 rm -f conftest.err conftest.
$ac_ext
13277 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13278 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13279 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 #include <freetype/ftmodapi.h>
13290 typedef FT_TrueTypeEngineType ac__type_new_;
13294 if ((ac__type_new_ *) 0)
13296 if (sizeof (ac__type_new_))
13302 rm -f conftest.
$ac_objext
13303 if { (ac_try
="$ac_compile"
13304 case "(($ac_try" in
13305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_compile") 2>conftest.er1
13311 grep -v '^ *+' conftest.er1 >conftest.err
13313 cat conftest.err >&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } && {
13316 test -z "$ac_c_werror_flag" ||
13317 test ! -s conftest.err
13318 } && test -s conftest.$ac_objext; then
13319 ac_cv_type_FT_TrueTypeEngineType=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 ac_cv_type_FT_TrueTypeEngineType=no
13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13329 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13330 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13331 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13333 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_FT_TRUETYPEENGINETYPE 1
13340 ac_save_CFLAGS="$CFLAGS"
13341 CFLAGS="$CFLAGS $ac_freetype_libs"
13343 for ac_func in FT_Load_Sfnt_Table
13345 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 cat >conftest.$ac_ext <<_ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13359 #define $ac_func innocuous_$ac_func
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func (); below.
13363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13364 <limits.h> exists even on freestanding compilers. */
13367 # include <limits.h>
13369 # include <assert.h>
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined __stub_$ac_func || defined __stub___$ac_func
13391 return $ac_func ();
13396 rm -f conftest.$ac_objext conftest$ac_exeext
13397 if { (ac_try="$ac_link"
13398 case "(($ac_try" in
13399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13400 *) ac_try_echo
=$ac_try;;
13402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13403 (eval "$ac_link") 2>conftest.er1
13405 grep -v '^ *+' conftest.er1
>conftest.err
13407 cat conftest.err
>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } && {
13410 test -z "$ac_c_werror_flag" ||
13411 test ! -s conftest.err
13412 } && test -s conftest
$ac_exeext &&
13413 $as_test_x conftest
$ac_exeext; then
13414 eval "$as_ac_var=yes"
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 eval "$as_ac_var=no"
13422 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13423 conftest
$ac_exeext conftest.
$ac_ext
13425 ac_res
=`eval echo '${'$as_ac_var'}'`
13426 { echo "$as_me:$LINENO: result: $ac_res" >&5
13427 echo "${ECHO_T}$ac_res" >&6; }
13428 if test `eval echo '${'$as_ac_var'}'` = yes; then
13429 cat >>confdefs.h
<<_ACEOF
13430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13436 CFLAGS
="$ac_save_CFLAGS"
13437 CPPFLAGS
="$ac_save_CPPFLAGS"
13438 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13441 cat >>confdefs.h
<<\_ACEOF
13442 #define HAVE_FREETYPE 1
13445 FREETYPELIBS
="$ac_freetype_libs"
13447 FREETYPEINCL
="$ac_freetype_incl"
13453 if test "$FONTFORGE" = "false"
13455 wine_warnings
="$wine_warnings|FontForge is missing.
13456 Fonts will not be built. Dialog text may be invisible or unaligned."
13457 elif test "x$FREETYPELIBS" = "x"
13459 wine_warnings
="$wine_warnings|FreeType development files not found.
13460 Fonts will not be built. Dialog text may be invisible or unaligned."
13462 FONTSSUBDIRS
="fonts"
13466 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13467 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13468 if test "${ac_cv_c_ppdev+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 cat >conftest.
$ac_ext <<_ACEOF
13474 cat confdefs.h
>>conftest.
$ac_ext
13475 cat >>conftest.
$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 #include <linux/ppdev.h>
13481 ioctl (1,PPCLAIM,0)
13486 rm -f conftest.
$ac_objext
13487 if { (ac_try
="$ac_compile"
13488 case "(($ac_try" in
13489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13490 *) ac_try_echo=$ac_try;;
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_compile") 2>conftest.er1
13495 grep -v '^ *+' conftest.er1 >conftest.err
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } && {
13500 test -z "$ac_c_werror_flag" ||
13501 test ! -s conftest.err
13502 } && test -s conftest.$ac_objext; then
13503 ac_cv_c_ppdev="yes"
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13513 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13514 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13515 if test "$ac_cv_c_ppdev" = "yes"
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_PPDEV 1
13524 { echo "$as_me:$LINENO: checking for va_copy" >&5
13525 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13526 if test "${ac_cv_c_va_copy+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 cat >conftest.$ac_ext <<_ACEOF
13532 cat confdefs.h >>conftest.$ac_ext
13533 cat >>conftest.$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13535 #include <stdarg.h>
13539 va_list ap1, ap2; va_copy(ap1,ap2);
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (ac_try="$ac_link"
13546 case "(($ac_try" in
13547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13548 *) ac_try_echo
=$ac_try;;
13550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13551 (eval "$ac_link") 2>conftest.er1
13553 grep -v '^ *+' conftest.er1
>conftest.err
13555 cat conftest.err
>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } && {
13558 test -z "$ac_c_werror_flag" ||
13559 test ! -s conftest.err
13560 } && test -s conftest
$ac_exeext &&
13561 $as_test_x conftest
$ac_exeext; then
13562 ac_cv_c_va_copy
="yes"
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 ac_cv_c_va_copy
="no"
13570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13571 conftest
$ac_exeext conftest.
$ac_ext
13574 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13575 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13576 if test "$ac_cv_c_va_copy" = "yes"
13579 cat >>confdefs.h
<<\_ACEOF
13580 #define HAVE_VA_COPY 1
13584 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13585 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13586 if test "${ac_cv_c___va_copy+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 cat >conftest.
$ac_ext <<_ACEOF
13592 cat confdefs.h
>>conftest.
$ac_ext
13593 cat >>conftest.
$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13595 #include <stdarg.h>
13599 va_list ap1, ap2; __va_copy(ap1,ap2);
13604 rm -f conftest.
$ac_objext conftest
$ac_exeext
13605 if { (ac_try
="$ac_link"
13606 case "(($ac_try" in
13607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13608 *) ac_try_echo=$ac_try;;
13610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13611 (eval "$ac_link") 2>conftest.er1
13613 grep -v '^ *+' conftest.er1 >conftest.err
13615 cat conftest.err >&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } && {
13618 test -z "$ac_c_werror_flag" ||
13619 test ! -s conftest.err
13620 } && test -s conftest$ac_exeext &&
13621 $as_test_x conftest$ac_exeext; then
13622 ac_cv_c___va_copy="yes"
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13627 ac_cv_c___va_copy="no"
13630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13631 conftest$ac_exeext conftest.$ac_ext
13634 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13635 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13636 if test "$ac_cv_c___va_copy" = "yes"
13639 cat >>confdefs.h <<\_ACEOF
13640 #define HAVE___VA_COPY 1
13645 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13646 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13647 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 cat >conftest.$ac_ext <<_ACEOF
13653 cat confdefs.h >>conftest.$ac_ext
13654 cat >>conftest.$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 #include <setjmp.h>
13661 sigsetjmp( buf, 1 );
13662 siglongjmp( buf, 1 );
13667 rm -f conftest.$ac_objext conftest$ac_exeext
13668 if { (ac_try="$ac_link"
13669 case "(($ac_try" in
13670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13671 *) ac_try_echo
=$ac_try;;
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_link") 2>conftest.er1
13676 grep -v '^ *+' conftest.er1
>conftest.err
13678 cat conftest.err
>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest
$ac_exeext &&
13684 $as_test_x conftest
$ac_exeext; then
13685 ac_cv_c_sigsetjmp
="yes"
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.
$ac_ext >&5
13690 ac_cv_c_sigsetjmp
="no"
13693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13694 conftest
$ac_exeext conftest.
$ac_ext
13697 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13698 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13699 if test "$ac_cv_c_sigsetjmp" = "yes"
13702 cat >>confdefs.h
<<\_ACEOF
13703 #define HAVE_SIGSETJMP 1
13708 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13709 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13710 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #define _GNU_SOURCE
13720 #include <pthread.h>
13722 typedef pthread_rwlock_t ac__type_new_;
13726 if ((ac__type_new_ *) 0)
13728 if (sizeof (ac__type_new_))
13734 rm -f conftest.
$ac_objext
13735 if { (ac_try
="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 ac_cv_type_pthread_rwlock_t=yes
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 ac_cv_type_pthread_rwlock_t=no
13759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13762 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13763 if test $ac_cv_type_pthread_rwlock_t = yes; then
13765 cat >>confdefs.h <<_ACEOF
13766 #define HAVE_PTHREAD_RWLOCK_T 1
13771 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13772 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13773 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 cat >conftest.$ac_ext <<_ACEOF
13779 cat confdefs.h >>conftest.$ac_ext
13780 cat >>conftest.$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13782 #define _GNU_SOURCE
13783 #include <pthread.h>
13785 typedef pthread_rwlockattr_t ac__type_new_;
13789 if ((ac__type_new_ *) 0)
13791 if (sizeof (ac__type_new_))
13797 rm -f conftest.$ac_objext
13798 if { (ac_try="$ac_compile"
13799 case "(($ac_try" in
13800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13801 *) ac_try_echo
=$ac_try;;
13803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13804 (eval "$ac_compile") 2>conftest.er1
13806 grep -v '^ *+' conftest.er1
>conftest.err
13808 cat conftest.err
>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } && {
13811 test -z "$ac_c_werror_flag" ||
13812 test ! -s conftest.err
13813 } && test -s conftest.
$ac_objext; then
13814 ac_cv_type_pthread_rwlockattr_t
=yes
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.
$ac_ext >&5
13819 ac_cv_type_pthread_rwlockattr_t
=no
13822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13824 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13825 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13826 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13828 cat >>confdefs.h
<<_ACEOF
13829 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13836 ac_wine_check_funcs_save_LIBS
="$LIBS"
13837 LIBS
="$LIBS $LIBPTHREAD"
13843 pthread_attr_get_np \
13844 pthread_getattr_np \
13845 pthread_get_stackaddr_np \
13846 pthread_get_stacksize_np
13848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13851 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13862 #define $ac_func innocuous_$ac_func
13864 /* System header to define __stub macros and hopefully few prototypes,
13865 which can conflict with char $ac_func (); below.
13866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13867 <limits.h> exists even on freestanding compilers. */
13870 # include <limits.h>
13872 # include <assert.h>
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13884 /* The GNU C library defines this for functions which it implements
13885 to always fail with ENOSYS. Some functions are actually named
13886 something starting with __ and the normal name is an alias. */
13887 #if defined __stub_$ac_func || defined __stub___$ac_func
13894 return $ac_func ();
13899 rm -f conftest.
$ac_objext conftest
$ac_exeext
13900 if { (ac_try
="$ac_link"
13901 case "(($ac_try" in
13902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13903 *) ac_try_echo=$ac_try;;
13905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13906 (eval "$ac_link") 2>conftest.er1
13908 grep -v '^ *+' conftest.er1 >conftest.err
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } && {
13913 test -z "$ac_c_werror_flag" ||
13914 test ! -s conftest.err
13915 } && test -s conftest$ac_exeext &&
13916 $as_test_x conftest$ac_exeext; then
13917 eval "$as_ac_var=yes"
13919 echo "$as_me: failed program was:" >&5
13920 sed 's/^/| /' conftest.$ac_ext >&5
13922 eval "$as_ac_var=no"
13925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13926 conftest$ac_exeext conftest.$ac_ext
13928 ac_res=`eval echo '${'$as_ac_var'}'`
13929 { echo "$as_me:$LINENO: result: $ac_res" >&5
13930 echo "${ECHO_T}$ac_res" >&6; }
13931 if test `eval echo '${'$as_ac_var'}'` = yes; then
13932 cat >>confdefs.h <<_ACEOF
13933 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13939 LIBS="$ac_wine_check_funcs_save_LIBS"
13941 # Extract the first word of "esd-config", so it can be a program name with args.
13942 set dummy esd-config; ac_word=$2
13943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13945 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13954 for as_dir in $PATH
13957 test -z "$as_dir" && as_dir=.
13958 for ac_exec_ext in '' $ac_executable_extensions; do
13959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13960 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13971 ESDCONFIG=$ac_cv_path_ESDCONFIG
13972 if test -n "$ESDCONFIG"; then
13973 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13974 echo "${ECHO_T}$ESDCONFIG" >&6; }
13976 { echo "$as_me:$LINENO: result: no" >&5
13977 echo "${ECHO_T}no" >&6; }
13981 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13984 for i in `$ESDCONFIG --cflags`
13987 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13990 ESD_LIBS=`$ESDCONFIG --libs`
13991 save_CFLAGS="$CFLAGS"
13992 CFLAGS="$CFLAGS $ESD_CFLAGS"
13993 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13994 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13995 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 ac_check_lib_save_LIBS=$LIBS
14000 cat >conftest.$ac_ext <<_ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14013 char esd_open_sound ();
14017 return esd_open_sound ();
14022 rm -f conftest.$ac_objext conftest$ac_exeext
14023 if { (ac_try="$ac_link"
14024 case "(($ac_try" in
14025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14026 *) ac_try_echo
=$ac_try;;
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_link") 2>conftest.er1
14031 grep -v '^ *+' conftest.er1
>conftest.err
14033 cat conftest.err
>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } && {
14036 test -z "$ac_c_werror_flag" ||
14037 test ! -s conftest.err
14038 } && test -s conftest
$ac_exeext &&
14039 $as_test_x conftest
$ac_exeext; then
14040 ac_cv_lib_esd_esd_open_sound
=yes
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 ac_cv_lib_esd_esd_open_sound
=no
14048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14049 conftest
$ac_exeext conftest.
$ac_ext
14050 LIBS
=$ac_check_lib_save_LIBS
14052 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14053 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14054 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14057 ESDINCL
=$ESD_CFLAGS
14060 cat >>confdefs.h
<<\_ACEOF
14066 CFLAGS
="$save_CFLAGS"
14071 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14073 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14074 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14075 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 ac_check_lib_save_LIBS
=$LIBS
14079 LIBS
="-lasound $LIBS"
14080 cat >conftest.
$ac_ext <<_ACEOF
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14093 char snd_pcm_hw_params_get_access ();
14097 return snd_pcm_hw_params_get_access ();
14102 rm -f conftest.
$ac_objext conftest
$ac_exeext
14103 if { (ac_try
="$ac_link"
14104 case "(($ac_try" in
14105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14106 *) ac_try_echo=$ac_try;;
14108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14109 (eval "$ac_link") 2>conftest.er1
14111 grep -v '^ *+' conftest.er1 >conftest.err
14113 cat conftest.err >&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } && {
14116 test -z "$ac_c_werror_flag" ||
14117 test ! -s conftest.err
14118 } && test -s conftest$ac_exeext &&
14119 $as_test_x conftest$ac_exeext; then
14120 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_lib_save_LIBS
14132 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14133 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14134 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14135 cat >conftest.$ac_ext <<_ACEOF
14138 cat confdefs.h >>conftest.$ac_ext
14139 cat >>conftest.$ac_ext <<_ACEOF
14140 /* end confdefs.h. */
14141 #ifdef HAVE_ALSA_ASOUNDLIB_H
14142 #include <alsa/asoundlib.h>
14143 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14144 #include <sys/asoundlib.h>
14149 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14154 rm -f conftest.$ac_objext
14155 if { (ac_try="$ac_compile"
14156 case "(($ac_try" in
14157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14158 *) ac_try_echo
=$ac_try;;
14160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14161 (eval "$ac_compile") 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } && {
14168 test -z "$ac_c_werror_flag" ||
14169 test ! -s conftest.err
14170 } && test -s conftest.
$ac_objext; then
14172 cat >>confdefs.h
<<\_ACEOF
14173 #define HAVE_ALSA 1
14176 ALSALIBS
="-lasound"
14178 echo "$as_me: failed program was:" >&5
14179 sed 's/^/| /' conftest.
$ac_ext >&5
14184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14191 if test "$ac_cv_header_libaudioio_h" = "yes"
14193 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14194 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14195 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 ac_check_lib_save_LIBS
=$LIBS
14199 LIBS
="-laudioio $LIBS"
14200 cat >conftest.
$ac_ext <<_ACEOF
14203 cat confdefs.h
>>conftest.
$ac_ext
14204 cat >>conftest.
$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14213 char AudioIOGetVersion ();
14217 return AudioIOGetVersion ();
14222 rm -f conftest.
$ac_objext conftest
$ac_exeext
14223 if { (ac_try
="$ac_link"
14224 case "(($ac_try" in
14225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14226 *) ac_try_echo=$ac_try;;
14228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14229 (eval "$ac_link") 2>conftest.er1
14231 grep -v '^ *+' conftest.er1 >conftest.err
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } && {
14236 test -z "$ac_c_werror_flag" ||
14237 test ! -s conftest.err
14238 } && test -s conftest$ac_exeext &&
14239 $as_test_x conftest$ac_exeext; then
14240 ac_cv_lib_audioio_AudioIOGetVersion=yes
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14245 ac_cv_lib_audioio_AudioIOGetVersion=no
14248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_lib_save_LIBS
14252 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14253 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14254 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14255 AUDIOIOLIBS="-laudioio"
14257 cat >>confdefs.h <<\_ACEOF
14258 #define HAVE_LIBAUDIOIO 1
14266 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14268 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14269 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14270 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 ac_check_soname_save_LIBS=$LIBS
14274 LIBS="-lcapi20 $LIBS"
14275 cat >conftest.$ac_ext <<_ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14288 char capi20_register ();
14292 return capi20_register ();
14297 rm -f conftest.$ac_objext conftest$ac_exeext
14298 if { (ac_try="$ac_link"
14299 case "(($ac_try" in
14300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14301 *) ac_try_echo
=$ac_try;;
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_link") 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest
$ac_exeext &&
14314 $as_test_x conftest
$ac_exeext; then
14317 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'` ;;
14318 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.
$ac_ext >&5
14327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14328 conftest
$ac_exeext conftest.
$ac_ext
14329 LIBS
=$ac_check_soname_save_LIBS
14331 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14332 { echo "$as_me:$LINENO: result: not found" >&5
14333 echo "${ECHO_T}not found" >&6; }
14336 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14337 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14339 cat >>confdefs.h
<<_ACEOF
14340 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14347 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14348 wine_notices
="$wine_notices|libcapi20 development files not found.
14349 Wine will be built without ISDN support. (capi2032.dll)"
14353 if test "$ac_cv_header_cups_cups_h" = "yes"
14355 { echo "$as_me:$LINENO: checking for -lcups" >&5
14356 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14357 if test "${ac_cv_lib_soname_cups+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 ac_check_soname_save_LIBS
=$LIBS
14361 LIBS
="-lcups $LIBS"
14362 cat >conftest.
$ac_ext <<_ACEOF
14365 cat confdefs.h
>>conftest.
$ac_ext
14366 cat >>conftest.
$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14375 char cupsGetDefault ();
14379 return cupsGetDefault ();
14384 rm -f conftest.
$ac_objext conftest
$ac_exeext
14385 if { (ac_try
="$ac_link"
14386 case "(($ac_try" in
14387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_link") 2>conftest.er1
14393 grep -v '^ *+' conftest.er1 >conftest.err
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } && {
14398 test -z "$ac_c_werror_flag" ||
14399 test ! -s conftest.err
14400 } && test -s conftest$ac_exeext &&
14401 $as_test_x conftest$ac_exeext; then
14404 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'` ;;
14405 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14415 conftest$ac_exeext conftest.$ac_ext
14416 LIBS=$ac_check_soname_save_LIBS
14418 if test "x$ac_cv_lib_soname_cups" = "x"; then
14419 { echo "$as_me:$LINENO: result: not found" >&5
14420 echo "${ECHO_T}not found" >&6; }
14423 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14424 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14426 cat >>confdefs.h <<_ACEOF
14427 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14434 if test "x$ac_cv_lib_soname_cups" = "x"; then
14435 wine_notices="$wine_notices|libcups development files not found.
14436 Wine will be built without CUPS support."
14440 if test "$ac_cv_header_jack_jack_h" = "yes"
14442 { echo "$as_me:$LINENO: checking for -ljack" >&5
14443 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14444 if test "${ac_cv_lib_soname_jack+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14447 ac_check_soname_save_LIBS=$LIBS
14448 LIBS="-ljack $LIBS"
14449 cat >conftest.$ac_ext <<_ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14462 char jack_client_new ();
14466 return jack_client_new ();
14471 rm -f conftest.$ac_objext conftest$ac_exeext
14472 if { (ac_try="$ac_link"
14473 case "(($ac_try" in
14474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14475 *) ac_try_echo
=$ac_try;;
14477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14478 (eval "$ac_link") 2>conftest.er1
14480 grep -v '^ *+' conftest.er1
>conftest.err
14482 cat conftest.err
>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); } && {
14485 test -z "$ac_c_werror_flag" ||
14486 test ! -s conftest.err
14487 } && test -s conftest
$ac_exeext &&
14488 $as_test_x conftest
$ac_exeext; then
14491 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'` ;;
14492 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.
$ac_ext >&5
14501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14502 conftest
$ac_exeext conftest.
$ac_ext
14503 LIBS
=$ac_check_soname_save_LIBS
14505 if test "x$ac_cv_lib_soname_jack" = "x"; then
14506 { echo "$as_me:$LINENO: result: not found" >&5
14507 echo "${ECHO_T}not found" >&6; }
14510 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14511 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14513 cat >>confdefs.h
<<_ACEOF
14514 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14522 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14524 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14525 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14526 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 ac_check_soname_save_LIBS
=$LIBS
14530 LIBS
="-lfontconfig $LIBS"
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14553 rm -f conftest.
$ac_objext conftest
$ac_exeext
14554 if { (ac_try
="$ac_link"
14555 case "(($ac_try" in
14556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest$ac_exeext &&
14570 $as_test_x conftest$ac_exeext; then
14573 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'` ;;
14574 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.$ac_ext >&5
14583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14584 conftest$ac_exeext conftest.$ac_ext
14585 LIBS=$ac_check_soname_save_LIBS
14587 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14588 { echo "$as_me:$LINENO: result: not found" >&5
14589 echo "${ECHO_T}not found" >&6; }
14592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14593 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14595 cat >>confdefs.h <<_ACEOF
14596 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14603 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14604 wine_notices="$wine_notices|fontconfig development files not found.
14605 Wine will be built without fontconfig support."
14609 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14611 { echo "$as_me:$LINENO: checking for -lssl" >&5
14612 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14613 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 ac_check_soname_save_LIBS=$LIBS
14618 cat >conftest.$ac_ext <<_ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14631 char SSL_library_init ();
14635 return SSL_library_init ();
14640 rm -f conftest.$ac_objext conftest$ac_exeext
14641 if { (ac_try="$ac_link"
14642 case "(($ac_try" in
14643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14644 *) ac_try_echo
=$ac_try;;
14646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_link") 2>conftest.er1
14649 grep -v '^ *+' conftest.er1
>conftest.err
14651 cat conftest.err
>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest
$ac_exeext &&
14657 $as_test_x conftest
$ac_exeext; then
14660 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'` ;;
14661 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.
$ac_ext >&5
14670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14671 conftest
$ac_exeext conftest.
$ac_ext
14672 LIBS
=$ac_check_soname_save_LIBS
14674 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14675 { echo "$as_me:$LINENO: result: not found" >&5
14676 echo "${ECHO_T}not found" >&6; }
14679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14680 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14682 cat >>confdefs.h
<<_ACEOF
14683 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14689 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14690 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14691 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 ac_check_soname_save_LIBS
=$LIBS
14695 LIBS
="-lcrypto $LIBS"
14696 cat >conftest.
$ac_ext <<_ACEOF
14699 cat confdefs.h
>>conftest.
$ac_ext
14700 cat >>conftest.
$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14709 char BIO_new_socket ();
14713 return BIO_new_socket ();
14718 rm -f conftest.
$ac_objext conftest
$ac_exeext
14719 if { (ac_try
="$ac_link"
14720 case "(($ac_try" in
14721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14722 *) ac_try_echo=$ac_try;;
14724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 (eval "$ac_link") 2>conftest.er1
14727 grep -v '^ *+' conftest.er1 >conftest.err
14729 cat conftest.err >&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } && {
14732 test -z "$ac_c_werror_flag" ||
14733 test ! -s conftest.err
14734 } && test -s conftest$ac_exeext &&
14735 $as_test_x conftest$ac_exeext; then
14738 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'` ;;
14739 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_soname_save_LIBS
14752 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14753 { echo "$as_me:$LINENO: result: not found" >&5
14754 echo "${ECHO_T}not found" >&6; }
14757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14758 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14760 cat >>confdefs.h <<_ACEOF
14761 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14768 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14769 wine_notices="$wine_notices|OpenSSL development files not found.
14770 Wine will be built without SSL support. (wininet.dll)"
14774 if test "$ac_cv_header_jpeglib_h" = "yes"
14776 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14777 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14778 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 ac_check_soname_save_LIBS=$LIBS
14782 LIBS="-ljpeg $LIBS"
14783 cat >conftest.$ac_ext <<_ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14796 char jpeg_start_decompress ();
14800 return jpeg_start_decompress ();
14805 rm -f conftest.$ac_objext conftest$ac_exeext
14806 if { (ac_try="$ac_link"
14807 case "(($ac_try" in
14808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14809 *) ac_try_echo
=$ac_try;;
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_link") 2>conftest.er1
14814 grep -v '^ *+' conftest.er1
>conftest.err
14816 cat conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && {
14819 test -z "$ac_c_werror_flag" ||
14820 test ! -s conftest.err
14821 } && test -s conftest
$ac_exeext &&
14822 $as_test_x conftest
$ac_exeext; then
14825 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'` ;;
14826 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14836 conftest
$ac_exeext conftest.
$ac_ext
14837 LIBS
=$ac_check_soname_save_LIBS
14839 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14840 { echo "$as_me:$LINENO: result: not found" >&5
14841 echo "${ECHO_T}not found" >&6; }
14844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14845 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14847 cat >>confdefs.h
<<_ACEOF
14848 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14855 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14856 wine_notices
="$wine_notices|libjpeg development files not found.
14857 Wine will be built without JPEG support. (oleaut32.dll)"
14861 if test "$ac_cv_header_png_h" = "yes"
14863 { echo "$as_me:$LINENO: checking for -lpng" >&5
14864 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14865 if test "${ac_cv_lib_soname_png+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 ac_check_soname_save_LIBS
=$LIBS
14870 cat >conftest.
$ac_ext <<_ACEOF
14873 cat confdefs.h
>>conftest.
$ac_ext
14874 cat >>conftest.
$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14883 char png_create_read_struct ();
14887 return png_create_read_struct ();
14892 rm -f conftest.
$ac_objext conftest
$ac_exeext
14893 if { (ac_try
="$ac_link"
14894 case "(($ac_try" in
14895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14896 *) ac_try_echo=$ac_try;;
14898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14899 (eval "$ac_link") 2>conftest.er1
14901 grep -v '^ *+' conftest.er1 >conftest.err
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } && {
14906 test -z "$ac_c_werror_flag" ||
14907 test ! -s conftest.err
14908 } && test -s conftest$ac_exeext &&
14909 $as_test_x conftest$ac_exeext; then
14912 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'` ;;
14913 *) 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'` ;;
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_soname_save_LIBS
14926 if test "x$ac_cv_lib_soname_png" = "x"; then
14927 { echo "$as_me:$LINENO: result: not found" >&5
14928 echo "${ECHO_T}not found" >&6; }
14931 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14932 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14934 cat >>confdefs.h <<_ACEOF
14935 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14942 if test "x$ac_cv_lib_soname_png" = "x"; then
14943 wine_notices="$wine_notices|libpng development files not found.
14944 Wine will be built without PNG support. (oleaut32.dll)"
14948 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14949 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14950 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14951 "$ac_cv_header_soundcard_h" != "yes"; then
14952 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14959 if test "x${GCC}" = "xyes"
14961 EXTRACFLAGS="-Wall -pipe"
14963 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14964 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14965 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 if test "$cross_compiling" = yes; then
14969 ac_cv_c_gcc_strength_bug="yes"
14971 cat >conftest.$ac_ext <<_ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 int L[4] = {0,1,2,3};
14981 static int Array[3];
14982 unsigned int B = 3;
14984 for(i=0; i<B; i++) Array[i] = i - 3;
14985 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14987 exit( Array[1] != -2 || L[2] != 3)
14992 rm -f conftest$ac_exeext
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14996 *) ac_try_echo
=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15003 { (case "(($ac_try" in
15004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15005 *) ac_try_echo=$ac_try;;
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15008 (eval "$ac_try") 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_cv_c_gcc_strength_bug="no"
15014 echo "$as_me: program exited with status $ac_status" >&5
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15018 ( exit $ac_status )
15019 ac_cv_c_gcc_strength_bug="yes"
15021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15026 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15027 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15028 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15030 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15034 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15035 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15036 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15039 ac_wine_try_cflags_saved=$CFLAGS
15040 CFLAGS="$CFLAGS -fshort-wchar"
15041 cat >conftest.$ac_ext <<_ACEOF
15044 cat confdefs.h >>conftest.$ac_ext
15045 cat >>conftest.$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15056 rm -f conftest.$ac_objext conftest$ac_exeext
15057 if { (ac_try="$ac_link"
15058 case "(($ac_try" in
15059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15060 *) ac_try_echo
=$ac_try;;
15062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15063 (eval "$ac_link") 2>conftest.er1
15065 grep -v '^ *+' conftest.er1
>conftest.err
15067 cat conftest.err
>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } && {
15070 test -z "$ac_c_werror_flag" ||
15071 test ! -s conftest.err
15072 } && test -s conftest
$ac_exeext &&
15073 $as_test_x conftest
$ac_exeext; then
15074 ac_cv_cflags__fshort_wchar
=yes
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.
$ac_ext >&5
15079 ac_cv_cflags__fshort_wchar
=no
15082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 CFLAGS
=$ac_wine_try_cflags_saved
15086 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15087 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15088 if test $ac_cv_cflags__fshort_wchar = yes; then
15090 cat >>confdefs.h
<<\_ACEOF
15091 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15096 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15097 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15098 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 ac_wine_try_cflags_saved
=$CFLAGS
15102 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15103 cat >conftest.
$ac_ext <<_ACEOF
15106 cat confdefs.h
>>conftest.
$ac_ext
15107 cat >>conftest.
$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15118 rm -f conftest.
$ac_objext conftest
$ac_exeext
15119 if { (ac_try
="$ac_link"
15120 case "(($ac_try" in
15121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15122 *) ac_try_echo=$ac_try;;
15124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15125 (eval "$ac_link") 2>conftest.er1
15127 grep -v '^ *+' conftest.er1 >conftest.err
15129 cat conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } && {
15132 test -z "$ac_c_werror_flag" ||
15133 test ! -s conftest.err
15134 } && test -s conftest$ac_exeext &&
15135 $as_test_x conftest$ac_exeext; then
15136 ac_cv_cflags__fno_strict_aliasing=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 ac_cv_cflags__fno_strict_aliasing=no
15144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15145 conftest$ac_exeext conftest.$ac_ext
15146 CFLAGS=$ac_wine_try_cflags_saved
15148 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15149 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15150 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15154 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15155 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15156 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 ac_wine_try_cflags_saved=$CFLAGS
15160 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15161 cat >conftest.$ac_ext <<_ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15176 rm -f conftest.$ac_objext conftest$ac_exeext
15177 if { (ac_try="$ac_link"
15178 case "(($ac_try" in
15179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15180 *) ac_try_echo
=$ac_try;;
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_link") 2>conftest.er1
15185 grep -v '^ *+' conftest.er1
>conftest.err
15187 cat conftest.err
>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest
$ac_exeext &&
15193 $as_test_x conftest
$ac_exeext; then
15194 ac_cv_cflags__Wdeclaration_after_statement
=yes
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.
$ac_ext >&5
15199 ac_cv_cflags__Wdeclaration_after_statement
=no
15202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15203 conftest
$ac_exeext conftest.
$ac_ext
15204 CFLAGS
=$ac_wine_try_cflags_saved
15206 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15207 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15208 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15209 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15212 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15213 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15214 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 ac_wine_try_cflags_saved
=$CFLAGS
15218 CFLAGS
="$CFLAGS -Wwrite-strings"
15219 cat >conftest.
$ac_ext <<_ACEOF
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15234 rm -f conftest.
$ac_objext conftest
$ac_exeext
15235 if { (ac_try
="$ac_link"
15236 case "(($ac_try" in
15237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_link") 2>conftest.er1
15243 grep -v '^ *+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest$ac_exeext &&
15251 $as_test_x conftest$ac_exeext; then
15252 ac_cv_cflags__Wwrite_strings=yes
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_cv_cflags__Wwrite_strings=no
15260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15261 conftest$ac_exeext conftest.$ac_ext
15262 CFLAGS=$ac_wine_try_cflags_saved
15264 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15265 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15266 if test $ac_cv_cflags__Wwrite_strings = yes; then
15267 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15271 saved_CFLAGS="$CFLAGS"
15272 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15273 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15274 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15275 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 cat >conftest.$ac_ext <<_ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 #include <string.h>
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
15310 ac_cv_c_string_h_warnings
=no
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15315 ac_cv_c_string_h_warnings
=yes
15318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15320 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15321 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15322 CFLAGS
="$saved_CFLAGS"
15323 if test "$ac_cv_c_string_h_warnings" = "no"
15325 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15330 saved_CFLAGS
="$CFLAGS"
15331 CFLAGS
="$CFLAGS -Werror"
15332 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15333 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15334 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 cat >conftest.
$ac_ext <<_ACEOF
15340 cat confdefs.h
>>conftest.
$ac_ext
15341 cat >>conftest.
$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15347 int iswlower(unsigned short);
15352 rm -f conftest.
$ac_objext
15353 if { (ac_try
="$ac_compile"
15354 case "(($ac_try" in
15355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_compile") 2>conftest.er1
15361 grep -v '^ *+' conftest.er1 >conftest.err
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest.$ac_objext; then
15369 ac_cv_c_builtin_wchar_ctype=no
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15374 ac_cv_c_builtin_wchar_ctype=yes
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15380 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15381 CFLAGS="$saved_CFLAGS"
15382 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15384 BUILTINFLAG="-fno-builtin"
15389 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15390 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15391 if test "${ac_cv_asm_func_def+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 cat >conftest.$ac_ext <<_ACEOF
15397 cat confdefs.h >>conftest.$ac_ext
15398 cat >>conftest.$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15404 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15409 rm -f conftest.$ac_objext conftest$ac_exeext
15410 if { (ac_try="$ac_link"
15411 case "(($ac_try" in
15412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15413 *) ac_try_echo
=$ac_try;;
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_link") 2>conftest.er1
15418 grep -v '^ *+' conftest.er1
>conftest.err
15420 cat conftest.err
>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest
$ac_exeext &&
15426 $as_test_x conftest
$ac_exeext; then
15427 ac_cv_asm_func_def
=".def"
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.
$ac_ext >&5
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15442 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15447 rm -f conftest.
$ac_objext conftest
$ac_exeext
15448 if { (ac_try
="$ac_link"
15449 case "(($ac_try" in
15450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15454 (eval "$ac_link") 2>conftest.er1
15456 grep -v '^ *+' conftest.er1 >conftest.err
15458 cat conftest.err >&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } && {
15461 test -z "$ac_c_werror_flag" ||
15462 test ! -s conftest.err
15463 } && test -s conftest$ac_exeext &&
15464 $as_test_x conftest$ac_exeext; then
15465 ac_cv_asm_func_def=".type @function"
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15470 cat >conftest.$ac_ext <<_ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15480 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15485 rm -f conftest.$ac_objext conftest$ac_exeext
15486 if { (ac_try="$ac_link"
15487 case "(($ac_try" in
15488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15489 *) ac_try_echo
=$ac_try;;
15491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15492 (eval "$ac_link") 2>conftest.er1
15494 grep -v '^ *+' conftest.er1
>conftest.err
15496 cat conftest.err
>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } && {
15499 test -z "$ac_c_werror_flag" ||
15500 test ! -s conftest.err
15501 } && test -s conftest
$ac_exeext &&
15502 $as_test_x conftest
$ac_exeext; then
15503 ac_cv_asm_func_def
=".type 2"
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.
$ac_ext >&5
15508 ac_cv_asm_func_def
="unknown"
15511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15512 conftest
$ac_exeext conftest.
$ac_ext
15515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15516 conftest
$ac_exeext conftest.
$ac_ext
15519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15520 conftest
$ac_exeext conftest.
$ac_ext
15522 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15523 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15527 case "$ac_cv_asm_func_def" in
15529 cat >>confdefs.h
<<\_ACEOF
15530 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15534 cat >>confdefs.h
<<\_ACEOF
15535 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15539 cat >>confdefs.h
<<\_ACEOF
15540 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15544 cat >>confdefs.h
<<\_ACEOF
15545 #define __ASM_FUNC(name) ""
15551 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15552 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15553 if test "${ac_cv_c_extern_prefix+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 cat >conftest.
$ac_ext <<_ACEOF
15559 cat confdefs.h
>>conftest.
$ac_ext
15560 cat >>conftest.
$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562 extern int ac_test;
15566 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15571 rm -f conftest.
$ac_objext conftest
$ac_exeext
15572 if { (ac_try
="$ac_link"
15573 case "(($ac_try" in
15574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;;
15577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15578 (eval "$ac_link") 2>conftest.er1
15580 grep -v '^ *+' conftest.er1 >conftest.err
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && {
15585 test -z "$ac_c_werror_flag" ||
15586 test ! -s conftest.err
15587 } && test -s conftest$ac_exeext &&
15588 $as_test_x conftest$ac_exeext; then
15589 ac_cv_c_extern_prefix="yes"
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.$ac_ext >&5
15594 ac_cv_c_extern_prefix="no"
15597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15598 conftest$ac_exeext conftest.$ac_ext
15600 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15601 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15605 if test "$ac_cv_c_extern_prefix" = "yes"
15607 cat >>confdefs.h <<\_ACEOF
15608 #define __ASM_NAME(name) "_" name
15612 cat >>confdefs.h <<\_ACEOF
15613 #define __ASM_NAME(name) name
15623 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15627 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15629 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15633 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15641 SOCKETLIBS="-lws2_32"
15646 MAIN_BINARY="wine-pthread"
15650 linux* | k*bsd*-gnu)
15651 MAIN_BINARY="wine-glibc"
15653 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15656 MAIN_BINARY="wine-freebsd"
15658 EXTRA_BINARIES="wine-pthread"
15792 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 cat >conftest.$ac_ext <<_ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15806 #define $ac_func innocuous_$ac_func
15808 /* System header to define __stub macros and hopefully few prototypes,
15809 which can conflict with char $ac_func (); below.
15810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15811 <limits.h> exists even on freestanding compilers. */
15814 # include <limits.h>
15816 # include <assert.h>
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined __stub_$ac_func || defined __stub___$ac_func
15838 return $ac_func ();
15843 rm -f conftest.$ac_objext conftest$ac_exeext
15844 if { (ac_try="$ac_link"
15845 case "(($ac_try" in
15846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15847 *) ac_try_echo
=$ac_try;;
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_link") 2>conftest.er1
15852 grep -v '^ *+' conftest.er1
>conftest.err
15854 cat conftest.err
>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } && {
15857 test -z "$ac_c_werror_flag" ||
15858 test ! -s conftest.err
15859 } && test -s conftest
$ac_exeext &&
15860 $as_test_x conftest
$ac_exeext; then
15861 eval "$as_ac_var=yes"
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 eval "$as_ac_var=no"
15869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15870 conftest
$ac_exeext conftest.
$ac_ext
15872 ac_res
=`eval echo '${'$as_ac_var'}'`
15873 { echo "$as_me:$LINENO: result: $ac_res" >&5
15874 echo "${ECHO_T}$ac_res" >&6; }
15875 if test `eval echo '${'$as_ac_var'}'` = yes; then
15876 cat >>confdefs.h
<<_ACEOF
15877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15884 if test "$ac_cv_func_dlopen" = no
15886 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15887 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15888 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 ac_check_lib_save_LIBS
=$LIBS
15893 cat >conftest.
$ac_ext <<_ACEOF
15896 cat confdefs.h
>>conftest.
$ac_ext
15897 cat >>conftest.
$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15900 /* Override any GCC internal prototype to avoid an error.
15901 Use char because int might match the return type of a GCC
15902 builtin and then its argument prototype would still apply. */
15915 rm -f conftest.
$ac_objext conftest
$ac_exeext
15916 if { (ac_try
="$ac_link"
15917 case "(($ac_try" in
15918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15919 *) ac_try_echo=$ac_try;;
15921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15922 (eval "$ac_link") 2>conftest.er1
15924 grep -v '^ *+' conftest.er1 >conftest.err
15926 cat conftest.err >&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && {
15929 test -z "$ac_c_werror_flag" ||
15930 test ! -s conftest.err
15931 } && test -s conftest$ac_exeext &&
15932 $as_test_x conftest$ac_exeext; then
15933 ac_cv_lib_dl_dlopen=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15938 ac_cv_lib_dl_dlopen=no
15941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15942 conftest$ac_exeext conftest.$ac_ext
15943 LIBS=$ac_check_lib_save_LIBS
15945 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15946 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15947 if test $ac_cv_lib_dl_dlopen = yes; then
15948 cat >>confdefs.h <<\_ACEOF
15949 #define HAVE_DLOPEN 1
15956 ac_wine_check_funcs_save_LIBS="$LIBS"
15957 LIBS="$LIBS $LIBDL"
15959 for ac_func in dladdr
15961 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 cat >conftest.$ac_ext <<_ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15975 #define $ac_func innocuous_$ac_func
15977 /* System header to define __stub macros and hopefully few prototypes,
15978 which can conflict with char $ac_func (); below.
15979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15980 <limits.h> exists even on freestanding compilers. */
15983 # include <limits.h>
15985 # include <assert.h>
15990 /* Override any GCC internal prototype to avoid an error.
15991 Use char because int might match the return type of a GCC
15992 builtin and then its argument prototype would still apply. */
15997 /* The GNU C library defines this for functions which it implements
15998 to always fail with ENOSYS. Some functions are actually named
15999 something starting with __ and the normal name is an alias. */
16000 #if defined __stub_$ac_func || defined __stub___$ac_func
16007 return $ac_func ();
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (ac_try="$ac_link"
16014 case "(($ac_try" in
16015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16016 *) ac_try_echo
=$ac_try;;
16018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16019 (eval "$ac_link") 2>conftest.er1
16021 grep -v '^ *+' conftest.er1
>conftest.err
16023 cat conftest.err
>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } && {
16026 test -z "$ac_c_werror_flag" ||
16027 test ! -s conftest.err
16028 } && test -s conftest
$ac_exeext &&
16029 $as_test_x conftest
$ac_exeext; then
16030 eval "$as_ac_var=yes"
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.
$ac_ext >&5
16035 eval "$as_ac_var=no"
16038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16039 conftest
$ac_exeext conftest.
$ac_ext
16041 ac_res
=`eval echo '${'$as_ac_var'}'`
16042 { echo "$as_me:$LINENO: result: $ac_res" >&5
16043 echo "${ECHO_T}$ac_res" >&6; }
16044 if test `eval echo '${'$as_ac_var'}'` = yes; then
16045 cat >>confdefs.h
<<_ACEOF
16046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16052 LIBS
="$ac_wine_check_funcs_save_LIBS"
16054 if test "$ac_cv_func_poll" = no
16056 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16057 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16058 if test "${ac_cv_lib_poll_poll+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 ac_check_lib_save_LIBS
=$LIBS
16062 LIBS
="-lpoll $LIBS"
16063 cat >conftest.
$ac_ext <<_ACEOF
16066 cat confdefs.h
>>conftest.
$ac_ext
16067 cat >>conftest.
$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16070 /* Override any GCC internal prototype to avoid an error.
16071 Use char because int might match the return type of a GCC
16072 builtin and then its argument prototype would still apply. */
16085 rm -f conftest.
$ac_objext conftest
$ac_exeext
16086 if { (ac_try
="$ac_link"
16087 case "(($ac_try" in
16088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_link") 2>conftest.er1
16094 grep -v '^ *+' conftest.er1 >conftest.err
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } && {
16099 test -z "$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16101 } && test -s conftest$ac_exeext &&
16102 $as_test_x conftest$ac_exeext; then
16103 ac_cv_lib_poll_poll=yes
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 ac_cv_lib_poll_poll=no
16111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16112 conftest$ac_exeext conftest.$ac_ext
16113 LIBS=$ac_check_lib_save_LIBS
16115 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16116 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16117 if test $ac_cv_lib_poll_poll = yes; then
16118 cat >>confdefs.h <<\_ACEOF
16119 #define HAVE_POLL 1
16127 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16128 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16129 if test "${ac_cv_search_gethostbyname+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 ac_func_search_save_LIBS=$LIBS
16133 cat >conftest.$ac_ext <<_ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16140 /* Override any GCC internal prototype to avoid an error.
16141 Use char because int might match the return type of a GCC
16142 builtin and then its argument prototype would still apply. */
16146 char gethostbyname ();
16150 return gethostbyname ();
16155 for ac_lib in '' nsl; do
16156 if test -z "$ac_lib"; then
16157 ac_res="none required"
16160 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 rm -f conftest.$ac_objext conftest$ac_exeext
16163 if { (ac_try="$ac_link"
16164 case "(($ac_try" in
16165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16166 *) ac_try_echo
=$ac_try;;
16168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16169 (eval "$ac_link") 2>conftest.er1
16171 grep -v '^ *+' conftest.er1
>conftest.err
16173 cat conftest.err
>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && {
16176 test -z "$ac_c_werror_flag" ||
16177 test ! -s conftest.err
16178 } && test -s conftest
$ac_exeext &&
16179 $as_test_x conftest
$ac_exeext; then
16180 ac_cv_search_gethostbyname
=$ac_res
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.
$ac_ext >&5
16188 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16190 if test "${ac_cv_search_gethostbyname+set}" = set; then
16194 if test "${ac_cv_search_gethostbyname+set}" = set; then
16197 ac_cv_search_gethostbyname
=no
16199 rm conftest.
$ac_ext
16200 LIBS
=$ac_func_search_save_LIBS
16202 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16203 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16204 ac_res
=$ac_cv_search_gethostbyname
16205 if test "$ac_res" != no
; then
16206 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16211 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16212 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16213 if test "${ac_cv_search_connect+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 ac_func_search_save_LIBS
=$LIBS
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16239 for ac_lib
in '' socket
; do
16240 if test -z "$ac_lib"; then
16241 ac_res
="none required"
16244 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16246 rm -f conftest.
$ac_objext conftest
$ac_exeext
16247 if { (ac_try
="$ac_link"
16248 case "(($ac_try" in
16249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16250 *) ac_try_echo=$ac_try;;
16252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16253 (eval "$ac_link") 2>conftest.er1
16255 grep -v '^ *+' conftest.er1 >conftest.err
16257 cat conftest.err >&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } && {
16260 test -z "$ac_c_werror_flag" ||
16261 test ! -s conftest.err
16262 } && test -s conftest$ac_exeext &&
16263 $as_test_x conftest$ac_exeext; then
16264 ac_cv_search_connect=$ac_res
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16274 if test "${ac_cv_search_connect+set}" = set; then
16278 if test "${ac_cv_search_connect+set}" = set; then
16281 ac_cv_search_connect=no
16283 rm conftest.$ac_ext
16284 LIBS=$ac_func_search_save_LIBS
16286 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16287 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16288 ac_res=$ac_cv_search_connect
16289 if test "$ac_res" != no; then
16290 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16295 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16296 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16297 if test "${ac_cv_search_inet_aton+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 ac_func_search_save_LIBS=$LIBS
16301 cat >conftest.$ac_ext <<_ACEOF
16304 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16308 /* Override any GCC internal prototype to avoid an error.
16309 Use char because int might match the return type of a GCC
16310 builtin and then its argument prototype would still apply. */
16318 return inet_aton ();
16323 for ac_lib in '' resolv; do
16324 if test -z "$ac_lib"; then
16325 ac_res="none required"
16328 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16330 rm -f conftest.$ac_objext conftest$ac_exeext
16331 if { (ac_try="$ac_link"
16332 case "(($ac_try" in
16333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16334 *) ac_try_echo
=$ac_try;;
16336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16337 (eval "$ac_link") 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } && {
16344 test -z "$ac_c_werror_flag" ||
16345 test ! -s conftest.err
16346 } && test -s conftest
$ac_exeext &&
16347 $as_test_x conftest
$ac_exeext; then
16348 ac_cv_search_inet_aton
=$ac_res
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.
$ac_ext >&5
16356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16358 if test "${ac_cv_search_inet_aton+set}" = set; then
16362 if test "${ac_cv_search_inet_aton+set}" = set; then
16365 ac_cv_search_inet_aton
=no
16367 rm conftest.
$ac_ext
16368 LIBS
=$ac_func_search_save_LIBS
16370 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16371 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16372 ac_res
=$ac_cv_search_inet_aton
16373 if test "$ac_res" != no
; then
16374 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16401 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 cat >conftest.
$ac_ext <<_ACEOF
16407 cat confdefs.h
>>conftest.
$ac_ext
16408 cat >>conftest.
$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16412 #define $ac_func innocuous_$ac_func
16414 /* System header to define __stub macros and hopefully few prototypes,
16415 which can conflict with char $ac_func (); below.
16416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16417 <limits.h> exists even on freestanding compilers. */
16420 # include <limits.h>
16422 # include <assert.h>
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined __stub_$ac_func || defined __stub___$ac_func
16444 return $ac_func ();
16449 rm -f conftest.
$ac_objext conftest
$ac_exeext
16450 if { (ac_try
="$ac_link"
16451 case "(($ac_try" in
16452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16458 grep -v '^ *+' conftest.er1 >conftest.err
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } && {
16463 test -z "$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16465 } && test -s conftest$ac_exeext &&
16466 $as_test_x conftest$ac_exeext; then
16467 eval "$as_ac_var=yes"
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16472 eval "$as_ac_var=no"
16475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16476 conftest$ac_exeext conftest.$ac_ext
16478 ac_res=`eval echo '${'$as_ac_var'}'`
16479 { echo "$as_me:$LINENO: result: $ac_res" >&5
16480 echo "${ECHO_T}$ac_res" >&6; }
16481 if test `eval echo '${'$as_ac_var'}'` = yes; then
16482 cat >>confdefs.h <<_ACEOF
16483 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16491 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16492 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16493 if test "${ac_cv_c_const+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16506 /* FIXME: Include the comments suggested by Paul. */
16507 #ifndef __cplusplus
16508 /* Ultrix mips cc rejects this. */
16509 typedef int charset[2];
16511 /* SunOS 4.1.1 cc rejects this. */
16512 char const *const *pcpcc;
16514 /* NEC SVR4.0.2 mips cc rejects this. */
16515 struct point {int x, y;};
16516 static struct point const zero = {0,0};
16517 /* AIX XL C 1.02.0.0 rejects this.
16518 It does not let you subtract one const X* pointer from another in
16519 an arm of an if-expression whose if-part is not a constant
16521 const char *g = "string";
16522 pcpcc = &g + (g ? g-g : 0);
16523 /* HPUX 7.0 cc rejects these. */
16525 ppc = (char**) pcpcc;
16526 pcpcc = (char const *const *) ppc;
16527 { /* SCO 3.2v4 cc rejects this. */
16529 char const *s = 0 ? (char *) 0 : (char const *) 0;
16534 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16535 int x[] = {25, 17};
16536 const int *foo = &x[0];
16539 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16540 typedef const int *iptr;
16544 { /* AIX XL C 1.02.0.0 rejects this saying
16545 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16546 struct s { int j; const int *ap[3]; };
16547 struct s *b; b->j = 5;
16549 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16550 const int foo = 10;
16551 if (!foo) return 0;
16553 return !cs[0] && !zero.x;
16560 rm -f conftest.$ac_objext
16561 if { (ac_try="$ac_compile"
16562 case "(($ac_try" in
16563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16564 *) ac_try_echo
=$ac_try;;
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_compile") 2>conftest.er1
16569 grep -v '^ *+' conftest.er1
>conftest.err
16571 cat conftest.err
>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest.
$ac_objext; then
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16587 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16588 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16589 if test $ac_cv_c_const = no
; then
16591 cat >>confdefs.h
<<\_ACEOF
16597 { echo "$as_me:$LINENO: checking for inline" >&5
16598 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16599 if test "${ac_cv_c_inline+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 for ac_kw
in inline __inline__ __inline
; do
16604 cat >conftest.
$ac_ext <<_ACEOF
16607 cat confdefs.h
>>conftest.
$ac_ext
16608 cat >>conftest.
$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #ifndef __cplusplus
16612 static $ac_kw foo_t static_foo () {return 0; }
16613 $ac_kw foo_t foo () {return 0; }
16617 rm -f conftest.
$ac_objext
16618 if { (ac_try
="$ac_compile"
16619 case "(($ac_try" in
16620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_compile") 2>conftest.er1
16626 grep -v '^ *+' conftest.er1 >conftest.err
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } && {
16631 test -z "$ac_c_werror_flag" ||
16632 test ! -s conftest.err
16633 } && test -s conftest.$ac_objext; then
16634 ac_cv_c_inline=$ac_kw
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16643 test "$ac_cv_c_inline" != no && break
16647 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16648 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16651 case $ac_cv_c_inline in
16654 case $ac_cv_c_inline in
16656 *) ac_val=$ac_cv_c_inline;;
16658 cat >>confdefs.h <<_ACEOF
16659 #ifndef __cplusplus
16660 #define inline $ac_val
16666 { echo "$as_me:$LINENO: checking for mode_t" >&5
16667 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16668 if test "${ac_cv_type_mode_t+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 cat >conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677 $ac_includes_default
16678 typedef mode_t ac__type_new_;
16682 if ((ac__type_new_ *) 0)
16684 if (sizeof (ac__type_new_))
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16694 *) ac_try_echo
=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16699 grep -v '^ *+' conftest.er1
>conftest.err
16701 cat conftest.err
>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.
$ac_objext; then
16707 ac_cv_type_mode_t
=yes
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.
$ac_ext >&5
16712 ac_cv_type_mode_t
=no
16715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16717 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16718 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16719 if test $ac_cv_type_mode_t = yes; then
16721 cat >>confdefs.h
<<_ACEOF
16722 #define HAVE_MODE_T 1
16727 { echo "$as_me:$LINENO: checking for off_t" >&5
16728 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16729 if test "${ac_cv_type_off_t+set}" = set; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738 $ac_includes_default
16739 typedef off_t ac__type_new_;
16743 if ((ac__type_new_ *) 0)
16745 if (sizeof (ac__type_new_))
16751 rm -f conftest.
$ac_objext
16752 if { (ac_try
="$ac_compile"
16753 case "(($ac_try" in
16754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16755 *) ac_try_echo=$ac_try;;
16757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16758 (eval "$ac_compile") 2>conftest.er1
16760 grep -v '^ *+' conftest.er1 >conftest.err
16762 cat conftest.err >&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } && {
16765 test -z "$ac_c_werror_flag" ||
16766 test ! -s conftest.err
16767 } && test -s conftest.$ac_objext; then
16768 ac_cv_type_off_t=yes
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_type_off_t=no
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16778 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16779 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16780 if test $ac_cv_type_off_t = yes; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_OFF_T 1
16788 { echo "$as_me:$LINENO: checking for pid_t" >&5
16789 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16790 if test "${ac_cv_type_pid_t+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 cat >conftest.$ac_ext <<_ACEOF
16796 cat confdefs.h >>conftest.$ac_ext
16797 cat >>conftest.$ac_ext <<_ACEOF
16798 /* end confdefs.h. */
16799 $ac_includes_default
16800 typedef pid_t ac__type_new_;
16804 if ((ac__type_new_ *) 0)
16806 if (sizeof (ac__type_new_))
16812 rm -f conftest.$ac_objext
16813 if { (ac_try="$ac_compile"
16814 case "(($ac_try" in
16815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16816 *) ac_try_echo
=$ac_try;;
16818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16819 (eval "$ac_compile") 2>conftest.er1
16821 grep -v '^ *+' conftest.er1
>conftest.err
16823 cat conftest.err
>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } && {
16826 test -z "$ac_c_werror_flag" ||
16827 test ! -s conftest.err
16828 } && test -s conftest.
$ac_objext; then
16829 ac_cv_type_pid_t
=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 ac_cv_type_pid_t
=no
16837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16839 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16840 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16841 if test $ac_cv_type_pid_t = yes; then
16843 cat >>confdefs.h
<<_ACEOF
16844 #define HAVE_PID_T 1
16849 { echo "$as_me:$LINENO: checking for size_t" >&5
16850 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16851 if test "${ac_cv_type_size_t+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 cat >conftest.
$ac_ext <<_ACEOF
16857 cat confdefs.h
>>conftest.
$ac_ext
16858 cat >>conftest.
$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 $ac_includes_default
16861 typedef size_t ac__type_new_;
16865 if ((ac__type_new_ *) 0)
16867 if (sizeof (ac__type_new_))
16873 rm -f conftest.
$ac_objext
16874 if { (ac_try
="$ac_compile"
16875 case "(($ac_try" in
16876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16880 (eval "$ac_compile") 2>conftest.er1
16882 grep -v '^ *+' conftest.er1 >conftest.err
16884 cat conftest.err >&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } && {
16887 test -z "$ac_c_werror_flag" ||
16888 test ! -s conftest.err
16889 } && test -s conftest.$ac_objext; then
16890 ac_cv_type_size_t=yes
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16895 ac_cv_type_size_t=no
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16901 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16902 if test $ac_cv_type_size_t = yes; then
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_SIZE_T 1
16910 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16911 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16912 if test "${ac_cv_type_ssize_t+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 cat >conftest.$ac_ext <<_ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16922 typedef ssize_t ac__type_new_;
16926 if ((ac__type_new_ *) 0)
16928 if (sizeof (ac__type_new_))
16934 rm -f conftest.$ac_objext
16935 if { (ac_try="$ac_compile"
16936 case "(($ac_try" in
16937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16938 *) ac_try_echo
=$ac_try;;
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_compile") 2>conftest.er1
16943 grep -v '^ *+' conftest.er1
>conftest.err
16945 cat conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } && {
16948 test -z "$ac_c_werror_flag" ||
16949 test ! -s conftest.err
16950 } && test -s conftest.
$ac_objext; then
16951 ac_cv_type_ssize_t
=yes
16953 echo "$as_me: failed program was:" >&5
16954 sed 's/^/| /' conftest.
$ac_ext >&5
16956 ac_cv_type_ssize_t
=no
16959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16961 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16962 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16963 if test $ac_cv_type_ssize_t = yes; then
16965 cat >>confdefs.h
<<_ACEOF
16966 #define HAVE_SSIZE_T 1
16971 { echo "$as_me:$LINENO: checking for long long" >&5
16972 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16973 if test "${ac_cv_type_long_long+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16976 cat >conftest.
$ac_ext <<_ACEOF
16979 cat confdefs.h
>>conftest.
$ac_ext
16980 cat >>conftest.
$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16983 typedef long long ac__type_new_;
16987 if ((ac__type_new_ *) 0)
16989 if (sizeof (ac__type_new_))
16995 rm -f conftest.
$ac_objext
16996 if { (ac_try
="$ac_compile"
16997 case "(($ac_try" in
16998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16999 *) ac_try_echo=$ac_try;;
17001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17002 (eval "$ac_compile") 2>conftest.er1
17004 grep -v '^ *+' conftest.er1 >conftest.err
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && {
17009 test -z "$ac_c_werror_flag" ||
17010 test ! -s conftest.err
17011 } && test -s conftest.$ac_objext; then
17012 ac_cv_type_long_long=yes
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17017 ac_cv_type_long_long=no
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17022 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17023 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17024 if test $ac_cv_type_long_long = yes; then
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_LONG_LONG 1
17032 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17033 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17034 if test "${ac_cv_type_fsblkcnt_t+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 $ac_includes_default
17044 typedef fsblkcnt_t ac__type_new_;
17048 if ((ac__type_new_ *) 0)
17050 if (sizeof (ac__type_new_))
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17060 *) ac_try_echo
=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17065 grep -v '^ *+' conftest.er1
>conftest.err
17067 cat conftest.err
>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.
$ac_objext; then
17073 ac_cv_type_fsblkcnt_t
=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 ac_cv_type_fsblkcnt_t
=no
17081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17084 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17085 if test $ac_cv_type_fsblkcnt_t = yes; then
17087 cat >>confdefs.h
<<_ACEOF
17088 #define HAVE_FSBLKCNT_T 1
17093 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17094 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17095 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 cat >conftest.
$ac_ext <<_ACEOF
17101 cat confdefs.h
>>conftest.
$ac_ext
17102 cat >>conftest.
$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 $ac_includes_default
17105 typedef fsfilcnt_t ac__type_new_;
17109 if ((ac__type_new_ *) 0)
17111 if (sizeof (ac__type_new_))
17117 rm -f conftest.
$ac_objext
17118 if { (ac_try
="$ac_compile"
17119 case "(($ac_try" in
17120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17121 *) ac_try_echo=$ac_try;;
17123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17124 (eval "$ac_compile") 2>conftest.er1
17126 grep -v '^ *+' conftest.er1 >conftest.err
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && {
17131 test -z "$ac_c_werror_flag" ||
17132 test ! -s conftest.err
17133 } && test -s conftest.$ac_objext; then
17134 ac_cv_type_fsfilcnt_t=yes
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 ac_cv_type_fsfilcnt_t=no
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17145 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17146 if test $ac_cv_type_fsfilcnt_t = yes; then
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_FSFILCNT_T 1
17155 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17156 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17157 if test "${ac_cv_type_sigset_t+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 cat >conftest.$ac_ext <<_ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 #include <signal.h>
17168 typedef sigset_t ac__type_new_;
17172 if ((ac__type_new_ *) 0)
17174 if (sizeof (ac__type_new_))
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17184 *) ac_try_echo
=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1
>conftest.err
17191 cat conftest.err
>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.
$ac_objext; then
17197 ac_cv_type_sigset_t
=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.
$ac_ext >&5
17202 ac_cv_type_sigset_t
=no
17205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17207 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17208 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17209 if test $ac_cv_type_sigset_t = yes; then
17211 cat >>confdefs.h
<<_ACEOF
17212 #define HAVE_SIGSET_T 1
17218 { echo "$as_me:$LINENO: checking for request_sense" >&5
17219 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17220 if test "${ac_cv_type_request_sense+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 #include <linux/cdrom.h>
17231 typedef request_sense ac__type_new_;
17235 if ((ac__type_new_ *) 0)
17237 if (sizeof (ac__type_new_))
17243 rm -f conftest.
$ac_objext
17244 if { (ac_try
="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17252 grep -v '^ *+' conftest.er1 >conftest.err
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 ac_cv_type_request_sense=yes
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17265 ac_cv_type_request_sense=no
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17271 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17272 if test $ac_cv_type_request_sense = yes; then
17274 cat >>confdefs.h <<_ACEOF
17275 #define HAVE_REQUEST_SENSE 1
17282 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17283 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17284 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.$ac_ext <<_ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 #ifdef HAVE_LINUX_INPUT_H
17294 #include <linux/input.h>
17300 static struct ff_effect ac_aggr;
17301 if (ac_aggr.direction)
17307 rm -f conftest.$ac_objext
17308 if { (ac_try="$ac_compile"
17309 case "(($ac_try" in
17310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17311 *) ac_try_echo
=$ac_try;;
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_compile") 2>conftest.er1
17316 grep -v '^ *+' conftest.er1
>conftest.err
17318 cat conftest.err
>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } && {
17321 test -z "$ac_c_werror_flag" ||
17322 test ! -s conftest.err
17323 } && test -s conftest.
$ac_objext; then
17324 ac_cv_member_struct_ff_effect_direction
=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 cat >conftest.
$ac_ext <<_ACEOF
17332 cat confdefs.h
>>conftest.
$ac_ext
17333 cat >>conftest.
$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 #ifdef HAVE_LINUX_INPUT_H
17336 #include <linux/input.h>
17342 static struct ff_effect ac_aggr;
17343 if (sizeof ac_aggr.direction)
17349 rm -f conftest.
$ac_objext
17350 if { (ac_try
="$ac_compile"
17351 case "(($ac_try" in
17352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17353 *) ac_try_echo=$ac_try;;
17355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_compile") 2>conftest.er1
17358 grep -v '^ *+' conftest.er1 >conftest.err
17360 cat conftest.err >&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } && {
17363 test -z "$ac_c_werror_flag" ||
17364 test ! -s conftest.err
17365 } && test -s conftest.$ac_objext; then
17366 ac_cv_member_struct_ff_effect_direction=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17371 ac_cv_member_struct_ff_effect_direction=no
17374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17380 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17381 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17391 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17392 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17393 if test "${wine_cv_have_sigaddset+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 cat >conftest.$ac_ext <<_ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 #include <signal.h>
17406 sigset_t set; sigaddset(&set,SIGTERM);
17411 rm -f conftest.$ac_objext conftest$ac_exeext
17412 if { (ac_try="$ac_link"
17413 case "(($ac_try" in
17414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17415 *) ac_try_echo
=$ac_try;;
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_link") 2>conftest.er1
17420 grep -v '^ *+' conftest.er1
>conftest.err
17422 cat conftest.err
>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest
$ac_exeext &&
17428 $as_test_x conftest
$ac_exeext; then
17429 wine_cv_have_sigaddset
=yes
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.
$ac_ext >&5
17434 wine_cv_have_sigaddset
=no
17437 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17438 conftest
$ac_exeext conftest.
$ac_ext
17440 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17441 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17442 if test "$wine_cv_have_sigaddset" = "yes"
17445 cat >>confdefs.h
<<\_ACEOF
17446 #define HAVE_SIGADDSET 1
17452 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17453 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17454 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17455 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 cat >conftest.
$ac_ext <<_ACEOF
17460 cat confdefs.h
>>conftest.
$ac_ext
17461 cat >>conftest.
$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17470 struct hostent *result;
17477 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17478 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17484 rm -f conftest.
$ac_objext conftest
$ac_exeext
17485 if { (ac_try
="$ac_link"
17486 case "(($ac_try" in
17487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_link") 2>conftest.er1
17493 grep -v '^ *+' conftest.er1 >conftest.err
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_c_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest$ac_exeext &&
17501 $as_test_x conftest$ac_exeext; then
17502 wine_cv_linux_gethostbyname_r_6=yes
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 wine_cv_linux_gethostbyname_r_6=no
17511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17512 conftest$ac_exeext conftest.$ac_ext
17515 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17516 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17517 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17526 if test "$ac_cv_header_linux_joystick_h" = "yes"
17528 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17529 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17530 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 cat >conftest.$ac_ext <<_ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17540 #include <sys/ioctl.h>
17541 #include <sys/types.h>
17542 #include <linux/joystick.h>
17544 struct js_event blub;
17545 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17546 #error "no 2.2 header"
17557 rm -f conftest.$ac_objext
17558 if { (ac_try="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17561 *) ac_try_echo
=$ac_try;;
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17566 grep -v '^ *+' conftest.er1
>conftest.err
17568 cat conftest.err
>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.
$ac_objext; then
17574 wine_cv_linux_joystick_22_api
=yes
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.
$ac_ext >&5
17579 wine_cv_linux_joystick_22_api
=no
17582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17585 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17586 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17587 if test "$wine_cv_linux_joystick_22_api" = "yes"
17590 cat >>confdefs.h
<<\_ACEOF
17591 #define HAVE_LINUX_22_JOYSTICK_API 1
17598 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17599 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17600 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 #include <sys/types.h>
17610 #ifdef HAVE_SYS_PARAM_H
17611 # include <sys/param.h>
17613 #ifdef HAVE_SYS_MOUNT_H
17614 # include <sys/mount.h>
17616 #ifdef HAVE_SYS_VFS_H
17617 # include <sys/vfs.h>
17619 #ifdef HAVE_SYS_STATFS_H
17620 # include <sys/statfs.h>
17626 static struct statfs ac_aggr;
17627 if (ac_aggr.f_bfree)
17633 rm -f conftest.
$ac_objext
17634 if { (ac_try
="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17642 grep -v '^ *+' conftest.er1 >conftest.err
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_c_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 ac_cv_member_struct_statfs_f_bfree=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 cat >conftest.$ac_ext <<_ACEOF
17658 cat confdefs.h >>conftest.$ac_ext
17659 cat >>conftest.$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17661 #include <sys/types.h>
17662 #ifdef HAVE_SYS_PARAM_H
17663 # include <sys/param.h>
17665 #ifdef HAVE_SYS_MOUNT_H
17666 # include <sys/mount.h>
17668 #ifdef HAVE_SYS_VFS_H
17669 # include <sys/vfs.h>
17671 #ifdef HAVE_SYS_STATFS_H
17672 # include <sys/statfs.h>
17678 static struct statfs ac_aggr;
17679 if (sizeof ac_aggr.f_bfree)
17685 rm -f conftest.$ac_objext
17686 if { (ac_try="$ac_compile"
17687 case "(($ac_try" in
17688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17689 *) ac_try_echo
=$ac_try;;
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_compile") 2>conftest.er1
17694 grep -v '^ *+' conftest.er1
>conftest.err
17696 cat conftest.err
>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest.
$ac_objext; then
17702 ac_cv_member_struct_statfs_f_bfree
=yes
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.
$ac_ext >&5
17707 ac_cv_member_struct_statfs_f_bfree
=no
17710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17716 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17717 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17719 cat >>confdefs.h
<<_ACEOF
17720 #define HAVE_STRUCT_STATFS_F_BFREE 1
17725 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17726 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17727 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 cat >conftest.
$ac_ext <<_ACEOF
17733 cat confdefs.h
>>conftest.
$ac_ext
17734 cat >>conftest.
$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 #include <sys/types.h>
17737 #ifdef HAVE_SYS_PARAM_H
17738 # include <sys/param.h>
17740 #ifdef HAVE_SYS_MOUNT_H
17741 # include <sys/mount.h>
17743 #ifdef HAVE_SYS_VFS_H
17744 # include <sys/vfs.h>
17746 #ifdef HAVE_SYS_STATFS_H
17747 # include <sys/statfs.h>
17753 static struct statfs ac_aggr;
17754 if (ac_aggr.f_bavail)
17760 rm -f conftest.
$ac_objext
17761 if { (ac_try
="$ac_compile"
17762 case "(($ac_try" in
17763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_compile") 2>conftest.er1
17769 grep -v '^ *+' conftest.er1 >conftest.err
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } && {
17774 test -z "$ac_c_werror_flag" ||
17775 test ! -s conftest.err
17776 } && test -s conftest.$ac_objext; then
17777 ac_cv_member_struct_statfs_f_bavail=yes
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 cat >conftest.$ac_ext <<_ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17788 #include <sys/types.h>
17789 #ifdef HAVE_SYS_PARAM_H
17790 # include <sys/param.h>
17792 #ifdef HAVE_SYS_MOUNT_H
17793 # include <sys/mount.h>
17795 #ifdef HAVE_SYS_VFS_H
17796 # include <sys/vfs.h>
17798 #ifdef HAVE_SYS_STATFS_H
17799 # include <sys/statfs.h>
17805 static struct statfs ac_aggr;
17806 if (sizeof ac_aggr.f_bavail)
17812 rm -f conftest.$ac_objext
17813 if { (ac_try="$ac_compile"
17814 case "(($ac_try" in
17815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17816 *) ac_try_echo
=$ac_try;;
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval "$ac_compile") 2>conftest.er1
17821 grep -v '^ *+' conftest.er1
>conftest.err
17823 cat conftest.err
>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && {
17826 test -z "$ac_c_werror_flag" ||
17827 test ! -s conftest.err
17828 } && test -s conftest.
$ac_objext; then
17829 ac_cv_member_struct_statfs_f_bavail
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_cv_member_struct_statfs_f_bavail
=no
17837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17842 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17843 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17844 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17846 cat >>confdefs.h
<<_ACEOF
17847 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17852 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17853 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17854 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 cat >conftest.
$ac_ext <<_ACEOF
17860 cat confdefs.h
>>conftest.
$ac_ext
17861 cat >>conftest.
$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 #include <sys/types.h>
17864 #ifdef HAVE_SYS_PARAM_H
17865 # include <sys/param.h>
17867 #ifdef HAVE_SYS_MOUNT_H
17868 # include <sys/mount.h>
17870 #ifdef HAVE_SYS_VFS_H
17871 # include <sys/vfs.h>
17873 #ifdef HAVE_SYS_STATFS_H
17874 # include <sys/statfs.h>
17880 static struct statfs ac_aggr;
17881 if (ac_aggr.f_frsize)
17887 rm -f conftest.
$ac_objext
17888 if { (ac_try
="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17896 grep -v '^ *+' conftest.er1 >conftest.err
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 ac_cv_member_struct_statfs_f_frsize=yes
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17909 cat >conftest.$ac_ext <<_ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 #include <sys/types.h>
17916 #ifdef HAVE_SYS_PARAM_H
17917 # include <sys/param.h>
17919 #ifdef HAVE_SYS_MOUNT_H
17920 # include <sys/mount.h>
17922 #ifdef HAVE_SYS_VFS_H
17923 # include <sys/vfs.h>
17925 #ifdef HAVE_SYS_STATFS_H
17926 # include <sys/statfs.h>
17932 static struct statfs ac_aggr;
17933 if (sizeof ac_aggr.f_frsize)
17939 rm -f conftest.$ac_objext
17940 if { (ac_try="$ac_compile"
17941 case "(($ac_try" in
17942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17943 *) ac_try_echo
=$ac_try;;
17945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 (eval "$ac_compile") 2>conftest.er1
17948 grep -v '^ *+' conftest.er1
>conftest.err
17950 cat conftest.err
>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); } && {
17953 test -z "$ac_c_werror_flag" ||
17954 test ! -s conftest.err
17955 } && test -s conftest.
$ac_objext; then
17956 ac_cv_member_struct_statfs_f_frsize
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_cv_member_struct_statfs_f_frsize
=no
17964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17969 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17970 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17971 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17973 cat >>confdefs.h
<<_ACEOF
17974 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17979 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17980 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17981 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 cat >conftest.
$ac_ext <<_ACEOF
17987 cat confdefs.h
>>conftest.
$ac_ext
17988 cat >>conftest.
$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SYS_PARAM_H
17992 # include <sys/param.h>
17994 #ifdef HAVE_SYS_MOUNT_H
17995 # include <sys/mount.h>
17997 #ifdef HAVE_SYS_VFS_H
17998 # include <sys/vfs.h>
18000 #ifdef HAVE_SYS_STATFS_H
18001 # include <sys/statfs.h>
18007 static struct statfs ac_aggr;
18008 if (ac_aggr.f_ffree)
18014 rm -f conftest.
$ac_objext
18015 if { (ac_try
="$ac_compile"
18016 case "(($ac_try" in
18017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18018 *) ac_try_echo=$ac_try;;
18020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18021 (eval "$ac_compile") 2>conftest.er1
18023 grep -v '^ *+' conftest.er1 >conftest.err
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } && {
18028 test -z "$ac_c_werror_flag" ||
18029 test ! -s conftest.err
18030 } && test -s conftest.$ac_objext; then
18031 ac_cv_member_struct_statfs_f_ffree=yes
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 cat >conftest.$ac_ext <<_ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 #include <sys/types.h>
18043 #ifdef HAVE_SYS_PARAM_H
18044 # include <sys/param.h>
18046 #ifdef HAVE_SYS_MOUNT_H
18047 # include <sys/mount.h>
18049 #ifdef HAVE_SYS_VFS_H
18050 # include <sys/vfs.h>
18052 #ifdef HAVE_SYS_STATFS_H
18053 # include <sys/statfs.h>
18059 static struct statfs ac_aggr;
18060 if (sizeof ac_aggr.f_ffree)
18066 rm -f conftest.$ac_objext
18067 if { (ac_try="$ac_compile"
18068 case "(($ac_try" in
18069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18070 *) ac_try_echo
=$ac_try;;
18072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18073 (eval "$ac_compile") 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } && {
18080 test -z "$ac_c_werror_flag" ||
18081 test ! -s conftest.err
18082 } && test -s conftest.
$ac_objext; then
18083 ac_cv_member_struct_statfs_f_ffree
=yes
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 ac_cv_member_struct_statfs_f_ffree
=no
18091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18096 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18097 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18098 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18100 cat >>confdefs.h
<<_ACEOF
18101 #define HAVE_STRUCT_STATFS_F_FFREE 1
18106 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18107 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18108 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.
$ac_ext <<_ACEOF
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 #include <sys/types.h>
18118 #ifdef HAVE_SYS_PARAM_H
18119 # include <sys/param.h>
18121 #ifdef HAVE_SYS_MOUNT_H
18122 # include <sys/mount.h>
18124 #ifdef HAVE_SYS_VFS_H
18125 # include <sys/vfs.h>
18127 #ifdef HAVE_SYS_STATFS_H
18128 # include <sys/statfs.h>
18134 static struct statfs ac_aggr;
18135 if (ac_aggr.f_favail)
18141 rm -f conftest.
$ac_objext
18142 if { (ac_try
="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18150 grep -v '^ *+' conftest.er1 >conftest.err
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_c_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18158 ac_cv_member_struct_statfs_f_favail=yes
18160 echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18163 cat >conftest.$ac_ext <<_ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169 #include <sys/types.h>
18170 #ifdef HAVE_SYS_PARAM_H
18171 # include <sys/param.h>
18173 #ifdef HAVE_SYS_MOUNT_H
18174 # include <sys/mount.h>
18176 #ifdef HAVE_SYS_VFS_H
18177 # include <sys/vfs.h>
18179 #ifdef HAVE_SYS_STATFS_H
18180 # include <sys/statfs.h>
18186 static struct statfs ac_aggr;
18187 if (sizeof ac_aggr.f_favail)
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18197 *) ac_try_echo
=$ac_try;;
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.
$ac_objext; then
18210 ac_cv_member_struct_statfs_f_favail
=yes
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 ac_cv_member_struct_statfs_f_favail
=no
18218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18223 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18224 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18225 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18227 cat >>confdefs.h
<<_ACEOF
18228 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18233 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18234 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18235 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #include <sys/types.h>
18245 #ifdef HAVE_SYS_PARAM_H
18246 # include <sys/param.h>
18248 #ifdef HAVE_SYS_MOUNT_H
18249 # include <sys/mount.h>
18251 #ifdef HAVE_SYS_VFS_H
18252 # include <sys/vfs.h>
18254 #ifdef HAVE_SYS_STATFS_H
18255 # include <sys/statfs.h>
18261 static struct statfs ac_aggr;
18262 if (ac_aggr.f_namelen)
18268 rm -f conftest.
$ac_objext
18269 if { (ac_try
="$ac_compile"
18270 case "(($ac_try" in
18271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_compile") 2>conftest.er1
18277 grep -v '^ *+' conftest.er1 >conftest.err
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } && {
18282 test -z "$ac_c_werror_flag" ||
18283 test ! -s conftest.err
18284 } && test -s conftest.$ac_objext; then
18285 ac_cv_member_struct_statfs_f_namelen=yes
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18290 cat >conftest.$ac_ext <<_ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 #include <sys/types.h>
18297 #ifdef HAVE_SYS_PARAM_H
18298 # include <sys/param.h>
18300 #ifdef HAVE_SYS_MOUNT_H
18301 # include <sys/mount.h>
18303 #ifdef HAVE_SYS_VFS_H
18304 # include <sys/vfs.h>
18306 #ifdef HAVE_SYS_STATFS_H
18307 # include <sys/statfs.h>
18313 static struct statfs ac_aggr;
18314 if (sizeof ac_aggr.f_namelen)
18320 rm -f conftest.$ac_objext
18321 if { (ac_try="$ac_compile"
18322 case "(($ac_try" in
18323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18324 *) ac_try_echo
=$ac_try;;
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_compile") 2>conftest.er1
18329 grep -v '^ *+' conftest.er1
>conftest.err
18331 cat conftest.err
>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_c_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest.
$ac_objext; then
18337 ac_cv_member_struct_statfs_f_namelen
=yes
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.
$ac_ext >&5
18342 ac_cv_member_struct_statfs_f_namelen
=no
18345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18351 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18352 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18354 cat >>confdefs.h
<<_ACEOF
18355 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18362 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18363 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18364 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 cat >conftest.
$ac_ext <<_ACEOF
18370 cat confdefs.h
>>conftest.
$ac_ext
18371 cat >>conftest.
$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 #ifdef HAVE_SYS_STATVFS_H
18374 #include <sys/statvfs.h>
18380 static struct statvfs ac_aggr;
18381 if (ac_aggr.f_blocks)
18387 rm -f conftest.
$ac_objext
18388 if { (ac_try
="$ac_compile"
18389 case "(($ac_try" in
18390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_compile") 2>conftest.er1
18396 grep -v '^ *+' conftest.er1 >conftest.err
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } && {
18401 test -z "$ac_c_werror_flag" ||
18402 test ! -s conftest.err
18403 } && test -s conftest.$ac_objext; then
18404 ac_cv_member_struct_statvfs_f_blocks=yes
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 cat >conftest.$ac_ext <<_ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 #ifdef HAVE_SYS_STATVFS_H
18416 #include <sys/statvfs.h>
18422 static struct statvfs ac_aggr;
18423 if (sizeof ac_aggr.f_blocks)
18429 rm -f conftest.$ac_objext
18430 if { (ac_try="$ac_compile"
18431 case "(($ac_try" in
18432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18433 *) ac_try_echo
=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compile") 2>conftest.er1
18438 grep -v '^ *+' conftest.er1
>conftest.err
18440 cat conftest.err
>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } && {
18443 test -z "$ac_c_werror_flag" ||
18444 test ! -s conftest.err
18445 } && test -s conftest.
$ac_objext; then
18446 ac_cv_member_struct_statvfs_f_blocks
=yes
18448 echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.
$ac_ext >&5
18451 ac_cv_member_struct_statvfs_f_blocks
=no
18454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18459 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18460 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18461 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18463 cat >>confdefs.h
<<_ACEOF
18464 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18471 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18472 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18473 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 cat >conftest.
$ac_ext <<_ACEOF
18479 cat confdefs.h
>>conftest.
$ac_ext
18480 cat >>conftest.
$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 #include <sys/types.h>
18483 #ifdef HAVE_SYS_SOCKET_H
18484 # include <sys/socket.h>
18486 #ifdef HAVE_SYS_UN_H
18487 # include <sys/un.h>
18493 static struct msghdr ac_aggr;
18494 if (ac_aggr.msg_accrights)
18500 rm -f conftest.
$ac_objext
18501 if { (ac_try
="$ac_compile"
18502 case "(($ac_try" in
18503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18504 *) ac_try_echo=$ac_try;;
18506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507 (eval "$ac_compile") 2>conftest.er1
18509 grep -v '^ *+' conftest.er1 >conftest.err
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } && {
18514 test -z "$ac_c_werror_flag" ||
18515 test ! -s conftest.err
18516 } && test -s conftest.$ac_objext; then
18517 ac_cv_member_struct_msghdr_msg_accrights=yes
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18522 cat >conftest.$ac_ext <<_ACEOF
18525 cat confdefs.h >>conftest.$ac_ext
18526 cat >>conftest.$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_SOCKET_H
18530 # include <sys/socket.h>
18532 #ifdef HAVE_SYS_UN_H
18533 # include <sys/un.h>
18539 static struct msghdr ac_aggr;
18540 if (sizeof ac_aggr.msg_accrights)
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_msghdr_msg_accrights
=yes
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.
$ac_ext >&5
18568 ac_cv_member_struct_msghdr_msg_accrights
=no
18571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18577 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18578 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18580 cat >>confdefs.h
<<_ACEOF
18581 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18586 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18587 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18588 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 cat >conftest.
$ac_ext <<_ACEOF
18594 cat confdefs.h
>>conftest.
$ac_ext
18595 cat >>conftest.
$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 #include <sys/types.h>
18598 #ifdef HAVE_SYS_SOCKET_H
18599 # include <sys/socket.h>
18601 #ifdef HAVE_SYS_UN_H
18602 # include <sys/un.h>
18608 static struct sockaddr ac_aggr;
18609 if (ac_aggr.sa_len)
18615 rm -f conftest.
$ac_objext
18616 if { (ac_try
="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18624 grep -v '^ *+' conftest.er1 >conftest.err
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.$ac_objext; then
18632 ac_cv_member_struct_sockaddr_sa_len=yes
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 cat >conftest.$ac_ext <<_ACEOF
18640 cat confdefs.h >>conftest.$ac_ext
18641 cat >>conftest.$ac_ext <<_ACEOF
18642 /* end confdefs.h. */
18643 #include <sys/types.h>
18644 #ifdef HAVE_SYS_SOCKET_H
18645 # include <sys/socket.h>
18647 #ifdef HAVE_SYS_UN_H
18648 # include <sys/un.h>
18654 static struct sockaddr ac_aggr;
18655 if (sizeof ac_aggr.sa_len)
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18665 *) ac_try_echo
=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1
>conftest.err
18672 cat conftest.err
>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.
$ac_objext; then
18678 ac_cv_member_struct_sockaddr_sa_len
=yes
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.
$ac_ext >&5
18683 ac_cv_member_struct_sockaddr_sa_len
=no
18686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18692 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18693 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18695 cat >>confdefs.h
<<_ACEOF
18696 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18701 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18702 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18703 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 cat >conftest.
$ac_ext <<_ACEOF
18709 cat confdefs.h
>>conftest.
$ac_ext
18710 cat >>conftest.
$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712 #include <sys/types.h>
18713 #ifdef HAVE_SYS_SOCKET_H
18714 # include <sys/socket.h>
18716 #ifdef HAVE_SYS_UN_H
18717 # include <sys/un.h>
18723 static struct sockaddr_un ac_aggr;
18724 if (ac_aggr.sun_len)
18730 rm -f conftest.
$ac_objext
18731 if { (ac_try
="$ac_compile"
18732 case "(($ac_try" in
18733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18734 *) ac_try_echo=$ac_try;;
18736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18737 (eval "$ac_compile") 2>conftest.er1
18739 grep -v '^ *+' conftest.er1 >conftest.err
18741 cat conftest.err >&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } && {
18744 test -z "$ac_c_werror_flag" ||
18745 test ! -s conftest.err
18746 } && test -s conftest.$ac_objext; then
18747 ac_cv_member_struct_sockaddr_un_sun_len=yes
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 cat >conftest.$ac_ext <<_ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <sys/types.h>
18759 #ifdef HAVE_SYS_SOCKET_H
18760 # include <sys/socket.h>
18762 #ifdef HAVE_SYS_UN_H
18763 # include <sys/un.h>
18769 static struct sockaddr_un ac_aggr;
18770 if (sizeof ac_aggr.sun_len)
18776 rm -f conftest.$ac_objext
18777 if { (ac_try="$ac_compile"
18778 case "(($ac_try" in
18779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18780 *) ac_try_echo
=$ac_try;;
18782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_compile") 2>conftest.er1
18785 grep -v '^ *+' conftest.er1
>conftest.err
18787 cat conftest.err
>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } && {
18790 test -z "$ac_c_werror_flag" ||
18791 test ! -s conftest.err
18792 } && test -s conftest.
$ac_objext; then
18793 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.
$ac_ext >&5
18798 ac_cv_member_struct_sockaddr_un_sun_len
=no
18801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18806 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18807 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18808 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18810 cat >>confdefs.h
<<_ACEOF
18811 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18818 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18819 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18820 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 cat >conftest.
$ac_ext <<_ACEOF
18826 cat confdefs.h
>>conftest.
$ac_ext
18827 cat >>conftest.
$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 #include <sys/types.h>
18830 #ifdef HAVE_SCSI_SG_H
18831 #include <scsi/sg.h>
18837 static scsireq_t ac_aggr;
18844 rm -f conftest.
$ac_objext
18845 if { (ac_try
="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18853 grep -v '^ *+' conftest.er1 >conftest.err
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.$ac_objext; then
18861 ac_cv_member_scsireq_t_cmd=yes
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18866 cat >conftest.$ac_ext <<_ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <sys/types.h>
18873 #ifdef HAVE_SCSI_SG_H
18874 #include <scsi/sg.h>
18880 static scsireq_t ac_aggr;
18881 if (sizeof ac_aggr.cmd)
18887 rm -f conftest.$ac_objext
18888 if { (ac_try="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18891 *) ac_try_echo
=$ac_try;;
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18896 grep -v '^ *+' conftest.er1
>conftest.err
18898 cat conftest.err
>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_c_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.
$ac_objext; then
18904 ac_cv_member_scsireq_t_cmd
=yes
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.
$ac_ext >&5
18909 ac_cv_member_scsireq_t_cmd
=no
18912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18917 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18918 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18919 if test $ac_cv_member_scsireq_t_cmd = yes; then
18921 cat >>confdefs.h
<<_ACEOF
18922 #define HAVE_SCSIREQ_T_CMD 1
18927 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18928 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18929 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 cat >conftest.
$ac_ext <<_ACEOF
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 #include <sys/types.h>
18939 #ifdef HAVE_SCSI_SG_H
18940 #include <scsi/sg.h>
18946 static sg_io_hdr_t ac_aggr;
18947 if (ac_aggr.interface_id)
18953 rm -f conftest.
$ac_objext
18954 if { (ac_try
="$ac_compile"
18955 case "(($ac_try" in
18956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_compile") 2>conftest.er1
18962 grep -v '^ *+' conftest.er1 >conftest.err
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } && {
18967 test -z "$ac_c_werror_flag" ||
18968 test ! -s conftest.err
18969 } && test -s conftest.$ac_objext; then
18970 ac_cv_member_sg_io_hdr_t_interface_id=yes
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 cat >conftest.$ac_ext <<_ACEOF
18978 cat confdefs.h >>conftest.$ac_ext
18979 cat >>conftest.$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <sys/types.h>
18982 #ifdef HAVE_SCSI_SG_H
18983 #include <scsi/sg.h>
18989 static sg_io_hdr_t ac_aggr;
18990 if (sizeof ac_aggr.interface_id)
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19000 *) ac_try_echo
=$ac_try;;
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.
$ac_objext; then
19013 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.
$ac_ext >&5
19018 ac_cv_member_sg_io_hdr_t_interface_id
=no
19021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19026 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19027 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19028 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19030 cat >>confdefs.h
<<_ACEOF
19031 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19038 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19039 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19040 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 cat >conftest.
$ac_ext <<_ACEOF
19046 cat confdefs.h
>>conftest.
$ac_ext
19047 cat >>conftest.
$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 #include <signal.h>
19054 static siginfo_t ac_aggr;
19061 rm -f conftest.
$ac_objext
19062 if { (ac_try
="$ac_compile"
19063 case "(($ac_try" in
19064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compile") 2>conftest.er1
19070 grep -v '^ *+' conftest.er1 >conftest.err
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && {
19075 test -z "$ac_c_werror_flag" ||
19076 test ! -s conftest.err
19077 } && test -s conftest.$ac_objext; then
19078 ac_cv_member_siginfo_t_si_fd=yes
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19083 cat >conftest.$ac_ext <<_ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 #include <signal.h>
19094 static siginfo_t ac_aggr;
19095 if (sizeof ac_aggr.si_fd)
19101 rm -f conftest.$ac_objext
19102 if { (ac_try="$ac_compile"
19103 case "(($ac_try" in
19104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19105 *) ac_try_echo
=$ac_try;;
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_compile") 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } && {
19115 test -z "$ac_c_werror_flag" ||
19116 test ! -s conftest.err
19117 } && test -s conftest.
$ac_objext; then
19118 ac_cv_member_siginfo_t_si_fd
=yes
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.
$ac_ext >&5
19123 ac_cv_member_siginfo_t_si_fd
=no
19126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19131 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19132 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19133 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19135 cat >>confdefs.h
<<_ACEOF
19136 #define HAVE_SIGINFO_T_SI_FD 1
19143 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19144 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19145 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
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_MTIO_H
19156 #include <sys/mtio.h>
19162 static struct mtget ac_aggr;
19163 if (ac_aggr.mt_blksiz)
19169 rm -f conftest.
$ac_objext
19170 if { (ac_try
="$ac_compile"
19171 case "(($ac_try" in
19172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19173 *) ac_try_echo=$ac_try;;
19175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19176 (eval "$ac_compile") 2>conftest.er1
19178 grep -v '^ *+' conftest.er1 >conftest.err
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } && {
19183 test -z "$ac_c_werror_flag" ||
19184 test ! -s conftest.err
19185 } && test -s conftest.$ac_objext; then
19186 ac_cv_member_struct_mtget_mt_blksiz=yes
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19191 cat >conftest.$ac_ext <<_ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <sys/types.h>
19198 #ifdef HAVE_SYS_MTIO_H
19199 #include <sys/mtio.h>
19205 static struct mtget ac_aggr;
19206 if (sizeof ac_aggr.mt_blksiz)
19212 rm -f conftest.$ac_objext
19213 if { (ac_try="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19216 *) ac_try_echo
=$ac_try;;
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19221 grep -v '^ *+' conftest.er1
>conftest.err
19223 cat conftest.err
>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } && {
19226 test -z "$ac_c_werror_flag" ||
19227 test ! -s conftest.err
19228 } && test -s conftest.
$ac_objext; then
19229 ac_cv_member_struct_mtget_mt_blksiz
=yes
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.
$ac_ext >&5
19234 ac_cv_member_struct_mtget_mt_blksiz
=no
19237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19243 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19244 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19246 cat >>confdefs.h
<<_ACEOF
19247 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19252 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19253 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19254 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 cat >conftest.
$ac_ext <<_ACEOF
19260 cat confdefs.h
>>conftest.
$ac_ext
19261 cat >>conftest.
$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 #include <sys/types.h>
19264 #ifdef HAVE_SYS_MTIO_H
19265 #include <sys/mtio.h>
19271 static struct mtget ac_aggr;
19272 if (ac_aggr.mt_gstat)
19278 rm -f conftest.
$ac_objext
19279 if { (ac_try
="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1 >conftest.err
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 ac_cv_member_struct_mtget_mt_gstat=yes
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 cat >conftest.$ac_ext <<_ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <sys/types.h>
19307 #ifdef HAVE_SYS_MTIO_H
19308 #include <sys/mtio.h>
19314 static struct mtget ac_aggr;
19315 if (sizeof ac_aggr.mt_gstat)
19321 rm -f conftest.$ac_objext
19322 if { (ac_try="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19325 *) ac_try_echo
=$ac_try;;
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19330 grep -v '^ *+' conftest.er1
>conftest.err
19332 cat conftest.err
>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.
$ac_objext; then
19338 ac_cv_member_struct_mtget_mt_gstat
=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19343 ac_cv_member_struct_mtget_mt_gstat
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19351 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19352 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19353 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19355 cat >>confdefs.h
<<_ACEOF
19356 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19361 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19362 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19363 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_MTIO_H
19374 #include <sys/mtio.h>
19380 static struct mtget ac_aggr;
19381 if (ac_aggr.mt_blkno)
19387 rm -f conftest.
$ac_objext
19388 if { (ac_try
="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval "$ac_compile") 2>conftest.er1
19396 grep -v '^ *+' conftest.er1 >conftest.err
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && {
19401 test -z "$ac_c_werror_flag" ||
19402 test ! -s conftest.err
19403 } && test -s conftest.$ac_objext; then
19404 ac_cv_member_struct_mtget_mt_blkno=yes
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 cat >conftest.$ac_ext <<_ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <sys/types.h>
19416 #ifdef HAVE_SYS_MTIO_H
19417 #include <sys/mtio.h>
19423 static struct mtget ac_aggr;
19424 if (sizeof ac_aggr.mt_blkno)
19430 rm -f conftest.$ac_objext
19431 if { (ac_try="$ac_compile"
19432 case "(($ac_try" in
19433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19434 *) ac_try_echo
=$ac_try;;
19436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19437 (eval "$ac_compile") 2>conftest.er1
19439 grep -v '^ *+' conftest.er1
>conftest.err
19441 cat conftest.err
>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } && {
19444 test -z "$ac_c_werror_flag" ||
19445 test ! -s conftest.err
19446 } && test -s conftest.
$ac_objext; then
19447 ac_cv_member_struct_mtget_mt_blkno
=yes
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.
$ac_ext >&5
19452 ac_cv_member_struct_mtget_mt_blkno
=no
19455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19461 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19462 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19464 cat >>confdefs.h
<<_ACEOF
19465 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19472 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19473 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19474 if test "${ac_cv_member_struct_option_name+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 #ifdef HAVE_GETOPT_H
19484 #include <getopt.h>
19490 static struct option ac_aggr;
19497 rm -f conftest.
$ac_objext
19498 if { (ac_try
="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1 >conftest.err
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_cv_member_struct_option_name=yes
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 cat >conftest.$ac_ext <<_ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #ifdef HAVE_GETOPT_H
19526 #include <getopt.h>
19532 static struct option ac_aggr;
19533 if (sizeof ac_aggr.name)
19539 rm -f conftest.$ac_objext
19540 if { (ac_try="$ac_compile"
19541 case "(($ac_try" in
19542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19543 *) ac_try_echo
=$ac_try;;
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_compile") 2>conftest.er1
19548 grep -v '^ *+' conftest.er1
>conftest.err
19550 cat conftest.err
>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } && {
19553 test -z "$ac_c_werror_flag" ||
19554 test ! -s conftest.err
19555 } && test -s conftest.
$ac_objext; then
19556 ac_cv_member_struct_option_name
=yes
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.
$ac_ext >&5
19561 ac_cv_member_struct_option_name
=no
19564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19570 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19571 if test $ac_cv_member_struct_option_name = yes; then
19573 cat >>confdefs.h
<<_ACEOF
19574 #define HAVE_STRUCT_OPTION_NAME 1
19581 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19582 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19583 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19596 static struct stat ac_aggr;
19597 if (ac_aggr.st_blocks)
19603 rm -f conftest.
$ac_objext
19604 if { (ac_try
="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19612 grep -v '^ *+' conftest.er1 >conftest.err
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 ac_cv_member_struct_stat_st_blocks=yes
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19635 static struct stat ac_aggr;
19636 if (sizeof ac_aggr.st_blocks)
19642 rm -f conftest.$ac_objext
19643 if { (ac_try="$ac_compile"
19644 case "(($ac_try" in
19645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19646 *) ac_try_echo
=$ac_try;;
19648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19649 (eval "$ac_compile") 2>conftest.er1
19651 grep -v '^ *+' conftest.er1
>conftest.err
19653 cat conftest.err
>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && {
19656 test -z "$ac_c_werror_flag" ||
19657 test ! -s conftest.err
19658 } && test -s conftest.
$ac_objext; then
19659 ac_cv_member_struct_stat_st_blocks
=yes
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.
$ac_ext >&5
19664 ac_cv_member_struct_stat_st_blocks
=no
19667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19673 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19674 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19676 cat >>confdefs.h
<<_ACEOF
19677 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19684 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19685 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19686 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 cat >conftest.
$ac_ext <<_ACEOF
19692 cat confdefs.h
>>conftest.
$ac_ext
19693 cat >>conftest.
$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #ifdef HAVE_SYS_TYPES_H
19696 #include <sys/types.h>
19698 #ifdef HAVE_NETINET_IN_H
19699 #include <netinet/in.h>
19705 static struct sockaddr_in6 ac_aggr;
19706 if (ac_aggr.sin6_scope_id)
19712 rm -f conftest.
$ac_objext
19713 if { (ac_try
="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19729 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 cat >conftest.$ac_ext <<_ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #ifdef HAVE_SYS_TYPES_H
19741 #include <sys/types.h>
19743 #ifdef HAVE_NETINET_IN_H
19744 #include <netinet/in.h>
19750 static struct sockaddr_in6 ac_aggr;
19751 if (sizeof ac_aggr.sin6_scope_id)
19757 rm -f conftest.$ac_objext
19758 if { (ac_try="$ac_compile"
19759 case "(($ac_try" in
19760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19761 *) ac_try_echo
=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_compile") 2>conftest.er1
19766 grep -v '^ *+' conftest.er1
>conftest.err
19768 cat conftest.err
>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } && {
19771 test -z "$ac_c_werror_flag" ||
19772 test ! -s conftest.err
19773 } && test -s conftest.
$ac_objext; then
19774 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.
$ac_ext >&5
19779 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19788 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19789 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19791 cat >>confdefs.h
<<_ACEOF
19792 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19799 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19800 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19801 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #ifdef HAVE_SYS_TYPES_H
19811 #include <sys/types.h>
19813 #ifdef HAVE_NETINET_IN_H
19814 # include <netinet/in.h>
19816 #ifdef HAVE_ARPA_NAMESER_H
19817 # include <arpa/nameser.h>
19823 static ns_msg ac_aggr;
19824 if (ac_aggr._msg_ptr)
19830 rm -f conftest.
$ac_objext
19831 if { (ac_try
="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_compile") 2>conftest.er1
19839 grep -v '^ *+' conftest.er1 >conftest.err
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && {
19844 test -z "$ac_c_werror_flag" ||
19845 test ! -s conftest.err
19846 } && test -s conftest.$ac_objext; then
19847 ac_cv_member_ns_msg__msg_ptr=yes
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 cat >conftest.$ac_ext <<_ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 #ifdef HAVE_SYS_TYPES_H
19859 #include <sys/types.h>
19861 #ifdef HAVE_NETINET_IN_H
19862 # include <netinet/in.h>
19864 #ifdef HAVE_ARPA_NAMESER_H
19865 # include <arpa/nameser.h>
19871 static ns_msg ac_aggr;
19872 if (sizeof ac_aggr._msg_ptr)
19878 rm -f conftest.$ac_objext
19879 if { (ac_try="$ac_compile"
19880 case "(($ac_try" in
19881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19882 *) ac_try_echo
=$ac_try;;
19884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19885 (eval "$ac_compile") 2>conftest.er1
19887 grep -v '^ *+' conftest.er1
>conftest.err
19889 cat conftest.err
>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } && {
19892 test -z "$ac_c_werror_flag" ||
19893 test ! -s conftest.err
19894 } && test -s conftest.
$ac_objext; then
19895 ac_cv_member_ns_msg__msg_ptr
=yes
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 ac_cv_member_ns_msg__msg_ptr
=no
19903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19908 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19909 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19910 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19912 cat >>confdefs.h
<<_ACEOF
19913 #define HAVE_NS_MSG__MSG_PTR 1
19920 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19921 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19922 if test "${ac_cv_have_timezone+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 cat >conftest.
$ac_ext <<_ACEOF
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19940 rm -f conftest.
$ac_objext conftest
$ac_exeext
19941 if { (ac_try
="$ac_link"
19942 case "(($ac_try" in
19943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_link") 2>conftest.er1
19949 grep -v '^ *+' conftest.er1 >conftest.err
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest$ac_exeext &&
19957 $as_test_x conftest$ac_exeext; then
19958 ac_cv_have_timezone="yes"
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_cv_have_timezone="no"
19966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19967 conftest$ac_exeext conftest.$ac_ext
19969 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19970 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19971 if test "$ac_cv_have_timezone" = "yes"
19974 cat >>confdefs.h <<\_ACEOF
19975 #define HAVE_TIMEZONE 1
19979 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19980 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19981 if test "${ac_cv_have_daylight+set}" = set; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 cat >conftest.$ac_ext <<_ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19999 rm -f conftest.$ac_objext conftest$ac_exeext
20000 if { (ac_try="$ac_link"
20001 case "(($ac_try" in
20002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20003 *) ac_try_echo
=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_link") 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest
$ac_exeext &&
20016 $as_test_x conftest
$ac_exeext; then
20017 ac_cv_have_daylight
="yes"
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.
$ac_ext >&5
20022 ac_cv_have_daylight
="no"
20025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20026 conftest
$ac_exeext conftest.
$ac_ext
20028 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20029 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20030 if test "$ac_cv_have_daylight" = "yes"
20033 cat >>confdefs.h
<<\_ACEOF
20034 #define HAVE_DAYLIGHT 1
20041 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20042 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20043 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20057 $EGREP "yes" >/dev
/null
2>&1; then
20058 ac_cv_cpp_def___i386__
=yes
20060 ac_cv_cpp_def___i386__
=no
20065 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20066 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20067 if test $ac_cv_cpp_def___i386__ = yes; then
20068 CFLAGS
="$CFLAGS -D__i386__"
20069 LINTFLAGS
="$LINTFLAGS -D__i386__"
20072 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20073 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20074 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20075 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 cat >conftest.
$ac_ext <<_ACEOF
20080 cat confdefs.h
>>conftest.
$ac_ext
20081 cat >>conftest.
$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20088 $EGREP "yes" >/dev
/null
2>&1; then
20089 ac_cv_cpp_def___x86_64__
=yes
20091 ac_cv_cpp_def___x86_64__
=no
20096 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20097 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20098 if test $ac_cv_cpp_def___x86_64__ = yes; then
20099 CFLAGS
="$CFLAGS -D__x86_64__"
20100 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20103 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20104 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20105 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 cat >conftest.
$ac_ext <<_ACEOF
20111 cat confdefs.h
>>conftest.
$ac_ext
20112 cat >>conftest.
$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20119 $EGREP "yes" >/dev
/null
2>&1; then
20120 ac_cv_cpp_def___ALPHA__
=yes
20122 ac_cv_cpp_def___ALPHA__
=no
20127 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20128 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20129 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20130 CFLAGS
="$CFLAGS -D__ALPHA__"
20131 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20134 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20135 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20136 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20137 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 cat >conftest.
$ac_ext <<_ACEOF
20142 cat confdefs.h
>>conftest.
$ac_ext
20143 cat >>conftest.
$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20150 $EGREP "yes" >/dev
/null
2>&1; then
20151 ac_cv_cpp_def___sparc__
=yes
20153 ac_cv_cpp_def___sparc__
=no
20158 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20159 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20160 if test $ac_cv_cpp_def___sparc__ = yes; then
20161 CFLAGS
="$CFLAGS -D__sparc__"
20162 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20165 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20166 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20167 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 cat >conftest.
$ac_ext <<_ACEOF
20173 cat confdefs.h
>>conftest.
$ac_ext
20174 cat >>conftest.
$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 #ifndef __powerpc__
20180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20181 $EGREP "yes" >/dev
/null
2>&1; then
20182 ac_cv_cpp_def___powerpc__
=yes
20184 ac_cv_cpp_def___powerpc__
=no
20189 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20190 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20191 if test $ac_cv_cpp_def___powerpc__ = yes; then
20192 CFLAGS
="$CFLAGS -D__powerpc__"
20193 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20198 case $host_vendor in
20199 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20200 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20201 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20202 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 cat >conftest.
$ac_ext <<_ACEOF
20207 cat confdefs.h
>>conftest.
$ac_ext
20208 cat >>conftest.
$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20215 $EGREP "yes" >/dev
/null
2>&1; then
20216 ac_cv_cpp_def___sun__
=yes
20218 ac_cv_cpp_def___sun__
=no
20223 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20224 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20225 if test $ac_cv_cpp_def___sun__ = yes; then
20226 CFLAGS
="$CFLAGS -D__sun__"
20227 LINTFLAGS
="$LINTFLAGS -D__sun__"
20233 DEPENDENCIES
="### Dependencies:
20238 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20240 \$(OBJS): \$(IDL_GEN_HEADERS)
20241 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20242 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20243 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20249 ac_config_commands
="$ac_config_commands include/stamp-h"
20252 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20254 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20256 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20258 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20260 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20262 ac_config_commands
="$ac_config_commands include/wine"
20265 MAKE_RULES
=Make.rules
20268 MAKE_DLL_RULES
=dlls
/Makedll.rules
20271 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20274 MAKE_TEST_RULES
=dlls
/Maketest.rules
20277 MAKE_PROG_RULES
=programs
/Makeprog.rules
20280 ac_config_files
="$ac_config_files Make.rules"
20282 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20284 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20286 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20288 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20290 ac_config_files
="$ac_config_files Makefile"
20292 ac_config_files
="$ac_config_files dlls/Makefile"
20294 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
20296 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20298 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20300 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20302 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20304 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20306 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20308 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20310 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20312 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20314 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20316 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20318 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20320 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20322 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20324 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20326 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20328 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20330 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20332 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20334 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20336 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20338 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20340 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20342 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20344 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20346 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20348 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20350 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20352 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20354 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20356 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20358 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
20360 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20362 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20364 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20366 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20368 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20370 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20372 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
20374 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20376 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20378 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20380 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20382 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20384 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20386 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20388 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20390 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20392 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20394 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20396 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20398 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20400 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20402 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20404 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20406 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20408 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20410 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20412 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20414 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20416 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20418 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20420 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20422 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20424 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20426 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20428 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20430 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
20432 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20434 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20436 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20438 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
20440 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20442 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20444 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20446 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20448 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
20450 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20452 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20454 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
20456 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
20458 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20460 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20462 ac_config_files
="$ac_config_files dlls/hal/Makefile"
20464 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20466 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20468 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20470 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20472 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
20474 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20476 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20478 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20480 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20482 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20484 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20486 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20488 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20490 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
20492 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20494 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20496 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20498 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20500 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20502 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20504 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20506 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20508 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20510 ac_config_files
="$ac_config_files dlls/localui/Makefile"
20512 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
20514 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20516 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20518 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20520 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20522 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20524 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20526 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20528 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20530 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20532 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20534 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20536 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20538 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20540 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20542 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20544 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20546 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20548 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20550 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20552 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20554 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20556 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20558 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20560 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20562 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20564 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
20566 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20568 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20570 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20572 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20574 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20576 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20578 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20580 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20582 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
20584 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20586 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20588 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20590 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20592 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20594 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20596 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20598 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20600 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20602 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20604 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20606 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20608 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20610 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20612 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20614 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20616 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20618 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20620 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20622 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
20624 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
20626 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20628 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20630 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20632 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20634 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20636 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20638 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20640 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20642 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20644 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
20646 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
20648 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
20650 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
20652 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
20654 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
20656 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
20658 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
20660 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
20662 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
20664 ac_config_files
="$ac_config_files dlls/printui/Makefile"
20666 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
20668 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
20670 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
20672 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
20674 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
20676 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
20678 ac_config_files
="$ac_config_files dlls/query/Makefile"
20680 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
20682 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
20684 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
20686 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
20688 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
20690 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
20692 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
20694 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
20696 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
20698 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
20700 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
20702 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
20704 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
20706 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
20708 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
20710 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
20712 ac_config_files
="$ac_config_files dlls/security/Makefile"
20714 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
20716 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
20718 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
20720 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
20722 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
20724 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
20726 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
20728 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
20730 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
20732 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
20734 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
20736 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
20738 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
20740 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
20742 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
20744 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
20746 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
20748 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
20750 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
20752 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
20754 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
20756 ac_config_files
="$ac_config_files dlls/sti/Makefile"
20758 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
20760 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
20762 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
20764 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
20766 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
20768 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
20770 ac_config_files
="$ac_config_files dlls/url/Makefile"
20772 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
20774 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
20776 ac_config_files
="$ac_config_files dlls/user32/Makefile"
20778 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
20780 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
20782 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
20784 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
20786 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
20788 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
20790 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
20792 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
20794 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
20796 ac_config_files
="$ac_config_files dlls/version/Makefile"
20798 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
20800 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
20802 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
20804 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
20806 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
20808 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
20810 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
20812 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
20814 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
20816 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20818 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
20820 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
20822 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
20824 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
20826 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
20828 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
20830 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
20832 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
20834 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
20836 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
20838 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
20840 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
20842 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
20844 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
20846 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
20848 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
20850 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
20852 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
20854 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
20856 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
20858 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
20860 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
20862 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
20864 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
20866 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
20868 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
20870 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
20872 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
20874 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
20876 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
20878 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
20880 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
20882 ac_config_files
="$ac_config_files documentation/Makefile"
20884 ac_config_files
="$ac_config_files fonts/Makefile"
20886 ac_config_files
="$ac_config_files include/Makefile"
20888 ac_config_files
="$ac_config_files libs/Makefile"
20890 ac_config_files
="$ac_config_files libs/port/Makefile"
20892 ac_config_files
="$ac_config_files libs/wine/Makefile"
20894 ac_config_files
="$ac_config_files libs/wpp/Makefile"
20896 ac_config_files
="$ac_config_files loader/Makefile"
20898 ac_config_files
="$ac_config_files programs/Makefile"
20900 ac_config_files
="$ac_config_files programs/clock/Makefile"
20902 ac_config_files
="$ac_config_files programs/cmd/Makefile"
20904 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
20906 ac_config_files
="$ac_config_files programs/control/Makefile"
20908 ac_config_files
="$ac_config_files programs/eject/Makefile"
20910 ac_config_files
="$ac_config_files programs/expand/Makefile"
20912 ac_config_files
="$ac_config_files programs/explorer/Makefile"
20914 ac_config_files
="$ac_config_files programs/hh/Makefile"
20916 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
20918 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
20920 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
20922 ac_config_files
="$ac_config_files programs/net/Makefile"
20924 ac_config_files
="$ac_config_files programs/notepad/Makefile"
20926 ac_config_files
="$ac_config_files programs/oleview/Makefile"
20928 ac_config_files
="$ac_config_files programs/progman/Makefile"
20930 ac_config_files
="$ac_config_files programs/regedit/Makefile"
20932 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
20934 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
20936 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
20938 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
20940 ac_config_files
="$ac_config_files programs/start/Makefile"
20942 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
20944 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
20946 ac_config_files
="$ac_config_files programs/view/Makefile"
20948 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
20950 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
20952 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
20954 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
20956 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
20958 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
20960 ac_config_files
="$ac_config_files programs/winefile/Makefile"
20962 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
20964 ac_config_files
="$ac_config_files programs/winemine/Makefile"
20966 ac_config_files
="$ac_config_files programs/winepath/Makefile"
20968 ac_config_files
="$ac_config_files programs/winetest/Makefile"
20970 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
20972 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
20974 ac_config_files
="$ac_config_files programs/winver/Makefile"
20976 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
20978 ac_config_files
="$ac_config_files programs/write/Makefile"
20980 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
20982 ac_config_files
="$ac_config_files server/Makefile"
20984 ac_config_files
="$ac_config_files tools/Makefile"
20986 ac_config_files
="$ac_config_files tools/widl/Makefile"
20988 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
20990 ac_config_files
="$ac_config_files tools/winedump/Makefile"
20992 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
20994 ac_config_files
="$ac_config_files tools/wmc/Makefile"
20996 ac_config_files
="$ac_config_files tools/wrc/Makefile"
20999 cat >confcache
<<\_ACEOF
21000 # This file is a shell script that caches the results of configure
21001 # tests run on this system so they can be shared between configure
21002 # scripts and configure runs, see configure's option --config-cache.
21003 # It is not useful on other systems. If it contains results you don't
21004 # want to keep, you may remove or edit it.
21006 # config.status only pays attention to the cache file if you give it
21007 # the --recheck option to rerun configure.
21009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21011 # following values.
21015 # The following way of writing the cache mishandles newlines in values,
21016 # but we know of no workaround that is simple, portable, and efficient.
21017 # So, we kill variables containing newlines.
21018 # Ultrix sh set writes to stderr and can't be redirected directly,
21019 # and sets the high bit in the cache file unless we assign to the vars.
21021 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21022 eval ac_val
=\$
$ac_var
21026 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21027 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21030 _ | IFS | as_nl
) ;; #(
21031 *) $as_unset $ac_var ;;
21037 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21038 *${as_nl}ac_space
=\
*)
21039 # `set' does not quote correctly, so add quotes (double-quote
21040 # substitution turns \\\\ into \\, and sed turns \\ into \).
21043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21046 # `set' quotes correctly as required by POSIX, so do not add quotes.
21047 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21058 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21060 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21061 if test -w "$cache_file"; then
21062 test "x$cache_file" != "x/dev/null" &&
21063 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21064 echo "$as_me: updating cache $cache_file" >&6;}
21065 cat confcache
>$cache_file
21067 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21068 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21073 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21074 # Let make expand exec_prefix.
21075 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21077 DEFS
=-DHAVE_CONFIG_H
21081 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21082 # 1. Remove the extension, and $U if already installed.
21083 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21084 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21086 # will be set to the directory where LIBOBJS objects are built.
21087 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21088 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21090 LIBOBJS
=$ac_libobjs
21092 LTLIBOBJS
=$ac_ltlibobjs
21096 : ${CONFIG_STATUS=./config.status}
21097 ac_clean_files_save
=$ac_clean_files
21098 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21099 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21100 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21101 cat >$CONFIG_STATUS <<_ACEOF
21103 # Generated by $as_me.
21104 # Run this file to recreate the current configuration.
21105 # Compiler output produced by configure, useful for debugging
21106 # configure, is in config.log if it exists.
21109 ac_cs_recheck=false
21111 SHELL=\${CONFIG_SHELL-$SHELL}
21114 cat >>$CONFIG_STATUS <<\_ACEOF
21115 ## --------------------- ##
21116 ## M4sh Initialization. ##
21117 ## --------------------- ##
21119 # Be more Bourne compatible
21120 DUALCASE
=1; export DUALCASE
# for MKS sh
21121 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21124 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21125 # is contrary to our usage. Disable this feature.
21126 alias -g '${1+"$@"}'='"$@"'
21127 setopt NO_GLOB_SUBST
21129 case `(set -o) 2>/dev/null` in
21130 *posix
*) set -o posix
;;
21139 # Avoid depending upon Character Ranges.
21140 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21141 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21142 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21143 as_cr_digits
='0123456789'
21144 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21146 # The user is always right.
21147 if test "${PATH_SEPARATOR+set}" != set; then
21148 echo "#! /bin/sh" >conf$$.sh
21149 echo "exit 0" >>conf$$.sh
21151 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21159 # Support unset when possible.
21160 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21168 # We need space, tab and new line, in precisely that order. Quoting is
21169 # there to prevent editors from complaining about space-tab.
21170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21171 # splitting by setting IFS to empty value.)
21176 # Find who we are. Look in the path if we contain no directory separator.
21178 *[\\/]* ) as_myself
=$0 ;;
21179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21180 for as_dir
in $PATH
21183 test -z "$as_dir" && as_dir
=.
21184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21190 # We did not find ourselves, most probably we were run as `sh COMMAND'
21191 # in which case we are not to be found in the path.
21192 if test "x$as_myself" = x
; then
21195 if test ! -f "$as_myself"; then
21196 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21197 { (exit 1); exit 1; }
21200 # Work around bugs in pre-3.0 UWIN ksh.
21201 for as_var
in ENV MAIL MAILPATH
21202 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21212 LC_TELEPHONE LC_TIME
21214 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21215 eval $as_var=C
; export $as_var
21217 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21221 # Required to use basename.
21222 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21223 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21229 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21230 as_basename
=basename
21236 # Name of the executable.
21237 as_me
=`$as_basename -- "$0" ||
21238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21239 X"$0" : 'X\(//\)$' \| \
21240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21242 sed '/^.*\/\([^/][^/]*\)\/*$/{
21261 as_lineno_1
=$LINENO
21262 as_lineno_2
=$LINENO
21263 test "x$as_lineno_1" != "x$as_lineno_2" &&
21264 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21267 # uniformly replaced by the line number. The first 'sed' inserts a
21268 # line-number line after each line using $LINENO; the second 'sed'
21269 # does the real work. The second script uses 'N' to pair each
21270 # line-number line with the line containing $LINENO, and appends
21271 # trailing '-' during substitution so that $LINENO is not a special
21272 # case at line end.
21273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21274 # scripts with optimization help from Paolo Bonzini. Blame Lee
21275 # E. McMahon (1931-1989) for sed's syntax. :-)
21287 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21290 ' >$as_me.lineno
&&
21291 chmod +x
"$as_me.lineno" ||
21292 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21293 { (exit 1); exit 1; }; }
21295 # Don't try to exec as it changes $[0], causing all sort of problems
21296 # (the dirname of $[0] is not the place where we might find the
21297 # original and so on. Autoconf is especially sensitive to this).
21298 .
"./$as_me.lineno"
21299 # Exit status is that of the last command.
21304 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21310 ECHO_C
= ECHO_N
= ECHO_T
=
21311 case `echo -n x` in
21313 case `echo 'x\c'` in
21314 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21321 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21322 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21328 rm -f conf$$ conf$$.exe conf$$.
file
21329 if test -d conf$$.dir
; then
21330 rm -f conf$$.dir
/conf$$.
file
21336 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21338 # ... but there are two gotchas:
21339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21341 # In both cases, we have to default to `cp -p'.
21342 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21344 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21349 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21350 rmdir conf$$.dir
2>/dev
/null
21352 if mkdir
-p .
2>/dev
/null
; then
21355 test -d .
/-p && rmdir .
/-p
21359 if test -x / >/dev
/null
2>&1; then
21360 as_test_x
='test -x'
21362 if ls -dL / >/dev
/null
2>&1; then
21369 if test -d "$1"; then
21375 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21376 ???[sx]*):;;*)false;;esac;fi
21380 as_executable_p
=$as_test_x
21382 # Sed expression to map a string onto a valid CPP name.
21383 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21385 # Sed expression to map a string onto a valid variable name.
21386 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21391 # Save the log message, to keep $[0] and so on meaningful, and to
21392 # report actual input values of CONFIG_FILES etc. instead of their
21393 # values after options handling.
21395 This file was extended by Wine $as_me 0.9.46, which was
21396 generated by GNU Autoconf 2.61. Invocation command line was
21398 CONFIG_FILES = $CONFIG_FILES
21399 CONFIG_HEADERS = $CONFIG_HEADERS
21400 CONFIG_LINKS = $CONFIG_LINKS
21401 CONFIG_COMMANDS = $CONFIG_COMMANDS
21404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21409 cat >>$CONFIG_STATUS <<_ACEOF
21410 # Files that config.status was made for.
21411 config_files="$ac_config_files"
21412 config_headers="$ac_config_headers"
21413 config_commands="$ac_config_commands"
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21419 \`$as_me' instantiates files from templates according to the
21420 current configuration.
21422 Usage: $0 [OPTIONS] [FILE]...
21424 -h, --help print this help, then exit
21425 -V, --version print version number and configuration settings, then exit
21426 -q, --quiet do not print progress messages
21427 -d, --debug don't remove temporary files
21428 --recheck update $as_me by reconfiguring in the same conditions
21429 --file=FILE[:TEMPLATE]
21430 instantiate the configuration file FILE
21431 --header=FILE[:TEMPLATE]
21432 instantiate the configuration header FILE
21434 Configuration files:
21437 Configuration headers:
21440 Configuration commands:
21443 Report bugs to <bug-autoconf@gnu.org>."
21446 cat >>$CONFIG_STATUS <<_ACEOF
21448 Wine config.status 0.9.46
21449 configured by $0, generated by GNU Autoconf 2.61,
21450 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21452 Copyright (C) 2006 Free Software Foundation, Inc.
21453 This config.status script is free software; the Free Software Foundation
21454 gives unlimited permission to copy, distribute and modify it."
21461 cat >>$CONFIG_STATUS <<\_ACEOF
21462 # If no file are specified by the user, then we need to provide default
21463 # value. By we need to know if files were specified by the user.
21469 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21470 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21481 # Handling of the options.
21482 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21484 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21485 echo "$ac_cs_version"; exit ;;
21486 --debug |
--debu |
--deb |
--de |
--d |
-d )
21488 --file |
--fil |
--fi |
--f )
21490 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21491 ac_need_defaults
=false
;;
21492 --header |
--heade |
--head |
--hea )
21494 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21495 ac_need_defaults
=false
;;
21497 # Conflict between --help and --header
21498 { echo "$as_me: error: ambiguous option: $1
21499 Try \`$0 --help' for more information." >&2
21500 { (exit 1); exit 1; }; };;
21501 --help |
--hel |
-h )
21502 echo "$ac_cs_usage"; exit ;;
21503 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21504 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21507 # This is an error.
21508 -*) { echo "$as_me: error: unrecognized option: $1
21509 Try \`$0 --help' for more information." >&2
21510 { (exit 1); exit 1; }; } ;;
21512 *) ac_config_targets
="$ac_config_targets $1"
21513 ac_need_defaults
=false
;;
21519 ac_configure_extra_args
=
21521 if $ac_cs_silent; then
21523 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21527 cat >>$CONFIG_STATUS <<_ACEOF
21528 if \$ac_cs_recheck; then
21529 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21530 CONFIG_SHELL=$SHELL
21531 export CONFIG_SHELL
21532 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21536 cat >>$CONFIG_STATUS <<\_ACEOF
21540 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21541 ## Running $as_me. ##
21547 cat >>$CONFIG_STATUS <<_ACEOF
21550 cat >>$CONFIG_STATUS <<\_ACEOF
21552 # Handling of arguments.
21553 for ac_config_target
in $ac_config_targets
21555 case $ac_config_target in
21556 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21557 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21558 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21559 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21560 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21561 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21562 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21563 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21564 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21565 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21566 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21567 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21568 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21569 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21570 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21571 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21572 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21573 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21574 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21575 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21576 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21577 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21578 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21579 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21580 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21581 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21582 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21583 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21584 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21585 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21586 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21587 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21588 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21589 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21590 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21591 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21592 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21593 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21594 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21595 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21596 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21597 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21598 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21599 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21600 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21601 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21602 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21603 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21604 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21605 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21606 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21607 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21608 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21609 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21610 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21611 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21612 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21613 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21614 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21615 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21616 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21617 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21618 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21619 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21620 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21621 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21622 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21623 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21624 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21625 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21626 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21627 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21628 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21629 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21630 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21631 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21632 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21633 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21634 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21635 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21636 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21637 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21638 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21639 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21640 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21641 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21642 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21643 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21644 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21645 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21646 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21647 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21648 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21649 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21650 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21651 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21652 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21653 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21654 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21655 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21656 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21657 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21658 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21659 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21660 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21661 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21662 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21663 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21664 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21665 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21666 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21667 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21668 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21669 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21670 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21671 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21672 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21673 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21674 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21675 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21676 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21677 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21678 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21679 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21680 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21681 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21682 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21683 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21684 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21685 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21686 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21687 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21688 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21689 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21690 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21691 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21692 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21693 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21694 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21695 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21696 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21697 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21698 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21699 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21700 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21701 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21702 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21703 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21704 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21705 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21706 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21707 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21708 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21709 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21710 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21711 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21712 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21713 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21714 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21715 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21716 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21717 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21718 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21719 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21720 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21721 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21722 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21723 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21724 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21725 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21726 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21727 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21728 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21729 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21730 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21731 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21732 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21733 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21734 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21735 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21736 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21737 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21738 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21739 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21740 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21741 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21742 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21743 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21744 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21745 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21746 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21747 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21748 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21749 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21750 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21751 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21752 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21753 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21754 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21755 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21756 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21757 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21758 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21759 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21760 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21761 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21762 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21763 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21764 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21765 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21766 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21767 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21768 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21769 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21770 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21771 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21772 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21773 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21774 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21775 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21776 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21777 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21778 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21779 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21780 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21781 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21782 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21783 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21784 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21785 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21786 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21787 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21788 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21789 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21790 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21791 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21792 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21793 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21794 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21795 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21796 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21797 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21798 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21799 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
21800 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21801 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21802 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21803 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21804 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21805 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21806 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21807 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21808 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21809 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21810 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21811 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21812 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21813 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21814 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21815 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21816 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21817 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21818 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21819 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21820 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21821 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21822 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21823 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21824 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21825 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21826 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21827 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21828 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21829 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21830 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21831 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21832 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21833 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21834 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21835 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21836 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21837 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21838 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21839 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21840 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21841 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21842 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21843 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21844 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21845 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21846 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21847 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21848 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21849 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21850 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21851 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21852 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21853 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21854 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21855 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21856 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21857 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21858 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21859 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21860 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21861 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21862 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21863 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21864 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21865 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21866 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21867 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21868 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21869 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21870 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21871 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21872 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21873 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21874 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21875 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21876 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21877 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21878 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21879 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21880 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21881 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21882 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21883 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21884 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21885 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21886 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21887 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21888 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21889 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21890 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21891 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21892 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21893 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21894 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21895 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21896 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21897 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21898 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21899 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21900 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21901 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21902 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21903 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21904 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21905 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21906 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21907 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21908 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21909 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21910 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21911 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21912 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21913 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
21914 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21915 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21916 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21917 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21918 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21919 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21920 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21921 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21922 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21924 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21925 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21926 { (exit 1); exit 1; }; };;
21931 # If the user did not use the arguments to specify the items to instantiate,
21932 # then the envvar interface is used. Set only those that are not.
21933 # We use the long form for the default assignment because of an extremely
21934 # bizarre bug on SunOS 4.1.3.
21935 if $ac_need_defaults; then
21936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21938 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21941 # Have a temporary directory for convenience. Make it in the build tree
21942 # simply because there is no reason against having it here, and in addition,
21943 # creating and moving files from /tmp can sometimes cause problems.
21944 # Hook for its removal unless debugging.
21945 # Note that there is a small window in which the directory will not be cleaned:
21946 # after its creation but before its name has been assigned to `$tmp'.
21950 trap 'exit_status=$?
21951 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21953 trap '{ (exit 1); exit 1; }' 1 2 13 15
21955 # Create a (secure) tmp directory for tmp files.
21958 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21959 test -n "$tmp" && test -d "$tmp"
21962 tmp
=.
/conf$$
-$RANDOM
21963 (umask 077 && mkdir
"$tmp")
21966 echo "$me: cannot create a temporary directory in ." >&2
21967 { (exit 1); exit 1; }
21971 # Set up the sed scripts for CONFIG_FILES section.
21974 # No need to generate the scripts if there are no CONFIG_FILES.
21975 # This happens for instance when ./config.status config.h
21976 if test -n "$CONFIG_FILES"; then
21980 # Create sed commands to just substitute file output variables.
21982 # Remaining file output variables are in a fragment that also has non-file
21988 for ac_last_try
in false false false false false
:; do
21989 cat >conf$
$subs.
sed <<_ACEOF
21990 SHELL!$SHELL$ac_delim
21991 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21992 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21993 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21994 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21995 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21996 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21997 exec_prefix!$exec_prefix$ac_delim
21998 prefix!$prefix$ac_delim
21999 program_transform_name!$program_transform_name$ac_delim
22000 bindir!$bindir$ac_delim
22001 sbindir!$sbindir$ac_delim
22002 libexecdir!$libexecdir$ac_delim
22003 datarootdir!$datarootdir$ac_delim
22004 datadir!$datadir$ac_delim
22005 sysconfdir!$sysconfdir$ac_delim
22006 sharedstatedir!$sharedstatedir$ac_delim
22007 localstatedir!$localstatedir$ac_delim
22008 includedir!$includedir$ac_delim
22009 oldincludedir!$oldincludedir$ac_delim
22010 docdir!$docdir$ac_delim
22011 infodir!$infodir$ac_delim
22012 htmldir!$htmldir$ac_delim
22013 dvidir!$dvidir$ac_delim
22014 pdfdir!$pdfdir$ac_delim
22015 psdir!$psdir$ac_delim
22016 libdir!$libdir$ac_delim
22017 localedir!$localedir$ac_delim
22018 mandir!$mandir$ac_delim
22019 DEFS!$DEFS$ac_delim
22020 ECHO_C!$ECHO_C$ac_delim
22021 ECHO_N!$ECHO_N$ac_delim
22022 ECHO_T!$ECHO_T$ac_delim
22023 LIBS!$LIBS$ac_delim
22024 build_alias!$build_alias$ac_delim
22025 host_alias!$host_alias$ac_delim
22026 target_alias!$target_alias$ac_delim
22027 build!$build$ac_delim
22028 build_cpu!$build_cpu$ac_delim
22029 build_vendor!$build_vendor$ac_delim
22030 build_os!$build_os$ac_delim
22031 host!$host$ac_delim
22032 host_cpu!$host_cpu$ac_delim
22033 host_vendor!$host_vendor$ac_delim
22034 host_os!$host_os$ac_delim
22035 WIN16_FILES!$WIN16_FILES$ac_delim
22036 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22037 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22038 WINETEST!$WINETEST$ac_delim
22039 SET_MAKE!$SET_MAKE$ac_delim
22041 CFLAGS!$CFLAGS$ac_delim
22042 LDFLAGS!$LDFLAGS$ac_delim
22043 CPPFLAGS!$CPPFLAGS$ac_delim
22044 ac_ct_CC!$ac_ct_CC$ac_delim
22045 EXEEXT!$EXEEXT$ac_delim
22046 OBJEXT!$OBJEXT$ac_delim
22048 CXXFLAGS!$CXXFLAGS$ac_delim
22049 ac_ct_CXX!$ac_ct_CXX$ac_delim
22050 CPPBIN!$CPPBIN$ac_delim
22051 TOOLSDIR!$TOOLSDIR$ac_delim
22052 XMKMF!$XMKMF$ac_delim
22054 X_CFLAGS!$X_CFLAGS$ac_delim
22055 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22056 X_LIBS!$X_LIBS$ac_delim
22057 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22058 FLEX!$FLEX$ac_delim
22059 BISON!$BISON$ac_delim
22061 ac_ct_AS!$ac_ct_AS$ac_delim
22064 RANLIB!$RANLIB$ac_delim
22065 STRIP!$STRIP$ac_delim
22066 WINDRES!$WINDRES$ac_delim
22067 LN_S!$LN_S$ac_delim
22069 GREP!$GREP$ac_delim
22070 EGREP!$EGREP$ac_delim
22071 LDCONFIG!$LDCONFIG$ac_delim
22074 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22076 elif $ac_last_try; then
22077 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22078 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22079 { (exit 1); exit 1; }; }
22081 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22085 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22086 if test -n "$ac_eof"; then
22087 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22088 ac_eof
=`expr $ac_eof + 1`
22091 cat >>$CONFIG_STATUS <<_ACEOF
22092 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22094 /^[ ]*@MAKE_RULES@[ ]*$/{
22098 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22102 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22103 r $MAKE_IMPLIB_RULES
22106 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22110 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22116 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22117 s/^/s,@/; s/!/@,|#_!!_#|/
22120 s/'"$ac_delim"'$/,g/; t
22122 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22123 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22124 rm -f conf$
$subs.
sed
22125 cat >>$CONFIG_STATUS <<_ACEOF
22131 for ac_last_try
in false false false false false
:; do
22132 cat >conf$
$subs.
sed <<_ACEOF
22133 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22134 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22135 INSTALL_DATA!$INSTALL_DATA$ac_delim
22136 LINT!$LINT$ac_delim
22137 LINTFLAGS!$LINTFLAGS$ac_delim
22138 FONTFORGE!$FONTFORGE$ac_delim
22139 PKG_CONFIG!$PKG_CONFIG$ac_delim
22140 PRELINK!$PRELINK$ac_delim
22141 LIBPTHREAD!$LIBPTHREAD$ac_delim
22142 XLIB!$XLIB$ac_delim
22143 XFILES!$XFILES$ac_delim
22144 OPENGLFILES!$OPENGLFILES$ac_delim
22145 GLU32FILES!$GLU32FILES$ac_delim
22146 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22147 QUARTZFILES!$QUARTZFILES$ac_delim
22148 DLLEXT!$DLLEXT$ac_delim
22149 DLLFLAGS!$DLLFLAGS$ac_delim
22150 LDSHARED!$LDSHARED$ac_delim
22151 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22152 LIBEXT!$LIBEXT$ac_delim
22153 IMPLIBEXT!$IMPLIBEXT$ac_delim
22154 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22155 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22157 DLLTOOL!$DLLTOOL$ac_delim
22158 DLLWRAP!$DLLWRAP$ac_delim
22159 MINGWAR!$MINGWAR$ac_delim
22160 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22161 IOKITLIB!$IOKITLIB$ac_delim
22162 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22163 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22164 COREAUDIO!$COREAUDIO$ac_delim
22165 CARBONLIB!$CARBONLIB$ac_delim
22166 CROSSTEST!$CROSSTEST$ac_delim
22167 CROSSCC!$CROSSCC$ac_delim
22168 CROSSWINDRES!$CROSSWINDRES$ac_delim
22169 NASLIBS!$NASLIBS$ac_delim
22170 XML2LIBS!$XML2LIBS$ac_delim
22171 XML2INCL!$XML2INCL$ac_delim
22172 XSLTLIBS!$XSLTLIBS$ac_delim
22173 XSLTINCL!$XSLTINCL$ac_delim
22174 HALINCL!$HALINCL$ac_delim
22175 sane_devel!$sane_devel$ac_delim
22176 SANEINCL!$SANEINCL$ac_delim
22177 gphoto2_devel!$gphoto2_devel$ac_delim
22178 gphoto2port_devel!$gphoto2port_devel$ac_delim
22179 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22180 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22181 RESOLVLIBS!$RESOLVLIBS$ac_delim
22182 LCMSLIBS!$LCMSLIBS$ac_delim
22183 LDAPLIBS!$LDAPLIBS$ac_delim
22184 ft_devel!$ft_devel$ac_delim
22185 FREETYPELIBS!$FREETYPELIBS$ac_delim
22186 FREETYPEINCL!$FREETYPEINCL$ac_delim
22187 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22188 ESDCONFIG!$ESDCONFIG$ac_delim
22189 ESDLIBS!$ESDLIBS$ac_delim
22190 ESDINCL!$ESDINCL$ac_delim
22191 ALSALIBS!$ALSALIBS$ac_delim
22192 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22193 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22194 BUILTINFLAG!$BUILTINFLAG$ac_delim
22195 LDPATH!$LDPATH$ac_delim
22196 CRTLIBS!$CRTLIBS$ac_delim
22197 SOCKETLIBS!$SOCKETLIBS$ac_delim
22198 MAIN_BINARY!$MAIN_BINARY$ac_delim
22199 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22200 LIBDL!$LIBDL$ac_delim
22201 LIBPOLL!$LIBPOLL$ac_delim
22202 DEPENDENCIES!$DEPENDENCIES$ac_delim
22203 LIBOBJS!$LIBOBJS$ac_delim
22204 LTLIBOBJS!$LTLIBOBJS$ac_delim
22207 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22209 elif $ac_last_try; then
22210 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22211 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22212 { (exit 1); exit 1; }; }
22214 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22218 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22219 if test -n "$ac_eof"; then
22220 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22221 ac_eof
=`expr $ac_eof + 1`
22224 cat >>$CONFIG_STATUS <<_ACEOF
22225 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22229 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22230 s/^/s,@/; s/!/@,|#_!!_#|/
22233 s/'"$ac_delim"'$/,g/; t
22235 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22236 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22237 rm -f conf$
$subs.
sed
22238 cat >>$CONFIG_STATUS <<_ACEOF
22245 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22246 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22247 # trailing colons and then remove the whole line if VPATH becomes empty
22248 # (actually we leave an empty line to preserve line numbers).
22249 if test "x$srcdir" = x.
; then
22250 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22251 s/:*\$(srcdir):*/:/
22252 s/:*\${srcdir}:*/:/
22254 s/^\([^=]*=[ ]*\):*/\1/
22260 cat >>$CONFIG_STATUS <<\_ACEOF
22261 fi # test -n "$CONFIG_FILES"
22264 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22267 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22269 case $ac_mode$ac_tag in
22271 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22272 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22273 { (exit 1); exit 1; }; };;
22274 :[FH
]-) ac_tag
=-:-;;
22275 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22292 -) ac_f
="$tmp/stdin";;
22293 *) # Look for the file first in the build tree, then in the source tree
22294 # (if the path is not absolute). The absolute path cannot be DOS-style,
22295 # because $ac_f cannot contain `:'.
22299 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22301 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22302 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22303 { (exit 1); exit 1; }; };;
22305 ac_file_inputs
="$ac_file_inputs $ac_f"
22308 # Let's still pretend it is `configure' which instantiates (i.e., don't
22309 # use $as_me), people would be surprised to read:
22310 # /* config.h. Generated by config.status. */
22311 configure_input
="Generated from "`IFS=:
22312 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22313 if test x
"$ac_file" != x-
; then
22314 configure_input
="$ac_file. $configure_input"
22315 { echo "$as_me:$LINENO: creating $ac_file" >&5
22316 echo "$as_me: creating $ac_file" >&6;}
22320 *:-:* |
*:-) cat >"$tmp/stdin";;
22325 ac_dir
=`$as_dirname -- "$ac_file" ||
22326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22327 X"$ac_file" : 'X\(//\)[^/]' \| \
22328 X"$ac_file" : 'X\(//\)$' \| \
22329 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22335 /^X\(\/\/\)[^/].*/{
22350 -*) as_dir
=.
/$as_dir;;
22352 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22356 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22357 *) as_qdir
=$as_dir;;
22359 as_dirs
="'$as_qdir' $as_dirs"
22360 as_dir
=`$as_dirname -- "$as_dir" ||
22361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22362 X"$as_dir" : 'X\(//\)[^/]' \| \
22363 X"$as_dir" : 'X\(//\)$' \| \
22364 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22370 /^X\(\/\/\)[^/].*/{
22383 test -d "$as_dir" && break
22385 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22386 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22387 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22388 { (exit 1); exit 1; }; }; }
22392 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22394 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22395 # A ".." for each directory in $ac_dir_suffix.
22396 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22397 case $ac_top_builddir_sub in
22398 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22399 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22402 ac_abs_top_builddir
=$ac_pwd
22403 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22404 # for backward compatibility:
22405 ac_top_builddir
=$ac_top_build_prefix
22408 .
) # We are building in place.
22410 ac_top_srcdir
=$ac_top_builddir_sub
22411 ac_abs_top_srcdir
=$ac_pwd ;;
22412 [\\/]* | ?
:[\\/]* ) # Absolute name.
22413 ac_srcdir
=$srcdir$ac_dir_suffix;
22414 ac_top_srcdir
=$srcdir
22415 ac_abs_top_srcdir
=$srcdir ;;
22416 *) # Relative name.
22417 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22418 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22419 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22421 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22431 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22432 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22436 cat >>$CONFIG_STATUS <<\_ACEOF
22437 # If the template does not know about datarootdir, expand it.
22438 # FIXME: This hack should be removed a few years after 2.60.
22439 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22441 case `sed -n '/datarootdir/ {
22450 ' $ac_file_inputs` in
22451 *datarootdir
*) ac_datarootdir_seen
=yes;;
22452 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22453 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22454 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22456 cat >>$CONFIG_STATUS <<_ACEOF
22457 ac_datarootdir_hack='
22458 s&@datadir@&$datadir&g
22459 s&@docdir@&$docdir&g
22460 s&@infodir@&$infodir&g
22461 s&@localedir@&$localedir&g
22462 s&@mandir@&$mandir&g
22463 s&\\\${datarootdir}&$datarootdir&g' ;;
22467 # Neutralize VPATH when `$srcdir' = `.'.
22468 # Shell code in configure.ac might set extrasub.
22469 # FIXME: do we really want to maintain this feature?
22470 cat >>$CONFIG_STATUS <<_ACEOF
22474 cat >>$CONFIG_STATUS <<\_ACEOF
22476 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22477 s
&@configure_input@
&$configure_input&;t t
22478 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22479 s
&@srcdir@
&$ac_srcdir&;t t
22480 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22481 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22482 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22483 s
&@builddir@
&$ac_builddir&;t t
22484 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22485 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22486 s
&@INSTALL@
&$ac_INSTALL&;t t
22487 $ac_datarootdir_hack
22488 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22490 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22491 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22492 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22493 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22494 which seems to be undefined. Please make sure it is defined." >&5
22495 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22496 which seems to be undefined. Please make sure it is defined." >&2;}
22500 -) cat "$tmp/out"; rm -f "$tmp/out";;
22501 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22510 # Transform confdefs.h into a sed script `conftest.defines', that
22511 # substitutes the proper values into config.h.in to produce config.h.
22512 rm -f conftest.defines conftest.
tail
22513 # First, append a space to every undef/define line, to ease matching.
22514 echo 's/$/ /' >conftest.defines
22515 # Then, protect against being on the right side of a sed subst, or in
22516 # an unquoted here document, in config.status. If some macros were
22517 # called several times there might be several #defines for the same
22518 # symbol, which is useless. But do not sort them, since the last
22519 # AC_DEFINE must be honored.
22520 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22521 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22522 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22523 # PARAMS is the parameter list in the macro definition--in most cases, it's
22524 # just an empty string.
22525 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22526 ac_dB
='\\)[ (].*,\\1define\\2'
22534 s/^[ ]*#[ ]*define[ ][ ]*//
22539 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22540 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22541 ' >>conftest.defines
22543 # Remove the space that was appended to ease matching.
22544 # Then replace #undef with comments. This is necessary, for
22545 # example, in the case of _POSIX_SOURCE, which is predefined and required
22546 # on some systems where configure will not decide to define it.
22547 # (The regexp can be short, since the line contains either #define or #undef.)
22549 s,^[ #]*u.*,/* & */,' >>conftest.defines
22551 # Break up conftest.defines:
22552 ac_max_sed_lines
=50
22554 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22555 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22556 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22558 ac_in
='$ac_file_inputs'
22559 ac_out
='"$tmp/out1"'
22560 ac_nxt
='"$tmp/out2"'
22564 # Write a here document:
22565 cat >>$CONFIG_STATUS <<_ACEOF
22566 # First, check the format of the line:
22567 cat >"\$tmp/defines.sed" <<\\CEOF
22568 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22569 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22573 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22575 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22576 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22577 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22578 grep . conftest.
tail >/dev
/null ||
break
22579 rm -f conftest.defines
22580 mv conftest.
tail conftest.defines
22582 rm -f conftest.defines conftest.
tail
22584 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22585 cat >>$CONFIG_STATUS <<\_ACEOF
22586 if test x
"$ac_file" != x-
; then
22587 echo "/* $configure_input */" >"$tmp/config.h"
22588 cat "$ac_result" >>"$tmp/config.h"
22589 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22590 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22591 echo "$as_me: $ac_file is unchanged" >&6;}
22594 mv "$tmp/config.h" $ac_file
22597 echo "/* $configure_input */"
22603 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22604 echo "$as_me: executing $ac_file commands" >&6;}
22609 case $ac_file$ac_mode in
22610 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22611 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22612 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22613 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22614 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22615 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22616 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22617 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22618 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22619 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22620 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22621 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22622 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22628 { (exit 0); exit 0; }
22630 chmod +x
$CONFIG_STATUS
22631 ac_clean_files
=$ac_clean_files_save
22634 # configure is writing to config.log, and then calls config.status.
22635 # config.status does its own redirection, appending to config.log.
22636 # Unfortunately, on DOS this fails, as config.log is still kept open
22637 # by configure, so config.status won't be able to write to it; its
22638 # output is simply discarded. So we exec the FD to /dev/null,
22639 # effectively closing config.log, so it can be properly (re)opened and
22640 # appended to by config.status. When coming back to configure, we
22641 # need to make the FD available again.
22642 if test "$no_create" != yes; then
22644 ac_config_status_args
=
22645 test "$silent" = yes &&
22646 ac_config_status_args
="$ac_config_status_args --quiet"
22648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22651 # would make configure fail if this is the last instruction.
22652 $ac_cs_success ||
{ (exit 1); exit 1; }
22656 if test "$no_create" = "yes"
22663 if test "$verbose" = "yes"; then
22664 for msg
in $wine_notices; do
22665 if test -n "$msg"; then
22667 { echo "$as_me:$LINENO: $msg" >&5
22668 echo "$as_me: $msg" >&6;}
22672 for msg
in $wine_warnings; do
22673 if test -n "$msg"; then
22675 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22676 echo "$as_me: WARNING: $msg" >&2;}
22682 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."