2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.47.
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.47'
578 PACKAGE_STRING
='Wine 0.9.47'
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.47 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.47:";;
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.47
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.47, 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"
15796 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 cat >conftest.$ac_ext <<_ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15810 #define $ac_func innocuous_$ac_func
15812 /* System header to define __stub macros and hopefully few prototypes,
15813 which can conflict with char $ac_func (); below.
15814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815 <limits.h> exists even on freestanding compilers. */
15818 # include <limits.h>
15820 # include <assert.h>
15825 /* Override any GCC internal prototype to avoid an error.
15826 Use char because int might match the return type of a GCC
15827 builtin and then its argument prototype would still apply. */
15832 /* The GNU C library defines this for functions which it implements
15833 to always fail with ENOSYS. Some functions are actually named
15834 something starting with __ and the normal name is an alias. */
15835 #if defined __stub_$ac_func || defined __stub___$ac_func
15842 return $ac_func ();
15847 rm -f conftest.$ac_objext conftest$ac_exeext
15848 if { (ac_try="$ac_link"
15849 case "(($ac_try" in
15850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15851 *) ac_try_echo
=$ac_try;;
15853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15854 (eval "$ac_link") 2>conftest.er1
15856 grep -v '^ *+' conftest.er1
>conftest.err
15858 cat conftest.err
>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } && {
15861 test -z "$ac_c_werror_flag" ||
15862 test ! -s conftest.err
15863 } && test -s conftest
$ac_exeext &&
15864 $as_test_x conftest
$ac_exeext; then
15865 eval "$as_ac_var=yes"
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.
$ac_ext >&5
15870 eval "$as_ac_var=no"
15873 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15874 conftest
$ac_exeext conftest.
$ac_ext
15876 ac_res
=`eval echo '${'$as_ac_var'}'`
15877 { echo "$as_me:$LINENO: result: $ac_res" >&5
15878 echo "${ECHO_T}$ac_res" >&6; }
15879 if test `eval echo '${'$as_ac_var'}'` = yes; then
15880 cat >>confdefs.h
<<_ACEOF
15881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15888 if test "$ac_cv_func_dlopen" = no
15890 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15891 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15892 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 ac_check_lib_save_LIBS
=$LIBS
15897 cat >conftest.
$ac_ext <<_ACEOF
15900 cat confdefs.h
>>conftest.
$ac_ext
15901 cat >>conftest.
$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15919 rm -f conftest.
$ac_objext conftest
$ac_exeext
15920 if { (ac_try
="$ac_link"
15921 case "(($ac_try" in
15922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_link") 2>conftest.er1
15928 grep -v '^ *+' conftest.er1 >conftest.err
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } && {
15933 test -z "$ac_c_werror_flag" ||
15934 test ! -s conftest.err
15935 } && test -s conftest$ac_exeext &&
15936 $as_test_x conftest$ac_exeext; then
15937 ac_cv_lib_dl_dlopen=yes
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15942 ac_cv_lib_dl_dlopen=no
15945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15946 conftest$ac_exeext conftest.$ac_ext
15947 LIBS=$ac_check_lib_save_LIBS
15949 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15950 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15951 if test $ac_cv_lib_dl_dlopen = yes; then
15952 cat >>confdefs.h <<\_ACEOF
15953 #define HAVE_DLOPEN 1
15960 ac_wine_check_funcs_save_LIBS="$LIBS"
15961 LIBS="$LIBS $LIBDL"
15963 for ac_func in dladdr
15965 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15979 #define $ac_func innocuous_$ac_func
15981 /* System header to define __stub macros and hopefully few prototypes,
15982 which can conflict with char $ac_func (); below.
15983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15984 <limits.h> exists even on freestanding compilers. */
15987 # include <limits.h>
15989 # include <assert.h>
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
16001 /* The GNU C library defines this for functions which it implements
16002 to always fail with ENOSYS. Some functions are actually named
16003 something starting with __ and the normal name is an alias. */
16004 #if defined __stub_$ac_func || defined __stub___$ac_func
16011 return $ac_func ();
16016 rm -f conftest.$ac_objext conftest$ac_exeext
16017 if { (ac_try="$ac_link"
16018 case "(($ac_try" in
16019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16020 *) ac_try_echo
=$ac_try;;
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_link") 2>conftest.er1
16025 grep -v '^ *+' conftest.er1
>conftest.err
16027 cat conftest.err
>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } && {
16030 test -z "$ac_c_werror_flag" ||
16031 test ! -s conftest.err
16032 } && test -s conftest
$ac_exeext &&
16033 $as_test_x conftest
$ac_exeext; then
16034 eval "$as_ac_var=yes"
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.
$ac_ext >&5
16039 eval "$as_ac_var=no"
16042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16043 conftest
$ac_exeext conftest.
$ac_ext
16045 ac_res
=`eval echo '${'$as_ac_var'}'`
16046 { echo "$as_me:$LINENO: result: $ac_res" >&5
16047 echo "${ECHO_T}$ac_res" >&6; }
16048 if test `eval echo '${'$as_ac_var'}'` = yes; then
16049 cat >>confdefs.h
<<_ACEOF
16050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16056 LIBS
="$ac_wine_check_funcs_save_LIBS"
16058 if test "$ac_cv_func_poll" = no
16060 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16061 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16062 if test "${ac_cv_lib_poll_poll+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 ac_check_lib_save_LIBS
=$LIBS
16066 LIBS
="-lpoll $LIBS"
16067 cat >conftest.
$ac_ext <<_ACEOF
16070 cat confdefs.h
>>conftest.
$ac_ext
16071 cat >>conftest.
$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16089 rm -f conftest.
$ac_objext conftest
$ac_exeext
16090 if { (ac_try
="$ac_link"
16091 case "(($ac_try" in
16092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16093 *) ac_try_echo=$ac_try;;
16095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16096 (eval "$ac_link") 2>conftest.er1
16098 grep -v '^ *+' conftest.er1 >conftest.err
16100 cat conftest.err >&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); } && {
16103 test -z "$ac_c_werror_flag" ||
16104 test ! -s conftest.err
16105 } && test -s conftest$ac_exeext &&
16106 $as_test_x conftest$ac_exeext; then
16107 ac_cv_lib_poll_poll=yes
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16112 ac_cv_lib_poll_poll=no
16115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16116 conftest$ac_exeext conftest.$ac_ext
16117 LIBS=$ac_check_lib_save_LIBS
16119 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16120 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16121 if test $ac_cv_lib_poll_poll = yes; then
16122 cat >>confdefs.h <<\_ACEOF
16123 #define HAVE_POLL 1
16131 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16132 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16133 if test "${ac_cv_search_gethostbyname+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 ac_func_search_save_LIBS=$LIBS
16137 cat >conftest.$ac_ext <<_ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16144 /* Override any GCC internal prototype to avoid an error.
16145 Use char because int might match the return type of a GCC
16146 builtin and then its argument prototype would still apply. */
16150 char gethostbyname ();
16154 return gethostbyname ();
16159 for ac_lib in '' nsl; do
16160 if test -z "$ac_lib"; then
16161 ac_res="none required"
16164 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16166 rm -f conftest.$ac_objext conftest$ac_exeext
16167 if { (ac_try="$ac_link"
16168 case "(($ac_try" in
16169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16170 *) ac_try_echo
=$ac_try;;
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173 (eval "$ac_link") 2>conftest.er1
16175 grep -v '^ *+' conftest.er1
>conftest.err
16177 cat conftest.err
>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } && {
16180 test -z "$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16182 } && test -s conftest
$ac_exeext &&
16183 $as_test_x conftest
$ac_exeext; then
16184 ac_cv_search_gethostbyname
=$ac_res
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.
$ac_ext >&5
16192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16194 if test "${ac_cv_search_gethostbyname+set}" = set; then
16198 if test "${ac_cv_search_gethostbyname+set}" = set; then
16201 ac_cv_search_gethostbyname
=no
16203 rm conftest.
$ac_ext
16204 LIBS
=$ac_func_search_save_LIBS
16206 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16207 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16208 ac_res
=$ac_cv_search_gethostbyname
16209 if test "$ac_res" != no
; then
16210 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16215 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16216 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16217 if test "${ac_cv_search_connect+set}" = set; then
16218 echo $ECHO_N "(cached) $ECHO_C" >&6
16220 ac_func_search_save_LIBS
=$LIBS
16221 cat >conftest.
$ac_ext <<_ACEOF
16224 cat confdefs.h
>>conftest.
$ac_ext
16225 cat >>conftest.
$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16228 /* Override any GCC internal prototype to avoid an error.
16229 Use char because int might match the return type of a GCC
16230 builtin and then its argument prototype would still apply. */
16243 for ac_lib
in '' socket
; do
16244 if test -z "$ac_lib"; then
16245 ac_res
="none required"
16248 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16250 rm -f conftest.
$ac_objext conftest
$ac_exeext
16251 if { (ac_try
="$ac_link"
16252 case "(($ac_try" in
16253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_link") 2>conftest.er1
16259 grep -v '^ *+' conftest.er1 >conftest.err
16261 cat conftest.err >&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } && {
16264 test -z "$ac_c_werror_flag" ||
16265 test ! -s conftest.err
16266 } && test -s conftest$ac_exeext &&
16267 $as_test_x conftest$ac_exeext; then
16268 ac_cv_search_connect=$ac_res
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16278 if test "${ac_cv_search_connect+set}" = set; then
16282 if test "${ac_cv_search_connect+set}" = set; then
16285 ac_cv_search_connect=no
16287 rm conftest.$ac_ext
16288 LIBS=$ac_func_search_save_LIBS
16290 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16291 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16292 ac_res=$ac_cv_search_connect
16293 if test "$ac_res" != no; then
16294 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16299 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16300 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16301 if test "${ac_cv_search_inet_aton+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 ac_func_search_save_LIBS=$LIBS
16305 cat >conftest.$ac_ext <<_ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16312 /* Override any GCC internal prototype to avoid an error.
16313 Use char because int might match the return type of a GCC
16314 builtin and then its argument prototype would still apply. */
16322 return inet_aton ();
16327 for ac_lib in '' resolv; do
16328 if test -z "$ac_lib"; then
16329 ac_res="none required"
16332 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16334 rm -f conftest.$ac_objext conftest$ac_exeext
16335 if { (ac_try="$ac_link"
16336 case "(($ac_try" in
16337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16338 *) ac_try_echo
=$ac_try;;
16340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16341 (eval "$ac_link") 2>conftest.er1
16343 grep -v '^ *+' conftest.er1
>conftest.err
16345 cat conftest.err
>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } && {
16348 test -z "$ac_c_werror_flag" ||
16349 test ! -s conftest.err
16350 } && test -s conftest
$ac_exeext &&
16351 $as_test_x conftest
$ac_exeext; then
16352 ac_cv_search_inet_aton
=$ac_res
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.
$ac_ext >&5
16360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16362 if test "${ac_cv_search_inet_aton+set}" = set; then
16366 if test "${ac_cv_search_inet_aton+set}" = set; then
16369 ac_cv_search_inet_aton
=no
16371 rm conftest.
$ac_ext
16372 LIBS
=$ac_func_search_save_LIBS
16374 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16375 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16376 ac_res
=$ac_cv_search_inet_aton
16377 if test "$ac_res" != no
; then
16378 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16405 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 cat >conftest.
$ac_ext <<_ACEOF
16411 cat confdefs.h
>>conftest.
$ac_ext
16412 cat >>conftest.
$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16416 #define $ac_func innocuous_$ac_func
16418 /* System header to define __stub macros and hopefully few prototypes,
16419 which can conflict with char $ac_func (); below.
16420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16421 <limits.h> exists even on freestanding compilers. */
16424 # include <limits.h>
16426 # include <assert.h>
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16438 /* The GNU C library defines this for functions which it implements
16439 to always fail with ENOSYS. Some functions are actually named
16440 something starting with __ and the normal name is an alias. */
16441 #if defined __stub_$ac_func || defined __stub___$ac_func
16448 return $ac_func ();
16453 rm -f conftest.
$ac_objext conftest
$ac_exeext
16454 if { (ac_try
="$ac_link"
16455 case "(($ac_try" in
16456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_link") 2>conftest.er1
16462 grep -v '^ *+' conftest.er1 >conftest.err
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest$ac_exeext &&
16470 $as_test_x conftest$ac_exeext; then
16471 eval "$as_ac_var=yes"
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 eval "$as_ac_var=no"
16479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16480 conftest$ac_exeext conftest.$ac_ext
16482 ac_res=`eval echo '${'$as_ac_var'}'`
16483 { echo "$as_me:$LINENO: result: $ac_res" >&5
16484 echo "${ECHO_T}$ac_res" >&6; }
16485 if test `eval echo '${'$as_ac_var'}'` = yes; then
16486 cat >>confdefs.h <<_ACEOF
16487 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16495 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16496 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16497 if test "${ac_cv_c_const+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16510 /* FIXME: Include the comments suggested by Paul. */
16511 #ifndef __cplusplus
16512 /* Ultrix mips cc rejects this. */
16513 typedef int charset[2];
16515 /* SunOS 4.1.1 cc rejects this. */
16516 char const *const *pcpcc;
16518 /* NEC SVR4.0.2 mips cc rejects this. */
16519 struct point {int x, y;};
16520 static struct point const zero = {0,0};
16521 /* AIX XL C 1.02.0.0 rejects this.
16522 It does not let you subtract one const X* pointer from another in
16523 an arm of an if-expression whose if-part is not a constant
16525 const char *g = "string";
16526 pcpcc = &g + (g ? g-g : 0);
16527 /* HPUX 7.0 cc rejects these. */
16529 ppc = (char**) pcpcc;
16530 pcpcc = (char const *const *) ppc;
16531 { /* SCO 3.2v4 cc rejects this. */
16533 char const *s = 0 ? (char *) 0 : (char const *) 0;
16538 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16539 int x[] = {25, 17};
16540 const int *foo = &x[0];
16543 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16544 typedef const int *iptr;
16548 { /* AIX XL C 1.02.0.0 rejects this saying
16549 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16550 struct s { int j; const int *ap[3]; };
16551 struct s *b; b->j = 5;
16553 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16554 const int foo = 10;
16555 if (!foo) return 0;
16557 return !cs[0] && !zero.x;
16564 rm -f conftest.$ac_objext
16565 if { (ac_try="$ac_compile"
16566 case "(($ac_try" in
16567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16568 *) ac_try_echo
=$ac_try;;
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_compile") 2>conftest.er1
16573 grep -v '^ *+' conftest.er1
>conftest.err
16575 cat conftest.err
>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } && {
16578 test -z "$ac_c_werror_flag" ||
16579 test ! -s conftest.err
16580 } && test -s conftest.
$ac_objext; then
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.
$ac_ext >&5
16589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16591 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16592 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16593 if test $ac_cv_c_const = no
; then
16595 cat >>confdefs.h
<<\_ACEOF
16601 { echo "$as_me:$LINENO: checking for inline" >&5
16602 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16603 if test "${ac_cv_c_inline+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 for ac_kw
in inline __inline__ __inline
; do
16608 cat >conftest.
$ac_ext <<_ACEOF
16611 cat confdefs.h
>>conftest.
$ac_ext
16612 cat >>conftest.
$ac_ext <<_ACEOF
16613 /* end confdefs.h. */
16614 #ifndef __cplusplus
16616 static $ac_kw foo_t static_foo () {return 0; }
16617 $ac_kw foo_t foo () {return 0; }
16621 rm -f conftest.
$ac_objext
16622 if { (ac_try
="$ac_compile"
16623 case "(($ac_try" in
16624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16625 *) ac_try_echo=$ac_try;;
16627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628 (eval "$ac_compile") 2>conftest.er1
16630 grep -v '^ *+' conftest.er1 >conftest.err
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } && {
16635 test -z "$ac_c_werror_flag" ||
16636 test ! -s conftest.err
16637 } && test -s conftest.$ac_objext; then
16638 ac_cv_c_inline=$ac_kw
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16647 test "$ac_cv_c_inline" != no && break
16651 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16652 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16655 case $ac_cv_c_inline in
16658 case $ac_cv_c_inline in
16660 *) ac_val=$ac_cv_c_inline;;
16662 cat >>confdefs.h <<_ACEOF
16663 #ifndef __cplusplus
16664 #define inline $ac_val
16670 { echo "$as_me:$LINENO: checking for mode_t" >&5
16671 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16672 if test "${ac_cv_type_mode_t+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 cat >conftest.$ac_ext <<_ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16682 typedef mode_t ac__type_new_;
16686 if ((ac__type_new_ *) 0)
16688 if (sizeof (ac__type_new_))
16694 rm -f conftest.$ac_objext
16695 if { (ac_try="$ac_compile"
16696 case "(($ac_try" in
16697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16698 *) ac_try_echo
=$ac_try;;
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16701 (eval "$ac_compile") 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && {
16708 test -z "$ac_c_werror_flag" ||
16709 test ! -s conftest.err
16710 } && test -s conftest.
$ac_objext; then
16711 ac_cv_type_mode_t
=yes
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 ac_cv_type_mode_t
=no
16719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16721 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16722 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16723 if test $ac_cv_type_mode_t = yes; then
16725 cat >>confdefs.h
<<_ACEOF
16726 #define HAVE_MODE_T 1
16731 { echo "$as_me:$LINENO: checking for off_t" >&5
16732 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16733 if test "${ac_cv_type_off_t+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 cat >conftest.
$ac_ext <<_ACEOF
16739 cat confdefs.h
>>conftest.
$ac_ext
16740 cat >>conftest.
$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 $ac_includes_default
16743 typedef off_t ac__type_new_;
16747 if ((ac__type_new_ *) 0)
16749 if (sizeof (ac__type_new_))
16755 rm -f conftest.
$ac_objext
16756 if { (ac_try
="$ac_compile"
16757 case "(($ac_try" in
16758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16759 *) ac_try_echo=$ac_try;;
16761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16762 (eval "$ac_compile") 2>conftest.er1
16764 grep -v '^ *+' conftest.er1 >conftest.err
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } && {
16769 test -z "$ac_c_werror_flag" ||
16770 test ! -s conftest.err
16771 } && test -s conftest.$ac_objext; then
16772 ac_cv_type_off_t=yes
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_type_off_t=no
16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16782 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16783 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16784 if test $ac_cv_type_off_t = yes; then
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_OFF_T 1
16792 { echo "$as_me:$LINENO: checking for pid_t" >&5
16793 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16794 if test "${ac_cv_type_pid_t+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 cat >conftest.$ac_ext <<_ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 typedef pid_t ac__type_new_;
16808 if ((ac__type_new_ *) 0)
16810 if (sizeof (ac__type_new_))
16816 rm -f conftest.$ac_objext
16817 if { (ac_try="$ac_compile"
16818 case "(($ac_try" in
16819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16820 *) ac_try_echo
=$ac_try;;
16822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16823 (eval "$ac_compile") 2>conftest.er1
16825 grep -v '^ *+' conftest.er1
>conftest.err
16827 cat conftest.err
>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } && {
16830 test -z "$ac_c_werror_flag" ||
16831 test ! -s conftest.err
16832 } && test -s conftest.
$ac_objext; then
16833 ac_cv_type_pid_t
=yes
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.
$ac_ext >&5
16838 ac_cv_type_pid_t
=no
16841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16843 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16844 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16845 if test $ac_cv_type_pid_t = yes; then
16847 cat >>confdefs.h
<<_ACEOF
16848 #define HAVE_PID_T 1
16853 { echo "$as_me:$LINENO: checking for size_t" >&5
16854 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16855 if test "${ac_cv_type_size_t+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 cat >conftest.
$ac_ext <<_ACEOF
16861 cat confdefs.h
>>conftest.
$ac_ext
16862 cat >>conftest.
$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16865 typedef size_t ac__type_new_;
16869 if ((ac__type_new_ *) 0)
16871 if (sizeof (ac__type_new_))
16877 rm -f conftest.
$ac_objext
16878 if { (ac_try
="$ac_compile"
16879 case "(($ac_try" in
16880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16881 *) ac_try_echo=$ac_try;;
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_compile") 2>conftest.er1
16886 grep -v '^ *+' conftest.er1 >conftest.err
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } && {
16891 test -z "$ac_c_werror_flag" ||
16892 test ! -s conftest.err
16893 } && test -s conftest.$ac_objext; then
16894 ac_cv_type_size_t=yes
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16899 ac_cv_type_size_t=no
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16905 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16906 if test $ac_cv_type_size_t = yes; then
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_SIZE_T 1
16914 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16915 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16916 if test "${ac_cv_type_ssize_t+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.$ac_ext <<_ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 typedef ssize_t ac__type_new_;
16930 if ((ac__type_new_ *) 0)
16932 if (sizeof (ac__type_new_))
16938 rm -f conftest.$ac_objext
16939 if { (ac_try="$ac_compile"
16940 case "(($ac_try" in
16941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16942 *) ac_try_echo
=$ac_try;;
16944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16945 (eval "$ac_compile") 2>conftest.er1
16947 grep -v '^ *+' conftest.er1
>conftest.err
16949 cat conftest.err
>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); } && {
16952 test -z "$ac_c_werror_flag" ||
16953 test ! -s conftest.err
16954 } && test -s conftest.
$ac_objext; then
16955 ac_cv_type_ssize_t
=yes
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ac_cv_type_ssize_t
=no
16963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16966 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16967 if test $ac_cv_type_ssize_t = yes; then
16969 cat >>confdefs.h
<<_ACEOF
16970 #define HAVE_SSIZE_T 1
16975 { echo "$as_me:$LINENO: checking for long long" >&5
16976 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16977 if test "${ac_cv_type_long_long+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16987 typedef long long ac__type_new_;
16991 if ((ac__type_new_ *) 0)
16993 if (sizeof (ac__type_new_))
16999 rm -f conftest.
$ac_objext
17000 if { (ac_try
="$ac_compile"
17001 case "(($ac_try" in
17002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_compile") 2>conftest.er1
17008 grep -v '^ *+' conftest.er1 >conftest.err
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } && {
17013 test -z "$ac_c_werror_flag" ||
17014 test ! -s conftest.err
17015 } && test -s conftest.$ac_objext; then
17016 ac_cv_type_long_long=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_type_long_long=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17027 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17028 if test $ac_cv_type_long_long = yes; then
17030 cat >>confdefs.h <<_ACEOF
17031 #define HAVE_LONG_LONG 1
17036 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17037 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17038 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 typedef fsblkcnt_t ac__type_new_;
17052 if ((ac__type_new_ *) 0)
17054 if (sizeof (ac__type_new_))
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17064 *) ac_try_echo
=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^ *+' conftest.er1
>conftest.err
17071 cat conftest.err
>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.
$ac_objext; then
17077 ac_cv_type_fsblkcnt_t
=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17082 ac_cv_type_fsblkcnt_t
=no
17085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17087 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17088 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17089 if test $ac_cv_type_fsblkcnt_t = yes; then
17091 cat >>confdefs.h
<<_ACEOF
17092 #define HAVE_FSBLKCNT_T 1
17097 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17098 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17099 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17102 cat >conftest.
$ac_ext <<_ACEOF
17105 cat confdefs.h
>>conftest.
$ac_ext
17106 cat >>conftest.
$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17108 $ac_includes_default
17109 typedef fsfilcnt_t ac__type_new_;
17113 if ((ac__type_new_ *) 0)
17115 if (sizeof (ac__type_new_))
17121 rm -f conftest.
$ac_objext
17122 if { (ac_try
="$ac_compile"
17123 case "(($ac_try" in
17124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17125 *) ac_try_echo=$ac_try;;
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_compile") 2>conftest.er1
17130 grep -v '^ *+' conftest.er1 >conftest.err
17132 cat conftest.err >&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } && {
17135 test -z "$ac_c_werror_flag" ||
17136 test ! -s conftest.err
17137 } && test -s conftest.$ac_objext; then
17138 ac_cv_type_fsfilcnt_t=yes
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17143 ac_cv_type_fsfilcnt_t=no
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17149 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17150 if test $ac_cv_type_fsfilcnt_t = yes; then
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_FSFILCNT_T 1
17159 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17160 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17161 if test "${ac_cv_type_sigset_t+set}" = set; then
17162 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 cat >conftest.$ac_ext <<_ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #include <signal.h>
17172 typedef sigset_t ac__type_new_;
17176 if ((ac__type_new_ *) 0)
17178 if (sizeof (ac__type_new_))
17184 rm -f conftest.$ac_objext
17185 if { (ac_try="$ac_compile"
17186 case "(($ac_try" in
17187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17188 *) ac_try_echo
=$ac_try;;
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_compile") 2>conftest.er1
17193 grep -v '^ *+' conftest.er1
>conftest.err
17195 cat conftest.err
>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && {
17198 test -z "$ac_c_werror_flag" ||
17199 test ! -s conftest.err
17200 } && test -s conftest.
$ac_objext; then
17201 ac_cv_type_sigset_t
=yes
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.
$ac_ext >&5
17206 ac_cv_type_sigset_t
=no
17209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17211 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17212 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17213 if test $ac_cv_type_sigset_t = yes; then
17215 cat >>confdefs.h
<<_ACEOF
17216 #define HAVE_SIGSET_T 1
17222 { echo "$as_me:$LINENO: checking for request_sense" >&5
17223 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17224 if test "${ac_cv_type_request_sense+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 #include <linux/cdrom.h>
17235 typedef request_sense ac__type_new_;
17239 if ((ac__type_new_ *) 0)
17241 if (sizeof (ac__type_new_))
17247 rm -f conftest.
$ac_objext
17248 if { (ac_try
="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17256 grep -v '^ *+' conftest.er1 >conftest.err
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 ac_cv_type_request_sense=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17269 ac_cv_type_request_sense=no
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17275 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17276 if test $ac_cv_type_request_sense = yes; then
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_REQUEST_SENSE 1
17286 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17287 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17288 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 cat >conftest.$ac_ext <<_ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 #ifdef HAVE_LINUX_INPUT_H
17298 #include <linux/input.h>
17304 static struct ff_effect ac_aggr;
17305 if (ac_aggr.direction)
17311 rm -f conftest.$ac_objext
17312 if { (ac_try="$ac_compile"
17313 case "(($ac_try" in
17314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17315 *) ac_try_echo
=$ac_try;;
17317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17318 (eval "$ac_compile") 2>conftest.er1
17320 grep -v '^ *+' conftest.er1
>conftest.err
17322 cat conftest.err
>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } && {
17325 test -z "$ac_c_werror_flag" ||
17326 test ! -s conftest.err
17327 } && test -s conftest.
$ac_objext; then
17328 ac_cv_member_struct_ff_effect_direction
=yes
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #ifdef HAVE_LINUX_INPUT_H
17340 #include <linux/input.h>
17346 static struct ff_effect ac_aggr;
17347 if (sizeof ac_aggr.direction)
17353 rm -f conftest.
$ac_objext
17354 if { (ac_try
="$ac_compile"
17355 case "(($ac_try" in
17356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_compile") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1 >conftest.err
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest.$ac_objext; then
17370 ac_cv_member_struct_ff_effect_direction=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17375 ac_cv_member_struct_ff_effect_direction=no
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17383 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17384 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17385 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17395 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17396 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17397 if test "${wine_cv_have_sigaddset+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 cat >conftest.$ac_ext <<_ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 #include <signal.h>
17410 sigset_t set; sigaddset(&set,SIGTERM);
17415 rm -f conftest.$ac_objext conftest$ac_exeext
17416 if { (ac_try="$ac_link"
17417 case "(($ac_try" in
17418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17419 *) ac_try_echo
=$ac_try;;
17421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17422 (eval "$ac_link") 2>conftest.er1
17424 grep -v '^ *+' conftest.er1
>conftest.err
17426 cat conftest.err
>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } && {
17429 test -z "$ac_c_werror_flag" ||
17430 test ! -s conftest.err
17431 } && test -s conftest
$ac_exeext &&
17432 $as_test_x conftest
$ac_exeext; then
17433 wine_cv_have_sigaddset
=yes
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.
$ac_ext >&5
17438 wine_cv_have_sigaddset
=no
17441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17442 conftest
$ac_exeext conftest.
$ac_ext
17444 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17445 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17446 if test "$wine_cv_have_sigaddset" = "yes"
17449 cat >>confdefs.h
<<\_ACEOF
17450 #define HAVE_SIGADDSET 1
17456 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17457 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17458 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17474 struct hostent *result;
17481 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17482 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17488 rm -f conftest.
$ac_objext conftest
$ac_exeext
17489 if { (ac_try
="$ac_link"
17490 case "(($ac_try" in
17491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_link") 2>conftest.er1
17497 grep -v '^ *+' conftest.er1 >conftest.err
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest$ac_exeext &&
17505 $as_test_x conftest$ac_exeext; then
17506 wine_cv_linux_gethostbyname_r_6=yes
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17511 wine_cv_linux_gethostbyname_r_6=no
17515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17516 conftest$ac_exeext conftest.$ac_ext
17519 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17520 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17521 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17524 cat >>confdefs.h <<\_ACEOF
17525 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17530 if test "$ac_cv_header_linux_joystick_h" = "yes"
17532 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17533 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17534 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 cat >conftest.$ac_ext <<_ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17544 #include <sys/ioctl.h>
17545 #include <sys/types.h>
17546 #include <linux/joystick.h>
17548 struct js_event blub;
17549 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17550 #error "no 2.2 header"
17561 rm -f conftest.$ac_objext
17562 if { (ac_try="$ac_compile"
17563 case "(($ac_try" in
17564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17565 *) ac_try_echo
=$ac_try;;
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_compile") 2>conftest.er1
17570 grep -v '^ *+' conftest.er1
>conftest.err
17572 cat conftest.err
>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } && {
17575 test -z "$ac_c_werror_flag" ||
17576 test ! -s conftest.err
17577 } && test -s conftest.
$ac_objext; then
17578 wine_cv_linux_joystick_22_api
=yes
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 wine_cv_linux_joystick_22_api
=no
17586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17589 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17590 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17591 if test "$wine_cv_linux_joystick_22_api" = "yes"
17594 cat >>confdefs.h
<<\_ACEOF
17595 #define HAVE_LINUX_22_JOYSTICK_API 1
17602 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17603 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17604 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17605 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 cat >conftest.
$ac_ext <<_ACEOF
17610 cat confdefs.h
>>conftest.
$ac_ext
17611 cat >>conftest.
$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 #include <sys/types.h>
17614 #ifdef HAVE_SYS_PARAM_H
17615 # include <sys/param.h>
17617 #ifdef HAVE_SYS_MOUNT_H
17618 # include <sys/mount.h>
17620 #ifdef HAVE_SYS_VFS_H
17621 # include <sys/vfs.h>
17623 #ifdef HAVE_SYS_STATFS_H
17624 # include <sys/statfs.h>
17630 static struct statfs ac_aggr;
17631 if (ac_aggr.f_bfree)
17637 rm -f conftest.
$ac_objext
17638 if { (ac_try
="$ac_compile"
17639 case "(($ac_try" in
17640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_compile") 2>conftest.er1
17646 grep -v '^ *+' conftest.er1 >conftest.err
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } && {
17651 test -z "$ac_c_werror_flag" ||
17652 test ! -s conftest.err
17653 } && test -s conftest.$ac_objext; then
17654 ac_cv_member_struct_statfs_f_bfree=yes
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17659 cat >conftest.$ac_ext <<_ACEOF
17662 cat confdefs.h >>conftest.$ac_ext
17663 cat >>conftest.$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 #include <sys/types.h>
17666 #ifdef HAVE_SYS_PARAM_H
17667 # include <sys/param.h>
17669 #ifdef HAVE_SYS_MOUNT_H
17670 # include <sys/mount.h>
17672 #ifdef HAVE_SYS_VFS_H
17673 # include <sys/vfs.h>
17675 #ifdef HAVE_SYS_STATFS_H
17676 # include <sys/statfs.h>
17682 static struct statfs ac_aggr;
17683 if (sizeof ac_aggr.f_bfree)
17689 rm -f conftest.$ac_objext
17690 if { (ac_try="$ac_compile"
17691 case "(($ac_try" in
17692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17693 *) ac_try_echo
=$ac_try;;
17695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17696 (eval "$ac_compile") 2>conftest.er1
17698 grep -v '^ *+' conftest.er1
>conftest.err
17700 cat conftest.err
>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } && {
17703 test -z "$ac_c_werror_flag" ||
17704 test ! -s conftest.err
17705 } && test -s conftest.
$ac_objext; then
17706 ac_cv_member_struct_statfs_f_bfree
=yes
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.
$ac_ext >&5
17711 ac_cv_member_struct_statfs_f_bfree
=no
17714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17720 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17721 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17723 cat >>confdefs.h
<<_ACEOF
17724 #define HAVE_STRUCT_STATFS_F_BFREE 1
17729 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17730 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17731 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 cat >conftest.
$ac_ext <<_ACEOF
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 #include <sys/types.h>
17741 #ifdef HAVE_SYS_PARAM_H
17742 # include <sys/param.h>
17744 #ifdef HAVE_SYS_MOUNT_H
17745 # include <sys/mount.h>
17747 #ifdef HAVE_SYS_VFS_H
17748 # include <sys/vfs.h>
17750 #ifdef HAVE_SYS_STATFS_H
17751 # include <sys/statfs.h>
17757 static struct statfs ac_aggr;
17758 if (ac_aggr.f_bavail)
17764 rm -f conftest.
$ac_objext
17765 if { (ac_try
="$ac_compile"
17766 case "(($ac_try" in
17767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17768 *) ac_try_echo=$ac_try;;
17770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17771 (eval "$ac_compile") 2>conftest.er1
17773 grep -v '^ *+' conftest.er1 >conftest.err
17775 cat conftest.err >&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } && {
17778 test -z "$ac_c_werror_flag" ||
17779 test ! -s conftest.err
17780 } && test -s conftest.$ac_objext; then
17781 ac_cv_member_struct_statfs_f_bavail=yes
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.$ac_ext >&5
17786 cat >conftest.$ac_ext <<_ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <sys/types.h>
17793 #ifdef HAVE_SYS_PARAM_H
17794 # include <sys/param.h>
17796 #ifdef HAVE_SYS_MOUNT_H
17797 # include <sys/mount.h>
17799 #ifdef HAVE_SYS_VFS_H
17800 # include <sys/vfs.h>
17802 #ifdef HAVE_SYS_STATFS_H
17803 # include <sys/statfs.h>
17809 static struct statfs ac_aggr;
17810 if (sizeof ac_aggr.f_bavail)
17816 rm -f conftest.$ac_objext
17817 if { (ac_try="$ac_compile"
17818 case "(($ac_try" in
17819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17820 *) ac_try_echo
=$ac_try;;
17822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17823 (eval "$ac_compile") 2>conftest.er1
17825 grep -v '^ *+' conftest.er1
>conftest.err
17827 cat conftest.err
>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } && {
17830 test -z "$ac_c_werror_flag" ||
17831 test ! -s conftest.err
17832 } && test -s conftest.
$ac_objext; then
17833 ac_cv_member_struct_statfs_f_bavail
=yes
17835 echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.
$ac_ext >&5
17838 ac_cv_member_struct_statfs_f_bavail
=no
17841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17847 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17848 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17850 cat >>confdefs.h
<<_ACEOF
17851 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17856 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17857 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17858 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 #include <sys/types.h>
17868 #ifdef HAVE_SYS_PARAM_H
17869 # include <sys/param.h>
17871 #ifdef HAVE_SYS_MOUNT_H
17872 # include <sys/mount.h>
17874 #ifdef HAVE_SYS_VFS_H
17875 # include <sys/vfs.h>
17877 #ifdef HAVE_SYS_STATFS_H
17878 # include <sys/statfs.h>
17884 static struct statfs ac_aggr;
17885 if (ac_aggr.f_frsize)
17891 rm -f conftest.
$ac_objext
17892 if { (ac_try
="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17900 grep -v '^ *+' conftest.er1 >conftest.err
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_c_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 ac_cv_member_struct_statfs_f_frsize=yes
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17913 cat >conftest.$ac_ext <<_ACEOF
17916 cat confdefs.h >>conftest.$ac_ext
17917 cat >>conftest.$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17919 #include <sys/types.h>
17920 #ifdef HAVE_SYS_PARAM_H
17921 # include <sys/param.h>
17923 #ifdef HAVE_SYS_MOUNT_H
17924 # include <sys/mount.h>
17926 #ifdef HAVE_SYS_VFS_H
17927 # include <sys/vfs.h>
17929 #ifdef HAVE_SYS_STATFS_H
17930 # include <sys/statfs.h>
17936 static struct statfs ac_aggr;
17937 if (sizeof ac_aggr.f_frsize)
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17947 *) ac_try_echo
=$ac_try;;
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17952 grep -v '^ *+' conftest.er1
>conftest.err
17954 cat conftest.err
>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_c_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.
$ac_objext; then
17960 ac_cv_member_struct_statfs_f_frsize
=yes
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.
$ac_ext >&5
17965 ac_cv_member_struct_statfs_f_frsize
=no
17968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17973 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17974 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17975 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17977 cat >>confdefs.h
<<_ACEOF
17978 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17983 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17984 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17985 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17988 cat >conftest.
$ac_ext <<_ACEOF
17991 cat confdefs.h
>>conftest.
$ac_ext
17992 cat >>conftest.
$ac_ext <<_ACEOF
17993 /* end confdefs.h. */
17994 #include <sys/types.h>
17995 #ifdef HAVE_SYS_PARAM_H
17996 # include <sys/param.h>
17998 #ifdef HAVE_SYS_MOUNT_H
17999 # include <sys/mount.h>
18001 #ifdef HAVE_SYS_VFS_H
18002 # include <sys/vfs.h>
18004 #ifdef HAVE_SYS_STATFS_H
18005 # include <sys/statfs.h>
18011 static struct statfs ac_aggr;
18012 if (ac_aggr.f_ffree)
18018 rm -f conftest.
$ac_objext
18019 if { (ac_try
="$ac_compile"
18020 case "(($ac_try" in
18021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18022 *) ac_try_echo=$ac_try;;
18024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18025 (eval "$ac_compile") 2>conftest.er1
18027 grep -v '^ *+' conftest.er1 >conftest.err
18029 cat conftest.err >&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } && {
18032 test -z "$ac_c_werror_flag" ||
18033 test ! -s conftest.err
18034 } && test -s conftest.$ac_objext; then
18035 ac_cv_member_struct_statfs_f_ffree=yes
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18040 cat >conftest.$ac_ext <<_ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18046 #include <sys/types.h>
18047 #ifdef HAVE_SYS_PARAM_H
18048 # include <sys/param.h>
18050 #ifdef HAVE_SYS_MOUNT_H
18051 # include <sys/mount.h>
18053 #ifdef HAVE_SYS_VFS_H
18054 # include <sys/vfs.h>
18056 #ifdef HAVE_SYS_STATFS_H
18057 # include <sys/statfs.h>
18063 static struct statfs ac_aggr;
18064 if (sizeof ac_aggr.f_ffree)
18070 rm -f conftest.$ac_objext
18071 if { (ac_try="$ac_compile"
18072 case "(($ac_try" in
18073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18074 *) ac_try_echo
=$ac_try;;
18076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18077 (eval "$ac_compile") 2>conftest.er1
18079 grep -v '^ *+' conftest.er1
>conftest.err
18081 cat conftest.err
>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && {
18084 test -z "$ac_c_werror_flag" ||
18085 test ! -s conftest.err
18086 } && test -s conftest.
$ac_objext; then
18087 ac_cv_member_struct_statfs_f_ffree
=yes
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.
$ac_ext >&5
18092 ac_cv_member_struct_statfs_f_ffree
=no
18095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18100 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18101 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18102 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18104 cat >>confdefs.h
<<_ACEOF
18105 #define HAVE_STRUCT_STATFS_F_FFREE 1
18110 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18111 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18112 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 cat >conftest.
$ac_ext <<_ACEOF
18118 cat confdefs.h
>>conftest.
$ac_ext
18119 cat >>conftest.
$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121 #include <sys/types.h>
18122 #ifdef HAVE_SYS_PARAM_H
18123 # include <sys/param.h>
18125 #ifdef HAVE_SYS_MOUNT_H
18126 # include <sys/mount.h>
18128 #ifdef HAVE_SYS_VFS_H
18129 # include <sys/vfs.h>
18131 #ifdef HAVE_SYS_STATFS_H
18132 # include <sys/statfs.h>
18138 static struct statfs ac_aggr;
18139 if (ac_aggr.f_favail)
18145 rm -f conftest.
$ac_objext
18146 if { (ac_try
="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^ *+' conftest.er1 >conftest.err
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_c_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 ac_cv_member_struct_statfs_f_favail=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 cat >conftest.$ac_ext <<_ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 #include <sys/types.h>
18174 #ifdef HAVE_SYS_PARAM_H
18175 # include <sys/param.h>
18177 #ifdef HAVE_SYS_MOUNT_H
18178 # include <sys/mount.h>
18180 #ifdef HAVE_SYS_VFS_H
18181 # include <sys/vfs.h>
18183 #ifdef HAVE_SYS_STATFS_H
18184 # include <sys/statfs.h>
18190 static struct statfs ac_aggr;
18191 if (sizeof ac_aggr.f_favail)
18197 rm -f conftest.$ac_objext
18198 if { (ac_try="$ac_compile"
18199 case "(($ac_try" in
18200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18201 *) ac_try_echo
=$ac_try;;
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_compile") 2>conftest.er1
18206 grep -v '^ *+' conftest.er1
>conftest.err
18208 cat conftest.err
>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } && {
18211 test -z "$ac_c_werror_flag" ||
18212 test ! -s conftest.err
18213 } && test -s conftest.
$ac_objext; then
18214 ac_cv_member_struct_statfs_f_favail
=yes
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.
$ac_ext >&5
18219 ac_cv_member_struct_statfs_f_favail
=no
18222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18227 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18228 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18229 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18231 cat >>confdefs.h
<<_ACEOF
18232 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18237 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18238 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18239 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 #include <sys/types.h>
18249 #ifdef HAVE_SYS_PARAM_H
18250 # include <sys/param.h>
18252 #ifdef HAVE_SYS_MOUNT_H
18253 # include <sys/mount.h>
18255 #ifdef HAVE_SYS_VFS_H
18256 # include <sys/vfs.h>
18258 #ifdef HAVE_SYS_STATFS_H
18259 # include <sys/statfs.h>
18265 static struct statfs ac_aggr;
18266 if (ac_aggr.f_namelen)
18272 rm -f conftest.
$ac_objext
18273 if { (ac_try
="$ac_compile"
18274 case "(($ac_try" in
18275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_compile") 2>conftest.er1
18281 grep -v '^ *+' conftest.er1 >conftest.err
18283 cat conftest.err >&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } && {
18286 test -z "$ac_c_werror_flag" ||
18287 test ! -s conftest.err
18288 } && test -s conftest.$ac_objext; then
18289 ac_cv_member_struct_statfs_f_namelen=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18294 cat >conftest.$ac_ext <<_ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 #include <sys/types.h>
18301 #ifdef HAVE_SYS_PARAM_H
18302 # include <sys/param.h>
18304 #ifdef HAVE_SYS_MOUNT_H
18305 # include <sys/mount.h>
18307 #ifdef HAVE_SYS_VFS_H
18308 # include <sys/vfs.h>
18310 #ifdef HAVE_SYS_STATFS_H
18311 # include <sys/statfs.h>
18317 static struct statfs ac_aggr;
18318 if (sizeof ac_aggr.f_namelen)
18324 rm -f conftest.$ac_objext
18325 if { (ac_try="$ac_compile"
18326 case "(($ac_try" in
18327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18328 *) ac_try_echo
=$ac_try;;
18330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18331 (eval "$ac_compile") 2>conftest.er1
18333 grep -v '^ *+' conftest.er1
>conftest.err
18335 cat conftest.err
>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } && {
18338 test -z "$ac_c_werror_flag" ||
18339 test ! -s conftest.err
18340 } && test -s conftest.
$ac_objext; then
18341 ac_cv_member_struct_statfs_f_namelen
=yes
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18346 ac_cv_member_struct_statfs_f_namelen
=no
18349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18354 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18355 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18356 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18358 cat >>confdefs.h
<<_ACEOF
18359 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18366 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18367 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18368 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 cat >conftest.
$ac_ext <<_ACEOF
18374 cat confdefs.h
>>conftest.
$ac_ext
18375 cat >>conftest.
$ac_ext <<_ACEOF
18376 /* end confdefs.h. */
18377 #ifdef HAVE_SYS_STATVFS_H
18378 #include <sys/statvfs.h>
18384 static struct statvfs ac_aggr;
18385 if (ac_aggr.f_blocks)
18391 rm -f conftest.
$ac_objext
18392 if { (ac_try
="$ac_compile"
18393 case "(($ac_try" in
18394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18395 *) ac_try_echo=$ac_try;;
18397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18398 (eval "$ac_compile") 2>conftest.er1
18400 grep -v '^ *+' conftest.er1 >conftest.err
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } && {
18405 test -z "$ac_c_werror_flag" ||
18406 test ! -s conftest.err
18407 } && test -s conftest.$ac_objext; then
18408 ac_cv_member_struct_statvfs_f_blocks=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 cat >conftest.$ac_ext <<_ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 #ifdef HAVE_SYS_STATVFS_H
18420 #include <sys/statvfs.h>
18426 static struct statvfs ac_aggr;
18427 if (sizeof ac_aggr.f_blocks)
18433 rm -f conftest.$ac_objext
18434 if { (ac_try="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18437 *) ac_try_echo
=$ac_try;;
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18442 grep -v '^ *+' conftest.er1
>conftest.err
18444 cat conftest.err
>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.
$ac_objext; then
18450 ac_cv_member_struct_statvfs_f_blocks
=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 ac_cv_member_struct_statvfs_f_blocks
=no
18458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18464 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18465 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18467 cat >>confdefs.h
<<_ACEOF
18468 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18475 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18476 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18477 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 cat >conftest.
$ac_ext <<_ACEOF
18483 cat confdefs.h
>>conftest.
$ac_ext
18484 cat >>conftest.
$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #include <sys/types.h>
18487 #ifdef HAVE_SYS_SOCKET_H
18488 # include <sys/socket.h>
18490 #ifdef HAVE_SYS_UN_H
18491 # include <sys/un.h>
18497 static struct msghdr ac_aggr;
18498 if (ac_aggr.msg_accrights)
18504 rm -f conftest.
$ac_objext
18505 if { (ac_try
="$ac_compile"
18506 case "(($ac_try" in
18507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_compile") 2>conftest.er1
18513 grep -v '^ *+' conftest.er1 >conftest.err
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } && {
18518 test -z "$ac_c_werror_flag" ||
18519 test ! -s conftest.err
18520 } && test -s conftest.$ac_objext; then
18521 ac_cv_member_struct_msghdr_msg_accrights=yes
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5
18526 cat >conftest.$ac_ext <<_ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #include <sys/types.h>
18533 #ifdef HAVE_SYS_SOCKET_H
18534 # include <sys/socket.h>
18536 #ifdef HAVE_SYS_UN_H
18537 # include <sys/un.h>
18543 static struct msghdr ac_aggr;
18544 if (sizeof ac_aggr.msg_accrights)
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18554 *) ac_try_echo
=$ac_try;;
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18559 grep -v '^ *+' conftest.er1
>conftest.err
18561 cat conftest.err
>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_c_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.
$ac_objext; then
18567 ac_cv_member_struct_msghdr_msg_accrights
=yes
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.
$ac_ext >&5
18572 ac_cv_member_struct_msghdr_msg_accrights
=no
18575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18581 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18582 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18584 cat >>confdefs.h
<<_ACEOF
18585 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18590 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18591 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18592 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <sys/types.h>
18602 #ifdef HAVE_SYS_SOCKET_H
18603 # include <sys/socket.h>
18605 #ifdef HAVE_SYS_UN_H
18606 # include <sys/un.h>
18612 static struct sockaddr ac_aggr;
18613 if (ac_aggr.sa_len)
18619 rm -f conftest.
$ac_objext
18620 if { (ac_try
="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18628 grep -v '^ *+' conftest.er1 >conftest.err
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_cv_member_struct_sockaddr_sa_len=yes
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18641 cat >conftest.$ac_ext <<_ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 #include <sys/types.h>
18648 #ifdef HAVE_SYS_SOCKET_H
18649 # include <sys/socket.h>
18651 #ifdef HAVE_SYS_UN_H
18652 # include <sys/un.h>
18658 static struct sockaddr ac_aggr;
18659 if (sizeof ac_aggr.sa_len)
18665 rm -f conftest.$ac_objext
18666 if { (ac_try="$ac_compile"
18667 case "(($ac_try" in
18668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18669 *) ac_try_echo
=$ac_try;;
18671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 (eval "$ac_compile") 2>conftest.er1
18674 grep -v '^ *+' conftest.er1
>conftest.err
18676 cat conftest.err
>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } && {
18679 test -z "$ac_c_werror_flag" ||
18680 test ! -s conftest.err
18681 } && test -s conftest.
$ac_objext; then
18682 ac_cv_member_struct_sockaddr_sa_len
=yes
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.
$ac_ext >&5
18687 ac_cv_member_struct_sockaddr_sa_len
=no
18690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18695 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18696 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18697 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18699 cat >>confdefs.h
<<_ACEOF
18700 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18705 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18706 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18707 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18708 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 cat >conftest.
$ac_ext <<_ACEOF
18713 cat confdefs.h
>>conftest.
$ac_ext
18714 cat >>conftest.
$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 #include <sys/types.h>
18717 #ifdef HAVE_SYS_SOCKET_H
18718 # include <sys/socket.h>
18720 #ifdef HAVE_SYS_UN_H
18721 # include <sys/un.h>
18727 static struct sockaddr_un ac_aggr;
18728 if (ac_aggr.sun_len)
18734 rm -f conftest.
$ac_objext
18735 if { (ac_try
="$ac_compile"
18736 case "(($ac_try" in
18737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_compile") 2>conftest.er1
18743 grep -v '^ *+' conftest.er1 >conftest.err
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest.$ac_objext; then
18751 ac_cv_member_struct_sockaddr_un_sun_len=yes
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18756 cat >conftest.$ac_ext <<_ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 #include <sys/types.h>
18763 #ifdef HAVE_SYS_SOCKET_H
18764 # include <sys/socket.h>
18766 #ifdef HAVE_SYS_UN_H
18767 # include <sys/un.h>
18773 static struct sockaddr_un ac_aggr;
18774 if (sizeof ac_aggr.sun_len)
18780 rm -f conftest.$ac_objext
18781 if { (ac_try="$ac_compile"
18782 case "(($ac_try" in
18783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18784 *) ac_try_echo
=$ac_try;;
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_compile") 2>conftest.er1
18789 grep -v '^ *+' conftest.er1
>conftest.err
18791 cat conftest.err
>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } && {
18794 test -z "$ac_c_werror_flag" ||
18795 test ! -s conftest.err
18796 } && test -s conftest.
$ac_objext; then
18797 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.
$ac_ext >&5
18802 ac_cv_member_struct_sockaddr_un_sun_len
=no
18805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18810 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18811 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18812 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18814 cat >>confdefs.h
<<_ACEOF
18815 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18822 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18823 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18824 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 #include <sys/types.h>
18834 #ifdef HAVE_SCSI_SG_H
18835 #include <scsi/sg.h>
18841 static scsireq_t ac_aggr;
18848 rm -f conftest.
$ac_objext
18849 if { (ac_try
="$ac_compile"
18850 case "(($ac_try" in
18851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18852 *) ac_try_echo=$ac_try;;
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_compile") 2>conftest.er1
18857 grep -v '^ *+' conftest.er1 >conftest.err
18859 cat conftest.err >&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } && {
18862 test -z "$ac_c_werror_flag" ||
18863 test ! -s conftest.err
18864 } && test -s conftest.$ac_objext; then
18865 ac_cv_member_scsireq_t_cmd=yes
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18870 cat >conftest.$ac_ext <<_ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 #include <sys/types.h>
18877 #ifdef HAVE_SCSI_SG_H
18878 #include <scsi/sg.h>
18884 static scsireq_t ac_aggr;
18885 if (sizeof ac_aggr.cmd)
18891 rm -f conftest.$ac_objext
18892 if { (ac_try="$ac_compile"
18893 case "(($ac_try" in
18894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18895 *) ac_try_echo
=$ac_try;;
18897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18898 (eval "$ac_compile") 2>conftest.er1
18900 grep -v '^ *+' conftest.er1
>conftest.err
18902 cat conftest.err
>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && {
18905 test -z "$ac_c_werror_flag" ||
18906 test ! -s conftest.err
18907 } && test -s conftest.
$ac_objext; then
18908 ac_cv_member_scsireq_t_cmd
=yes
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.
$ac_ext >&5
18913 ac_cv_member_scsireq_t_cmd
=no
18916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18922 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18923 if test $ac_cv_member_scsireq_t_cmd = yes; then
18925 cat >>confdefs.h
<<_ACEOF
18926 #define HAVE_SCSIREQ_T_CMD 1
18931 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18932 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18933 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 cat >conftest.
$ac_ext <<_ACEOF
18939 cat confdefs.h
>>conftest.
$ac_ext
18940 cat >>conftest.
$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #include <sys/types.h>
18943 #ifdef HAVE_SCSI_SG_H
18944 #include <scsi/sg.h>
18950 static sg_io_hdr_t ac_aggr;
18951 if (ac_aggr.interface_id)
18957 rm -f conftest.
$ac_objext
18958 if { (ac_try
="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_member_sg_io_hdr_t_interface_id=yes
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 cat >conftest.$ac_ext <<_ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18985 #include <sys/types.h>
18986 #ifdef HAVE_SCSI_SG_H
18987 #include <scsi/sg.h>
18993 static sg_io_hdr_t ac_aggr;
18994 if (sizeof ac_aggr.interface_id)
19000 rm -f conftest.$ac_objext
19001 if { (ac_try="$ac_compile"
19002 case "(($ac_try" in
19003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19004 *) ac_try_echo
=$ac_try;;
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compile") 2>conftest.er1
19009 grep -v '^ *+' conftest.er1
>conftest.err
19011 cat conftest.err
>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } && {
19014 test -z "$ac_c_werror_flag" ||
19015 test ! -s conftest.err
19016 } && test -s conftest.
$ac_objext; then
19017 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.
$ac_ext >&5
19022 ac_cv_member_sg_io_hdr_t_interface_id
=no
19025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19030 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19031 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19032 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19034 cat >>confdefs.h
<<_ACEOF
19035 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19042 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19043 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19044 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19045 echo $ECHO_N "(cached) $ECHO_C" >&6
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 #include <signal.h>
19058 static siginfo_t ac_aggr;
19065 rm -f conftest.
$ac_objext
19066 if { (ac_try
="$ac_compile"
19067 case "(($ac_try" in
19068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_compile") 2>conftest.er1
19074 grep -v '^ *+' conftest.er1 >conftest.err
19076 cat conftest.err >&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } && {
19079 test -z "$ac_c_werror_flag" ||
19080 test ! -s conftest.err
19081 } && test -s conftest.$ac_objext; then
19082 ac_cv_member_siginfo_t_si_fd=yes
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19087 cat >conftest.$ac_ext <<_ACEOF
19090 cat confdefs.h >>conftest.$ac_ext
19091 cat >>conftest.$ac_ext <<_ACEOF
19092 /* end confdefs.h. */
19093 #include <signal.h>
19098 static siginfo_t ac_aggr;
19099 if (sizeof ac_aggr.si_fd)
19105 rm -f conftest.$ac_objext
19106 if { (ac_try="$ac_compile"
19107 case "(($ac_try" in
19108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19109 *) ac_try_echo
=$ac_try;;
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_compile") 2>conftest.er1
19114 grep -v '^ *+' conftest.er1
>conftest.err
19116 cat conftest.err
>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && {
19119 test -z "$ac_c_werror_flag" ||
19120 test ! -s conftest.err
19121 } && test -s conftest.
$ac_objext; then
19122 ac_cv_member_siginfo_t_si_fd
=yes
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.
$ac_ext >&5
19127 ac_cv_member_siginfo_t_si_fd
=no
19130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19135 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19136 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19137 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19139 cat >>confdefs.h
<<_ACEOF
19140 #define HAVE_SIGINFO_T_SI_FD 1
19147 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19148 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19149 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 cat >conftest.
$ac_ext <<_ACEOF
19155 cat confdefs.h
>>conftest.
$ac_ext
19156 cat >>conftest.
$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19158 #include <sys/types.h>
19159 #ifdef HAVE_SYS_MTIO_H
19160 #include <sys/mtio.h>
19166 static struct mtget ac_aggr;
19167 if (ac_aggr.mt_blksiz)
19173 rm -f conftest.
$ac_objext
19174 if { (ac_try
="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19182 grep -v '^ *+' conftest.er1 >conftest.err
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && {
19187 test -z "$ac_c_werror_flag" ||
19188 test ! -s conftest.err
19189 } && test -s conftest.$ac_objext; then
19190 ac_cv_member_struct_mtget_mt_blksiz=yes
19192 echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19195 cat >conftest.$ac_ext <<_ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201 #include <sys/types.h>
19202 #ifdef HAVE_SYS_MTIO_H
19203 #include <sys/mtio.h>
19209 static struct mtget ac_aggr;
19210 if (sizeof ac_aggr.mt_blksiz)
19216 rm -f conftest.$ac_objext
19217 if { (ac_try="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19220 *) ac_try_echo
=$ac_try;;
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19225 grep -v '^ *+' conftest.er1
>conftest.err
19227 cat conftest.err
>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.
$ac_objext; then
19233 ac_cv_member_struct_mtget_mt_blksiz
=yes
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 ac_cv_member_struct_mtget_mt_blksiz
=no
19241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19247 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19248 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19250 cat >>confdefs.h
<<_ACEOF
19251 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19256 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19257 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19258 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.
$ac_ext <<_ACEOF
19264 cat confdefs.h
>>conftest.
$ac_ext
19265 cat >>conftest.
$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267 #include <sys/types.h>
19268 #ifdef HAVE_SYS_MTIO_H
19269 #include <sys/mtio.h>
19275 static struct mtget ac_aggr;
19276 if (ac_aggr.mt_gstat)
19282 rm -f conftest.
$ac_objext
19283 if { (ac_try
="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1 >conftest.err
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_cv_member_struct_mtget_mt_gstat=yes
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 cat >conftest.$ac_ext <<_ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 #include <sys/types.h>
19311 #ifdef HAVE_SYS_MTIO_H
19312 #include <sys/mtio.h>
19318 static struct mtget ac_aggr;
19319 if (sizeof ac_aggr.mt_gstat)
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19329 *) ac_try_echo
=$ac_try;;
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19334 grep -v '^ *+' conftest.er1
>conftest.err
19336 cat conftest.err
>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.
$ac_objext; then
19342 ac_cv_member_struct_mtget_mt_gstat
=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 ac_cv_member_struct_mtget_mt_gstat
=no
19350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19356 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19357 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19359 cat >>confdefs.h
<<_ACEOF
19360 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19365 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19366 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19367 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 cat >conftest.
$ac_ext <<_ACEOF
19373 cat confdefs.h
>>conftest.
$ac_ext
19374 cat >>conftest.
$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 #include <sys/types.h>
19377 #ifdef HAVE_SYS_MTIO_H
19378 #include <sys/mtio.h>
19384 static struct mtget ac_aggr;
19385 if (ac_aggr.mt_blkno)
19391 rm -f conftest.
$ac_objext
19392 if { (ac_try
="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19408 ac_cv_member_struct_mtget_mt_blkno=yes
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 cat >conftest.$ac_ext <<_ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <sys/types.h>
19420 #ifdef HAVE_SYS_MTIO_H
19421 #include <sys/mtio.h>
19427 static struct mtget ac_aggr;
19428 if (sizeof ac_aggr.mt_blkno)
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19438 *) ac_try_echo
=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19443 grep -v '^ *+' conftest.er1
>conftest.err
19445 cat conftest.err
>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.
$ac_objext; then
19451 ac_cv_member_struct_mtget_mt_blkno
=yes
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.
$ac_ext >&5
19456 ac_cv_member_struct_mtget_mt_blkno
=no
19459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19465 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19466 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19468 cat >>confdefs.h
<<_ACEOF
19469 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19476 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19477 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19478 if test "${ac_cv_member_struct_option_name+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 #ifdef HAVE_GETOPT_H
19488 #include <getopt.h>
19494 static struct option ac_aggr;
19501 rm -f conftest.
$ac_objext
19502 if { (ac_try
="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19510 grep -v '^ *+' conftest.er1 >conftest.err
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19518 ac_cv_member_struct_option_name=yes
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.$ac_ext >&5
19523 cat >conftest.$ac_ext <<_ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 #ifdef HAVE_GETOPT_H
19530 #include <getopt.h>
19536 static struct option ac_aggr;
19537 if (sizeof ac_aggr.name)
19543 rm -f conftest.$ac_objext
19544 if { (ac_try="$ac_compile"
19545 case "(($ac_try" in
19546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19547 *) ac_try_echo
=$ac_try;;
19549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_compile") 2>conftest.er1
19552 grep -v '^ *+' conftest.er1
>conftest.err
19554 cat conftest.err
>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } && {
19557 test -z "$ac_c_werror_flag" ||
19558 test ! -s conftest.err
19559 } && test -s conftest.
$ac_objext; then
19560 ac_cv_member_struct_option_name
=yes
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.
$ac_ext >&5
19565 ac_cv_member_struct_option_name
=no
19568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19574 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19575 if test $ac_cv_member_struct_option_name = yes; then
19577 cat >>confdefs.h
<<_ACEOF
19578 #define HAVE_STRUCT_OPTION_NAME 1
19585 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19586 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19587 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 static struct stat ac_aggr;
19601 if (ac_aggr.st_blocks)
19607 rm -f conftest.
$ac_objext
19608 if { (ac_try
="$ac_compile"
19609 case "(($ac_try" in
19610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_compile") 2>conftest.er1
19616 grep -v '^ *+' conftest.er1 >conftest.err
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && {
19621 test -z "$ac_c_werror_flag" ||
19622 test ! -s conftest.err
19623 } && test -s conftest.$ac_objext; then
19624 ac_cv_member_struct_stat_st_blocks=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 cat >conftest.$ac_ext <<_ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 $ac_includes_default
19639 static struct stat ac_aggr;
19640 if (sizeof ac_aggr.st_blocks)
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19650 *) ac_try_echo
=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.
$ac_objext; then
19663 ac_cv_member_struct_stat_st_blocks
=yes
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.
$ac_ext >&5
19668 ac_cv_member_struct_stat_st_blocks
=no
19671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19676 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19677 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19678 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19680 cat >>confdefs.h
<<_ACEOF
19681 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19688 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19689 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19690 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 cat >conftest.
$ac_ext <<_ACEOF
19696 cat confdefs.h
>>conftest.
$ac_ext
19697 cat >>conftest.
$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 #ifdef HAVE_SYS_TYPES_H
19700 #include <sys/types.h>
19702 #ifdef HAVE_NETINET_IN_H
19703 #include <netinet/in.h>
19709 static struct sockaddr_in6 ac_aggr;
19710 if (ac_aggr.sin6_scope_id)
19716 rm -f conftest.
$ac_objext
19717 if { (ac_try
="$ac_compile"
19718 case "(($ac_try" in
19719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19720 *) ac_try_echo=$ac_try;;
19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19723 (eval "$ac_compile") 2>conftest.er1
19725 grep -v '^ *+' conftest.er1 >conftest.err
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && {
19730 test -z "$ac_c_werror_flag" ||
19731 test ! -s conftest.err
19732 } && test -s conftest.$ac_objext; then
19733 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 cat >conftest.$ac_ext <<_ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #ifdef HAVE_SYS_TYPES_H
19745 #include <sys/types.h>
19747 #ifdef HAVE_NETINET_IN_H
19748 #include <netinet/in.h>
19754 static struct sockaddr_in6 ac_aggr;
19755 if (sizeof ac_aggr.sin6_scope_id)
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19765 *) ac_try_echo
=$ac_try;;
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19770 grep -v '^ *+' conftest.er1
>conftest.err
19772 cat conftest.err
>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.
$ac_objext; then
19778 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.
$ac_ext >&5
19783 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19793 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19795 cat >>confdefs.h
<<_ACEOF
19796 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19803 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19804 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19805 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #ifdef HAVE_SYS_TYPES_H
19815 #include <sys/types.h>
19817 #ifdef HAVE_NETINET_IN_H
19818 # include <netinet/in.h>
19820 #ifdef HAVE_ARPA_NAMESER_H
19821 # include <arpa/nameser.h>
19827 static ns_msg ac_aggr;
19828 if (ac_aggr._msg_ptr)
19834 rm -f conftest.
$ac_objext
19835 if { (ac_try
="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19843 grep -v '^ *+' conftest.er1 >conftest.err
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_cv_member_ns_msg__msg_ptr=yes
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.$ac_ext >&5
19856 cat >conftest.$ac_ext <<_ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 #ifdef HAVE_SYS_TYPES_H
19863 #include <sys/types.h>
19865 #ifdef HAVE_NETINET_IN_H
19866 # include <netinet/in.h>
19868 #ifdef HAVE_ARPA_NAMESER_H
19869 # include <arpa/nameser.h>
19875 static ns_msg ac_aggr;
19876 if (sizeof ac_aggr._msg_ptr)
19882 rm -f conftest.$ac_objext
19883 if { (ac_try="$ac_compile"
19884 case "(($ac_try" in
19885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19886 *) ac_try_echo
=$ac_try;;
19888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19889 (eval "$ac_compile") 2>conftest.er1
19891 grep -v '^ *+' conftest.er1
>conftest.err
19893 cat conftest.err
>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); } && {
19896 test -z "$ac_c_werror_flag" ||
19897 test ! -s conftest.err
19898 } && test -s conftest.
$ac_objext; then
19899 ac_cv_member_ns_msg__msg_ptr
=yes
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.
$ac_ext >&5
19904 ac_cv_member_ns_msg__msg_ptr
=no
19907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19912 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19913 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19914 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19916 cat >>confdefs.h
<<_ACEOF
19917 #define HAVE_NS_MSG__MSG_PTR 1
19924 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19925 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19926 if test "${ac_cv_have_timezone+set}" = set; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 cat >conftest.
$ac_ext <<_ACEOF
19932 cat confdefs.h
>>conftest.
$ac_ext
19933 cat >>conftest.
$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19944 rm -f conftest.
$ac_objext conftest
$ac_exeext
19945 if { (ac_try
="$ac_link"
19946 case "(($ac_try" in
19947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_link") 2>conftest.er1
19953 grep -v '^ *+' conftest.er1 >conftest.err
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest$ac_exeext &&
19961 $as_test_x conftest$ac_exeext; then
19962 ac_cv_have_timezone="yes"
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19967 ac_cv_have_timezone="no"
19970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19971 conftest$ac_exeext conftest.$ac_ext
19973 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19974 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19975 if test "$ac_cv_have_timezone" = "yes"
19978 cat >>confdefs.h <<\_ACEOF
19979 #define HAVE_TIMEZONE 1
19983 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19984 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19985 if test "${ac_cv_have_daylight+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 cat >conftest.$ac_ext <<_ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
20003 rm -f conftest.$ac_objext conftest$ac_exeext
20004 if { (ac_try="$ac_link"
20005 case "(($ac_try" in
20006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20007 *) ac_try_echo
=$ac_try;;
20009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20010 (eval "$ac_link") 2>conftest.er1
20012 grep -v '^ *+' conftest.er1
>conftest.err
20014 cat conftest.err
>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } && {
20017 test -z "$ac_c_werror_flag" ||
20018 test ! -s conftest.err
20019 } && test -s conftest
$ac_exeext &&
20020 $as_test_x conftest
$ac_exeext; then
20021 ac_cv_have_daylight
="yes"
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20026 ac_cv_have_daylight
="no"
20029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20030 conftest
$ac_exeext conftest.
$ac_ext
20032 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20033 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20034 if test "$ac_cv_have_daylight" = "yes"
20037 cat >>confdefs.h
<<\_ACEOF
20038 #define HAVE_DAYLIGHT 1
20045 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20046 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20047 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20061 $EGREP "yes" >/dev
/null
2>&1; then
20062 ac_cv_cpp_def___i386__
=yes
20064 ac_cv_cpp_def___i386__
=no
20069 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20070 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20071 if test $ac_cv_cpp_def___i386__ = yes; then
20072 CFLAGS
="$CFLAGS -D__i386__"
20073 LINTFLAGS
="$LINTFLAGS -D__i386__"
20076 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20077 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20078 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20092 $EGREP "yes" >/dev
/null
2>&1; then
20093 ac_cv_cpp_def___x86_64__
=yes
20095 ac_cv_cpp_def___x86_64__
=no
20100 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20101 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20102 if test $ac_cv_cpp_def___x86_64__ = yes; then
20103 CFLAGS
="$CFLAGS -D__x86_64__"
20104 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20107 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20108 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20109 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 cat >conftest.
$ac_ext <<_ACEOF
20115 cat confdefs.h
>>conftest.
$ac_ext
20116 cat >>conftest.
$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20123 $EGREP "yes" >/dev
/null
2>&1; then
20124 ac_cv_cpp_def___ALPHA__
=yes
20126 ac_cv_cpp_def___ALPHA__
=no
20131 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20132 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20133 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20134 CFLAGS
="$CFLAGS -D__ALPHA__"
20135 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20138 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20139 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20140 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 cat >conftest.
$ac_ext <<_ACEOF
20146 cat confdefs.h
>>conftest.
$ac_ext
20147 cat >>conftest.
$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20154 $EGREP "yes" >/dev
/null
2>&1; then
20155 ac_cv_cpp_def___sparc__
=yes
20157 ac_cv_cpp_def___sparc__
=no
20162 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20163 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20164 if test $ac_cv_cpp_def___sparc__ = yes; then
20165 CFLAGS
="$CFLAGS -D__sparc__"
20166 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20169 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20170 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20171 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 cat >conftest.
$ac_ext <<_ACEOF
20177 cat confdefs.h
>>conftest.
$ac_ext
20178 cat >>conftest.
$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #ifndef __powerpc__
20184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20185 $EGREP "yes" >/dev
/null
2>&1; then
20186 ac_cv_cpp_def___powerpc__
=yes
20188 ac_cv_cpp_def___powerpc__
=no
20193 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20194 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20195 if test $ac_cv_cpp_def___powerpc__ = yes; then
20196 CFLAGS
="$CFLAGS -D__powerpc__"
20197 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20202 case $host_vendor in
20203 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20204 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20205 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 cat >conftest.
$ac_ext <<_ACEOF
20211 cat confdefs.h
>>conftest.
$ac_ext
20212 cat >>conftest.
$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20219 $EGREP "yes" >/dev
/null
2>&1; then
20220 ac_cv_cpp_def___sun__
=yes
20222 ac_cv_cpp_def___sun__
=no
20227 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20228 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20229 if test $ac_cv_cpp_def___sun__ = yes; then
20230 CFLAGS
="$CFLAGS -D__sun__"
20231 LINTFLAGS
="$LINTFLAGS -D__sun__"
20237 DEPENDENCIES
="### Dependencies:
20242 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20244 \$(OBJS): \$(IDL_GEN_HEADERS)
20245 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20246 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20247 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20253 ac_config_commands
="$ac_config_commands include/stamp-h"
20256 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20258 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20260 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20262 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20264 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20266 ac_config_commands
="$ac_config_commands include/wine"
20269 MAKE_RULES
=Make.rules
20272 MAKE_DLL_RULES
=dlls
/Makedll.rules
20275 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20278 MAKE_TEST_RULES
=dlls
/Maketest.rules
20281 MAKE_PROG_RULES
=programs
/Makeprog.rules
20284 ac_config_files
="$ac_config_files Make.rules"
20286 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20288 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20290 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20292 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20294 ac_config_files
="$ac_config_files Makefile"
20296 ac_config_files
="$ac_config_files dlls/Makefile"
20298 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
20300 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20302 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20304 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20306 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20308 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20310 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20312 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20314 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20316 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20318 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20320 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20322 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20324 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20326 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20328 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20330 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20332 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20334 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20336 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20338 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20340 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20342 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20344 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20346 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20348 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20350 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20352 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20354 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20356 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20358 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20360 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20362 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
20364 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20366 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20368 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20370 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20372 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20374 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20376 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
20378 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20380 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
20382 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20384 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20386 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20388 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20390 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20392 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20394 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20396 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20398 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20400 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20402 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20404 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20406 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20408 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20410 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20412 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20414 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20416 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20418 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20420 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20422 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20424 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20426 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20428 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20430 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20432 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20434 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20436 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
20438 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20440 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20442 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20444 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
20446 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20448 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20450 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20452 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20454 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
20456 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20458 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20460 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
20462 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
20464 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20466 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20468 ac_config_files
="$ac_config_files dlls/hal/Makefile"
20470 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20472 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20474 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20476 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20478 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
20480 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20482 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20484 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20486 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20488 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20490 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20492 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20494 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20496 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
20498 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20500 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20502 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20504 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20506 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20508 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20510 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20512 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20514 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20516 ac_config_files
="$ac_config_files dlls/localui/Makefile"
20518 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
20520 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20522 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20524 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20526 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20528 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20530 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20532 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20534 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20536 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20538 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20540 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20542 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20544 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20546 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20548 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20550 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20552 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20554 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20556 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20558 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20560 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20562 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20564 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20566 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20568 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20570 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
20572 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20574 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20576 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20578 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20580 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20582 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
20584 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20586 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20588 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20590 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
20592 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20594 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20596 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20598 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20600 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20602 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20604 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20606 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20608 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20610 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20612 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20614 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20616 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20618 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20620 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20622 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20624 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20626 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20628 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20630 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
20632 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
20634 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20636 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20638 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20640 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20642 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20644 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20646 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20648 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20650 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20652 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
20654 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
20656 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
20658 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
20660 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
20662 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
20664 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
20666 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
20668 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
20670 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
20672 ac_config_files
="$ac_config_files dlls/printui/Makefile"
20674 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
20676 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
20678 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
20680 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
20682 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
20684 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
20686 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
20688 ac_config_files
="$ac_config_files dlls/query/Makefile"
20690 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
20692 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
20694 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
20696 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
20698 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
20700 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
20702 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
20704 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
20706 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
20708 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
20710 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
20712 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
20714 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
20716 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
20718 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
20720 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
20722 ac_config_files
="$ac_config_files dlls/security/Makefile"
20724 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
20726 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
20728 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
20730 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
20732 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
20734 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
20736 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
20738 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
20740 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
20742 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
20744 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
20746 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
20748 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
20750 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
20752 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
20754 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
20756 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
20758 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
20760 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
20762 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
20764 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
20766 ac_config_files
="$ac_config_files dlls/sti/Makefile"
20768 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
20770 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
20772 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
20774 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
20776 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
20778 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
20780 ac_config_files
="$ac_config_files dlls/url/Makefile"
20782 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
20784 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
20786 ac_config_files
="$ac_config_files dlls/user32/Makefile"
20788 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
20790 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
20792 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
20794 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
20796 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
20798 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
20800 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
20802 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
20804 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
20806 ac_config_files
="$ac_config_files dlls/version/Makefile"
20808 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
20810 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
20812 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
20814 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
20816 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
20818 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
20820 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
20822 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
20824 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
20826 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20828 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
20830 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
20832 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
20834 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
20836 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
20838 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
20840 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
20842 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
20844 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
20846 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
20848 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
20850 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
20852 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
20854 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
20856 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
20858 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
20860 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
20862 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
20864 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
20866 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
20868 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
20870 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
20872 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
20874 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
20876 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
20878 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
20880 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
20882 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
20884 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
20886 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
20888 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
20890 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
20892 ac_config_files
="$ac_config_files documentation/Makefile"
20894 ac_config_files
="$ac_config_files fonts/Makefile"
20896 ac_config_files
="$ac_config_files include/Makefile"
20898 ac_config_files
="$ac_config_files libs/Makefile"
20900 ac_config_files
="$ac_config_files libs/port/Makefile"
20902 ac_config_files
="$ac_config_files libs/wine/Makefile"
20904 ac_config_files
="$ac_config_files libs/wpp/Makefile"
20906 ac_config_files
="$ac_config_files loader/Makefile"
20908 ac_config_files
="$ac_config_files programs/Makefile"
20910 ac_config_files
="$ac_config_files programs/clock/Makefile"
20912 ac_config_files
="$ac_config_files programs/cmd/Makefile"
20914 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
20916 ac_config_files
="$ac_config_files programs/control/Makefile"
20918 ac_config_files
="$ac_config_files programs/eject/Makefile"
20920 ac_config_files
="$ac_config_files programs/expand/Makefile"
20922 ac_config_files
="$ac_config_files programs/explorer/Makefile"
20924 ac_config_files
="$ac_config_files programs/hh/Makefile"
20926 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
20928 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
20930 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
20932 ac_config_files
="$ac_config_files programs/net/Makefile"
20934 ac_config_files
="$ac_config_files programs/notepad/Makefile"
20936 ac_config_files
="$ac_config_files programs/oleview/Makefile"
20938 ac_config_files
="$ac_config_files programs/progman/Makefile"
20940 ac_config_files
="$ac_config_files programs/regedit/Makefile"
20942 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
20944 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
20946 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
20948 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
20950 ac_config_files
="$ac_config_files programs/start/Makefile"
20952 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
20954 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
20956 ac_config_files
="$ac_config_files programs/view/Makefile"
20958 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
20960 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
20962 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
20964 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
20966 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
20968 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
20970 ac_config_files
="$ac_config_files programs/winefile/Makefile"
20972 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
20974 ac_config_files
="$ac_config_files programs/winemine/Makefile"
20976 ac_config_files
="$ac_config_files programs/winepath/Makefile"
20978 ac_config_files
="$ac_config_files programs/winetest/Makefile"
20980 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
20982 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
20984 ac_config_files
="$ac_config_files programs/winver/Makefile"
20986 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
20988 ac_config_files
="$ac_config_files programs/write/Makefile"
20990 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
20992 ac_config_files
="$ac_config_files server/Makefile"
20994 ac_config_files
="$ac_config_files tools/Makefile"
20996 ac_config_files
="$ac_config_files tools/widl/Makefile"
20998 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21000 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21002 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21004 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21006 ac_config_files
="$ac_config_files tools/wrc/Makefile"
21009 cat >confcache
<<\_ACEOF
21010 # This file is a shell script that caches the results of configure
21011 # tests run on this system so they can be shared between configure
21012 # scripts and configure runs, see configure's option --config-cache.
21013 # It is not useful on other systems. If it contains results you don't
21014 # want to keep, you may remove or edit it.
21016 # config.status only pays attention to the cache file if you give it
21017 # the --recheck option to rerun configure.
21019 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21021 # following values.
21025 # The following way of writing the cache mishandles newlines in values,
21026 # but we know of no workaround that is simple, portable, and efficient.
21027 # So, we kill variables containing newlines.
21028 # Ultrix sh set writes to stderr and can't be redirected directly,
21029 # and sets the high bit in the cache file unless we assign to the vars.
21031 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21032 eval ac_val
=\$
$ac_var
21036 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21037 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21040 _ | IFS | as_nl
) ;; #(
21041 *) $as_unset $ac_var ;;
21047 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21048 *${as_nl}ac_space
=\
*)
21049 # `set' does not quote correctly, so add quotes (double-quote
21050 # substitution turns \\\\ into \\, and sed turns \\ into \).
21053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21056 # `set' quotes correctly as required by POSIX, so do not add quotes.
21057 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21068 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21070 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21071 if test -w "$cache_file"; then
21072 test "x$cache_file" != "x/dev/null" &&
21073 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21074 echo "$as_me: updating cache $cache_file" >&6;}
21075 cat confcache
>$cache_file
21077 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21078 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21083 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21084 # Let make expand exec_prefix.
21085 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21087 DEFS
=-DHAVE_CONFIG_H
21091 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21092 # 1. Remove the extension, and $U if already installed.
21093 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21094 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21095 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21096 # will be set to the directory where LIBOBJS objects are built.
21097 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21098 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21100 LIBOBJS
=$ac_libobjs
21102 LTLIBOBJS
=$ac_ltlibobjs
21106 : ${CONFIG_STATUS=./config.status}
21107 ac_clean_files_save
=$ac_clean_files
21108 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21109 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21110 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21111 cat >$CONFIG_STATUS <<_ACEOF
21113 # Generated by $as_me.
21114 # Run this file to recreate the current configuration.
21115 # Compiler output produced by configure, useful for debugging
21116 # configure, is in config.log if it exists.
21119 ac_cs_recheck=false
21121 SHELL=\${CONFIG_SHELL-$SHELL}
21124 cat >>$CONFIG_STATUS <<\_ACEOF
21125 ## --------------------- ##
21126 ## M4sh Initialization. ##
21127 ## --------------------- ##
21129 # Be more Bourne compatible
21130 DUALCASE
=1; export DUALCASE
# for MKS sh
21131 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21134 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21135 # is contrary to our usage. Disable this feature.
21136 alias -g '${1+"$@"}'='"$@"'
21137 setopt NO_GLOB_SUBST
21139 case `(set -o) 2>/dev/null` in
21140 *posix
*) set -o posix
;;
21149 # Avoid depending upon Character Ranges.
21150 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21151 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21152 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21153 as_cr_digits
='0123456789'
21154 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21156 # The user is always right.
21157 if test "${PATH_SEPARATOR+set}" != set; then
21158 echo "#! /bin/sh" >conf$$.sh
21159 echo "exit 0" >>conf$$.sh
21161 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21169 # Support unset when possible.
21170 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21178 # We need space, tab and new line, in precisely that order. Quoting is
21179 # there to prevent editors from complaining about space-tab.
21180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21181 # splitting by setting IFS to empty value.)
21186 # Find who we are. Look in the path if we contain no directory separator.
21188 *[\\/]* ) as_myself
=$0 ;;
21189 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21190 for as_dir
in $PATH
21193 test -z "$as_dir" && as_dir
=.
21194 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21200 # We did not find ourselves, most probably we were run as `sh COMMAND'
21201 # in which case we are not to be found in the path.
21202 if test "x$as_myself" = x
; then
21205 if test ! -f "$as_myself"; then
21206 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21207 { (exit 1); exit 1; }
21210 # Work around bugs in pre-3.0 UWIN ksh.
21211 for as_var
in ENV MAIL MAILPATH
21212 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21220 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21221 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21222 LC_TELEPHONE LC_TIME
21224 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21225 eval $as_var=C
; export $as_var
21227 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21231 # Required to use basename.
21232 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21233 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21239 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21240 as_basename
=basename
21246 # Name of the executable.
21247 as_me
=`$as_basename -- "$0" ||
21248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21249 X"$0" : 'X\(//\)$' \| \
21250 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21252 sed '/^.*\/\([^/][^/]*\)\/*$/{
21271 as_lineno_1
=$LINENO
21272 as_lineno_2
=$LINENO
21273 test "x$as_lineno_1" != "x$as_lineno_2" &&
21274 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21276 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21277 # uniformly replaced by the line number. The first 'sed' inserts a
21278 # line-number line after each line using $LINENO; the second 'sed'
21279 # does the real work. The second script uses 'N' to pair each
21280 # line-number line with the line containing $LINENO, and appends
21281 # trailing '-' during substitution so that $LINENO is not a special
21282 # case at line end.
21283 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21284 # scripts with optimization help from Paolo Bonzini. Blame Lee
21285 # E. McMahon (1931-1989) for sed's syntax. :-)
21297 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21300 ' >$as_me.lineno
&&
21301 chmod +x
"$as_me.lineno" ||
21302 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21303 { (exit 1); exit 1; }; }
21305 # Don't try to exec as it changes $[0], causing all sort of problems
21306 # (the dirname of $[0] is not the place where we might find the
21307 # original and so on. Autoconf is especially sensitive to this).
21308 .
"./$as_me.lineno"
21309 # Exit status is that of the last command.
21314 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21320 ECHO_C
= ECHO_N
= ECHO_T
=
21321 case `echo -n x` in
21323 case `echo 'x\c'` in
21324 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21331 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21332 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21338 rm -f conf$$ conf$$.exe conf$$.
file
21339 if test -d conf$$.dir
; then
21340 rm -f conf$$.dir
/conf$$.
file
21346 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21348 # ... but there are two gotchas:
21349 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21350 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21351 # In both cases, we have to default to `cp -p'.
21352 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21354 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21359 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21360 rmdir conf$$.dir
2>/dev
/null
21362 if mkdir
-p .
2>/dev
/null
; then
21365 test -d .
/-p && rmdir .
/-p
21369 if test -x / >/dev
/null
2>&1; then
21370 as_test_x
='test -x'
21372 if ls -dL / >/dev
/null
2>&1; then
21379 if test -d "$1"; then
21385 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21386 ???[sx]*):;;*)false;;esac;fi
21390 as_executable_p
=$as_test_x
21392 # Sed expression to map a string onto a valid CPP name.
21393 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21395 # Sed expression to map a string onto a valid variable name.
21396 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21401 # Save the log message, to keep $[0] and so on meaningful, and to
21402 # report actual input values of CONFIG_FILES etc. instead of their
21403 # values after options handling.
21405 This file was extended by Wine $as_me 0.9.47, which was
21406 generated by GNU Autoconf 2.61. Invocation command line was
21408 CONFIG_FILES = $CONFIG_FILES
21409 CONFIG_HEADERS = $CONFIG_HEADERS
21410 CONFIG_LINKS = $CONFIG_LINKS
21411 CONFIG_COMMANDS = $CONFIG_COMMANDS
21414 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21419 cat >>$CONFIG_STATUS <<_ACEOF
21420 # Files that config.status was made for.
21421 config_files="$ac_config_files"
21422 config_headers="$ac_config_headers"
21423 config_commands="$ac_config_commands"
21427 cat >>$CONFIG_STATUS <<\_ACEOF
21429 \`$as_me' instantiates files from templates according to the
21430 current configuration.
21432 Usage: $0 [OPTIONS] [FILE]...
21434 -h, --help print this help, then exit
21435 -V, --version print version number and configuration settings, then exit
21436 -q, --quiet do not print progress messages
21437 -d, --debug don't remove temporary files
21438 --recheck update $as_me by reconfiguring in the same conditions
21439 --file=FILE[:TEMPLATE]
21440 instantiate the configuration file FILE
21441 --header=FILE[:TEMPLATE]
21442 instantiate the configuration header FILE
21444 Configuration files:
21447 Configuration headers:
21450 Configuration commands:
21453 Report bugs to <bug-autoconf@gnu.org>."
21456 cat >>$CONFIG_STATUS <<_ACEOF
21458 Wine config.status 0.9.47
21459 configured by $0, generated by GNU Autoconf 2.61,
21460 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21462 Copyright (C) 2006 Free Software Foundation, Inc.
21463 This config.status script is free software; the Free Software Foundation
21464 gives unlimited permission to copy, distribute and modify it."
21471 cat >>$CONFIG_STATUS <<\_ACEOF
21472 # If no file are specified by the user, then we need to provide default
21473 # value. By we need to know if files were specified by the user.
21479 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21480 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21491 # Handling of the options.
21492 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21494 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21495 echo "$ac_cs_version"; exit ;;
21496 --debug |
--debu |
--deb |
--de |
--d |
-d )
21498 --file |
--fil |
--fi |
--f )
21500 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21501 ac_need_defaults
=false
;;
21502 --header |
--heade |
--head |
--hea )
21504 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21505 ac_need_defaults
=false
;;
21507 # Conflict between --help and --header
21508 { echo "$as_me: error: ambiguous option: $1
21509 Try \`$0 --help' for more information." >&2
21510 { (exit 1); exit 1; }; };;
21511 --help |
--hel |
-h )
21512 echo "$ac_cs_usage"; exit ;;
21513 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21514 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21517 # This is an error.
21518 -*) { echo "$as_me: error: unrecognized option: $1
21519 Try \`$0 --help' for more information." >&2
21520 { (exit 1); exit 1; }; } ;;
21522 *) ac_config_targets
="$ac_config_targets $1"
21523 ac_need_defaults
=false
;;
21529 ac_configure_extra_args
=
21531 if $ac_cs_silent; then
21533 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21537 cat >>$CONFIG_STATUS <<_ACEOF
21538 if \$ac_cs_recheck; then
21539 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21540 CONFIG_SHELL=$SHELL
21541 export CONFIG_SHELL
21542 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21546 cat >>$CONFIG_STATUS <<\_ACEOF
21550 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21551 ## Running $as_me. ##
21557 cat >>$CONFIG_STATUS <<_ACEOF
21560 cat >>$CONFIG_STATUS <<\_ACEOF
21562 # Handling of arguments.
21563 for ac_config_target
in $ac_config_targets
21565 case $ac_config_target in
21566 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21567 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21568 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21569 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21570 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21571 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21572 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21573 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21574 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21575 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21576 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21577 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21578 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21579 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21580 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21581 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21582 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21583 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21584 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21585 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21586 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21587 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21588 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21589 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21590 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21591 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21592 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21593 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21594 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21595 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21596 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21597 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21598 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21599 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21600 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21601 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21602 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21603 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21604 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21605 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21606 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21607 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21608 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21609 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21610 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21611 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21612 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21613 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21614 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21615 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21616 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21617 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21618 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21619 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21620 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21621 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21622 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21623 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21624 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21625 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21626 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21627 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21628 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21629 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21630 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21631 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21632 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21633 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21634 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21635 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21636 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21637 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21638 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21639 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21640 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21641 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21642 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21643 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21644 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21645 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21646 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21647 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21648 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21649 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21650 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21651 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21652 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21653 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21654 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21655 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21656 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21657 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21658 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21659 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21660 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21661 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21662 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21663 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21664 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21665 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21666 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21667 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21668 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21669 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21670 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21671 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21672 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21673 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21674 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21675 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21676 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21677 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21678 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21679 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21680 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21681 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21682 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21683 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21684 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21685 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21686 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21687 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21688 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21689 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21690 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21691 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21692 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21693 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21694 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21695 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21696 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21697 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21698 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21699 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21700 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21701 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21702 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21703 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21704 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21705 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21706 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21707 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21708 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21709 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21710 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21711 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21712 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21713 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21714 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21715 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21716 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21717 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21718 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21719 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21720 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21721 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21722 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21723 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21724 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21725 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21726 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21727 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21728 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21729 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21730 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21731 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21732 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21733 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21734 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21735 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21736 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21737 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21738 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21739 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21740 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21741 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21742 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21743 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21744 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21745 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21746 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21747 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21748 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21749 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21750 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21751 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21752 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21753 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21754 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21755 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21756 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21757 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21758 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21759 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21760 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21761 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21762 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21763 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21764 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21765 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21766 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21767 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21768 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21769 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21770 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21771 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21772 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21773 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
21774 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21775 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21776 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21777 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21778 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21779 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21780 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21781 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21782 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21783 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21784 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21785 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21786 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21787 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21788 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21789 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21790 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21791 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21792 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21793 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21794 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21795 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21796 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21797 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21798 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21799 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21800 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21801 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21802 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21803 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21804 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21805 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21806 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21807 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21808 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21809 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21810 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21811 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21812 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
21813 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21814 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21815 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21816 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21817 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21818 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21819 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21820 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21821 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21822 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21823 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21824 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21825 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21826 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21827 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21828 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21829 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21830 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21831 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21832 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21833 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21834 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21835 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21836 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21837 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21838 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21839 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21840 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21841 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21842 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21843 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21844 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21845 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21846 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21847 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21848 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21849 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21850 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21851 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21852 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21853 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21854 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21855 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21856 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21857 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21858 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21859 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21860 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21861 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21862 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21863 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21864 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21865 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21866 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21867 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21868 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21869 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21870 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21871 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21872 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21873 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21874 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21875 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21876 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21877 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21878 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21879 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21880 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21881 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21882 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21883 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21884 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21885 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21886 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21887 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21888 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21889 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21890 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21891 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21892 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21893 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21894 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21895 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21896 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21897 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21898 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21899 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21900 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21901 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21902 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21903 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21904 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21905 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21906 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21907 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21908 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21909 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21910 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21911 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21912 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21913 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21914 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21915 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21916 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21917 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21918 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21919 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21920 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21921 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21922 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21923 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21924 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21925 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21926 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
21927 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21928 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21929 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21930 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21931 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21932 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21933 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21934 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21935 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21937 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21938 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21939 { (exit 1); exit 1; }; };;
21944 # If the user did not use the arguments to specify the items to instantiate,
21945 # then the envvar interface is used. Set only those that are not.
21946 # We use the long form for the default assignment because of an extremely
21947 # bizarre bug on SunOS 4.1.3.
21948 if $ac_need_defaults; then
21949 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21950 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21951 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21954 # Have a temporary directory for convenience. Make it in the build tree
21955 # simply because there is no reason against having it here, and in addition,
21956 # creating and moving files from /tmp can sometimes cause problems.
21957 # Hook for its removal unless debugging.
21958 # Note that there is a small window in which the directory will not be cleaned:
21959 # after its creation but before its name has been assigned to `$tmp'.
21963 trap 'exit_status=$?
21964 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21966 trap '{ (exit 1); exit 1; }' 1 2 13 15
21968 # Create a (secure) tmp directory for tmp files.
21971 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21972 test -n "$tmp" && test -d "$tmp"
21975 tmp
=.
/conf$$
-$RANDOM
21976 (umask 077 && mkdir
"$tmp")
21979 echo "$me: cannot create a temporary directory in ." >&2
21980 { (exit 1); exit 1; }
21984 # Set up the sed scripts for CONFIG_FILES section.
21987 # No need to generate the scripts if there are no CONFIG_FILES.
21988 # This happens for instance when ./config.status config.h
21989 if test -n "$CONFIG_FILES"; then
21993 # Create sed commands to just substitute file output variables.
21995 # Remaining file output variables are in a fragment that also has non-file
22001 for ac_last_try
in false false false false false
:; do
22002 cat >conf$
$subs.
sed <<_ACEOF
22003 SHELL!$SHELL$ac_delim
22004 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22005 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22006 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22007 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22008 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22009 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22010 exec_prefix!$exec_prefix$ac_delim
22011 prefix!$prefix$ac_delim
22012 program_transform_name!$program_transform_name$ac_delim
22013 bindir!$bindir$ac_delim
22014 sbindir!$sbindir$ac_delim
22015 libexecdir!$libexecdir$ac_delim
22016 datarootdir!$datarootdir$ac_delim
22017 datadir!$datadir$ac_delim
22018 sysconfdir!$sysconfdir$ac_delim
22019 sharedstatedir!$sharedstatedir$ac_delim
22020 localstatedir!$localstatedir$ac_delim
22021 includedir!$includedir$ac_delim
22022 oldincludedir!$oldincludedir$ac_delim
22023 docdir!$docdir$ac_delim
22024 infodir!$infodir$ac_delim
22025 htmldir!$htmldir$ac_delim
22026 dvidir!$dvidir$ac_delim
22027 pdfdir!$pdfdir$ac_delim
22028 psdir!$psdir$ac_delim
22029 libdir!$libdir$ac_delim
22030 localedir!$localedir$ac_delim
22031 mandir!$mandir$ac_delim
22032 DEFS!$DEFS$ac_delim
22033 ECHO_C!$ECHO_C$ac_delim
22034 ECHO_N!$ECHO_N$ac_delim
22035 ECHO_T!$ECHO_T$ac_delim
22036 LIBS!$LIBS$ac_delim
22037 build_alias!$build_alias$ac_delim
22038 host_alias!$host_alias$ac_delim
22039 target_alias!$target_alias$ac_delim
22040 build!$build$ac_delim
22041 build_cpu!$build_cpu$ac_delim
22042 build_vendor!$build_vendor$ac_delim
22043 build_os!$build_os$ac_delim
22044 host!$host$ac_delim
22045 host_cpu!$host_cpu$ac_delim
22046 host_vendor!$host_vendor$ac_delim
22047 host_os!$host_os$ac_delim
22048 WIN16_FILES!$WIN16_FILES$ac_delim
22049 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22050 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22051 WINETEST!$WINETEST$ac_delim
22052 SET_MAKE!$SET_MAKE$ac_delim
22054 CFLAGS!$CFLAGS$ac_delim
22055 LDFLAGS!$LDFLAGS$ac_delim
22056 CPPFLAGS!$CPPFLAGS$ac_delim
22057 ac_ct_CC!$ac_ct_CC$ac_delim
22058 EXEEXT!$EXEEXT$ac_delim
22059 OBJEXT!$OBJEXT$ac_delim
22061 CXXFLAGS!$CXXFLAGS$ac_delim
22062 ac_ct_CXX!$ac_ct_CXX$ac_delim
22063 CPPBIN!$CPPBIN$ac_delim
22064 TOOLSDIR!$TOOLSDIR$ac_delim
22065 XMKMF!$XMKMF$ac_delim
22067 X_CFLAGS!$X_CFLAGS$ac_delim
22068 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22069 X_LIBS!$X_LIBS$ac_delim
22070 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22071 FLEX!$FLEX$ac_delim
22072 BISON!$BISON$ac_delim
22074 ac_ct_AS!$ac_ct_AS$ac_delim
22077 RANLIB!$RANLIB$ac_delim
22078 STRIP!$STRIP$ac_delim
22079 WINDRES!$WINDRES$ac_delim
22080 LN_S!$LN_S$ac_delim
22082 GREP!$GREP$ac_delim
22083 EGREP!$EGREP$ac_delim
22084 LDCONFIG!$LDCONFIG$ac_delim
22087 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22089 elif $ac_last_try; then
22090 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22091 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22092 { (exit 1); exit 1; }; }
22094 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22098 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22099 if test -n "$ac_eof"; then
22100 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22101 ac_eof
=`expr $ac_eof + 1`
22104 cat >>$CONFIG_STATUS <<_ACEOF
22105 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22107 /^[ ]*@MAKE_RULES@[ ]*$/{
22111 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22115 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22116 r $MAKE_IMPLIB_RULES
22119 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22123 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22129 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22130 s/^/s,@/; s/!/@,|#_!!_#|/
22133 s/'"$ac_delim"'$/,g/; t
22135 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22136 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22137 rm -f conf$
$subs.
sed
22138 cat >>$CONFIG_STATUS <<_ACEOF
22144 for ac_last_try
in false false false false false
:; do
22145 cat >conf$
$subs.
sed <<_ACEOF
22146 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22147 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22148 INSTALL_DATA!$INSTALL_DATA$ac_delim
22149 LINT!$LINT$ac_delim
22150 LINTFLAGS!$LINTFLAGS$ac_delim
22151 FONTFORGE!$FONTFORGE$ac_delim
22152 PKG_CONFIG!$PKG_CONFIG$ac_delim
22153 PRELINK!$PRELINK$ac_delim
22154 LIBPTHREAD!$LIBPTHREAD$ac_delim
22155 XLIB!$XLIB$ac_delim
22156 XFILES!$XFILES$ac_delim
22157 OPENGLFILES!$OPENGLFILES$ac_delim
22158 GLU32FILES!$GLU32FILES$ac_delim
22159 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22160 QUARTZFILES!$QUARTZFILES$ac_delim
22161 DLLEXT!$DLLEXT$ac_delim
22162 DLLFLAGS!$DLLFLAGS$ac_delim
22163 LDSHARED!$LDSHARED$ac_delim
22164 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22165 LIBEXT!$LIBEXT$ac_delim
22166 IMPLIBEXT!$IMPLIBEXT$ac_delim
22167 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22168 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22170 DLLTOOL!$DLLTOOL$ac_delim
22171 DLLWRAP!$DLLWRAP$ac_delim
22172 MINGWAR!$MINGWAR$ac_delim
22173 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22174 IOKITLIB!$IOKITLIB$ac_delim
22175 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22176 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22177 COREAUDIO!$COREAUDIO$ac_delim
22178 CARBONLIB!$CARBONLIB$ac_delim
22179 CROSSTEST!$CROSSTEST$ac_delim
22180 CROSSCC!$CROSSCC$ac_delim
22181 CROSSWINDRES!$CROSSWINDRES$ac_delim
22182 NASLIBS!$NASLIBS$ac_delim
22183 XML2LIBS!$XML2LIBS$ac_delim
22184 XML2INCL!$XML2INCL$ac_delim
22185 XSLTLIBS!$XSLTLIBS$ac_delim
22186 XSLTINCL!$XSLTINCL$ac_delim
22187 HALINCL!$HALINCL$ac_delim
22188 sane_devel!$sane_devel$ac_delim
22189 SANEINCL!$SANEINCL$ac_delim
22190 gphoto2_devel!$gphoto2_devel$ac_delim
22191 gphoto2port_devel!$gphoto2port_devel$ac_delim
22192 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22193 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22194 RESOLVLIBS!$RESOLVLIBS$ac_delim
22195 LCMSLIBS!$LCMSLIBS$ac_delim
22196 LDAPLIBS!$LDAPLIBS$ac_delim
22197 ft_devel!$ft_devel$ac_delim
22198 FREETYPELIBS!$FREETYPELIBS$ac_delim
22199 FREETYPEINCL!$FREETYPEINCL$ac_delim
22200 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22201 ESDCONFIG!$ESDCONFIG$ac_delim
22202 ESDLIBS!$ESDLIBS$ac_delim
22203 ESDINCL!$ESDINCL$ac_delim
22204 ALSALIBS!$ALSALIBS$ac_delim
22205 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22206 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22207 BUILTINFLAG!$BUILTINFLAG$ac_delim
22208 LDPATH!$LDPATH$ac_delim
22209 CRTLIBS!$CRTLIBS$ac_delim
22210 SOCKETLIBS!$SOCKETLIBS$ac_delim
22211 MAIN_BINARY!$MAIN_BINARY$ac_delim
22212 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22213 LIBDL!$LIBDL$ac_delim
22214 LIBPOLL!$LIBPOLL$ac_delim
22215 DEPENDENCIES!$DEPENDENCIES$ac_delim
22216 LIBOBJS!$LIBOBJS$ac_delim
22217 LTLIBOBJS!$LTLIBOBJS$ac_delim
22220 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22222 elif $ac_last_try; then
22223 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22224 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22225 { (exit 1); exit 1; }; }
22227 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22231 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22232 if test -n "$ac_eof"; then
22233 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22234 ac_eof
=`expr $ac_eof + 1`
22237 cat >>$CONFIG_STATUS <<_ACEOF
22238 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22242 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22243 s/^/s,@/; s/!/@,|#_!!_#|/
22246 s/'"$ac_delim"'$/,g/; t
22248 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22249 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22250 rm -f conf$
$subs.
sed
22251 cat >>$CONFIG_STATUS <<_ACEOF
22258 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22259 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22260 # trailing colons and then remove the whole line if VPATH becomes empty
22261 # (actually we leave an empty line to preserve line numbers).
22262 if test "x$srcdir" = x.
; then
22263 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22264 s/:*\$(srcdir):*/:/
22265 s/:*\${srcdir}:*/:/
22267 s/^\([^=]*=[ ]*\):*/\1/
22273 cat >>$CONFIG_STATUS <<\_ACEOF
22274 fi # test -n "$CONFIG_FILES"
22277 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22280 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22282 case $ac_mode$ac_tag in
22284 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22285 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22286 { (exit 1); exit 1; }; };;
22287 :[FH
]-) ac_tag
=-:-;;
22288 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22305 -) ac_f
="$tmp/stdin";;
22306 *) # Look for the file first in the build tree, then in the source tree
22307 # (if the path is not absolute). The absolute path cannot be DOS-style,
22308 # because $ac_f cannot contain `:'.
22312 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22314 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22315 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22316 { (exit 1); exit 1; }; };;
22318 ac_file_inputs
="$ac_file_inputs $ac_f"
22321 # Let's still pretend it is `configure' which instantiates (i.e., don't
22322 # use $as_me), people would be surprised to read:
22323 # /* config.h. Generated by config.status. */
22324 configure_input
="Generated from "`IFS=:
22325 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22326 if test x
"$ac_file" != x-
; then
22327 configure_input
="$ac_file. $configure_input"
22328 { echo "$as_me:$LINENO: creating $ac_file" >&5
22329 echo "$as_me: creating $ac_file" >&6;}
22333 *:-:* |
*:-) cat >"$tmp/stdin";;
22338 ac_dir
=`$as_dirname -- "$ac_file" ||
22339 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22340 X"$ac_file" : 'X\(//\)[^/]' \| \
22341 X"$ac_file" : 'X\(//\)$' \| \
22342 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22348 /^X\(\/\/\)[^/].*/{
22363 -*) as_dir
=.
/$as_dir;;
22365 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22369 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22370 *) as_qdir
=$as_dir;;
22372 as_dirs
="'$as_qdir' $as_dirs"
22373 as_dir
=`$as_dirname -- "$as_dir" ||
22374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22375 X"$as_dir" : 'X\(//\)[^/]' \| \
22376 X"$as_dir" : 'X\(//\)$' \| \
22377 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22383 /^X\(\/\/\)[^/].*/{
22396 test -d "$as_dir" && break
22398 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22399 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22400 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22401 { (exit 1); exit 1; }; }; }
22405 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22407 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22408 # A ".." for each directory in $ac_dir_suffix.
22409 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22410 case $ac_top_builddir_sub in
22411 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22412 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22415 ac_abs_top_builddir
=$ac_pwd
22416 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22417 # for backward compatibility:
22418 ac_top_builddir
=$ac_top_build_prefix
22421 .
) # We are building in place.
22423 ac_top_srcdir
=$ac_top_builddir_sub
22424 ac_abs_top_srcdir
=$ac_pwd ;;
22425 [\\/]* | ?
:[\\/]* ) # Absolute name.
22426 ac_srcdir
=$srcdir$ac_dir_suffix;
22427 ac_top_srcdir
=$srcdir
22428 ac_abs_top_srcdir
=$srcdir ;;
22429 *) # Relative name.
22430 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22431 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22432 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22434 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22444 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22445 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22449 cat >>$CONFIG_STATUS <<\_ACEOF
22450 # If the template does not know about datarootdir, expand it.
22451 # FIXME: This hack should be removed a few years after 2.60.
22452 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22454 case `sed -n '/datarootdir/ {
22463 ' $ac_file_inputs` in
22464 *datarootdir
*) ac_datarootdir_seen
=yes;;
22465 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22466 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22467 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22469 cat >>$CONFIG_STATUS <<_ACEOF
22470 ac_datarootdir_hack='
22471 s&@datadir@&$datadir&g
22472 s&@docdir@&$docdir&g
22473 s&@infodir@&$infodir&g
22474 s&@localedir@&$localedir&g
22475 s&@mandir@&$mandir&g
22476 s&\\\${datarootdir}&$datarootdir&g' ;;
22480 # Neutralize VPATH when `$srcdir' = `.'.
22481 # Shell code in configure.ac might set extrasub.
22482 # FIXME: do we really want to maintain this feature?
22483 cat >>$CONFIG_STATUS <<_ACEOF
22487 cat >>$CONFIG_STATUS <<\_ACEOF
22489 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22490 s
&@configure_input@
&$configure_input&;t t
22491 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22492 s
&@srcdir@
&$ac_srcdir&;t t
22493 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22494 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22495 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22496 s
&@builddir@
&$ac_builddir&;t t
22497 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22498 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22499 s
&@INSTALL@
&$ac_INSTALL&;t t
22500 $ac_datarootdir_hack
22501 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22503 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22504 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22505 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22506 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22507 which seems to be undefined. Please make sure it is defined." >&5
22508 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22509 which seems to be undefined. Please make sure it is defined." >&2;}
22513 -) cat "$tmp/out"; rm -f "$tmp/out";;
22514 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22523 # Transform confdefs.h into a sed script `conftest.defines', that
22524 # substitutes the proper values into config.h.in to produce config.h.
22525 rm -f conftest.defines conftest.
tail
22526 # First, append a space to every undef/define line, to ease matching.
22527 echo 's/$/ /' >conftest.defines
22528 # Then, protect against being on the right side of a sed subst, or in
22529 # an unquoted here document, in config.status. If some macros were
22530 # called several times there might be several #defines for the same
22531 # symbol, which is useless. But do not sort them, since the last
22532 # AC_DEFINE must be honored.
22533 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22534 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22535 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22536 # PARAMS is the parameter list in the macro definition--in most cases, it's
22537 # just an empty string.
22538 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22539 ac_dB
='\\)[ (].*,\\1define\\2'
22547 s/^[ ]*#[ ]*define[ ][ ]*//
22552 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22553 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22554 ' >>conftest.defines
22556 # Remove the space that was appended to ease matching.
22557 # Then replace #undef with comments. This is necessary, for
22558 # example, in the case of _POSIX_SOURCE, which is predefined and required
22559 # on some systems where configure will not decide to define it.
22560 # (The regexp can be short, since the line contains either #define or #undef.)
22562 s,^[ #]*u.*,/* & */,' >>conftest.defines
22564 # Break up conftest.defines:
22565 ac_max_sed_lines
=50
22567 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22568 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22569 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22571 ac_in
='$ac_file_inputs'
22572 ac_out
='"$tmp/out1"'
22573 ac_nxt
='"$tmp/out2"'
22577 # Write a here document:
22578 cat >>$CONFIG_STATUS <<_ACEOF
22579 # First, check the format of the line:
22580 cat >"\$tmp/defines.sed" <<\\CEOF
22581 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22582 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22586 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22588 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22589 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22590 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22591 grep . conftest.
tail >/dev
/null ||
break
22592 rm -f conftest.defines
22593 mv conftest.
tail conftest.defines
22595 rm -f conftest.defines conftest.
tail
22597 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22598 cat >>$CONFIG_STATUS <<\_ACEOF
22599 if test x
"$ac_file" != x-
; then
22600 echo "/* $configure_input */" >"$tmp/config.h"
22601 cat "$ac_result" >>"$tmp/config.h"
22602 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22603 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22604 echo "$as_me: $ac_file is unchanged" >&6;}
22607 mv "$tmp/config.h" $ac_file
22610 echo "/* $configure_input */"
22616 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22617 echo "$as_me: executing $ac_file commands" >&6;}
22622 case $ac_file$ac_mode in
22623 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22624 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22625 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22626 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22627 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22628 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22629 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22630 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22631 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22632 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22633 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22634 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22635 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22641 { (exit 0); exit 0; }
22643 chmod +x
$CONFIG_STATUS
22644 ac_clean_files
=$ac_clean_files_save
22647 # configure is writing to config.log, and then calls config.status.
22648 # config.status does its own redirection, appending to config.log.
22649 # Unfortunately, on DOS this fails, as config.log is still kept open
22650 # by configure, so config.status won't be able to write to it; its
22651 # output is simply discarded. So we exec the FD to /dev/null,
22652 # effectively closing config.log, so it can be properly (re)opened and
22653 # appended to by config.status. When coming back to configure, we
22654 # need to make the FD available again.
22655 if test "$no_create" != yes; then
22657 ac_config_status_args
=
22658 test "$silent" = yes &&
22659 ac_config_status_args
="$ac_config_status_args --quiet"
22661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22664 # would make configure fail if this is the last instruction.
22665 $ac_cs_success ||
{ (exit 1); exit 1; }
22669 if test "$no_create" = "yes"
22676 if test "$verbose" = "yes"; then
22677 for msg
in $wine_notices; do
22678 if test -n "$msg"; then
22680 { echo "$as_me:$LINENO: $msg" >&5
22681 echo "$as_me: $msg" >&6;}
22685 for msg
in $wine_warnings; do
22686 if test -n "$msg"; then
22688 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22689 echo "$as_me: WARNING: $msg" >&2;}
22695 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."