2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.60.
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.60'
578 PACKAGE_STRING
='Wine 0.9.60'
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
778 ac_subst_files
='MAKE_RULES
783 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name
=s
,x
,x
,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir
='${exec_prefix}/bin'
825 sbindir
='${exec_prefix}/sbin'
826 libexecdir
='${exec_prefix}/libexec'
827 datarootdir
='${prefix}/share'
828 datadir
='${datarootdir}'
829 sysconfdir
='${prefix}/etc'
830 sharedstatedir
='${prefix}/com'
831 localstatedir
='${prefix}/var'
832 includedir
='${prefix}/include'
833 oldincludedir
='/usr/include'
834 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir
='${datarootdir}/info'
840 libdir
='${exec_prefix}/lib'
841 localedir
='${datarootdir}/locale'
842 mandir
='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\
$ac_option
856 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
868 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
871 -build |
--build |
--buil |
--bui |
--bu)
872 ac_prev
=build_alias
;;
873 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
874 build_alias
=$ac_optarg ;;
876 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
877 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
878 ac_prev
=cache_file
;;
879 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
880 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
881 cache_file
=$ac_optarg ;;
884 cache_file
=config.cache
;;
886 -datadir |
--datadir |
--datadi |
--datad)
888 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
889 datadir
=$ac_optarg ;;
891 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
892 |
--dataroo |
--dataro |
--datar)
893 ac_prev
=datarootdir
;;
894 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
895 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
896 datarootdir
=$ac_optarg ;;
898 -disable-* |
--disable-*)
899 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_
$ac_feature=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_
$ac_feature=\
$ac_optarg ;;
926 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
927 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
928 |
--exec |
--exe |
--ex)
929 ac_prev
=exec_prefix
;;
930 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
931 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
932 |
--exec=* |
--exe=* |
--ex=*)
933 exec_prefix
=$ac_optarg ;;
935 -gas |
--gas |
--ga |
--g)
936 # Obsolete; use --with-gas.
939 -help |
--help |
--hel |
--he |
-h)
941 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
942 ac_init_help
=recursive
;;
943 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
944 ac_init_help
=short
;;
946 -host |
--host |
--hos |
--ho)
947 ac_prev
=host_alias
;;
948 -host=* |
--host=* |
--hos=* |
--ho=*)
949 host_alias
=$ac_optarg ;;
951 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
953 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
955 htmldir
=$ac_optarg ;;
957 -includedir |
--includedir |
--includedi |
--included |
--include \
958 |
--includ |
--inclu |
--incl |
--inc)
959 ac_prev
=includedir
;;
960 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
961 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
962 includedir
=$ac_optarg ;;
964 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
966 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
967 infodir
=$ac_optarg ;;
969 -libdir |
--libdir |
--libdi |
--libd)
971 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
974 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
975 |
--libexe |
--libex |
--libe)
976 ac_prev
=libexecdir
;;
977 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
978 |
--libexe=* |
--libex=* |
--libe=*)
979 libexecdir
=$ac_optarg ;;
981 -localedir |
--localedir |
--localedi |
--localed |
--locale)
983 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
984 localedir
=$ac_optarg ;;
986 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
987 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
988 ac_prev
=localstatedir
;;
989 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
990 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
991 localstatedir
=$ac_optarg ;;
993 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
995 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
999 # Obsolete; use --without-fp.
1002 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1003 |
--no-cr |
--no-c |
-n)
1006 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1007 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1010 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1011 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1012 |
--oldin |
--oldi |
--old |
--ol |
--o)
1013 ac_prev
=oldincludedir
;;
1014 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1015 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1016 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1017 oldincludedir
=$ac_optarg ;;
1019 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1021 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1022 prefix
=$ac_optarg ;;
1024 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1025 |
--program-pre |
--program-pr |
--program-p)
1026 ac_prev
=program_prefix
;;
1027 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1028 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1029 program_prefix
=$ac_optarg ;;
1031 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1032 |
--program-suf |
--program-su |
--program-s)
1033 ac_prev
=program_suffix
;;
1034 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1035 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1036 program_suffix
=$ac_optarg ;;
1038 -program-transform-name |
--program-transform-name \
1039 |
--program-transform-nam |
--program-transform-na \
1040 |
--program-transform-n |
--program-transform- \
1041 |
--program-transform |
--program-transfor \
1042 |
--program-transfo |
--program-transf \
1043 |
--program-trans |
--program-tran \
1044 |
--progr-tra |
--program-tr |
--program-t)
1045 ac_prev
=program_transform_name
;;
1046 -program-transform-name=* |
--program-transform-name=* \
1047 |
--program-transform-nam=* |
--program-transform-na=* \
1048 |
--program-transform-n=* |
--program-transform-=* \
1049 |
--program-transform=* |
--program-transfor=* \
1050 |
--program-transfo=* |
--program-transf=* \
1051 |
--program-trans=* |
--program-tran=* \
1052 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1053 program_transform_name
=$ac_optarg ;;
1055 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1057 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1058 pdfdir
=$ac_optarg ;;
1060 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1062 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1066 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1071 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1073 sbindir
=$ac_optarg ;;
1075 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1076 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1077 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1079 ac_prev
=sharedstatedir
;;
1080 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1081 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1082 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1084 sharedstatedir
=$ac_optarg ;;
1086 -site |
--site |
--sit)
1088 -site=* |
--site=* |
--sit=*)
1091 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1093 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1094 srcdir
=$ac_optarg ;;
1096 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1097 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1098 ac_prev
=sysconfdir
;;
1099 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1100 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1101 sysconfdir
=$ac_optarg ;;
1103 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1104 ac_prev
=target_alias
;;
1105 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1106 target_alias
=$ac_optarg ;;
1108 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1111 -version |
--version |
--versio |
--versi |
--vers |
-V)
1112 ac_init_version
=: ;;
1115 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_
$ac_package=\
$ac_optarg ;;
1123 -without-* |
--without-*)
1124 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_
$ac_package=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target
=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x
; then
1205 if test "x$build_alias" = x
; then
1206 cross_compiling
=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1217 test "$silent" = yes && exec 6>/dev
/null
1220 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di
=`ls -di .` &&
1222 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted
=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir
=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted
=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures Wine 0.9.60 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --x-includes=DIR X include files are
in DIR
1357 --x-libraries=DIR X library files are
in DIR
1360 --build=BUILD configure
for building on BUILD
[guessed
]
1361 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive
) echo "Configuration of Wine 0.9.60:";;
1372 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1373 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1431 Use these variables to override the choices made by `configure' or to
help
1432 it to
find libraries and programs with nonstandard names
/locations.
1434 Report bugs to
<wine-devel@winehq.org
>.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1442 test -d "$ac_dir" ||
continue
1446 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1453 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir
=$ac_pwd
1457 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir
=$ac_top_build_prefix
1462 .
) # We are building in place.
1464 ac_top_srcdir
=$ac_top_builddir_sub
1465 ac_abs_top_srcdir
=$ac_pwd ;;
1466 [\\/]* | ?
:[\\/]* ) # Absolute name.
1467 ac_srcdir
=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir
=$srcdir
1469 ac_abs_top_srcdir
=$srcdir ;;
1471 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 Wine configure
0.9.60
1496 generated by GNU Autoconf
2.61
1498 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1500 This configure
script is free software
; the Free Software Foundation
1501 gives unlimited permission to copy
, distribute and modify it.
1505 cat >config.log
<<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.60, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir
=.
1546 echo "PATH: $as_dir"
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_must_keep_next
=false
1576 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1577 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1578 |
-silent |
--silent |
--silen |
--sile |
--sil)
1581 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true
; then
1588 ac_must_keep_next
=false
# Got value, back to normal.
1591 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1592 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1593 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1594 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1599 -* ) ac_must_keep_next
=true
;;
1602 ac_configure_args
="$ac_configure_args '$ac_arg'"
1607 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1608 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1667 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 echo "$ac_var='\''$ac_val'\''"
1673 if test -n "$ac_subst_files"; then
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1680 for ac_var
in $ac_subst_files
1682 eval ac_val
=\$
$ac_var
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 echo "$ac_var='\''$ac_val'\''"
1691 if test -s confdefs.h; then
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709 for ac_signal
in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest
* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x
"$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE
; then
1749 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1751 set x
"$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1772 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1773 *) .
"./$cache_file";;
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1782 # Check that the precious variables saved in the cache have kept the same
1784 ac_cache_corrupted
=false
1785 for ac_var
in $ac_precious_vars; do
1786 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1787 eval ac_new_set
=\
$ac_env_${ac_var}_set
1788 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1789 eval ac_new_val
=\
$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted
=: ;;
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted
=: ;;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted
=:
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1814 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg
=$ac_var=$ac_new_val ;;
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1856 ac_cpp
='$CPP $CPPFLAGS'
1857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1863 ac_config_headers
="$ac_config_headers include/config.h"
1866 for ac_dir
in tools
"$srcdir"/tools
; do
1867 if test -f "$ac_dir/install-sh"; then
1869 ac_install_sh
="$ac_aux_dir/install-sh -c"
1871 elif test -f "$ac_dir/install.sh"; then
1873 ac_install_sh
="$ac_aux_dir/install.sh -c"
1875 elif test -f "$ac_dir/shtool"; then
1877 ac_install_sh
="$ac_aux_dir/shtool install -c"
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval
=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval
=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval
=$enable_maintainer_mode;
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval
=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval
=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval
=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval
=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 ac_build_alias
=$build_alias
2128 test "x$ac_build_alias" = x
&&
2129 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x
&&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2149 ac_save_IFS
=$IFS; IFS
='-'
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2159 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test "x$host_alias" = x
; then
2168 ac_cv_host
=$ac_cv_build
2170 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2186 ac_save_IFS
=$IFS; IFS
='-'
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2196 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2201 if test "x$enable_win64" != "xyes"
2203 test -n "$CC" || CC
="gcc -m32"
2204 test -n "$CXX"|| CXX
="g++ -m32"
2205 test -n "$LD" || LD
="ld -m elf_i386"
2206 test -n "$AS" || AS
="as --32"
2214 if test "x$enable_win16" != "xno"
2221 WIN16_FILES
="\$(WIN16_FILES)"
2223 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2231 if test "x$enable_tests" == "xno"
2238 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 cat >conftest.
make <<\_ACEOF
2265 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2270 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2272 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2276 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE
="MAKE=${MAKE-make}"
2287 ac_cpp
='$CPP $CPPFLAGS'
2288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC
="$CC" # Let the user override the test.
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 for ac_exec_ext
in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc
; ac_word
=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC
="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x
; then
2371 case $cross_compiling:$ac_tool_warned in
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned
=yes ;;
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC
="$CC" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc
; ac_word
=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected
=yes
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy
$ac_cv_prog_CC
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2468 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog
in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2528 if test -z "$CC"; then
2530 for ac_prog
in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy
$ac_prog; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC
="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2572 if test "x$ac_ct_CC" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned
=yes ;;
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler
=`set X $ac_compile; echo $2`
2601 { (ac_try
="$ac_compiler --version >&5"
2603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2614 *) ac_try_echo
=$ac_try;;
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try
="$ac_compiler -V >&5"
2623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2665 for ac_file in $ac_files
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2674 if { (ac_try="$ac_link_default"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2689 for ac_file
in $ac_files ''
2691 test -f "$ac_file" ||
continue
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2696 # We found the default executable, but exeext='' is most
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2702 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2714 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext
=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try
='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2754 if test "$cross_compiling" = maybe; then
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details.
" >&5
2760 echo "$as_me: error
: cannot run C compiled programs.
2761 If you meant to cross compile
, use \
`--host'.
2762 See \`config.log
' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2795 for ac_file
in conftest.exe conftest conftest.
*; do
2796 test -f "$ac_file" ||
continue
2798 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2799 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest
$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.
$ac_ext
2817 EXEEXT
=$ac_cv_exeext
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try
="$ac_compile"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log
' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details.
" >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached
) $ECHO_C" >&6
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2933 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached
) $ECHO_C" >&6
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2975 echo "$as_me: failed program was
:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3013 echo "$as_me: failed program was
:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3052 echo "$as_me: failed program was
:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3078 if test "$GCC" = yes; then
3084 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3085 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached
) $ECHO_C" >&6
3089 ac_cv_prog_cc_c89=no
3091 cat >conftest.$ac_ext <<_ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3115 s = g (p, va_arg (v,int));
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3171 echo "$as_me: failed program was
:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3180 rm -f conftest.$ac_ext
3185 case "x
$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result
: none needed
" >&5
3188 echo "${ECHO_T}none needed
" >&6; } ;;
3190 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3191 echo "${ECHO_T}unsupported
" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached
) $ECHO_C" >&6
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result
: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3249 { echo "$as_me:$LINENO: result
: no
" >&5
3250 echo "${ECHO_T}no
" >&6; }
3254 test -n "$CXX" && break
3257 if test -z "$CXX"; then
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached
) $ECHO_C" >&6
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3293 { echo "$as_me:$LINENO: result
: no
" >&5
3294 echo "${ECHO_T}no
" >&6; }
3298 test -n "$ac_ct_CXX" && break
3301 if test "x
$ac_ct_CXX" = x; then
3304 case $cross_compiling:$ac_tool_warned in
3306 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3307 whose name does not start with the
host triplet. If you think this
3308 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3309 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3310 whose name does not start with the
host triplet. If you think this
3311 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3312 ac_tool_warned=yes ;;
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached
) $ECHO_C" >&6
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3412 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached
) $ECHO_C" >&6
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3454 echo "$as_me: failed program was
:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 echo "$as_me: failed program was
:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3531 echo "$as_me: failed program was
:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3557 if test "$GXX" = yes; then
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3573 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached
) $ECHO_C" >&6
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3602 { echo "$as_me:$LINENO: result
: no
" >&5
3603 echo "${ECHO_T}no
" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp
", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3613 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached
) $ECHO_C" >&6
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3628 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3642 { echo "$as_me:$LINENO: result
: no
" >&5
3643 echo "${ECHO_T}no
" >&6; }
3646 if test "x
$ac_ct_CPPBIN" = x; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3652 whose name does not start with the
host triplet. If you think this
3653 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3654 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3655 whose name does not start with the
host triplet. If you think this
3656 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3657 ac_tool_warned=yes ;;
3659 CPPBIN=$ac_ct_CPPBIN
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3667 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached
) $ECHO_C" >&6
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3674 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3675 { (exit 1); exit 1; }; }
3677 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3679 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3685 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3686 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached
) $ECHO_C" >&6
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error
" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3754 echo "$as_me: failed program was
:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3773 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3789 # Broken: success on invalid input.
3792 echo "$as_me: failed program was
:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3800 rm -f conftest.err conftest.$ac_ext
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3817 { echo "$as_me:$LINENO: result
: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error
" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3835 # include <limits.h>
3837 # include <assert.h>
3841 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3859 echo "$as_me: failed program was
:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3878 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3886 grep -v '^ *+' conftest.er1 >conftest.err
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3894 # Broken: success on invalid input.
3897 echo "$as_me: failed program was
:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3905 rm -f conftest.err conftest.$ac_ext
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3913 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3914 See \
`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log
' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3923 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3936 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3953 cat >Imakefile <<'_ACEOF'
3955 @echo incroot='${INCROOT}'
3957 @echo usrlibdir='${USRLIBDIR}'
3959 @echo libdir='${LIBDIR}'
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3980 case $ac_im_usrlibdir in
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
4002 /usr
/local
/X11
/include
4003 /usr
/local
/X11R
6/include
4004 /usr
/local
/X11R
5/include
4005 /usr
/local
/X11R
4/include
4007 /usr
/local
/include
/X11
4008 /usr
/local
/include
/X11R6
4009 /usr
/local
/include
/X11R5
4010 /usr
/local
/include
/X11R4
4014 /usr
/XFree86
/include
/X11
4018 /usr
/unsupported
/include
4020 /usr
/local
/x11r
5/include
4021 /usr
/lpp
/Xamples
/include
4023 /usr
/openwin
/include
4024 /usr
/openwin
/share
/include
'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4045 grep -v '^
*+' conftest.er1 >conftest.err
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4053 # We can compile using X headers with no special include directory.
4056 echo "$as_me: failed program was:" >&5
4057 sed 's
/^
/|
/' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to
$LIBS permanently.
4076 cat >conftest.
$ac_ext <<_ACEOF
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (ac_try
="$ac_link"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1 >conftest.err
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 # We can link X programs with no special library path.
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4147 eval "$ac_cv_have_x"
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4208 *) ac_try_echo
=$ac_try;;
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest
$ac_exeext &&
4221 $as_test_x conftest
$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS
="$X_LIBS -R$x_libraries"
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4229 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4245 rm -f conftest.
$ac_objext conftest
$ac_exeext
4246 if { (ac_try
="$ac_link"
4248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4254 grep -v '^ *+' conftest.er1 >conftest.err
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4308 char XOpenDisplay ();
4312 return XOpenDisplay ();
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4326 grep -v '^ *+' conftest.er1
>conftest.err
4328 cat conftest.err
>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest
$ac_exeext &&
4334 $as_test_x conftest
$ac_exeext; then
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.
$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 ac_check_lib_save_LIBS
=$LIBS
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4364 return dnet_ntoa ();
4369 rm -f conftest.
$ac_objext conftest
$ac_exeext
4370 if { (ac_try
="$ac_link"
4372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4378 grep -v '^ *+' conftest.er1 >conftest.err
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4430 return dnet_ntoa ();
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4439 *) ac_try_echo
=$ac_try;;
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1
>conftest.err
4446 cat conftest.err
>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest
$ac_exeext &&
4452 $as_test_x conftest
$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4462 conftest
$ac_exeext conftest.
$ac_ext
4463 LIBS
=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4475 conftest
$ac_exeext conftest.
$ac_ext
4476 LIBS
="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 cat >conftest.
$ac_ext <<_ACEOF
4494 cat confdefs.h
>>conftest.
$ac_ext
4495 cat >>conftest.
$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4507 # include <limits.h>
4509 # include <assert.h>
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4531 return gethostbyname ();
4536 rm -f conftest.
$ac_objext conftest
$ac_exeext
4537 if { (ac_try
="$ac_link"
4539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4545 grep -v '^ *+' conftest.er1 >conftest.err
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 ac_check_lib_save_LIBS=$LIBS
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4589 char gethostbyname ();
4593 return gethostbyname ();
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4602 *) ac_try_echo
=$ac_try;;
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest
$ac_exeext &&
4615 $as_test_x conftest
$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname
=yes
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.
$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname
=no
4624 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 ac_check_lib_save_LIBS
=$LIBS
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4655 char gethostbyname ();
4659 return gethostbyname ();
4664 rm -f conftest.
$ac_objext conftest
$ac_exeext
4665 if { (ac_try
="$ac_link"
4667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.$ac_ext <<_ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4731 # include <limits.h>
4733 # include <assert.h>
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4764 *) ac_try_echo
=$ac_try;;
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest
$ac_exeext &&
4777 $as_test_x conftest
$ac_exeext; then
4778 ac_cv_func_connect
=yes
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.
$ac_ext >&5
4783 ac_cv_func_connect
=no
4786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4787 conftest
$ac_exeext conftest.
$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no
; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 ac_check_lib_save_LIBS
=$LIBS
4799 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4822 rm -f conftest.
$ac_objext conftest
$ac_exeext
4823 if { (ac_try
="$ac_link"
4825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4831 grep -v '^ *+' conftest.er1 >conftest.err
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4882 # include <limits.h>
4884 # include <assert.h>
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4920 grep -v '^ *+' conftest.er1
>conftest.err
4922 cat conftest.err
>&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest
$ac_exeext &&
4928 $as_test_x conftest
$ac_exeext; then
4929 ac_cv_func_remove
=yes
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.
$ac_ext >&5
4934 ac_cv_func_remove
=no
4937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4938 conftest
$ac_exeext conftest.
$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no
; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 ac_check_lib_save_LIBS
=$LIBS
4950 LIBS
="-lposix $LIBS"
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext
4974 if { (ac_try
="$ac_link"
4976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4982 grep -v '^ *+' conftest.er1 >conftest.err
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5033 # include <limits.h>
5035 # include <assert.h>
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5066 *) ac_try_echo
=$ac_try;;
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest
$ac_exeext &&
5079 $as_test_x conftest
$ac_exeext; then
5080 ac_cv_func_shmat
=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5089 conftest
$ac_exeext conftest.
$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no
; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 ac_check_lib_save_LIBS
=$LIBS
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5124 rm -f conftest.
$ac_objext conftest
$ac_exeext
5125 if { (ac_try
="$ac_link"
5127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5192 char IceConnectionNumber ();
5196 return IceConnectionNumber ();
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5205 *) ac_try_echo
=$ac_try;;
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest
$ac_exeext &&
5218 $as_test_x conftest
$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber
=yes
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber
=no
5227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5228 conftest
$ac_exeext conftest.
$ac_ext
5229 LIBS
=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS
=$ac_save_LDFLAGS
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy
$ac_prog; ac_word
=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX
="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 FLEX
=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5283 test -n "$FLEX" || FLEX
="none"
5285 if test "$FLEX" = "none"
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog
in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy
$ac_prog; ac_word
=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON
="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 BISON
=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5333 test -n "$BISON" || BISON
="none"
5335 if test "$BISON" = "none"
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog
in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS
="$AS" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5385 if test -z "$AS"; then
5387 for ac_prog
in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy
$ac_prog; ac_word
=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS
="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5429 if test "x$ac_ct_AS" = x
; then
5432 case $cross_compiling:$ac_tool_warned in
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned
=yes ;;
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD
="$LD" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld
; ac_word
=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD
="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x
; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned
=yes ;;
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR
="$AR" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy
ar; ac_word
=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR
="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x
; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned
=yes ;;
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 RANLIB
=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB
=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib
; ac_word
=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x
; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned
=yes ;;
5730 RANLIB
=$ac_ct_RANLIB
5733 RANLIB
="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 STRIP
=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip
; ac_word
=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP
="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x
; then
5816 case $cross_compiling:$ac_tool_warned in
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned
=yes ;;
5829 STRIP
="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 WINDRES
=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES
=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres
; ac_word
=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES
="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x
; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned
=yes ;;
5922 WINDRES
=$ac_ct_WINDRES
5925 WINDRES
="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.
file
5943 if ln conf$$.
file conf$$
2>/dev
/null
; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.
file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy
grep ggrep
; ac_prog_name
=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 ac_path_GREP_found
=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5972 test -z "$as_dir" && as_dir
=.
5973 for ac_prog
in grep ggrep
; do
5974 for ac_exec_ext
in '' $ac_executable_extensions; do
5975 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5981 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5992 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5993 ac_count
=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP
="$ac_path_GREP"
5997 ac_path_GREP_max
=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6002 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6006 $ac_path_GREP_found && break 3
6016 GREP
="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6024 ac_cv_path_GREP
=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP
="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6040 then ac_cv_path_EGREP
="$GREP -E"
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy
egrep; ac_prog_name
=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 ac_path_EGREP_found
=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_prog
in egrep; do
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6063 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6074 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6075 ac_count
=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP
="$ac_path_EGREP"
6079 ac_path_EGREP_max
=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6084 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6088 $ac_path_EGREP_found && break 3
6098 EGREP
="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6106 ac_cv_path_EGREP
=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP
="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig
; ac_word
=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 for as_dir
in /sbin
/usr
/sbin
$PATH
6133 test -z "$as_dir" && as_dir
=.
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6148 LDCONFIG
=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 # Account for people who put trailing slashes in PATH elements.
6184 .
/ | .
// |
/cC
/* | \
6185 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6186 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6192 for ac_prog
in ginstall scoinst
install; do
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6204 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL
=$ac_cv_path_install
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL
=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6239 [\\/$
]* | ?
:[\\/]* ) ;;
6240 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6243 for ac_prog
in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy
$ac_prog; ac_word
=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir
=.
6260 for ac_exec_ext
in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT
="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 LINT
=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6285 if test "$LINT" = "lint"
6287 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog
in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy
$ac_prog; ac_word
=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir
=.
6309 for ac_exec_ext
in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE
="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 FONTFORGE
=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6333 test -n "$FONTFORGE" || FONTFORGE
="false"
6335 for ac_prog
in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy
$ac_prog; ac_word
=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6376 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy
$ac_prog; ac_word
=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir
=.
6395 for ac_exec_ext
in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG
="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 RSVG
=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6419 test -n "$RSVG" || RSVG
="false"
6421 for ac_prog
in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL
="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ICOTOOL
=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6462 test -n "$ICOTOOL" || ICOTOOL
="false"
6465 if test "${enable_maintainer_mode+set}" = set
6467 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6468 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6469 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6474 # Extract the first word of "prelink", so it can be a program name with args.
6475 set dummy prelink
; ac_word
=$2
6476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6478 if test "${ac_cv_path_PRELINK+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6487 for as_dir
in /sbin
/usr
/sbin
$PATH
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6505 PRELINK
=$ac_cv_path_PRELINK
6506 if test -n "$PRELINK"; then
6507 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6508 echo "${ECHO_T}$PRELINK" >&6; }
6510 { echo "$as_me:$LINENO: result: no" >&5
6511 echo "${ECHO_T}no" >&6; }
6520 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6521 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6522 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 ac_check_lib_save_LIBS
=$LIBS
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6534 /* Override any GCC internal prototype to avoid an error.
6535 Use char because int might match the return type of a GCC
6536 builtin and then its argument prototype would still apply. */
6540 char i386_set_ldt ();
6544 return i386_set_ldt ();
6549 rm -f conftest.
$ac_objext 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>conftest.er1
6558 grep -v '^ *+' conftest.er1 >conftest.err
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } && {
6563 test -z "$ac_c_werror_flag" ||
6564 test ! -s conftest.err
6565 } && test -s conftest$ac_exeext &&
6566 $as_test_x conftest$ac_exeext; then
6567 ac_cv_lib_i386_i386_set_ldt=yes
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 ac_cv_lib_i386_i386_set_ldt=no
6575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6576 conftest$ac_exeext conftest.$ac_ext
6577 LIBS=$ac_check_lib_save_LIBS
6579 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6580 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6581 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6582 cat >>confdefs.h <<_ACEOF
6583 #define HAVE_LIBI386 1
6591 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6592 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6593 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 ac_check_lib_save_LIBS=$LIBS
6597 LIBS="-lossaudio $LIBS"
6598 cat >conftest.$ac_ext <<_ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6615 return _oss_ioctl ();
6620 rm -f conftest.$ac_objext conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6624 *) ac_try_echo
=$ac_try;;
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>conftest.er1
6629 grep -v '^ *+' conftest.er1
>conftest.err
6631 cat conftest.err
>&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } && {
6634 test -z "$ac_c_werror_flag" ||
6635 test ! -s conftest.err
6636 } && test -s conftest
$ac_exeext &&
6637 $as_test_x conftest
$ac_exeext; then
6638 ac_cv_lib_ossaudio__oss_ioctl
=yes
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.
$ac_ext >&5
6643 ac_cv_lib_ossaudio__oss_ioctl
=no
6646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6647 conftest
$ac_exeext conftest.
$ac_ext
6648 LIBS
=$ac_check_lib_save_LIBS
6650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6651 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6652 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6653 cat >>confdefs.h
<<_ACEOF
6654 #define HAVE_LIBOSSAUDIO 1
6657 LIBS
="-lossaudio $LIBS"
6661 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6662 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6663 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 ac_check_lib_save_LIBS
=$LIBS
6667 LIBS
="-lpthread $LIBS"
6668 cat >conftest.
$ac_ext <<_ACEOF
6671 cat confdefs.h
>>conftest.
$ac_ext
6672 cat >>conftest.
$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6676 Use char because int might match the return type of a GCC
6677 builtin and then its argument prototype would still apply. */
6681 char pthread_create ();
6685 return pthread_create ();
6690 rm -f conftest.
$ac_objext conftest
$ac_exeext
6691 if { (ac_try
="$ac_link"
6693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697 (eval "$ac_link") 2>conftest.er1
6699 grep -v '^ *+' conftest.er1 >conftest.err
6701 cat conftest.err >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext &&
6707 $as_test_x conftest$ac_exeext; then
6708 ac_cv_lib_pthread_pthread_create=yes
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6713 ac_cv_lib_pthread_pthread_create=no
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6721 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6722 if test $ac_cv_lib_pthread_pthread_create = yes; then
6723 LIBPTHREAD="-lpthread"
6742 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6743 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6744 if test "${ac_cv_header_stdc+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6766 rm -f conftest.$ac_objext
6767 if { (ac_try="$ac_compile"
6769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6770 *) ac_try_echo
=$ac_try;;
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_compile") 2>conftest.er1
6775 grep -v '^ *+' conftest.er1
>conftest.err
6777 cat conftest.err
>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && {
6780 test -z "$ac_c_werror_flag" ||
6781 test ! -s conftest.err
6782 } && test -s conftest.
$ac_objext; then
6783 ac_cv_header_stdc
=yes
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6788 ac_cv_header_stdc
=no
6791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6793 if test $ac_cv_header_stdc = yes; then
6794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "memchr" >/dev
/null
2>&1; then
6808 ac_cv_header_stdc
=no
6814 if test $ac_cv_header_stdc = yes; then
6815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6816 cat >conftest.
$ac_ext <<_ACEOF
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6826 $EGREP "free" >/dev
/null
2>&1; then
6829 ac_cv_header_stdc
=no
6835 if test $ac_cv_header_stdc = yes; then
6836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6837 if test "$cross_compiling" = yes; then
6840 cat >conftest.
$ac_ext <<_ACEOF
6843 cat confdefs.h
>>conftest.
$ac_ext
6844 cat >>conftest.
$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6848 #if ((' ' & 0x0FF) == 0x020)
6849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6852 # define ISLOWER(c) \
6853 (('a' <= (c) && (c) <= 'i') \
6854 || ('j' <= (c) && (c) <= 'r') \
6855 || ('s' <= (c) && (c) <= 'z'))
6856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6864 for (i = 0; i < 256; i++)
6865 if (XOR (islower (i), ISLOWER (i))
6866 || toupper (i) != TOUPPER (i))
6871 rm -f conftest
$ac_exeext
6872 if { (ac_try
="$ac_link"
6874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_link") 2>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6882 { (case "(($ac_try" in
6883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6884 *) ac_try_echo
=$ac_try;;
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_try") 2>&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6893 echo "$as_me: program exited with status $ac_status" >&5
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.
$ac_ext >&5
6898 ac_cv_header_stdc
=no
6900 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6907 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6908 if test $ac_cv_header_stdc = yes; then
6910 cat >>confdefs.h
<<\_ACEOF
6911 #define STDC_HEADERS 1
6916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6926 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6927 inttypes.h stdint.h unistd.h
6929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6932 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 cat >conftest.
$ac_ext <<_ACEOF
6938 cat confdefs.h
>>conftest.
$ac_ext
6939 cat >>conftest.
$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6941 $ac_includes_default
6943 #include <$ac_header>
6945 rm -f conftest.
$ac_objext
6946 if { (ac_try
="$ac_compile"
6948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_compile") 2>conftest.er1
6954 grep -v '^ *+' conftest.er1 >conftest.err
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && {
6959 test -z "$ac_c_werror_flag" ||
6960 test ! -s conftest.err
6961 } && test -s conftest.$ac_objext; then
6962 eval "$as_ac_Header=yes"
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6967 eval "$as_ac_Header=no"
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 ac_res=`eval echo '${'$as_ac_Header'}'`
6973 { echo "$as_me:$LINENO: result: $ac_res" >&5
6974 echo "${ECHO_T}$ac_res" >&6; }
6975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6976 cat >>confdefs.h <<_ACEOF
6977 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7096 AudioUnit/AudioUnit.h \
7098 CoreAudio/CoreAudio.h \
7099 DiskArbitration/DiskArbitration.h \
7112 fontconfig/fontconfig.h \
7138 machine/soundcard.h \
7143 netinet/in_systm.h \
7208 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 ac_res=`eval echo '${'$as_ac_Header'}'`
7216 { echo "$as_me:$LINENO: result: $ac_res" >&5
7217 echo "${ECHO_T}$ac_res" >&6; }
7219 # Is the header compilable?
7220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7228 $ac_includes_default
7229 #include <$ac_header>
7231 rm -f conftest.$ac_objext
7232 if { (ac_try="$ac_compile"
7234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7235 *) ac_try_echo
=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7240 grep -v '^ *+' conftest.er1
>conftest.err
7242 cat conftest.err
>&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest.
$ac_objext; then
7248 ac_header_compiler
=yes
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.
$ac_ext >&5
7253 ac_header_compiler
=no
7256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7258 echo "${ECHO_T}$ac_header_compiler" >&6; }
7260 # Is the header present?
7261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7263 cat >conftest.
$ac_ext <<_ACEOF
7266 cat confdefs.h
>>conftest.
$ac_ext
7267 cat >>conftest.
$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <$ac_header>
7271 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7279 grep -v '^ *+' conftest.er1 >conftest.err
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } >/dev/null && {
7284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7287 ac_header_preproc=yes
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 ac_header_preproc=no
7295 rm -f conftest.err conftest.$ac_ext
7296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7297 echo "${ECHO_T}$ac_header_preproc" >&6; }
7299 # So? What about this header?
7300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7306 ac_header_preproc=yes
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7322 ## ------------------------------------ ##
7323 ## Report this to wine-devel@winehq.org ##
7324 ## ------------------------------------ ##
7326 ) | sed "s/^/$as_me: WARNING: /" >&2
7329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 eval "$as_ac_Header=\$ac_header_preproc"
7336 ac_res=`eval echo '${'$as_ac_Header'}'`
7337 { echo "$as_me:$LINENO: result: $ac_res" >&5
7338 echo "${ECHO_T}$ac_res" >&6; }
7341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7350 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7351 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7352 if test "${ac_cv_header_stat_broken+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.$ac_ext <<_ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #include <sys/stat.h>
7364 #if defined S_ISBLK && defined S_IFDIR
7365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7368 #if defined S_ISBLK && defined S_IFCHR
7369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7372 #if defined S_ISLNK && defined S_IFREG
7373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7376 #if defined S_ISSOCK && defined S_IFREG
7377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7385 *) ac_try_echo
=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7390 grep -v '^ *+' conftest.er1
>conftest.err
7392 cat conftest.err
>&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.
$ac_objext; then
7398 ac_cv_header_stat_broken
=no
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.
$ac_ext >&5
7403 ac_cv_header_stat_broken
=yes
7406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7408 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7409 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7410 if test $ac_cv_header_stat_broken = yes; then
7412 cat >>confdefs.h
<<\_ACEOF
7413 #define STAT_MACROS_BROKEN 1
7424 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 cat >conftest.
$ac_ext <<_ACEOF
7435 cat confdefs.h
>>conftest.
$ac_ext
7436 cat >>conftest.
$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #ifdef HAVE_SYS_PARAM_H
7440 # include <sys/param.h>
7443 #include <$ac_header>
7445 rm -f conftest.
$ac_objext
7446 if { (ac_try
="$ac_compile"
7448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7454 grep -v '^ *+' conftest.er1 >conftest.err
7456 cat conftest.err >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7462 eval "$as_ac_Header=yes"
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 eval "$as_ac_Header=no"
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 ac_res=`eval echo '${'$as_ac_Header'}'`
7473 { echo "$as_me:$LINENO: result: $ac_res" >&5
7474 echo "${ECHO_T}$ac_res" >&6; }
7475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7476 cat >>confdefs.h <<_ACEOF
7477 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7493 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
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #ifdef HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7511 #ifdef HAVE_SYS_SOCKETVAR_H
7512 # include <sys/socketvar.h>
7514 #ifdef HAVE_NETINET_IN_H
7515 # include <netinet/in.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 netinet
/tcp_var.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 #include <sys/types.h>
7576 #ifdef HAVE_SYS_SOCKET_H
7577 # include <sys/socket.h>
7579 #ifdef HAVE_SYS_SOCKETVAR_H
7580 # include <sys/socketvar.h>
7582 #ifdef HAVE_NETINET_IN_H
7583 # include <netinet/in.h>
7585 #ifdef HAVE_NETINET_TCP_H
7586 # include <netinet/tcp.h>
7589 #include <$ac_header>
7591 rm -f conftest.
$ac_objext
7592 if { (ac_try
="$ac_compile"
7594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_compile") 2>conftest.er1
7600 grep -v '^ *+' conftest.er1 >conftest.err
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest.$ac_objext; then
7608 eval "$as_ac_Header=yes"
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 eval "$as_ac_Header=no"
7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7618 ac_res=`eval echo '${'$as_ac_Header'}'`
7619 { echo "$as_me:$LINENO: result: $ac_res" >&5
7620 echo "${ECHO_T}$ac_res" >&6; }
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7632 for ac_header in linux/ipx.h
7634 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 cat >conftest.$ac_ext <<_ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <sys/types.h>
7647 #ifdef HAVE_ASM_TYPES_H
7648 # include <asm/types.h>
7650 #ifdef HAVE_SYS_SOCKET_H
7651 # include <sys/socket.h>
7654 #include <$ac_header>
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7660 *) ac_try_echo
=$ac_try;;
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7665 grep -v '^ *+' conftest.er1
>conftest.err
7667 cat conftest.err
>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.
$ac_objext; then
7673 eval "$as_ac_Header=yes"
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.
$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7683 ac_res
=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h
<<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 for ac_header
in resolv.h
7699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_SYS_SOCKET_H
7713 # include <sys/socket.h>
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7718 #ifdef HAVE_ARPA_NAMESER_H
7719 # include <arpa/nameser.h>
7722 #include <$ac_header>
7724 rm -f conftest.
$ac_objext
7725 if { (ac_try
="$ac_compile"
7727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 (eval "$ac_compile") 2>conftest.er1
7733 grep -v '^ *+' conftest.er1 >conftest.err
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && {
7738 test -z "$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7740 } && test -s conftest.$ac_objext; then
7741 eval "$as_ac_Header=yes"
7743 echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7746 eval "$as_ac_Header=no"
7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7751 ac_res=`eval echo '${'$as_ac_Header'}'`
7752 { echo "$as_me:$LINENO: result: $ac_res" >&5
7753 echo "${ECHO_T}$ac_res" >&6; }
7754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7755 cat >>confdefs.h <<_ACEOF
7756 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7765 for ac_header in ucontext.h
7767 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 cat >conftest.$ac_ext <<_ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7781 #include <$ac_header>
7783 rm -f conftest.$ac_objext
7784 if { (ac_try="$ac_compile"
7786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7787 *) ac_try_echo
=$ac_try;;
7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7792 grep -v '^ *+' conftest.er1
>conftest.err
7794 cat conftest.err
>&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.
$ac_objext; then
7800 eval "$as_ac_Header=yes"
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.
$ac_ext >&5
7805 eval "$as_ac_Header=no"
7808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7810 ac_res
=`eval echo '${'$as_ac_Header'}'`
7811 { echo "$as_me:$LINENO: result: $ac_res" >&5
7812 echo "${ECHO_T}$ac_res" >&6; }
7813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7814 cat >>confdefs.h
<<_ACEOF
7815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7824 for ac_header
in sys
/thr.h
7826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 cat >conftest.
$ac_ext <<_ACEOF
7835 cat confdefs.h
>>conftest.
$ac_ext
7836 cat >>conftest.
$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7838 #include <sys/types.h>
7839 #ifdef HAVE_UCONTEXT_H
7840 #include <ucontext.h>
7843 #include <$ac_header>
7845 rm -f conftest.
$ac_objext
7846 if { (ac_try
="$ac_compile"
7848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7849 *) ac_try_echo=$ac_try;;
7851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7852 (eval "$ac_compile") 2>conftest.er1
7854 grep -v '^ *+' conftest.er1 >conftest.err
7856 cat conftest.err >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest.$ac_objext; then
7862 eval "$as_ac_Header=yes"
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 eval "$as_ac_Header=no"
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 ac_res=`eval echo '${'$as_ac_Header'}'`
7873 { echo "$as_me:$LINENO: result: $ac_res" >&5
7874 echo "${ECHO_T}$ac_res" >&6; }
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7886 for ac_header in pthread_np.h
7888 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 cat >conftest.$ac_ext <<_ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #ifdef HAVE_PTHREAD_H
7901 #include <pthread.h>
7904 #include <$ac_header>
7906 rm -f conftest.$ac_objext
7907 if { (ac_try="$ac_compile"
7909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7910 *) ac_try_echo
=$ac_try;;
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_compile") 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && {
7920 test -z "$ac_c_werror_flag" ||
7921 test ! -s conftest.err
7922 } && test -s conftest.
$ac_objext; then
7923 eval "$as_ac_Header=yes"
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.
$ac_ext >&5
7928 eval "$as_ac_Header=no"
7931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7933 ac_res
=`eval echo '${'$as_ac_Header'}'`
7934 { echo "$as_me:$LINENO: result: $ac_res" >&5
7935 echo "${ECHO_T}$ac_res" >&6; }
7936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7937 cat >>confdefs.h
<<_ACEOF
7938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7947 for ac_header
in linux
/videodev.h
7949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7952 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #ifdef HAVE_SYS_TIME_H
7962 #include <sys/time.h>
7964 #include <sys/types.h>
7965 #ifdef HAVE_ASM_TYPES_H
7966 #include <asm/types.h>
7969 #include <$ac_header>
7971 rm -f conftest.
$ac_objext
7972 if { (ac_try
="$ac_compile"
7974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_compile") 2>conftest.er1
7980 grep -v '^ *+' conftest.er1 >conftest.err
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest.$ac_objext; then
7988 eval "$as_ac_Header=yes"
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 eval "$as_ac_Header=no"
7996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7998 ac_res=`eval echo '${'$as_ac_Header'}'`
7999 { echo "$as_me:$LINENO: result: $ac_res" >&5
8000 echo "${ECHO_T}$ac_res" >&6; }
8001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8002 cat >>confdefs.h <<_ACEOF
8003 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8012 for ac_header in linux/capi.h
8014 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 cat >conftest.$ac_ext <<_ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8028 #include <$ac_header>
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8034 *) ac_try_echo
=$ac_try;;
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8039 grep -v '^ *+' conftest.er1
>conftest.err
8041 cat conftest.err
>&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.
$ac_objext; then
8047 eval "$as_ac_Header=yes"
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.
$ac_ext >&5
8052 eval "$as_ac_Header=no"
8055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8057 ac_res
=`eval echo '${'$as_ac_Header'}'`
8058 { echo "$as_me:$LINENO: result: $ac_res" >&5
8059 echo "${ECHO_T}$ac_res" >&6; }
8060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8061 cat >>confdefs.h
<<_ACEOF
8062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 DLLFLAGS
="-D_REENTRANT"
8087 # Extract the first word of "ldd", so it can be a program name with args.
8088 set dummy ldd
; ac_word
=$2
8089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8091 if test "${ac_cv_path_LDD+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8100 as_dummy
="/sbin:/usr/sbin:$PATH"
8101 for as_dir
in $as_dummy
8104 test -z "$as_dir" && as_dir
=.
8105 for ac_exec_ext
in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8120 if test -n "$LDD"; then
8121 { echo "$as_me:$LINENO: result: $LDD" >&5
8122 echo "${ECHO_T}$LDD" >&6; }
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8134 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8137 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8140 if test -n "$DLLTOOL"; then
8141 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8147 test -z "$as_dir" && as_dir
=.
8148 for ac_exec_ext
in '' $ac_executable_extensions; do
8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 DLLTOOL
=$ac_cv_prog_DLLTOOL
8161 if test -n "$DLLTOOL"; then
8162 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8163 echo "${ECHO_T}$DLLTOOL" >&6; }
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8171 if test -z "$ac_cv_prog_DLLTOOL"; then
8172 ac_ct_DLLTOOL
=$DLLTOOL
8173 # Extract the first word of "dlltool", so it can be a program name with args.
8174 set dummy dlltool
; ac_word
=$2
8175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8177 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir
=.
8188 for ac_exec_ext
in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8200 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8201 if test -n "$ac_ct_DLLTOOL"; then
8202 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8203 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8205 { echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6; }
8209 if test "x$ac_ct_DLLTOOL" = x
; then
8212 case $cross_compiling:$ac_tool_warned in
8214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8215 whose name does not start with the host triplet. If you think this
8216 configuration is useful to you, please write to autoconf@gnu.org." >&5
8217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8218 whose name does not start with the host triplet. If you think this
8219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8220 ac_tool_warned
=yes ;;
8222 DLLTOOL
=$ac_ct_DLLTOOL
8225 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8230 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8233 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 if test -n "$DLLWRAP"; then
8237 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir
=.
8244 for ac_exec_ext
in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8256 DLLWRAP
=$ac_cv_prog_DLLWRAP
8257 if test -n "$DLLWRAP"; then
8258 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8259 echo "${ECHO_T}$DLLWRAP" >&6; }
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 if test -z "$ac_cv_prog_DLLWRAP"; then
8268 ac_ct_DLLWRAP
=$DLLWRAP
8269 # Extract the first word of "dllwrap", so it can be a program name with args.
8270 set dummy dllwrap
; ac_word
=$2
8271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8273 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir
=.
8284 for ac_exec_ext
in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8297 if test -n "$ac_ct_DLLWRAP"; then
8298 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8299 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8301 { echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6; }
8305 if test "x$ac_ct_DLLWRAP" = x
; then
8308 case $cross_compiling:$ac_tool_warned in
8310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8311 whose name does not start with the host triplet. If you think this
8312 configuration is useful to you, please write to autoconf@gnu.org." >&5
8313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8314 whose name does not start with the host triplet. If you think this
8315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8316 ac_tool_warned
=yes ;;
8318 DLLWRAP
=$ac_ct_DLLWRAP
8321 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8324 if test -n "$ac_tool_prefix"; then
8325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8326 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8329 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8332 if test -n "$MINGWAR"; then
8333 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir
=.
8340 for ac_exec_ext
in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 MINGWAR
=$ac_cv_prog_MINGWAR
8353 if test -n "$MINGWAR"; then
8354 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8355 echo "${ECHO_T}$MINGWAR" >&6; }
8357 { echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6; }
8363 if test -z "$ac_cv_prog_MINGWAR"; then
8364 ac_ct_MINGWAR
=$MINGWAR
8365 # Extract the first word of "ar", so it can be a program name with args.
8366 set dummy
ar; ac_word
=$2
8367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8369 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8370 echo $ECHO_N "(cached) $ECHO_C" >&6
8372 if test -n "$ac_ct_MINGWAR"; then
8373 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir
=.
8380 for ac_exec_ext
in '' $ac_executable_extensions; do
8381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382 ac_cv_prog_ac_ct_MINGWAR
="ar"
8383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8393 if test -n "$ac_ct_MINGWAR"; then
8394 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8395 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8397 { echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6; }
8401 if test "x$ac_ct_MINGWAR" = x
; then
8404 case $cross_compiling:$ac_tool_warned in
8406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8407 whose name does not start with the host triplet. If you think this
8408 configuration is useful to you, please write to autoconf@gnu.org." >&5
8409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8410 whose name does not start with the host triplet. If you think this
8411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8412 ac_tool_warned
=yes ;;
8414 MINGWAR
=$ac_ct_MINGWAR
8417 MINGWAR
="$ac_cv_prog_MINGWAR"
8420 if test "$DLLWRAP" = "false"; then
8432 DLLFLAGS
="$DLLFLAGS -fPIC"
8433 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8434 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8435 LDSHARED
="\$(CC) -dynamiclib"
8437 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8438 SECURITYLIB
="-framework Security -framework CoreFoundation"
8440 COREFOUNDATIONLIB
="-framework CoreFoundation"
8442 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8444 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8446 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8448 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8451 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8453 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8458 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8460 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8462 CARBONLIB
="-framework Carbon"
8464 QUARTZFILES
='$(QUARTZFILES)'
8468 DLLFLAGS
="$DLLFLAGS -fPIC"
8470 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8471 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8472 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8475 ac_wine_try_cflags_saved
=$CFLAGS
8476 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 rm -f conftest.
$ac_objext conftest
$ac_exeext
8481 if { (ac_try
="$ac_link"
8483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8489 grep -v '^ *+' conftest.er1 >conftest.err
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 ac_cv_c_dll_gnuelf="yes"
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_cv_c_dll_gnuelf="no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8511 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8512 if test "$ac_cv_c_dll_gnuelf" = "yes"
8514 LDSHARED="\$(CC) -shared"
8515 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8516 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8517 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8518 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8521 ac_wine_try_cflags_saved=$CFLAGS
8522 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8523 cat >conftest.$ac_ext <<_ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8538 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (ac_try="$ac_link"
8541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8542 *) ac_try_echo
=$ac_try;;
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_link") 2>conftest.er1
8547 grep -v '^ *+' conftest.er1
>conftest.err
8549 cat conftest.err
>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && {
8552 test -z "$ac_c_werror_flag" ||
8553 test ! -s conftest.err
8554 } && test -s conftest
$ac_exeext &&
8555 $as_test_x conftest
$ac_exeext; then
8556 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.
$ac_ext >&5
8561 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 CFLAGS
=$ac_wine_try_cflags_saved
8568 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8569 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8570 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8571 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8573 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8574 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8575 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 ac_wine_try_cflags_saved
=$CFLAGS
8579 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8580 cat >conftest.
$ac_ext <<_ACEOF
8583 cat confdefs.h
>>conftest.
$ac_ext
8584 cat >>conftest.
$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (ac_try
="$ac_link"
8598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8604 grep -v '^ *+' conftest.er1 >conftest.err
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } && {
8609 test -z "$ac_c_werror_flag" ||
8610 test ! -s conftest.err
8611 } && test -s conftest$ac_exeext &&
8612 $as_test_x conftest$ac_exeext; then
8613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8626 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8627 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8628 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8634 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8635 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8636 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8660 *) ac_try_echo
=$ac_try;;
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8665 grep -v '^ *+' conftest.er1
>conftest.err
8667 cat conftest.err
>&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest
$ac_exeext &&
8673 $as_test_x conftest
$ac_exeext; then
8674 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.
$ac_ext >&5
8679 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8683 conftest
$ac_exeext conftest.
$ac_ext
8684 CFLAGS
=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8687 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8688 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8689 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8695 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 ac_wine_try_cflags_saved
=$CFLAGS
8699 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8700 cat >conftest.
$ac_ext <<_ACEOF
8703 cat confdefs.h
>>conftest.
$ac_ext
8704 cat >>conftest.
$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8715 rm -f conftest.
$ac_objext conftest
$ac_exeext
8716 if { (ac_try
="$ac_link"
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_link") 2>conftest.er1
8724 grep -v '^ *+' conftest.er1 >conftest.err
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest$ac_exeext &&
8732 $as_test_x conftest$ac_exeext; then
8733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8746 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8747 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8748 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8752 echo '{ global: *; };' >conftest.map
8753 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8754 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8755 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8760 cat >conftest.$ac_ext <<_ACEOF
8763 cat confdefs.h >>conftest.$ac_ext
8764 cat >>conftest.$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8775 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (ac_try="$ac_link"
8778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8779 *) ac_try_echo
=$ac_try;;
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_link") 2>conftest.er1
8784 grep -v '^ *+' conftest.er1
>conftest.err
8786 cat conftest.err
>&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && {
8789 test -z "$ac_c_werror_flag" ||
8790 test ! -s conftest.err
8791 } && test -s conftest
$ac_exeext &&
8792 $as_test_x conftest
$ac_exeext; then
8793 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.
$ac_ext >&5
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8802 conftest
$ac_exeext conftest.
$ac_ext
8803 CFLAGS
=$ac_wine_try_cflags_saved
8805 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8806 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8807 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8808 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 ac_wine_try_cflags_saved
=$CFLAGS
8819 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8820 cat >conftest.
$ac_ext <<_ACEOF
8823 cat confdefs.h
>>conftest.
$ac_ext
8824 cat >>conftest.
$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8835 rm -f conftest.
$ac_objext conftest
$ac_exeext
8836 if { (ac_try
="$ac_link"
8838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8839 *) ac_try_echo=$ac_try;;
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8844 grep -v '^ *+' conftest.er1 >conftest.err
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest$ac_exeext &&
8852 $as_test_x conftest$ac_exeext; then
8853 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8867 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8868 LDEXECFLAGS="-Wl,--export-dynamic"
8873 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8874 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8875 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8879 ac_wine_try_cflags_saved=$CFLAGS
8880 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8881 cat >conftest.$ac_ext <<_ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (ac_try="$ac_link"
8899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8900 *) ac_try_echo
=$ac_try;;
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_link") 2>conftest.er1
8905 grep -v '^ *+' conftest.er1
>conftest.err
8907 cat conftest.err
>&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest
$ac_exeext &&
8913 $as_test_x conftest
$ac_exeext; then
8914 eval "$as_ac_var=yes"
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.
$ac_ext >&5
8919 eval "$as_ac_var=no"
8922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8923 conftest
$ac_exeext conftest.
$ac_ext
8924 CFLAGS
=$ac_wine_try_cflags_saved
8926 ac_res
=`eval echo '${'$as_ac_var'}'`
8927 { echo "$as_me:$LINENO: result: $ac_res" >&5
8928 echo "${ECHO_T}$ac_res" >&6; }
8929 if test `eval echo '${'$as_ac_var'}'` = yes; then
8930 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8931 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8933 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8934 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8935 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8936 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 ac_wine_try_cflags_saved
=$CFLAGS
8940 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8956 rm -f conftest.
$ac_objext conftest
$ac_exeext
8957 if { (ac_try
="$ac_link"
8959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8965 grep -v '^ *+' conftest.er1 >conftest.err
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 eval "$as_ac_var=yes"
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 eval "$as_ac_var=no"
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 ac_res=`eval echo '${'$as_ac_var'}'`
8987 { echo "$as_me:$LINENO: result: $ac_res" >&5
8988 echo "${ECHO_T}$ac_res" >&6; }
8989 if test `eval echo '${'$as_ac_var'}'` = yes; then
8990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8997 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8998 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8999 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 ac_wine_try_cflags_saved=$CFLAGS
9003 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9004 cat >conftest.$ac_ext <<_ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (ac_try="$ac_link"
9022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9023 *) ac_try_echo
=$ac_try;;
9025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9026 (eval "$ac_link") 2>conftest.er1
9028 grep -v '^ *+' conftest.er1
>conftest.err
9030 cat conftest.err
>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && {
9033 test -z "$ac_c_werror_flag" ||
9034 test ! -s conftest.err
9035 } && test -s conftest
$ac_exeext &&
9036 $as_test_x conftest
$ac_exeext; then
9037 ac_cv_cflags__Wl___enable_new_dtags
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_cv_cflags__Wl___enable_new_dtags
=no
9045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9046 conftest
$ac_exeext conftest.
$ac_ext
9047 CFLAGS
=$ac_wine_try_cflags_saved
9049 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9050 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9051 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9052 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9057 *i
[3456789]86* | x86_64
)
9058 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9059 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9060 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 ac_wine_try_cflags_saved
=$CFLAGS
9064 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9065 cat >conftest.
$ac_ext <<_ACEOF
9068 cat confdefs.h
>>conftest.
$ac_ext
9069 cat >>conftest.
$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9080 rm -f conftest.
$ac_objext conftest
$ac_exeext
9081 if { (ac_try
="$ac_link"
9083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_link") 2>conftest.er1
9089 grep -v '^ *+' conftest.er1 >conftest.err
9091 cat conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && {
9094 test -z "$ac_c_werror_flag" ||
9095 test ! -s conftest.err
9096 } && test -s conftest$ac_exeext &&
9097 $as_test_x conftest$ac_exeext; then
9098 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9103 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9111 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9112 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9113 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9120 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9121 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9122 if test "${ac_cv_c_dll_unixware+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9127 cat >conftest.$ac_ext <<_ACEOF
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (ac_try="$ac_link"
9133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9134 *) ac_try_echo
=$ac_try;;
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_link") 2>conftest.er1
9139 grep -v '^ *+' conftest.er1
>conftest.err
9141 cat conftest.err
>&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } && {
9144 test -z "$ac_c_werror_flag" ||
9145 test ! -s conftest.err
9146 } && test -s conftest
$ac_exeext &&
9147 $as_test_x conftest
$ac_exeext; then
9148 ac_cv_c_dll_unixware
="yes"
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.
$ac_ext >&5
9153 ac_cv_c_dll_unixware
="no"
9156 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9157 conftest
$ac_exeext conftest.
$ac_ext
9158 CFLAGS
=$ac_wine_try_cflags_saved
9160 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9161 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9162 if test "$ac_cv_c_dll_unixware" = "yes"
9164 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9165 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9168 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9169 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9170 if test "${ac_cv_c_dll_hpux+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 ac_wine_try_cflags_saved
=$CFLAGS
9174 CFLAGS
="$CFLAGS -shared"
9175 cat >conftest.
$ac_ext <<_ACEOF
9178 rm -f conftest.
$ac_objext conftest
$ac_exeext
9179 if { (ac_try
="$ac_link"
9181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_link") 2>conftest.er1
9187 grep -v '^ *+' conftest.er1 >conftest.err
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && {
9192 test -z "$ac_c_werror_flag" ||
9193 test ! -s conftest.err
9194 } && test -s conftest$ac_exeext &&
9195 $as_test_x conftest$ac_exeext; then
9196 ac_cv_c_dll_hpux="yes"
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_cv_c_dll_hpux="no"
9204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9205 conftest$ac_exeext conftest.$ac_ext
9206 CFLAGS=$ac_wine_try_cflags_saved
9208 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9209 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9210 if test "$ac_cv_c_dll_hpux" = "yes"
9214 LDDLLFLAGS="-shared -fPIC"
9215 LDSHARED="\$(CC) -shared"
9222 if test "$cross_compiling" = "no"
9224 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9226 # Extract the first word of "$ac_prog", so it can be a program name with args.
9227 set dummy $ac_prog; ac_word=$2
9228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9230 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 if test -n "$CROSSCC"; then
9234 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9240 test -z "$as_dir" && as_dir=.
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9243 ac_cv_prog_CROSSCC="$ac_prog"
9244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 CROSSCC=$ac_cv_prog_CROSSCC
9254 if test -n "$CROSSCC"; then
9255 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9256 echo "${ECHO_T}$CROSSCC" >&6; }
9258 { echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6; }
9263 test -n "$CROSSCC" && break
9265 test -n "$CROSSCC" || CROSSCC="false"
9267 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9269 # Extract the first word of "$ac_prog", so it can be a program name with args.
9270 set dummy $ac_prog; ac_word=$2
9271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9273 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 if test -n "$DLLTOOL"; then
9277 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9286 ac_cv_prog_DLLTOOL="$ac_prog"
9287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9296 DLLTOOL=$ac_cv_prog_DLLTOOL
9297 if test -n "$DLLTOOL"; then
9298 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9299 echo "${ECHO_T}$DLLTOOL" >&6; }
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9306 test -n "$DLLTOOL" && break
9308 test -n "$DLLTOOL" || DLLTOOL="false"
9310 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9312 # Extract the first word of "$ac_prog", so it can be a program name with args.
9313 set dummy $ac_prog; ac_word=$2
9314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9316 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 if test -n "$CROSSWINDRES"; then
9320 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329 ac_cv_prog_CROSSWINDRES="$ac_prog"
9330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9339 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9340 if test -n "$CROSSWINDRES"; then
9341 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9342 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9344 { echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6; }
9349 test -n "$CROSSWINDRES" && break
9351 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9353 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9355 # Extract the first word of "$ac_prog", so it can be a program name with args.
9356 set dummy $ac_prog; ac_word=$2
9357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9359 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 if test -n "$MINGWAR"; then
9363 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_prog_MINGWAR="$ac_prog"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9382 MINGWAR=$ac_cv_prog_MINGWAR
9383 if test -n "$MINGWAR"; then
9384 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9385 echo "${ECHO_T}$MINGWAR" >&6; }
9387 { echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6; }
9392 test -n "$MINGWAR" && break
9394 test -n "$MINGWAR" || MINGWAR="false"
9396 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9401 if test "$LIBEXT" = "a"; then
9402 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9403 It is currently not possible to build Wine without shared library
9404 (.so) support to allow transparent switch between .so and .dll files.
9405 If you are using Linux, you will need a newer binutils.
9407 echo "$as_me: error: could not find a way to build shared libraries.
9408 It is currently not possible to build Wine without shared library
9409 (.so) support to allow transparent switch between .so and .dll files.
9410 If you are using Linux, you will need a newer binutils.
9412 { (exit 1); exit 1; }; }
9416 if test "$have_x" = "yes"
9419 ac_save_CPPFLAGS="$CPPFLAGS"
9420 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9422 { echo "$as_me:$LINENO: checking for -lX11" >&5
9423 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9424 if test "${ac_cv_lib_soname_X11+set}" = set; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 ac_check_soname_save_LIBS=$LIBS
9428 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9429 cat >conftest.$ac_ext <<_ACEOF
9432 cat confdefs.h >>conftest.$ac_ext
9433 cat >>conftest.$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9442 char XCreateWindow ();
9446 return XCreateWindow ();
9451 rm -f conftest.$ac_objext conftest$ac_exeext
9452 if { (ac_try="$ac_link"
9454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9455 *) ac_try_echo
=$ac_try;;
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_link") 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err
9467 } && test -s conftest
$ac_exeext &&
9468 $as_test_x conftest
$ac_exeext; then
9471 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'` ;;
9472 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9475 echo "$as_me: failed program was:" >&5
9476 sed 's/^/| /' conftest.
$ac_ext >&5
9481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 LIBS
=$ac_check_soname_save_LIBS
9485 if test "x$ac_cv_lib_soname_X11" = "x"; then
9486 { echo "$as_me:$LINENO: result: not found" >&5
9487 echo "${ECHO_T}not found" >&6; }
9490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9491 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9493 cat >>confdefs.h
<<_ACEOF
9494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9500 { echo "$as_me:$LINENO: checking for -lXext" >&5
9501 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9502 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 ac_check_soname_save_LIBS
=$LIBS
9506 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9507 cat >conftest.
$ac_ext <<_ACEOF
9510 cat confdefs.h
>>conftest.
$ac_ext
9511 cat >>conftest.
$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9520 char XextCreateExtension ();
9524 return XextCreateExtension ();
9529 rm -f conftest.
$ac_objext conftest
$ac_exeext
9530 if { (ac_try
="$ac_link"
9532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_link") 2>conftest.er1
9538 grep -v '^ *+' conftest.er1 >conftest.err
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } && {
9543 test -z "$ac_c_werror_flag" ||
9544 test ! -s conftest.err
9545 } && test -s conftest$ac_exeext &&
9546 $as_test_x conftest$ac_exeext; then
9549 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'` ;;
9550 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9564 { echo "$as_me:$LINENO: result: not found" >&5
9565 echo "${ECHO_T}not found" >&6; }
9568 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9569 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9591 for ac_header in X11/Xlib.h \
9594 X11/Xcursor/Xcursor.h \
9595 X11/extensions/shape.h \
9596 X11/extensions/XInput.h \
9597 X11/extensions/XShm.h \
9598 X11/extensions/Xcomposite.h \
9599 X11/extensions/Xinerama.h \
9600 X11/extensions/Xrandr.h \
9601 X11/extensions/Xrender.h \
9602 X11/extensions/xf86vmode.h
9604 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 cat >conftest.$ac_ext <<_ACEOF
9613 cat confdefs.h >>conftest.$ac_ext
9614 cat >>conftest.$ac_ext <<_ACEOF
9615 /* end confdefs.h. */
9616 #ifdef HAVE_X11_XLIB_H
9617 # include <X11/Xlib.h>
9619 #ifdef HAVE_X11_XUTIL_H
9620 # include <X11/Xutil.h>
9623 #include <$ac_header>
9625 rm -f conftest.$ac_objext
9626 if { (ac_try="$ac_compile"
9628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9629 *) ac_try_echo
=$ac_try;;
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_compile") 2>conftest.er1
9634 grep -v '^ *+' conftest.er1
>conftest.err
9636 cat conftest.err
>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest.
$ac_objext; then
9642 eval "$as_ac_Header=yes"
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9647 eval "$as_ac_Header=no"
9650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9652 ac_res
=`eval echo '${'$as_ac_Header'}'`
9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654 echo "${ECHO_T}$ac_res" >&6; }
9655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9656 cat >>confdefs.h
<<_ACEOF
9657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9665 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9667 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9668 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9669 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 ac_check_lib_save_LIBS
=$LIBS
9673 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9687 char XkbQueryExtension ();
9691 return XkbQueryExtension ();
9696 rm -f conftest.
$ac_objext conftest
$ac_exeext
9697 if { (ac_try
="$ac_link"
9699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9700 *) ac_try_echo=$ac_try;;
9702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 (eval "$ac_link") 2>conftest.er1
9705 grep -v '^ *+' conftest.er1 >conftest.err
9707 cat conftest.err >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext &&
9713 $as_test_x conftest$ac_exeext; then
9714 ac_cv_lib_X11_XkbQueryExtension=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_lib_X11_XkbQueryExtension=no
9722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9727 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9728 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9730 cat >>confdefs.h <<\_ACEOF
9738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9740 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9741 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9760 char XcursorImageLoadCursor ();
9764 return XcursorImageLoadCursor ();
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9773 *) ac_try_echo
=$ac_try;;
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9778 grep -v '^ *+' conftest.er1
>conftest.err
9780 cat conftest.err
>&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest
$ac_exeext &&
9786 $as_test_x conftest
$ac_exeext; then
9789 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'` ;;
9790 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.
$ac_ext >&5
9799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9800 conftest
$ac_exeext conftest.
$ac_ext
9801 LIBS
=$ac_check_soname_save_LIBS
9803 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9804 { echo "$as_me:$LINENO: result: not found" >&5
9805 echo "${ECHO_T}not found" >&6; }
9808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9809 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9811 cat >>confdefs.h
<<_ACEOF
9812 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9819 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9820 case "x$with_xcursor" in
9821 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9823 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9824 This is an error since --with-xcursor was requested." >&5
9825 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9826 This is an error since --with-xcursor was requested." >&2;}
9827 { (exit 1); exit 1; }; } ;;
9832 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9834 { echo "$as_me:$LINENO: checking for -lXi" >&5
9835 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9836 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 ac_check_soname_save_LIBS
=$LIBS
9840 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9841 cat >conftest.
$ac_ext <<_ACEOF
9844 cat confdefs.h
>>conftest.
$ac_ext
9845 cat >>conftest.
$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char XOpenDevice ();
9858 return XOpenDevice ();
9863 rm -f conftest.
$ac_objext conftest
$ac_exeext
9864 if { (ac_try
="$ac_link"
9866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_link") 2>conftest.er1
9872 grep -v '^ *+' conftest.er1 >conftest.err
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } && {
9877 test -z "$ac_c_werror_flag" ||
9878 test ! -s conftest.err
9879 } && test -s conftest$ac_exeext &&
9880 $as_test_x conftest$ac_exeext; then
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9898 { echo "$as_me:$LINENO: result: not found" >&5
9899 echo "${ECHO_T}not found" >&6; }
9902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9903 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9914 case "x$with_xinput" in
9915 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9917 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." >&5
9919 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9920 This is an error since --with-xinput was requested." >&2;}
9921 { (exit 1); exit 1; }; } ;;
9926 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9928 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9929 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9930 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat >conftest.$ac_ext <<_ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9948 char XShmQueryExtension ();
9952 return XShmQueryExtension ();
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (ac_try="$ac_link"
9960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9961 *) ac_try_echo
=$ac_try;;
9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9964 (eval "$ac_link") 2>conftest.er1
9966 grep -v '^ *+' conftest.er1
>conftest.err
9968 cat conftest.err
>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } && {
9971 test -z "$ac_c_werror_flag" ||
9972 test ! -s conftest.err
9973 } && test -s conftest
$ac_exeext &&
9974 $as_test_x conftest
$ac_exeext; then
9975 ac_cv_lib_Xext_XShmQueryExtension
=yes
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.
$ac_ext >&5
9980 ac_cv_lib_Xext_XShmQueryExtension
=no
9983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9984 conftest
$ac_exeext conftest.
$ac_ext
9985 LIBS
=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9988 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9989 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9991 cat >>confdefs.h
<<\_ACEOF
9992 #define HAVE_LIBXXSHM 1
9998 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9999 case "x$with_xshm" in
10000 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10002 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10003 This is an error since --with-xshm was requested." >&5
10004 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10005 This is an error since --with-xshm was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10011 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10013 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10014 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 ac_check_lib_save_LIBS
=$LIBS
10019 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10020 cat >conftest.
$ac_ext <<_ACEOF
10023 cat confdefs.h
>>conftest.
$ac_ext
10024 cat >>conftest.
$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10033 char XShapeQueryExtension ();
10037 return XShapeQueryExtension ();
10042 rm -f conftest.
$ac_objext conftest
$ac_exeext
10043 if { (ac_try
="$ac_link"
10044 case "(($ac_try" in
10045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10060 ac_cv_lib_Xext_XShapeQueryExtension=yes
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 ac_cv_lib_Xext_XShapeQueryExtension=no
10068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_lib_save_LIBS
10072 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10073 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10074 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10076 cat >>confdefs.h <<\_ACEOF
10077 #define HAVE_LIBXSHAPE 1
10083 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10084 case "x$with_xshape" in
10085 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10087 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10088 This is an error since --with-xshape was requested." >&5
10089 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10090 This is an error since --with-xshape was requested." >&2;}
10091 { (exit 1); exit 1; }; } ;;
10096 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10098 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10099 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10100 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10105 cat >conftest.$ac_ext <<_ACEOF
10108 cat confdefs.h >>conftest.$ac_ext
10109 cat >>conftest.$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10118 char XF86VidModeQueryExtension ();
10122 return XF86VidModeQueryExtension ();
10127 rm -f conftest.$ac_objext conftest$ac_exeext
10128 if { (ac_try="$ac_link"
10129 case "(($ac_try" in
10130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10131 *) ac_try_echo
=$ac_try;;
10133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10134 (eval "$ac_link") 2>conftest.er1
10136 grep -v '^ *+' conftest.er1
>conftest.err
10138 cat conftest.err
>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest
$ac_exeext &&
10144 $as_test_x conftest
$ac_exeext; then
10145 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.
$ac_ext >&5
10150 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10154 conftest
$ac_exeext conftest.
$ac_ext
10155 LIBS
=$ac_check_lib_save_LIBS
10157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10158 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10159 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10161 cat >>confdefs.h
<<\_ACEOF
10162 #define HAVE_LIBXXF86VM 1
10165 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10170 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10171 case "x$with_xvidmode" in
10172 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10174 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xvidmode was requested." >&5
10176 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10177 This is an error since --with-xvidmode was requested." >&2;}
10178 { (exit 1); exit 1; }; } ;;
10183 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"
10185 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10186 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10187 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 ac_check_soname_save_LIBS
=$LIBS
10191 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10205 char XRenderQueryExtension ();
10209 return XRenderQueryExtension ();
10214 rm -f conftest.
$ac_objext conftest
$ac_exeext
10215 if { (ac_try
="$ac_link"
10216 case "(($ac_try" in
10217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10221 (eval "$ac_link") 2>conftest.er1
10223 grep -v '^ *+' conftest.er1 >conftest.err
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } && {
10228 test -z "$ac_c_werror_flag" ||
10229 test ! -s conftest.err
10230 } && test -s conftest$ac_exeext &&
10231 $as_test_x conftest$ac_exeext; then
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_soname_save_LIBS
10248 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10249 { echo "$as_me:$LINENO: result: not found" >&5
10250 echo "${ECHO_T}not found" >&6; }
10253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10254 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10256 cat >>confdefs.h <<_ACEOF
10257 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10260 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10261 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10262 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10267 cat >conftest.$ac_ext <<_ACEOF
10270 cat confdefs.h >>conftest.$ac_ext
10271 cat >>conftest.$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10280 char XRenderSetPictureTransform ();
10284 return XRenderSetPictureTransform ();
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (ac_try="$ac_link"
10291 case "(($ac_try" in
10292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10293 *) ac_try_echo
=$ac_try;;
10295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10296 (eval "$ac_link") 2>conftest.er1
10298 grep -v '^ *+' conftest.er1
>conftest.err
10300 cat conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && {
10303 test -z "$ac_c_werror_flag" ||
10304 test ! -s conftest.err
10305 } && test -s conftest
$ac_exeext &&
10306 $as_test_x conftest
$ac_exeext; then
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.
$ac_ext >&5
10312 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10316 conftest
$ac_exeext conftest.
$ac_ext
10317 LIBS
=$ac_check_lib_save_LIBS
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10320 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10321 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10323 cat >>confdefs.h
<<\_ACEOF
10324 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10333 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10334 case "x$with_xrender" in
10335 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10337 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10338 This is an error since --with-xrender was requested." >&5
10339 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10340 This is an error since --with-xrender was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10346 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10359 static typeof(XRRSetScreenConfigAndRate) * func;
10364 rm -f conftest.
$ac_objext
10365 if { (ac_try
="$ac_compile"
10366 case "(($ac_try" in
10367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_compile") 2>conftest.er1
10373 grep -v '^ *+' conftest.er1 >conftest.err
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } && {
10378 test -z "$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 } && test -s conftest.$ac_objext; then
10381 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10382 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10383 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10388 cat >conftest.$ac_ext <<_ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10401 char XRRQueryExtension ();
10405 return XRRQueryExtension ();
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (ac_try="$ac_link"
10412 case "(($ac_try" in
10413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10414 *) ac_try_echo
=$ac_try;;
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_link") 2>conftest.er1
10419 grep -v '^ *+' conftest.er1
>conftest.err
10421 cat conftest.err
>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest
$ac_exeext &&
10427 $as_test_x conftest
$ac_exeext; then
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.
$ac_ext >&5
10440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_soname_save_LIBS
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10445 { echo "$as_me:$LINENO: result: not found" >&5
10446 echo "${ECHO_T}not found" >&6; }
10449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10450 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10452 cat >>confdefs.h
<<_ACEOF
10453 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10468 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10469 case "x$with_xrandr" in
10470 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10472 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10473 This is an error since --with-xrandr was requested." >&5
10474 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10475 This is an error since --with-xrandr was requested." >&2;}
10476 { (exit 1); exit 1; }; } ;;
10481 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10483 cat >conftest.
$ac_ext <<_ACEOF
10486 cat confdefs.h
>>conftest.
$ac_ext
10487 cat >>conftest.
$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xinerama.h>
10494 static typeof(XineramaQueryScreens) * func;
10499 rm -f conftest.
$ac_objext
10500 if { (ac_try
="$ac_compile"
10501 case "(($ac_try" in
10502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_compile") 2>conftest.er1
10508 grep -v '^ *+' conftest.er1 >conftest.err
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest.$ac_objext; then
10516 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10517 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10518 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10523 cat >conftest.$ac_ext <<_ACEOF
10526 cat confdefs.h >>conftest.$ac_ext
10527 cat >>conftest.$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10536 char XineramaQueryScreens ();
10540 return XineramaQueryScreens ();
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (ac_try="$ac_link"
10547 case "(($ac_try" in
10548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10549 *) ac_try_echo
=$ac_try;;
10551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10552 (eval "$ac_link") 2>conftest.er1
10554 grep -v '^ *+' conftest.er1
>conftest.err
10556 cat conftest.err
>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } && {
10559 test -z "$ac_c_werror_flag" ||
10560 test ! -s conftest.err
10561 } && test -s conftest
$ac_exeext &&
10562 $as_test_x conftest
$ac_exeext; then
10565 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'` ;;
10566 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10576 conftest
$ac_exeext conftest.
$ac_ext
10577 LIBS
=$ac_check_soname_save_LIBS
10579 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10580 { echo "$as_me:$LINENO: result: not found" >&5
10581 echo "${ECHO_T}not found" >&6; }
10584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10585 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10587 cat >>confdefs.h
<<_ACEOF
10588 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.
$ac_ext >&5
10601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10603 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10604 case "x$with_xinerama" in
10605 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10607 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10608 This is an error since --with-xinerama was requested." >&5
10609 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10610 This is an error since --with-xinerama was requested." >&2;}
10611 { (exit 1); exit 1; }; } ;;
10616 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10618 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10619 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10620 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 ac_check_soname_save_LIBS
=$LIBS
10624 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10638 char XCompositeRedirectWindow ();
10642 return XCompositeRedirectWindow ();
10647 rm -f conftest.
$ac_objext conftest
$ac_exeext
10648 if { (ac_try
="$ac_link"
10649 case "(($ac_try" in
10650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_link") 2>conftest.er1
10656 grep -v '^ *+' conftest.er1 >conftest.err
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && {
10661 test -z "$ac_c_werror_flag" ||
10662 test ! -s conftest.err
10663 } && test -s conftest$ac_exeext &&
10664 $as_test_x conftest$ac_exeext; then
10667 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'` ;;
10668 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_soname_save_LIBS
10681 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10682 { echo "$as_me:$LINENO: result: not found" >&5
10683 echo "${ECHO_T}not found" >&6; }
10686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10687 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10689 cat >>confdefs.h <<_ACEOF
10690 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10698 case "x$with_xcomposite" in
10699 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10701 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10702 This is an error since --with-xcomposite was requested." >&5
10703 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10704 This is an error since --with-xcomposite was requested." >&2;}
10705 { (exit 1); exit 1; }; } ;;
10710 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10711 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10712 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 cat >conftest.$ac_ext <<_ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10721 #ifdef HAVE_X11_XLIB_H
10722 #include <X11/Xlib.h>
10728 static XICCallback ac_aggr;
10729 if (ac_aggr.callback)
10735 rm -f conftest.$ac_objext
10736 if { (ac_try="$ac_compile"
10737 case "(($ac_try" in
10738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10739 *) ac_try_echo
=$ac_try;;
10741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10742 (eval "$ac_compile") 2>conftest.er1
10744 grep -v '^ *+' conftest.er1
>conftest.err
10746 cat conftest.err
>&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } && {
10749 test -z "$ac_c_werror_flag" ||
10750 test ! -s conftest.err
10751 } && test -s conftest.
$ac_objext; then
10752 ac_cv_member_XICCallback_callback
=yes
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.
$ac_ext >&5
10757 cat >conftest.
$ac_ext <<_ACEOF
10760 cat confdefs.h
>>conftest.
$ac_ext
10761 cat >>conftest.
$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #ifdef HAVE_X11_XLIB_H
10764 #include <X11/Xlib.h>
10770 static XICCallback ac_aggr;
10771 if (sizeof ac_aggr.callback)
10777 rm -f conftest.
$ac_objext
10778 if { (ac_try
="$ac_compile"
10779 case "(($ac_try" in
10780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_compile") 2>conftest.er1
10786 grep -v '^ *+' conftest.er1 >conftest.err
10788 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err
10793 } && test -s conftest.$ac_objext; then
10794 ac_cv_member_XICCallback_callback=yes
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_member_XICCallback_callback=no
10802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10807 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10808 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10809 if test $ac_cv_member_XICCallback_callback = yes; then
10811 cat >>confdefs.h <<_ACEOF
10812 #define HAVE_XICCALLBACK_CALLBACK 1
10821 if test "x$with_opengl" != "xno"
10827 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10829 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 cat >conftest.$ac_ext <<_ACEOF
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #ifdef HAVE_GL_GLX_H
10842 # include <GL/glx.h>
10845 #include <$ac_header>
10847 rm -f conftest.$ac_objext
10848 if { (ac_try="$ac_compile"
10849 case "(($ac_try" in
10850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10851 *) ac_try_echo
=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_compile") 2>conftest.er1
10856 grep -v '^ *+' conftest.er1
>conftest.err
10858 cat conftest.err
>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && {
10861 test -z "$ac_c_werror_flag" ||
10862 test ! -s conftest.err
10863 } && test -s conftest.
$ac_objext; then
10864 eval "$as_ac_Header=yes"
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.
$ac_ext >&5
10869 eval "$as_ac_Header=no"
10872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10874 ac_res
=`eval echo '${'$as_ac_Header'}'`
10875 { echo "$as_me:$LINENO: result: $ac_res" >&5
10876 echo "${ECHO_T}$ac_res" >&6; }
10877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10878 cat >>confdefs.h
<<_ACEOF
10879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10886 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10888 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10889 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10890 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10891 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 cat >conftest.
$ac_ext <<_ACEOF
10896 cat confdefs.h
>>conftest.
$ac_ext
10897 cat >>conftest.
$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10903 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10908 rm -f conftest.
$ac_objext
10909 if { (ac_try
="$ac_compile"
10910 case "(($ac_try" in
10911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10912 *) ac_try_echo=$ac_try;;
10914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10915 (eval "$ac_compile") 2>conftest.er1
10917 grep -v '^ *+' conftest.er1 >conftest.err
10919 cat conftest.err >&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } && {
10922 test -z "$ac_c_werror_flag" ||
10923 test ! -s conftest.err
10924 } && test -s conftest.$ac_objext; then
10925 wine_cv_opengl_header_version_OK="yes"
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 wine_cv_opengl_header_version_OK="no"
10933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10935 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10936 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10938 if test "$wine_cv_opengl_header_version_OK" = "yes"
10940 { echo "$as_me:$LINENO: checking for -lGL" >&5
10941 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10942 if test "${ac_cv_lib_soname_GL+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 ac_check_soname_save_LIBS=$LIBS
10946 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10947 cat >conftest.$ac_ext <<_ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10960 char glXCreateContext ();
10964 return glXCreateContext ();
10969 rm -f conftest.$ac_objext conftest$ac_exeext
10970 if { (ac_try="$ac_link"
10971 case "(($ac_try" in
10972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10973 *) ac_try_echo
=$ac_try;;
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_link") 2>conftest.er1
10978 grep -v '^ *+' conftest.er1
>conftest.err
10980 cat conftest.err
>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } && {
10983 test -z "$ac_c_werror_flag" ||
10984 test ! -s conftest.err
10985 } && test -s conftest
$ac_exeext &&
10986 $as_test_x conftest
$ac_exeext; then
10989 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'` ;;
10990 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.
$ac_ext >&5
10999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11000 conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_soname_save_LIBS
11003 if test "x$ac_cv_lib_soname_GL" = "x"; then
11004 { echo "$as_me:$LINENO: result: not found" >&5
11005 echo "${ECHO_T}not found" >&6; }
11006 { echo "$as_me:$LINENO: checking for -lGL" >&5
11007 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11008 if test "${ac_cv_lib_soname_GL+set}" = set; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11011 ac_check_soname_save_LIBS
=$LIBS
11012 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11013 cat >conftest.
$ac_ext <<_ACEOF
11016 cat confdefs.h
>>conftest.
$ac_ext
11017 cat >>conftest.
$ac_ext <<_ACEOF
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11026 char glXCreateContext ();
11030 return glXCreateContext ();
11035 rm -f conftest.
$ac_objext conftest
$ac_exeext
11036 if { (ac_try
="$ac_link"
11037 case "(($ac_try" in
11038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_link") 2>conftest.er1
11044 grep -v '^ *+' conftest.er1 >conftest.err
11046 cat conftest.err >&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } && {
11049 test -z "$ac_c_werror_flag" ||
11050 test ! -s conftest.err
11051 } && test -s conftest$ac_exeext &&
11052 $as_test_x conftest$ac_exeext; then
11055 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'` ;;
11056 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_soname_save_LIBS
11069 if test "x$ac_cv_lib_soname_GL" = "x"; then
11070 { echo "$as_me:$LINENO: result: not found" >&5
11071 echo "${ECHO_T}not found" >&6; }
11072 if test -f /usr/X11R6/lib/libGL.a
11074 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11075 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11077 opengl_msg="No OpenGL library found on this system."
11080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11081 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11083 cat >>confdefs.h <<_ACEOF
11084 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11087 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11088 OPENGLFILES='$(OPENGLFILES)'
11090 cat >>confdefs.h <<\_ACEOF
11091 #define HAVE_OPENGL 1
11097 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11098 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11100 cat >>confdefs.h <<_ACEOF
11101 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11105 OPENGLFILES='$(OPENGLFILES)'
11107 cat >>confdefs.h <<\_ACEOF
11108 #define HAVE_OPENGL 1
11114 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11115 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11116 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11121 cat >conftest.$ac_ext <<_ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11138 return gluLookAt ();
11143 rm -f conftest.$ac_objext conftest$ac_exeext
11144 if { (ac_try="$ac_link"
11145 case "(($ac_try" in
11146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11147 *) ac_try_echo
=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_link") 2>conftest.er1
11152 grep -v '^ *+' conftest.er1
>conftest.err
11154 cat conftest.err
>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } && {
11157 test -z "$ac_c_werror_flag" ||
11158 test ! -s conftest.err
11159 } && test -s conftest
$ac_exeext &&
11160 $as_test_x conftest
$ac_exeext; then
11161 ac_cv_lib_GLU_gluLookAt
=yes
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.
$ac_ext >&5
11166 ac_cv_lib_GLU_gluLookAt
=no
11169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11170 conftest
$ac_exeext conftest.
$ac_ext
11171 LIBS
=$ac_check_lib_save_LIBS
11173 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11174 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11175 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11176 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
11177 GLU32FILES
='$(GLU32FILES)'
11182 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11185 opengl_msg
="OpenGL development headers not found."
11188 if test -n "$opengl_msg"; then
11189 case "x$with_opengl" in
11190 x
) wine_warnings
="$wine_warnings|$opengl_msg
11191 OpenGL and Direct3D won't be supported." ;;
11193 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11194 OpenGL and Direct3D won't be supported.
11195 This is an error since --with-opengl was requested." >&5
11196 echo "$as_me: error: $opengl_msg
11197 OpenGL and Direct3D won't be supported.
11198 This is an error since --with-opengl was requested." >&2;}
11199 { (exit 1); exit 1; }; } ;;
11207 for ac_header
in audio
/audiolib.h
11209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11213 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 ac_res
=`eval echo '${'$as_ac_Header'}'`
11217 { echo "$as_me:$LINENO: result: $ac_res" >&5
11218 echo "${ECHO_T}$ac_res" >&6; }
11220 # Is the header compilable?
11221 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11223 cat >conftest.
$ac_ext <<_ACEOF
11226 cat confdefs.h
>>conftest.
$ac_ext
11227 cat >>conftest.
$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_includes_default
11230 #include <$ac_header>
11232 rm -f conftest.
$ac_objext
11233 if { (ac_try
="$ac_compile"
11234 case "(($ac_try" in
11235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11236 *) ac_try_echo=$ac_try;;
11238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11239 (eval "$ac_compile") 2>conftest.er1
11241 grep -v '^ *+' conftest.er1 >conftest.err
11243 cat conftest.err >&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); } && {
11246 test -z "$ac_c_werror_flag" ||
11247 test ! -s conftest.err
11248 } && test -s conftest.$ac_objext; then
11249 ac_header_compiler=yes
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11254 ac_header_compiler=no
11257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11258 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11259 echo "${ECHO_T}$ac_header_compiler" >&6; }
11261 # Is the header present?
11262 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11264 cat >conftest.$ac_ext <<_ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 #include <$ac_header>
11272 if { (ac_try="$ac_cpp conftest.$ac_ext"
11273 case "(($ac_try" in
11274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11275 *) ac_try_echo
=$ac_try;;
11277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11280 grep -v '^ *+' conftest.er1
>conftest.err
11282 cat conftest.err
>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } >/dev
/null
&& {
11285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11286 test ! -s conftest.err
11288 ac_header_preproc
=yes
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.
$ac_ext >&5
11293 ac_header_preproc
=no
11296 rm -f conftest.err conftest.
$ac_ext
11297 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11298 echo "${ECHO_T}$ac_header_preproc" >&6; }
11300 # So? What about this header?
11301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11307 ac_header_preproc
=yes
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11323 ## ------------------------------------ ##
11324 ## Report this to wine-devel@winehq.org ##
11325 ## ------------------------------------ ##
11327 ) |
sed "s/^/$as_me: WARNING: /" >&2
11330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11332 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 eval "$as_ac_Header=\$ac_header_preproc"
11337 ac_res
=`eval echo '${'$as_ac_Header'}'`
11338 { echo "$as_me:$LINENO: result: $ac_res" >&5
11339 echo "${ECHO_T}$ac_res" >&6; }
11342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11343 cat >>confdefs.h
<<_ACEOF
11344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11347 for ac_header
in audio
/soundlib.h
11349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11352 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #include <audio/audiolib.h>
11363 #include <$ac_header>
11365 rm -f conftest.
$ac_objext
11366 if { (ac_try
="$ac_compile"
11367 case "(($ac_try" in
11368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11369 *) ac_try_echo=$ac_try;;
11371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11372 (eval "$ac_compile") 2>conftest.er1
11374 grep -v '^ *+' conftest.er1 >conftest.err
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } && {
11379 test -z "$ac_c_werror_flag" ||
11380 test ! -s conftest.err
11381 } && test -s conftest.$ac_objext; then
11382 eval "$as_ac_Header=yes"
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.$ac_ext >&5
11387 eval "$as_ac_Header=no"
11390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11392 ac_res=`eval echo '${'$as_ac_Header'}'`
11393 { echo "$as_me:$LINENO: result: $ac_res" >&5
11394 echo "${ECHO_T}$ac_res" >&6; }
11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11396 cat >>confdefs.h <<_ACEOF
11397 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11404 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11405 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11406 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11411 cat >conftest.$ac_ext <<_ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11424 char AuCreateFlow ();
11428 return AuCreateFlow ();
11433 rm -f conftest.$ac_objext conftest$ac_exeext
11434 if { (ac_try="$ac_link"
11435 case "(($ac_try" in
11436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11437 *) ac_try_echo
=$ac_try;;
11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_link") 2>conftest.er1
11442 grep -v '^ *+' conftest.er1
>conftest.err
11444 cat conftest.err
>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } && {
11447 test -z "$ac_c_werror_flag" ||
11448 test ! -s conftest.err
11449 } && test -s conftest
$ac_exeext &&
11450 $as_test_x conftest
$ac_exeext; then
11451 ac_cv_lib_audio_AuCreateFlow
=yes
11453 echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.
$ac_ext >&5
11456 ac_cv_lib_audio_AuCreateFlow
=no
11459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11460 conftest
$ac_exeext conftest.
$ac_ext
11461 LIBS
=$ac_check_lib_save_LIBS
11463 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11464 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11465 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11467 cat >>confdefs.h
<<\_ACEOF
11471 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11472 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11473 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 ac_check_lib_save_LIBS
=$LIBS
11477 LIBS
="-lXau $X_LIBS $LIBS"
11478 cat >conftest.
$ac_ext <<_ACEOF
11481 cat confdefs.h
>>conftest.
$ac_ext
11482 cat >>conftest.
$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11491 char XauGetBestAuthByAddr ();
11495 return XauGetBestAuthByAddr ();
11500 rm -f conftest.
$ac_objext conftest
$ac_exeext
11501 if { (ac_try
="$ac_link"
11502 case "(($ac_try" in
11503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11504 *) ac_try_echo=$ac_try;;
11506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11507 (eval "$ac_link") 2>conftest.er1
11509 grep -v '^ *+' conftest.er1 >conftest.err
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } && {
11514 test -z "$ac_c_werror_flag" ||
11515 test ! -s conftest.err
11516 } && test -s conftest$ac_exeext &&
11517 $as_test_x conftest$ac_exeext; then
11518 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.$ac_ext >&5
11523 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11530 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11531 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11532 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11533 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11535 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11546 CPPFLAGS="$ac_save_CPPFLAGS"
11553 if test "x$XLIB" = "x"; then
11555 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11556 without X support, which probably isn't what you want. You will need to install
11557 development packages of Xlib/Xfree86 at the very least." ;;
11559 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11560 without X support, which probably isn't what you want. You will need to install
11561 development packages of Xlib/Xfree86 at the very least.
11562 This is an error since --with-x was requested." >&5
11563 echo "$as_me: error: X development files not found. Wine will be built
11564 without X support, which probably isn't what you want. You will need to install
11565 development packages of Xlib/Xfree86 at the very least.
11566 This is an error since --with-x was requested." >&2;}
11567 { (exit 1); exit 1; }; } ;;
11581 if test "x$with_xml" != "xno"
11583 ac_save_CPPFLAGS="$CPPFLAGS"
11584 if test "$PKG_CONFIG" != "false"
11586 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11587 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11589 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11590 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11592 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11594 for ac_header in libxml/parser.h
11596 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 ac_res=`eval echo '${'$as_ac_Header'}'`
11604 { echo "$as_me:$LINENO: result: $ac_res" >&5
11605 echo "${ECHO_T}$ac_res" >&6; }
11607 # Is the header compilable?
11608 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11610 cat >conftest.$ac_ext <<_ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 $ac_includes_default
11617 #include <$ac_header>
11619 rm -f conftest.$ac_objext
11620 if { (ac_try="$ac_compile"
11621 case "(($ac_try" in
11622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11623 *) ac_try_echo
=$ac_try;;
11625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11626 (eval "$ac_compile") 2>conftest.er1
11628 grep -v '^ *+' conftest.er1
>conftest.err
11630 cat conftest.err
>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } && {
11633 test -z "$ac_c_werror_flag" ||
11634 test ! -s conftest.err
11635 } && test -s conftest.
$ac_objext; then
11636 ac_header_compiler
=yes
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.
$ac_ext >&5
11641 ac_header_compiler
=no
11644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11646 echo "${ECHO_T}$ac_header_compiler" >&6; }
11648 # Is the header present?
11649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11651 cat >conftest.
$ac_ext <<_ACEOF
11654 cat confdefs.h
>>conftest.
$ac_ext
11655 cat >>conftest.
$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11657 #include <$ac_header>
11659 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11660 case "(($ac_try" in
11661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11662 *) ac_try_echo=$ac_try;;
11664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11667 grep -v '^ *+' conftest.er1 >conftest.err
11669 cat conftest.err >&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } >/dev/null && {
11672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11673 test ! -s conftest.err
11675 ac_header_preproc=yes
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.$ac_ext >&5
11680 ac_header_preproc=no
11683 rm -f conftest.err conftest.$ac_ext
11684 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11685 echo "${ECHO_T}$ac_header_preproc" >&6; }
11687 # So? What about this header?
11688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11694 ac_header_preproc=yes
11697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11710 ## ------------------------------------ ##
11711 ## Report this to wine-devel@winehq.org ##
11712 ## ------------------------------------ ##
11714 ) | sed "s/^/$as_me: WARNING: /" >&2
11717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 eval "$as_ac_Header=\$ac_header_preproc"
11724 ac_res=`eval echo '${'$as_ac_Header'}'`
11725 { echo "$as_me:$LINENO: result: $ac_res" >&5
11726 echo "${ECHO_T}$ac_res" >&6; }
11729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11730 cat >>confdefs.h <<_ACEOF
11731 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11733 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11734 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11735 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 ac_check_lib_save_LIBS=$LIBS
11739 LIBS="-lxml2 $ac_xml_libs $LIBS"
11740 cat >conftest.$ac_ext <<_ACEOF
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11753 char xmlParseMemory ();
11757 return xmlParseMemory ();
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (ac_try="$ac_link"
11764 case "(($ac_try" in
11765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11766 *) ac_try_echo
=$ac_try;;
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_link") 2>conftest.er1
11771 grep -v '^ *+' conftest.er1
>conftest.err
11773 cat conftest.err
>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } && {
11776 test -z "$ac_c_werror_flag" ||
11777 test ! -s conftest.err
11778 } && test -s conftest
$ac_exeext &&
11779 $as_test_x conftest
$ac_exeext; then
11780 ac_cv_lib_xml2_xmlParseMemory
=yes
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.
$ac_ext >&5
11785 ac_cv_lib_xml2_xmlParseMemory
=no
11788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11789 conftest
$ac_exeext conftest.
$ac_ext
11790 LIBS
=$ac_check_lib_save_LIBS
11792 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11793 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11794 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11796 cat >>confdefs.h
<<\_ACEOF
11797 #define HAVE_LIBXML2 1
11800 XML2LIBS
="$ac_xml_libs"
11801 XML2INCL
="$ac_xml_cflags"
11804 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11805 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11806 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 ac_check_lib_save_LIBS
=$LIBS
11810 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11811 cat >conftest.
$ac_ext <<_ACEOF
11814 cat confdefs.h
>>conftest.
$ac_ext
11815 cat >>conftest.
$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11824 char xmlReadMemory ();
11828 return xmlReadMemory ();
11833 rm -f conftest.
$ac_objext conftest
$ac_exeext
11834 if { (ac_try
="$ac_link"
11835 case "(($ac_try" in
11836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11837 *) ac_try_echo=$ac_try;;
11839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11840 (eval "$ac_link") 2>conftest.er1
11842 grep -v '^ *+' conftest.er1 >conftest.err
11844 cat conftest.err >&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } && {
11847 test -z "$ac_c_werror_flag" ||
11848 test ! -s conftest.err
11849 } && test -s conftest$ac_exeext &&
11850 $as_test_x conftest$ac_exeext; then
11851 ac_cv_lib_xml2_xmlReadMemory=yes
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_lib_xml2_xmlReadMemory=no
11859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11864 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11865 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11867 cat >>confdefs.h <<\_ACEOF
11868 #define HAVE_XMLREADMEMORY 1
11873 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11874 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11875 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 ac_check_lib_save_LIBS=$LIBS
11879 LIBS="-lxml2 $ac_xml_libs $LIBS"
11880 cat >conftest.$ac_ext <<_ACEOF
11883 cat confdefs.h >>conftest.$ac_ext
11884 cat >>conftest.$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11893 char xmlNewDocPI ();
11897 return xmlNewDocPI ();
11902 rm -f conftest.$ac_objext conftest$ac_exeext
11903 if { (ac_try="$ac_link"
11904 case "(($ac_try" in
11905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11906 *) ac_try_echo
=$ac_try;;
11908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11909 (eval "$ac_link") 2>conftest.er1
11911 grep -v '^ *+' conftest.er1
>conftest.err
11913 cat conftest.err
>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); } && {
11916 test -z "$ac_c_werror_flag" ||
11917 test ! -s conftest.err
11918 } && test -s conftest
$ac_exeext &&
11919 $as_test_x conftest
$ac_exeext; then
11920 ac_cv_lib_xml2_xmlNewDocPI
=yes
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.
$ac_ext >&5
11925 ac_cv_lib_xml2_xmlNewDocPI
=no
11928 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11929 conftest
$ac_exeext conftest.
$ac_ext
11930 LIBS
=$ac_check_lib_save_LIBS
11932 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11933 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11934 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11936 cat >>confdefs.h
<<\_ACEOF
11937 #define HAVE_XMLNEWDOCPI 1
11947 CPPFLAGS
="$ac_save_CPPFLAGS"
11949 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11950 case "x$with_xml" in
11951 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11953 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11954 This is an error since --with-xml was requested." >&5
11955 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11956 This is an error since --with-xml was requested." >&2;}
11957 { (exit 1); exit 1; }; } ;;
11962 if test "x$with_xslt" != "xno"
11964 if test "$PKG_CONFIG" != "false"
11966 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11967 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11969 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11970 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11972 ac_save_CPPFLAGS
="$CPPFLAGS"
11973 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11976 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11979 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11981 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 #ifdef HAVE_LIBXSLT_PATTERN_H
11991 # include <libxslt/pattern.h>
11994 #include <$ac_header>
11996 rm -f conftest.
$ac_objext
11997 if { (ac_try
="$ac_compile"
11998 case "(($ac_try" in
11999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12000 *) ac_try_echo=$ac_try;;
12002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12003 (eval "$ac_compile") 2>conftest.er1
12005 grep -v '^ *+' conftest.er1 >conftest.err
12007 cat conftest.err >&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && {
12010 test -z "$ac_c_werror_flag" ||
12011 test ! -s conftest.err
12012 } && test -s conftest.$ac_objext; then
12013 eval "$as_ac_Header=yes"
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 eval "$as_ac_Header=no"
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023 ac_res=`eval echo '${'$as_ac_Header'}'`
12024 { echo "$as_me:$LINENO: result: $ac_res" >&5
12025 echo "${ECHO_T}$ac_res" >&6; }
12026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12027 cat >>confdefs.h <<_ACEOF
12028 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12035 CPPFLAGS="$ac_save_CPPFLAGS"
12036 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12038 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12039 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12040 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 ac_check_lib_save_LIBS=$LIBS
12044 LIBS="-lxslt $ac_xslt_libs $LIBS"
12045 cat >conftest.$ac_ext <<_ACEOF
12048 cat confdefs.h >>conftest.$ac_ext
12049 cat >>conftest.$ac_ext <<_ACEOF
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12058 char xsltCompilePattern ();
12062 return xsltCompilePattern ();
12067 rm -f conftest.$ac_objext conftest$ac_exeext
12068 if { (ac_try="$ac_link"
12069 case "(($ac_try" in
12070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12071 *) ac_try_echo
=$ac_try;;
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_link") 2>conftest.er1
12076 grep -v '^ *+' conftest.er1
>conftest.err
12078 cat conftest.err
>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && {
12081 test -z "$ac_c_werror_flag" ||
12082 test ! -s conftest.err
12083 } && test -s conftest
$ac_exeext &&
12084 $as_test_x conftest
$ac_exeext; then
12085 ac_cv_lib_xslt_xsltCompilePattern
=yes
12087 echo "$as_me: failed program was:" >&5
12088 sed 's/^/| /' conftest.
$ac_ext >&5
12090 ac_cv_lib_xslt_xsltCompilePattern
=no
12093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12094 conftest
$ac_exeext conftest.
$ac_ext
12095 LIBS
=$ac_check_lib_save_LIBS
12097 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12098 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12099 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12101 cat >>confdefs.h
<<\_ACEOF
12102 #define HAVE_LIBXSLT 1
12105 XSLTLIBS
="$ac_xslt_libs"
12106 XSLTINCL
="$ac_xslt_cflags"
12107 ac_save_LIBS
="$LIBS"
12108 LIBS
="$LIBS $ac_xslt_libs"
12110 for ac_func
in xsltInit
12112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12115 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 cat >conftest.
$ac_ext <<_ACEOF
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12126 #define $ac_func innocuous_$ac_func
12128 /* System header to define __stub macros and hopefully few prototypes,
12129 which can conflict with char $ac_func (); below.
12130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12131 <limits.h> exists even on freestanding compilers. */
12134 # include <limits.h>
12136 # include <assert.h>
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12148 /* The GNU C library defines this for functions which it implements
12149 to always fail with ENOSYS. Some functions are actually named
12150 something starting with __ and the normal name is an alias. */
12151 #if defined __stub_$ac_func || defined __stub___$ac_func
12158 return $ac_func ();
12163 rm -f conftest.
$ac_objext conftest
$ac_exeext
12164 if { (ac_try
="$ac_link"
12165 case "(($ac_try" in
12166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12172 grep -v '^ *+' conftest.er1 >conftest.err
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && {
12177 test -z "$ac_c_werror_flag" ||
12178 test ! -s conftest.err
12179 } && test -s conftest$ac_exeext &&
12180 $as_test_x conftest$ac_exeext; then
12181 eval "$as_ac_var=yes"
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5
12186 eval "$as_ac_var=no"
12189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12190 conftest$ac_exeext conftest.$ac_ext
12192 ac_res=`eval echo '${'$as_ac_var'}'`
12193 { echo "$as_me:$LINENO: result: $ac_res" >&5
12194 echo "${ECHO_T}$ac_res" >&6; }
12195 if test `eval echo '${'$as_ac_var'}'` = yes; then
12196 cat >>confdefs.h <<_ACEOF
12197 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12203 LIBS="$ac_save_LIBS"
12208 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12209 case "x$with_xslt" in
12210 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12212 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12213 This is an error since --with-xslt was requested." >&5
12214 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12215 This is an error since --with-xslt was requested." >&2;}
12216 { (exit 1); exit 1; }; } ;;
12223 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12225 ac_save_CPPFLAGS="$CPPFLAGS"
12226 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12227 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12228 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12231 for ac_header in dbus/dbus.h hal/libhal.h
12233 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 ac_res=`eval echo '${'$as_ac_Header'}'`
12241 { echo "$as_me:$LINENO: result: $ac_res" >&5
12242 echo "${ECHO_T}$ac_res" >&6; }
12244 # Is the header compilable?
12245 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12247 cat >conftest.$ac_ext <<_ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 $ac_includes_default
12254 #include <$ac_header>
12256 rm -f conftest.$ac_objext
12257 if { (ac_try="$ac_compile"
12258 case "(($ac_try" in
12259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12260 *) ac_try_echo
=$ac_try;;
12262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263 (eval "$ac_compile") 2>conftest.er1
12265 grep -v '^ *+' conftest.er1
>conftest.err
12267 cat conftest.err
>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } && {
12270 test -z "$ac_c_werror_flag" ||
12271 test ! -s conftest.err
12272 } && test -s conftest.
$ac_objext; then
12273 ac_header_compiler
=yes
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.
$ac_ext >&5
12278 ac_header_compiler
=no
12281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12283 echo "${ECHO_T}$ac_header_compiler" >&6; }
12285 # Is the header present?
12286 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12288 cat >conftest.
$ac_ext <<_ACEOF
12291 cat confdefs.h
>>conftest.
$ac_ext
12292 cat >>conftest.
$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12294 #include <$ac_header>
12296 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12297 case "(($ac_try" in
12298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12299 *) ac_try_echo=$ac_try;;
12301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12304 grep -v '^ *+' conftest.er1 >conftest.err
12306 cat conftest.err >&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); } >/dev/null && {
12309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12310 test ! -s conftest.err
12312 ac_header_preproc=yes
12314 echo "$as_me: failed program was:" >&5
12315 sed 's/^/| /' conftest.$ac_ext >&5
12317 ac_header_preproc=no
12320 rm -f conftest.err conftest.$ac_ext
12321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12322 echo "${ECHO_T}$ac_header_preproc" >&6; }
12324 # So? What about this header?
12325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12331 ac_header_preproc=yes
12334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12347 ## ------------------------------------ ##
12348 ## Report this to wine-devel@winehq.org ##
12349 ## ------------------------------------ ##
12351 ) | sed "s/^/$as_me: WARNING: /" >&2
12354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 eval "$as_ac_Header=\$ac_header_preproc"
12361 ac_res=`eval echo '${'$as_ac_Header'}'`
12362 { echo "$as_me:$LINENO: result: $ac_res" >&5
12363 echo "${ECHO_T}$ac_res" >&6; }
12366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12367 cat >>confdefs.h <<_ACEOF
12368 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12375 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12377 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12378 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12379 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 ac_check_lib_save_LIBS=$LIBS
12383 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12384 cat >conftest.$ac_ext <<_ACEOF
12387 cat confdefs.h >>conftest.$ac_ext
12388 cat >>conftest.$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12397 char dbus_connection_close ();
12401 return dbus_connection_close ();
12406 rm -f conftest.$ac_objext conftest$ac_exeext
12407 if { (ac_try="$ac_link"
12408 case "(($ac_try" in
12409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12410 *) ac_try_echo
=$ac_try;;
12412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12413 (eval "$ac_link") 2>conftest.er1
12415 grep -v '^ *+' conftest.er1
>conftest.err
12417 cat conftest.err
>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } && {
12420 test -z "$ac_c_werror_flag" ||
12421 test ! -s conftest.err
12422 } && test -s conftest
$ac_exeext &&
12423 $as_test_x conftest
$ac_exeext; then
12424 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.
$ac_ext >&5
12429 ac_cv_lib_dbus_1_dbus_connection_close
=no
12432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12433 conftest
$ac_exeext conftest.
$ac_ext
12434 LIBS
=$ac_check_lib_save_LIBS
12436 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12437 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12438 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12439 { echo "$as_me:$LINENO: checking for -lhal" >&5
12440 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12441 if test "${ac_cv_lib_soname_hal+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 ac_check_soname_save_LIBS
=$LIBS
12445 LIBS
="-lhal $ac_hal_libs $LIBS"
12446 cat >conftest.
$ac_ext <<_ACEOF
12449 cat confdefs.h
>>conftest.
$ac_ext
12450 cat >>conftest.
$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12459 char libhal_ctx_new ();
12463 return libhal_ctx_new ();
12468 rm -f conftest.
$ac_objext conftest
$ac_exeext
12469 if { (ac_try
="$ac_link"
12470 case "(($ac_try" in
12471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12472 *) ac_try_echo=$ac_try;;
12474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12475 (eval "$ac_link") 2>conftest.er1
12477 grep -v '^ *+' conftest.er1 >conftest.err
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } && {
12482 test -z "$ac_c_werror_flag" ||
12483 test ! -s conftest.err
12484 } && test -s conftest$ac_exeext &&
12485 $as_test_x conftest$ac_exeext; then
12488 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'` ;;
12489 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.$ac_ext >&5
12498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12499 conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_soname_save_LIBS
12502 if test "x$ac_cv_lib_soname_hal" = "x"; then
12503 { echo "$as_me:$LINENO: result: not found" >&5
12504 echo "${ECHO_T}not found" >&6; }
12507 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12508 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12510 cat >>confdefs.h <<_ACEOF
12511 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12514 HALINCL="$ac_hal_cflags"
12520 CPPFLAGS="$ac_save_CPPFLAGS"
12522 if test "x$ac_cv_lib_soname_hal" = "x"; then
12523 case "x$with_hal" in
12524 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12526 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12527 This is an error since --with-hal was requested." >&5
12528 echo "$as_me: error: libhal development files not found, no dynamic device support.
12529 This is an error since --with-hal was requested." >&2;}
12530 { (exit 1); exit 1; }; } ;;
12536 if test "$ac_cv_header_ncurses_h" = "yes"
12538 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12539 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12540 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 ac_check_soname_save_LIBS=$LIBS
12544 LIBS="-lncurses $LIBS"
12545 cat >conftest.$ac_ext <<_ACEOF
12548 cat confdefs.h >>conftest.$ac_ext
12549 cat >>conftest.$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12567 rm -f conftest.$ac_objext conftest$ac_exeext
12568 if { (ac_try="$ac_link"
12569 case "(($ac_try" in
12570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12571 *) ac_try_echo
=$ac_try;;
12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 (eval "$ac_link") 2>conftest.er1
12576 grep -v '^ *+' conftest.er1
>conftest.err
12578 cat conftest.err
>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } && {
12581 test -z "$ac_c_werror_flag" ||
12582 test ! -s conftest.err
12583 } && test -s conftest
$ac_exeext &&
12584 $as_test_x conftest
$ac_exeext; then
12587 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'` ;;
12588 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12591 echo "$as_me: failed program was:" >&5
12592 sed 's/^/| /' conftest.
$ac_ext >&5
12597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 LIBS
=$ac_check_soname_save_LIBS
12601 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12602 { echo "$as_me:$LINENO: result: not found" >&5
12603 echo "${ECHO_T}not found" >&6; }
12606 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12607 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12609 cat >>confdefs.h
<<_ACEOF
12610 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12613 CURSESLIBS
="-lncurses"
12616 elif test "$ac_cv_header_curses_h" = "yes"
12618 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12619 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12620 if test "${ac_cv_lib_soname_curses+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 ac_check_soname_save_LIBS
=$LIBS
12624 LIBS
="-lcurses $LIBS"
12625 cat >conftest.
$ac_ext <<_ACEOF
12628 cat confdefs.h
>>conftest.
$ac_ext
12629 cat >>conftest.
$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12647 rm -f conftest.
$ac_objext conftest
$ac_exeext
12648 if { (ac_try
="$ac_link"
12649 case "(($ac_try" in
12650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12651 *) ac_try_echo=$ac_try;;
12653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12654 (eval "$ac_link") 2>conftest.er1
12656 grep -v '^ *+' conftest.er1 >conftest.err
12658 cat conftest.err >&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } && {
12661 test -z "$ac_c_werror_flag" ||
12662 test ! -s conftest.err
12663 } && test -s conftest$ac_exeext &&
12664 $as_test_x conftest$ac_exeext; then
12667 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'` ;;
12668 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_soname_save_LIBS
12681 if test "x$ac_cv_lib_soname_curses" = "x"; then
12682 { echo "$as_me:$LINENO: result: not found" >&5
12683 echo "${ECHO_T}not found" >&6; }
12686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12687 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12693 CURSESLIBS="-lcurses"
12697 ac_save_LIBS="$LIBS"
12698 LIBS="$LIBS $CURSESLIBS"
12700 for ac_func in mousemask
12702 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 cat >conftest.$ac_ext <<_ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12716 #define $ac_func innocuous_$ac_func
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char $ac_func (); below.
12720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12721 <limits.h> exists even on freestanding compilers. */
12724 # include <limits.h>
12726 # include <assert.h>
12731 /* Override any GCC internal prototype to avoid an error.
12732 Use char because int might match the return type of a GCC
12733 builtin and then its argument prototype would still apply. */
12738 /* The GNU C library defines this for functions which it implements
12739 to always fail with ENOSYS. Some functions are actually named
12740 something starting with __ and the normal name is an alias. */
12741 #if defined __stub_$ac_func || defined __stub___$ac_func
12748 return $ac_func ();
12753 rm -f conftest.$ac_objext conftest$ac_exeext
12754 if { (ac_try="$ac_link"
12755 case "(($ac_try" in
12756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12757 *) ac_try_echo
=$ac_try;;
12759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12760 (eval "$ac_link") 2>conftest.er1
12762 grep -v '^ *+' conftest.er1
>conftest.err
12764 cat conftest.err
>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } && {
12767 test -z "$ac_c_werror_flag" ||
12768 test ! -s conftest.err
12769 } && test -s conftest
$ac_exeext &&
12770 $as_test_x conftest
$ac_exeext; then
12771 eval "$as_ac_var=yes"
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.
$ac_ext >&5
12776 eval "$as_ac_var=no"
12779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12780 conftest
$ac_exeext conftest.
$ac_ext
12782 ac_res
=`eval echo '${'$as_ac_var'}'`
12783 { echo "$as_me:$LINENO: result: $ac_res" >&5
12784 echo "${ECHO_T}$ac_res" >&6; }
12785 if test `eval echo '${'$as_ac_var'}'` = yes; then
12786 cat >>confdefs.h
<<_ACEOF
12787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12793 LIBS
="$ac_save_LIBS"
12794 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12795 case "x$with_curses" in
12796 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12798 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12799 This is an error since --with-curses was requested." >&5
12800 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12801 This is an error since --with-curses was requested." >&2;}
12802 { (exit 1); exit 1; }; } ;;
12807 # Extract the first word of "sane-config", so it can be a program name with args.
12808 set dummy sane-config
; ac_word
=$2
12809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12811 if test "${ac_cv_prog_sane_devel+set}" = set; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 if test -n "$sane_devel"; then
12815 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12818 for as_dir
in $PATH
12821 test -z "$as_dir" && as_dir
=.
12822 for ac_exec_ext
in '' $ac_executable_extensions; do
12823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12824 ac_cv_prog_sane_devel
="sane-config"
12825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12832 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12835 sane_devel
=$ac_cv_prog_sane_devel
12836 if test -n "$sane_devel"; then
12837 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12838 echo "${ECHO_T}$sane_devel" >&6; }
12840 { echo "$as_me:$LINENO: result: no" >&5
12841 echo "${ECHO_T}no" >&6; }
12845 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12847 ac_sane_incl
="`$sane_devel --cflags`"
12848 ac_save_CPPFLAGS
="$CPPFLAGS"
12849 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12850 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12851 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12852 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12853 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12857 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12859 # Is the header compilable?
12860 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12861 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12862 cat >conftest.
$ac_ext <<_ACEOF
12865 cat confdefs.h
>>conftest.
$ac_ext
12866 cat >>conftest.
$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 $ac_includes_default
12869 #include <sane/sane.h>
12871 rm -f conftest.
$ac_objext
12872 if { (ac_try
="$ac_compile"
12873 case "(($ac_try" in
12874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12875 *) ac_try_echo=$ac_try;;
12877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12878 (eval "$ac_compile") 2>conftest.er1
12880 grep -v '^ *+' conftest.er1 >conftest.err
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } && {
12885 test -z "$ac_c_werror_flag" ||
12886 test ! -s conftest.err
12887 } && test -s conftest.$ac_objext; then
12888 ac_header_compiler=yes
12890 echo "$as_me: failed program was:" >&5
12891 sed 's/^/| /' conftest.$ac_ext >&5
12893 ac_header_compiler=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12898 echo "${ECHO_T}$ac_header_compiler" >&6; }
12900 # Is the header present?
12901 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12902 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12903 cat >conftest.$ac_ext <<_ACEOF
12906 cat confdefs.h >>conftest.$ac_ext
12907 cat >>conftest.$ac_ext <<_ACEOF
12908 /* end confdefs.h. */
12909 #include <sane/sane.h>
12911 if { (ac_try="$ac_cpp conftest.$ac_ext"
12912 case "(($ac_try" in
12913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12914 *) ac_try_echo
=$ac_try;;
12916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12919 grep -v '^ *+' conftest.er1
>conftest.err
12921 cat conftest.err
>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } >/dev
/null
&& {
12924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12925 test ! -s conftest.err
12927 ac_header_preproc
=yes
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.
$ac_ext >&5
12932 ac_header_preproc
=no
12935 rm -f conftest.err conftest.
$ac_ext
12936 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12937 echo "${ECHO_T}$ac_header_preproc" >&6; }
12939 # So? What about this header?
12940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12942 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12943 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12945 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12946 ac_header_preproc
=yes
12949 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12950 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12952 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12954 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12956 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12958 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12960 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12962 ## ------------------------------------ ##
12963 ## Report this to wine-devel@winehq.org ##
12964 ## ------------------------------------ ##
12966 ) |
sed "s/^/$as_me: WARNING: /" >&2
12969 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12970 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12971 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12972 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 ac_cv_header_sane_sane_h
=$ac_header_preproc
12976 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12977 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12980 if test $ac_cv_header_sane_sane_h = yes; then
12981 { echo "$as_me:$LINENO: checking for -lsane" >&5
12982 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12983 if test "${ac_cv_lib_soname_sane+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 ac_check_soname_save_LIBS
=$LIBS
12987 LIBS
="-lsane $LIBS"
12988 cat >conftest.
$ac_ext <<_ACEOF
12991 cat confdefs.h
>>conftest.
$ac_ext
12992 cat >>conftest.
$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
13005 return sane_init ();
13010 rm -f conftest.
$ac_objext conftest
$ac_exeext
13011 if { (ac_try
="$ac_link"
13012 case "(($ac_try" in
13013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13014 *) ac_try_echo=$ac_try;;
13016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13017 (eval "$ac_link") 2>conftest.er1
13019 grep -v '^ *+' conftest.er1 >conftest.err
13021 cat conftest.err >&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } && {
13024 test -z "$ac_c_werror_flag" ||
13025 test ! -s conftest.err
13026 } && test -s conftest$ac_exeext &&
13027 $as_test_x conftest$ac_exeext; then
13030 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'` ;;
13031 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.$ac_ext >&5
13040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_soname_save_LIBS
13044 if test "x$ac_cv_lib_soname_sane" = "x"; then
13045 { echo "$as_me:$LINENO: result: not found" >&5
13046 echo "${ECHO_T}not found" >&6; }
13049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13050 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13052 cat >>confdefs.h <<_ACEOF
13053 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13056 SANEINCL="$ac_sane_incl"
13063 CPPFLAGS="$ac_save_CPPFLAGS"
13065 if test "x$ac_cv_lib_soname_sane" = "x"; then
13066 case "x$with_sane" in
13067 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13069 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13070 This is an error since --with-sane was requested." >&5
13071 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13072 This is an error since --with-sane was requested." >&2;}
13073 { (exit 1); exit 1; }; } ;;
13078 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13079 set dummy gphoto2-config; ac_word=$2
13080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13082 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 if test -n "$gphoto2_devel"; then
13086 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13089 for as_dir in $PATH
13092 test -z "$as_dir" && as_dir=.
13093 for ac_exec_ext in '' $ac_executable_extensions; do
13094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13095 ac_cv_prog_gphoto2_devel="gphoto2-config"
13096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13103 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13106 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13107 if test -n "$gphoto2_devel"; then
13108 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13109 echo "${ECHO_T}$gphoto2_devel" >&6; }
13111 { echo "$as_me:$LINENO: result: no" >&5
13112 echo "${ECHO_T}no" >&6; }
13116 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13117 set dummy gphoto2-port-config; ac_word=$2
13118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13120 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13123 if test -n "$gphoto2port_devel"; then
13124 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13133 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13144 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13145 if test -n "$gphoto2port_devel"; then
13146 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13147 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13149 { echo "$as_me:$LINENO: result: no" >&5
13150 echo "${ECHO_T}no" >&6; }
13154 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13156 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13158 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13161 -L/usr/lib|-L/usr/lib64) ;;
13162 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13165 ac_save_CPPFLAGS="$CPPFLAGS"
13166 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13167 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13168 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13169 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13170 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13174 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13176 # Is the header compilable?
13177 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13178 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13179 cat >conftest.$ac_ext <<_ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 $ac_includes_default
13186 #include <gphoto2-camera.h>
13188 rm -f conftest.$ac_objext
13189 if { (ac_try="$ac_compile"
13190 case "(($ac_try" in
13191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13192 *) ac_try_echo
=$ac_try;;
13194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13195 (eval "$ac_compile") 2>conftest.er1
13197 grep -v '^ *+' conftest.er1
>conftest.err
13199 cat conftest.err
>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } && {
13202 test -z "$ac_c_werror_flag" ||
13203 test ! -s conftest.err
13204 } && test -s conftest.
$ac_objext; then
13205 ac_header_compiler
=yes
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.
$ac_ext >&5
13210 ac_header_compiler
=no
13213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6; }
13217 # Is the header present?
13218 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13219 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13220 cat >conftest.
$ac_ext <<_ACEOF
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 #include <gphoto2-camera.h>
13228 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13229 case "(($ac_try" in
13230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13236 grep -v '^ *+' conftest.er1 >conftest.err
13238 cat conftest.err >&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } >/dev/null && {
13241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13242 test ! -s conftest.err
13244 ac_header_preproc=yes
13246 echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.$ac_ext >&5
13249 ac_header_preproc=no
13252 rm -f conftest.err conftest.$ac_ext
13253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13254 echo "${ECHO_T}$ac_header_preproc" >&6; }
13256 # So? What about this header?
13257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13260 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13262 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13263 ac_header_preproc=yes
13266 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13267 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13269 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13271 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13273 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13275 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13277 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13279 ## ------------------------------------ ##
13280 ## Report this to wine-devel@winehq.org ##
13281 ## ------------------------------------ ##
13283 ) | sed "s/^/$as_me: WARNING: /" >&2
13286 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13287 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13288 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13293 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13294 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13297 if test $ac_cv_header_gphoto2_camera_h = yes; then
13298 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13299 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13300 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 ac_check_lib_save_LIBS=$LIBS
13304 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13305 cat >conftest.$ac_ext <<_ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13312 /* Override any GCC internal prototype to avoid an error.
13313 Use char because int might match the return type of a GCC
13314 builtin and then its argument prototype would still apply. */
13318 char gp_camera_new ();
13322 return gp_camera_new ();
13327 rm -f conftest.$ac_objext conftest$ac_exeext
13328 if { (ac_try="$ac_link"
13329 case "(($ac_try" in
13330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13331 *) ac_try_echo
=$ac_try;;
13333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_link") 2>conftest.er1
13336 grep -v '^ *+' conftest.er1
>conftest.err
13338 cat conftest.err
>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); } && {
13341 test -z "$ac_c_werror_flag" ||
13342 test ! -s conftest.err
13343 } && test -s conftest
$ac_exeext &&
13344 $as_test_x conftest
$ac_exeext; then
13345 ac_cv_lib_gphoto2_gp_camera_new
=yes
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.
$ac_ext >&5
13350 ac_cv_lib_gphoto2_gp_camera_new
=no
13353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13354 conftest
$ac_exeext conftest.
$ac_ext
13355 LIBS
=$ac_check_lib_save_LIBS
13357 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13358 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13359 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13361 cat >>confdefs.h
<<\_ACEOF
13362 #define HAVE_GPHOTO2 1
13365 GPHOTO2LIBS
="$ac_gphoto2_libs"
13367 GPHOTO2INCL
="$ac_gphoto2_incl"
13374 CPPFLAGS
="$ac_save_CPPFLAGS"
13376 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13377 case "x$with_gphoto" in
13378 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13380 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13381 This is an error since --with-gphoto was requested." >&5
13382 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13383 This is an error since --with-gphoto was requested." >&2;}
13384 { (exit 1); exit 1; }; } ;;
13392 if test "$ac_cv_header_resolv_h" = "yes"
13394 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13395 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13396 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 ac_check_lib_save_LIBS
=$LIBS
13400 LIBS
="-lresolv $LIBS"
13401 cat >conftest.
$ac_ext <<_ACEOF
13404 cat confdefs.h
>>conftest.
$ac_ext
13405 cat >>conftest.
$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13418 return res_query ();
13423 rm -f conftest.
$ac_objext conftest
$ac_exeext
13424 if { (ac_try
="$ac_link"
13425 case "(($ac_try" in
13426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_link") 2>conftest.er1
13432 grep -v '^ *+' conftest.er1 >conftest.err
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } && {
13437 test -z "$ac_c_werror_flag" ||
13438 test ! -s conftest.err
13439 } && test -s conftest$ac_exeext &&
13440 $as_test_x conftest$ac_exeext; then
13441 ac_cv_lib_resolv_res_query=yes
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13446 ac_cv_lib_resolv_res_query=no
13449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_lib_save_LIBS
13453 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13454 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13455 if test $ac_cv_lib_resolv_res_query = yes; then
13457 cat >>confdefs.h <<\_ACEOF
13458 #define HAVE_RESOLV 1
13461 RESOLVLIBS="-lresolv"
13468 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13470 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13471 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13472 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 ac_check_lib_save_LIBS=$LIBS
13476 LIBS="-llcms $LIBS"
13477 cat >conftest.$ac_ext <<_ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13490 char cmsOpenProfileFromFile ();
13494 return cmsOpenProfileFromFile ();
13499 rm -f conftest.$ac_objext conftest$ac_exeext
13500 if { (ac_try="$ac_link"
13501 case "(($ac_try" in
13502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13503 *) ac_try_echo
=$ac_try;;
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_link") 2>conftest.er1
13508 grep -v '^ *+' conftest.er1
>conftest.err
13510 cat conftest.err
>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest
$ac_exeext &&
13516 $as_test_x conftest
$ac_exeext; then
13517 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13526 conftest
$ac_exeext conftest.
$ac_ext
13527 LIBS
=$ac_check_lib_save_LIBS
13529 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13530 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13531 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13533 cat >>confdefs.h
<<\_ACEOF
13534 #define HAVE_LCMS 1
13541 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13542 case "x$with_cms" in
13543 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13545 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13546 This is an error since --with-cms was requested." >&5
13547 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13548 This is an error since --with-cms was requested." >&2;}
13549 { (exit 1); exit 1; }; } ;;
13556 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13558 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13559 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13560 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 ac_check_lib_save_LIBS
=$LIBS
13564 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13565 cat >conftest.
$ac_ext <<_ACEOF
13568 cat confdefs.h
>>conftest.
$ac_ext
13569 cat >>conftest.
$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13578 char ldap_initialize ();
13582 return ldap_initialize ();
13587 rm -f conftest.
$ac_objext conftest
$ac_exeext
13588 if { (ac_try
="$ac_link"
13589 case "(($ac_try" in
13590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 (eval "$ac_link") 2>conftest.er1
13596 grep -v '^ *+' conftest.er1 >conftest.err
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } && {
13601 test -z "$ac_c_werror_flag" ||
13602 test ! -s conftest.err
13603 } && test -s conftest$ac_exeext &&
13604 $as_test_x conftest$ac_exeext; then
13605 ac_cv_lib_ldap_r_ldap_initialize=yes
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13610 ac_cv_lib_ldap_r_ldap_initialize=no
13613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS=$ac_check_lib_save_LIBS
13617 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13618 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13619 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13620 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13621 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13622 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 ac_check_lib_save_LIBS=$LIBS
13626 LIBS="-llber $LIBPTHREAD $LIBS"
13627 cat >conftest.$ac_ext <<_ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13644 return ber_init ();
13649 rm -f conftest.$ac_objext conftest$ac_exeext
13650 if { (ac_try="$ac_link"
13651 case "(($ac_try" in
13652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13653 *) ac_try_echo
=$ac_try;;
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_link") 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest
$ac_exeext &&
13666 $as_test_x conftest
$ac_exeext; then
13667 ac_cv_lib_lber_ber_init
=yes
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.
$ac_ext >&5
13672 ac_cv_lib_lber_ber_init
=no
13675 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13676 conftest
$ac_exeext conftest.
$ac_ext
13677 LIBS
=$ac_check_lib_save_LIBS
13679 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13680 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13681 if test $ac_cv_lib_lber_ber_init = yes; then
13683 cat >>confdefs.h
<<\_ACEOF
13684 #define HAVE_LDAP 1
13687 LDAPLIBS
="-lldap_r -llber"
13692 ac_wine_check_funcs_save_LIBS
="$LIBS"
13693 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13703 ldap_count_references \
13704 ldap_first_reference \
13705 ldap_next_reference \
13706 ldap_parse_reference \
13707 ldap_parse_sort_control \
13708 ldap_parse_sortresponse_control \
13709 ldap_parse_vlv_control \
13710 ldap_parse_vlvresponse_control
13712 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13715 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13726 #define $ac_func innocuous_$ac_func
13728 /* System header to define __stub macros and hopefully few prototypes,
13729 which can conflict with char $ac_func (); below.
13730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13731 <limits.h> exists even on freestanding compilers. */
13734 # include <limits.h>
13736 # include <assert.h>
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13748 /* The GNU C library defines this for functions which it implements
13749 to always fail with ENOSYS. Some functions are actually named
13750 something starting with __ and the normal name is an alias. */
13751 #if defined __stub_$ac_func || defined __stub___$ac_func
13758 return $ac_func ();
13763 rm -f conftest.
$ac_objext conftest
$ac_exeext
13764 if { (ac_try
="$ac_link"
13765 case "(($ac_try" in
13766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13767 *) ac_try_echo=$ac_try;;
13769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13770 (eval "$ac_link") 2>conftest.er1
13772 grep -v '^ *+' conftest.er1 >conftest.err
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } && {
13777 test -z "$ac_c_werror_flag" ||
13778 test ! -s conftest.err
13779 } && test -s conftest$ac_exeext &&
13780 $as_test_x conftest$ac_exeext; then
13781 eval "$as_ac_var=yes"
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13786 eval "$as_ac_var=no"
13789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13790 conftest$ac_exeext conftest.$ac_ext
13792 ac_res=`eval echo '${'$as_ac_var'}'`
13793 { echo "$as_me:$LINENO: result: $ac_res" >&5
13794 echo "${ECHO_T}$ac_res" >&6; }
13795 if test `eval echo '${'$as_ac_var'}'` = yes; then
13796 cat >>confdefs.h <<_ACEOF
13797 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13803 LIBS="$ac_wine_check_funcs_save_LIBS"
13805 if test "x$LDAPLIBS" = "x"; then
13806 case "x$with_ldap" in
13807 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13809 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13810 This is an error since --with-ldap was requested." >&5
13811 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13812 This is an error since --with-ldap was requested." >&2;}
13813 { (exit 1); exit 1; }; } ;;
13818 for ac_prog in freetype-config freetype2-config
13820 # Extract the first word of "$ac_prog", so it can be a program name with args.
13821 set dummy $ac_prog; ac_word=$2
13822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13824 if test "${ac_cv_prog_ft_devel+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13827 if test -n "$ft_devel"; then
13828 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831 for as_dir in $PATH
13834 test -z "$as_dir" && as_dir=.
13835 for ac_exec_ext in '' $ac_executable_extensions; do
13836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13837 ac_cv_prog_ft_devel="$ac_prog"
13838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13847 ft_devel=$ac_cv_prog_ft_devel
13848 if test -n "$ft_devel"; then
13849 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13850 echo "${ECHO_T}$ft_devel" >&6; }
13852 { echo "$as_me:$LINENO: result: no" >&5
13853 echo "${ECHO_T}no" >&6; }
13857 test -n "$ft_devel" && break
13859 test -n "$ft_devel" || ft_devel="false"
13861 if test "$ft_devel" != "false"
13863 ac_freetype_libs=`$ft_devel --libs`
13864 ac_freetype_incl=`$ft_devel --cflags`
13865 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13866 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13867 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 ac_check_soname_save_LIBS=$LIBS
13871 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13872 cat >conftest.$ac_ext <<_ACEOF
13875 cat confdefs.h >>conftest.$ac_ext
13876 cat >>conftest.$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13885 char FT_Init_FreeType ();
13889 return FT_Init_FreeType ();
13894 rm -f conftest.$ac_objext conftest$ac_exeext
13895 if { (ac_try="$ac_link"
13896 case "(($ac_try" in
13897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13898 *) ac_try_echo
=$ac_try;;
13900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13901 (eval "$ac_link") 2>conftest.er1
13903 grep -v '^ *+' conftest.er1
>conftest.err
13905 cat conftest.err
>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } && {
13908 test -z "$ac_c_werror_flag" ||
13909 test ! -s conftest.err
13910 } && test -s conftest
$ac_exeext &&
13911 $as_test_x conftest
$ac_exeext; then
13914 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'` ;;
13915 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.
$ac_ext >&5
13924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13925 conftest
$ac_exeext conftest.
$ac_ext
13926 LIBS
=$ac_check_soname_save_LIBS
13928 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13929 { echo "$as_me:$LINENO: result: not found" >&5
13930 echo "${ECHO_T}not found" >&6; }
13933 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13934 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13936 cat >>confdefs.h
<<_ACEOF
13937 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13943 if test "$ft_lib" = "yes"
13945 ac_save_CPPFLAGS
="$CPPFLAGS"
13946 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13959 for ac_header
in ft2build.h \
13960 freetype
/freetype.h \
13961 freetype
/ftglyph.h \
13962 freetype
/fttypes.h \
13963 freetype
/tttables.h \
13964 freetype
/ftnames.h \
13965 freetype
/ftsnames.h \
13966 freetype
/ttnameid.h \
13967 freetype
/ftoutln.h \
13968 freetype
/ftwinfnt.h \
13969 freetype
/ftmodapi.h \
13970 freetype
/internal
/sfnt.h
13972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifdef HAVE_FT2BUILD_H
13985 # include <ft2build.h>
13988 #include <$ac_header>
13990 rm -f conftest.
$ac_objext
13991 if { (ac_try
="$ac_compile"
13992 case "(($ac_try" in
13993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13994 *) ac_try_echo=$ac_try;;
13996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13997 (eval "$ac_compile") 2>conftest.er1
13999 grep -v '^ *+' conftest.er1 >conftest.err
14001 cat conftest.err >&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } && {
14004 test -z "$ac_c_werror_flag" ||
14005 test ! -s conftest.err
14006 } && test -s conftest.$ac_objext; then
14007 eval "$as_ac_Header=yes"
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14012 eval "$as_ac_Header=no"
14015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14017 ac_res=`eval echo '${'$as_ac_Header'}'`
14018 { echo "$as_me:$LINENO: result: $ac_res" >&5
14019 echo "${ECHO_T}$ac_res" >&6; }
14020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14021 cat >>confdefs.h <<_ACEOF
14022 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14029 cat >conftest.$ac_ext <<_ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 #include <ft2build.h>
14036 #include <freetype/fttrigon.h>
14038 if { (ac_try="$ac_cpp conftest.$ac_ext"
14039 case "(($ac_try" in
14040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14041 *) ac_try_echo
=$ac_try;;
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14046 grep -v '^ *+' conftest.er1
>conftest.err
14048 cat conftest.err
>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } >/dev
/null
&& {
14051 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14052 test ! -s conftest.err
14055 cat >>confdefs.h
<<\_ACEOF
14056 #define HAVE_FREETYPE_FTTRIGON_H 1
14059 wine_cv_fttrigon
=yes
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.
$ac_ext >&5
14064 wine_cv_fttrigon
=no
14067 rm -f conftest.err conftest.
$ac_ext
14068 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14069 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14070 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 cat >conftest.
$ac_ext <<_ACEOF
14076 cat confdefs.h
>>conftest.
$ac_ext
14077 cat >>conftest.
$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079 #include <freetype/ftmodapi.h>
14081 typedef FT_TrueTypeEngineType ac__type_new_;
14085 if ((ac__type_new_ *) 0)
14087 if (sizeof (ac__type_new_))
14093 rm -f conftest.
$ac_objext
14094 if { (ac_try
="$ac_compile"
14095 case "(($ac_try" in
14096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14097 *) ac_try_echo=$ac_try;;
14099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14100 (eval "$ac_compile") 2>conftest.er1
14102 grep -v '^ *+' conftest.er1 >conftest.err
14104 cat conftest.err >&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } && {
14107 test -z "$ac_c_werror_flag" ||
14108 test ! -s conftest.err
14109 } && test -s conftest.$ac_objext; then
14110 ac_cv_type_FT_TrueTypeEngineType=yes
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14115 ac_cv_type_FT_TrueTypeEngineType=no
14118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14120 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14121 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14122 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14124 cat >>confdefs.h <<_ACEOF
14125 #define HAVE_FT_TRUETYPEENGINETYPE 1
14131 ac_save_CFLAGS="$CFLAGS"
14132 CFLAGS="$CFLAGS $ac_freetype_libs"
14134 for ac_func in FT_Load_Sfnt_Table
14136 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14137 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 cat >conftest.$ac_ext <<_ACEOF
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14150 #define $ac_func innocuous_$ac_func
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char $ac_func (); below.
14154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14155 <limits.h> exists even on freestanding compilers. */
14158 # include <limits.h>
14160 # include <assert.h>
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14172 /* The GNU C library defines this for functions which it implements
14173 to always fail with ENOSYS. Some functions are actually named
14174 something starting with __ and the normal name is an alias. */
14175 #if defined __stub_$ac_func || defined __stub___$ac_func
14182 return $ac_func ();
14187 rm -f conftest.$ac_objext conftest$ac_exeext
14188 if { (ac_try="$ac_link"
14189 case "(($ac_try" in
14190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14191 *) ac_try_echo
=$ac_try;;
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_link") 2>conftest.er1
14196 grep -v '^ *+' conftest.er1
>conftest.err
14198 cat conftest.err
>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } && {
14201 test -z "$ac_c_werror_flag" ||
14202 test ! -s conftest.err
14203 } && test -s conftest
$ac_exeext &&
14204 $as_test_x conftest
$ac_exeext; then
14205 eval "$as_ac_var=yes"
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.
$ac_ext >&5
14210 eval "$as_ac_var=no"
14213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14214 conftest
$ac_exeext conftest.
$ac_ext
14216 ac_res
=`eval echo '${'$as_ac_var'}'`
14217 { echo "$as_me:$LINENO: result: $ac_res" >&5
14218 echo "${ECHO_T}$ac_res" >&6; }
14219 if test `eval echo '${'$as_ac_var'}'` = yes; then
14220 cat >>confdefs.h
<<_ACEOF
14221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14227 CFLAGS
="$ac_save_CFLAGS"
14228 CPPFLAGS
="$ac_save_CPPFLAGS"
14229 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14232 cat >>confdefs.h
<<\_ACEOF
14233 #define HAVE_FREETYPE 1
14236 FREETYPELIBS
="$ac_freetype_libs"
14238 FREETYPEINCL
="$ac_freetype_incl"
14244 if test "x$FREETYPELIBS" = "x"
14246 wine_warnings
="$wine_warnings|FreeType development files not found.
14247 Fonts will not be built. Dialog text may be invisible or unaligned."
14249 FONTSSUBDIRS
="fonts"
14253 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14254 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14255 if test "${ac_cv_c_ppdev+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 cat >conftest.
$ac_ext <<_ACEOF
14261 cat confdefs.h
>>conftest.
$ac_ext
14262 cat >>conftest.
$ac_ext <<_ACEOF
14263 /* end confdefs.h. */
14264 #include <linux/ppdev.h>
14268 ioctl (1,PPCLAIM,0)
14273 rm -f conftest.
$ac_objext
14274 if { (ac_try
="$ac_compile"
14275 case "(($ac_try" in
14276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14277 *) ac_try_echo=$ac_try;;
14279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14280 (eval "$ac_compile") 2>conftest.er1
14282 grep -v '^ *+' conftest.er1 >conftest.err
14284 cat conftest.err >&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } && {
14287 test -z "$ac_c_werror_flag" ||
14288 test ! -s conftest.err
14289 } && test -s conftest.$ac_objext; then
14290 ac_cv_c_ppdev="yes"
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14300 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14301 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14302 if test "$ac_cv_c_ppdev" = "yes"
14305 cat >>confdefs.h <<\_ACEOF
14306 #define HAVE_PPDEV 1
14311 { echo "$as_me:$LINENO: checking for va_copy" >&5
14312 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14313 if test "${ac_cv_c_va_copy+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 cat >conftest.$ac_ext <<_ACEOF
14319 cat confdefs.h >>conftest.$ac_ext
14320 cat >>conftest.$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14322 #include <stdarg.h>
14326 va_list ap1, ap2; va_copy(ap1,ap2);
14331 rm -f conftest.$ac_objext conftest$ac_exeext
14332 if { (ac_try="$ac_link"
14333 case "(($ac_try" in
14334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14335 *) ac_try_echo
=$ac_try;;
14337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14338 (eval "$ac_link") 2>conftest.er1
14340 grep -v '^ *+' conftest.er1
>conftest.err
14342 cat conftest.err
>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && {
14345 test -z "$ac_c_werror_flag" ||
14346 test ! -s conftest.err
14347 } && test -s conftest
$ac_exeext &&
14348 $as_test_x conftest
$ac_exeext; then
14349 ac_cv_c_va_copy
="yes"
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.
$ac_ext >&5
14354 ac_cv_c_va_copy
="no"
14357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14358 conftest
$ac_exeext conftest.
$ac_ext
14361 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14362 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14363 if test "$ac_cv_c_va_copy" = "yes"
14366 cat >>confdefs.h
<<\_ACEOF
14367 #define HAVE_VA_COPY 1
14371 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14372 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14373 if test "${ac_cv_c___va_copy+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 cat >conftest.
$ac_ext <<_ACEOF
14379 cat confdefs.h
>>conftest.
$ac_ext
14380 cat >>conftest.
$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 #include <stdarg.h>
14386 va_list ap1, ap2; __va_copy(ap1,ap2);
14391 rm -f conftest.
$ac_objext conftest
$ac_exeext
14392 if { (ac_try
="$ac_link"
14393 case "(($ac_try" in
14394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_link") 2>conftest.er1
14400 grep -v '^ *+' conftest.er1 >conftest.err
14402 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && {
14405 test -z "$ac_c_werror_flag" ||
14406 test ! -s conftest.err
14407 } && test -s conftest$ac_exeext &&
14408 $as_test_x conftest$ac_exeext; then
14409 ac_cv_c___va_copy="yes"
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ac_cv_c___va_copy="no"
14417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14418 conftest$ac_exeext conftest.$ac_ext
14421 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14422 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14423 if test "$ac_cv_c___va_copy" = "yes"
14426 cat >>confdefs.h <<\_ACEOF
14427 #define HAVE___VA_COPY 1
14432 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14433 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14434 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 cat >conftest.$ac_ext <<_ACEOF
14440 cat confdefs.h >>conftest.$ac_ext
14441 cat >>conftest.$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 #include <setjmp.h>
14448 sigsetjmp( buf, 1 );
14449 siglongjmp( buf, 1 );
14454 rm -f conftest.$ac_objext conftest$ac_exeext
14455 if { (ac_try="$ac_link"
14456 case "(($ac_try" in
14457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14458 *) ac_try_echo
=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link") 2>conftest.er1
14463 grep -v '^ *+' conftest.er1
>conftest.err
14465 cat conftest.err
>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest
$ac_exeext &&
14471 $as_test_x conftest
$ac_exeext; then
14472 ac_cv_c_sigsetjmp
="yes"
14474 echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.
$ac_ext >&5
14477 ac_cv_c_sigsetjmp
="no"
14480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14481 conftest
$ac_exeext conftest.
$ac_ext
14484 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14485 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14486 if test "$ac_cv_c_sigsetjmp" = "yes"
14489 cat >>confdefs.h
<<\_ACEOF
14490 #define HAVE_SIGSETJMP 1
14495 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14496 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14497 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 #define _GNU_SOURCE
14507 #include <pthread.h>
14509 typedef pthread_rwlock_t ac__type_new_;
14513 if ((ac__type_new_ *) 0)
14515 if (sizeof (ac__type_new_))
14521 rm -f conftest.
$ac_objext
14522 if { (ac_try
="$ac_compile"
14523 case "(($ac_try" in
14524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14525 *) ac_try_echo=$ac_try;;
14527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14528 (eval "$ac_compile") 2>conftest.er1
14530 grep -v '^ *+' conftest.er1 >conftest.err
14532 cat conftest.err >&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } && {
14535 test -z "$ac_c_werror_flag" ||
14536 test ! -s conftest.err
14537 } && test -s conftest.$ac_objext; then
14538 ac_cv_type_pthread_rwlock_t=yes
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.$ac_ext >&5
14543 ac_cv_type_pthread_rwlock_t=no
14546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14548 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14549 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14550 if test $ac_cv_type_pthread_rwlock_t = yes; then
14552 cat >>confdefs.h <<_ACEOF
14553 #define HAVE_PTHREAD_RWLOCK_T 1
14558 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14559 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14560 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 cat >conftest.$ac_ext <<_ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569 #define _GNU_SOURCE
14570 #include <pthread.h>
14572 typedef pthread_rwlockattr_t ac__type_new_;
14576 if ((ac__type_new_ *) 0)
14578 if (sizeof (ac__type_new_))
14584 rm -f conftest.$ac_objext
14585 if { (ac_try="$ac_compile"
14586 case "(($ac_try" in
14587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14588 *) ac_try_echo
=$ac_try;;
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591 (eval "$ac_compile") 2>conftest.er1
14593 grep -v '^ *+' conftest.er1
>conftest.err
14595 cat conftest.err
>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } && {
14598 test -z "$ac_c_werror_flag" ||
14599 test ! -s conftest.err
14600 } && test -s conftest.
$ac_objext; then
14601 ac_cv_type_pthread_rwlockattr_t
=yes
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.
$ac_ext >&5
14606 ac_cv_type_pthread_rwlockattr_t
=no
14609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14611 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14612 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14613 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14615 cat >>confdefs.h
<<_ACEOF
14616 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14623 ac_wine_check_funcs_save_LIBS
="$LIBS"
14624 LIBS
="$LIBS $LIBPTHREAD"
14630 pthread_attr_get_np \
14631 pthread_getattr_np \
14632 pthread_get_stackaddr_np \
14633 pthread_get_stacksize_np
14635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14638 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14641 cat >conftest.
$ac_ext <<_ACEOF
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14649 #define $ac_func innocuous_$ac_func
14651 /* System header to define __stub macros and hopefully few prototypes,
14652 which can conflict with char $ac_func (); below.
14653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14654 <limits.h> exists even on freestanding compilers. */
14657 # include <limits.h>
14659 # include <assert.h>
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14671 /* The GNU C library defines this for functions which it implements
14672 to always fail with ENOSYS. Some functions are actually named
14673 something starting with __ and the normal name is an alias. */
14674 #if defined __stub_$ac_func || defined __stub___$ac_func
14681 return $ac_func ();
14686 rm -f conftest.
$ac_objext conftest
$ac_exeext
14687 if { (ac_try
="$ac_link"
14688 case "(($ac_try" in
14689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_link") 2>conftest.er1
14695 grep -v '^ *+' conftest.er1 >conftest.err
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && {
14700 test -z "$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 } && test -s conftest$ac_exeext &&
14703 $as_test_x conftest$ac_exeext; then
14704 eval "$as_ac_var=yes"
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 eval "$as_ac_var=no"
14712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14713 conftest$ac_exeext conftest.$ac_ext
14715 ac_res=`eval echo '${'$as_ac_var'}'`
14716 { echo "$as_me:$LINENO: result: $ac_res" >&5
14717 echo "${ECHO_T}$ac_res" >&6; }
14718 if test `eval echo '${'$as_ac_var'}'` = yes; then
14719 cat >>confdefs.h <<_ACEOF
14720 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14726 LIBS="$ac_wine_check_funcs_save_LIBS"
14728 # Extract the first word of "esd-config", so it can be a program name with args.
14729 set dummy esd-config; ac_word=$2
14730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14732 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14741 for as_dir in $PATH
14744 test -z "$as_dir" && as_dir=.
14745 for ac_exec_ext in '' $ac_executable_extensions; do
14746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14747 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758 ESDCONFIG=$ac_cv_path_ESDCONFIG
14759 if test -n "$ESDCONFIG"; then
14760 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14761 echo "${ECHO_T}$ESDCONFIG" >&6; }
14763 { echo "$as_me:$LINENO: result: no" >&5
14764 echo "${ECHO_T}no" >&6; }
14768 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14771 for i in `$ESDCONFIG --cflags`
14774 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14777 ESD_LIBS=`$ESDCONFIG --libs`
14778 save_CFLAGS="$CFLAGS"
14779 CFLAGS="$CFLAGS $ESD_CFLAGS"
14780 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14781 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14782 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 ac_check_lib_save_LIBS=$LIBS
14787 cat >conftest.$ac_ext <<_ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14800 char esd_open_sound ();
14804 return esd_open_sound ();
14809 rm -f conftest.$ac_objext conftest$ac_exeext
14810 if { (ac_try="$ac_link"
14811 case "(($ac_try" in
14812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14813 *) ac_try_echo
=$ac_try;;
14815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14816 (eval "$ac_link") 2>conftest.er1
14818 grep -v '^ *+' conftest.er1
>conftest.err
14820 cat conftest.err
>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } && {
14823 test -z "$ac_c_werror_flag" ||
14824 test ! -s conftest.err
14825 } && test -s conftest
$ac_exeext &&
14826 $as_test_x conftest
$ac_exeext; then
14827 ac_cv_lib_esd_esd_open_sound
=yes
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14832 ac_cv_lib_esd_esd_open_sound
=no
14835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14836 conftest
$ac_exeext conftest.
$ac_ext
14837 LIBS
=$ac_check_lib_save_LIBS
14839 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14840 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14841 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14844 ESDINCL
=$ESD_CFLAGS
14847 cat >>confdefs.h
<<\_ACEOF
14853 CFLAGS
="$save_CFLAGS"
14858 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14860 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14861 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14862 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 ac_check_lib_save_LIBS
=$LIBS
14866 LIBS
="-lasound $LIBS"
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14874 /* Override any GCC internal prototype to avoid an error.
14875 Use char because int might match the return type of a GCC
14876 builtin and then its argument prototype would still apply. */
14880 char snd_pcm_hw_params_get_access ();
14884 return snd_pcm_hw_params_get_access ();
14889 rm -f conftest.
$ac_objext conftest
$ac_exeext
14890 if { (ac_try
="$ac_link"
14891 case "(($ac_try" in
14892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_link") 2>conftest.er1
14898 grep -v '^ *+' conftest.er1 >conftest.err
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest$ac_exeext &&
14906 $as_test_x conftest$ac_exeext; then
14907 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14912 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_lib_save_LIBS
14919 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14920 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14921 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14922 cat >conftest.$ac_ext <<_ACEOF
14925 cat confdefs.h >>conftest.$ac_ext
14926 cat >>conftest.$ac_ext <<_ACEOF
14927 /* end confdefs.h. */
14928 #ifdef HAVE_ALSA_ASOUNDLIB_H
14929 #include <alsa/asoundlib.h>
14930 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14931 #include <sys/asoundlib.h>
14936 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14941 rm -f conftest.$ac_objext
14942 if { (ac_try="$ac_compile"
14943 case "(($ac_try" in
14944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14945 *) ac_try_echo
=$ac_try;;
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_compile") 2>conftest.er1
14950 grep -v '^ *+' conftest.er1
>conftest.err
14952 cat conftest.err
>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && {
14955 test -z "$ac_c_werror_flag" ||
14956 test ! -s conftest.err
14957 } && test -s conftest.
$ac_objext; then
14959 cat >>confdefs.h
<<\_ACEOF
14960 #define HAVE_ALSA 1
14963 ALSALIBS
="-lasound"
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14978 if test "$ac_cv_header_libaudioio_h" = "yes"
14980 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14981 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14982 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 ac_check_lib_save_LIBS
=$LIBS
14986 LIBS
="-laudioio $LIBS"
14987 cat >conftest.
$ac_ext <<_ACEOF
14990 cat confdefs.h
>>conftest.
$ac_ext
14991 cat >>conftest.
$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
15000 char AudioIOGetVersion ();
15004 return AudioIOGetVersion ();
15009 rm -f conftest.
$ac_objext conftest
$ac_exeext
15010 if { (ac_try
="$ac_link"
15011 case "(($ac_try" in
15012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15013 *) ac_try_echo=$ac_try;;
15015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15016 (eval "$ac_link") 2>conftest.er1
15018 grep -v '^ *+' conftest.er1 >conftest.err
15020 cat conftest.err >&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } && {
15023 test -z "$ac_c_werror_flag" ||
15024 test ! -s conftest.err
15025 } && test -s conftest$ac_exeext &&
15026 $as_test_x conftest$ac_exeext; then
15027 ac_cv_lib_audioio_AudioIOGetVersion=yes
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15032 ac_cv_lib_audioio_AudioIOGetVersion=no
15035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15036 conftest$ac_exeext conftest.$ac_ext
15037 LIBS=$ac_check_lib_save_LIBS
15039 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15040 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15041 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15042 AUDIOIOLIBS="-laudioio"
15044 cat >>confdefs.h <<\_ACEOF
15045 #define HAVE_LIBAUDIOIO 1
15053 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15055 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15056 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15057 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 ac_check_soname_save_LIBS=$LIBS
15061 LIBS="-lcapi20 $LIBS"
15062 cat >conftest.$ac_ext <<_ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15075 char capi20_register ();
15079 return capi20_register ();
15084 rm -f conftest.$ac_objext conftest$ac_exeext
15085 if { (ac_try="$ac_link"
15086 case "(($ac_try" in
15087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15088 *) ac_try_echo
=$ac_try;;
15090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15091 (eval "$ac_link") 2>conftest.er1
15093 grep -v '^ *+' conftest.er1
>conftest.err
15095 cat conftest.err
>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } && {
15098 test -z "$ac_c_werror_flag" ||
15099 test ! -s conftest.err
15100 } && test -s conftest
$ac_exeext &&
15101 $as_test_x conftest
$ac_exeext; then
15104 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'` ;;
15105 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.
$ac_ext >&5
15114 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15115 conftest
$ac_exeext conftest.
$ac_ext
15116 LIBS
=$ac_check_soname_save_LIBS
15118 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15119 { echo "$as_me:$LINENO: result: not found" >&5
15120 echo "${ECHO_T}not found" >&6; }
15123 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15124 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15126 cat >>confdefs.h
<<_ACEOF
15127 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15134 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15135 case "x$with_capi" in
15136 x
) wine_notices
="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15138 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15139 This is an error since --with-capi was requested." >&5
15140 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15141 This is an error since --with-capi was requested." >&2;}
15142 { (exit 1); exit 1; }; } ;;
15147 if test "$ac_cv_header_cups_cups_h" = "yes"
15149 { echo "$as_me:$LINENO: checking for -lcups" >&5
15150 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15151 if test "${ac_cv_lib_soname_cups+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 ac_check_soname_save_LIBS
=$LIBS
15155 LIBS
="-lcups $LIBS"
15156 cat >conftest.
$ac_ext <<_ACEOF
15159 cat confdefs.h
>>conftest.
$ac_ext
15160 cat >>conftest.
$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15169 char cupsGetDefault ();
15173 return cupsGetDefault ();
15178 rm -f conftest.
$ac_objext conftest
$ac_exeext
15179 if { (ac_try
="$ac_link"
15180 case "(($ac_try" in
15181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15182 *) ac_try_echo=$ac_try;;
15184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15185 (eval "$ac_link") 2>conftest.er1
15187 grep -v '^ *+' conftest.er1 >conftest.err
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } && {
15192 test -z "$ac_c_werror_flag" ||
15193 test ! -s conftest.err
15194 } && test -s conftest$ac_exeext &&
15195 $as_test_x conftest$ac_exeext; then
15198 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'` ;;
15199 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if test "x$ac_cv_lib_soname_cups" = "x"; then
15213 { echo "$as_me:$LINENO: result: not found" >&5
15214 echo "${ECHO_T}not found" >&6; }
15217 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15218 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15228 if test "x$ac_cv_lib_soname_cups" = "x"; then
15229 case "x$with_cups" in
15230 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15232 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15233 This is an error since --with-cups was requested." >&5
15234 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15235 This is an error since --with-cups was requested." >&2;}
15236 { (exit 1); exit 1; }; } ;;
15241 if test "$ac_cv_header_jack_jack_h" = "yes"
15243 { echo "$as_me:$LINENO: checking for -ljack" >&5
15244 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15245 if test "${ac_cv_lib_soname_jack+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_check_soname_save_LIBS=$LIBS
15249 LIBS="-ljack $LIBS"
15250 cat >conftest.$ac_ext <<_ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15263 char jack_client_new ();
15267 return jack_client_new ();
15272 rm -f conftest.$ac_objext conftest$ac_exeext
15273 if { (ac_try="$ac_link"
15274 case "(($ac_try" in
15275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15276 *) ac_try_echo
=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_link") 2>conftest.er1
15281 grep -v '^ *+' conftest.er1
>conftest.err
15283 cat conftest.err
>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest
$ac_exeext &&
15289 $as_test_x conftest
$ac_exeext; then
15292 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'` ;;
15293 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.
$ac_ext >&5
15302 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15303 conftest
$ac_exeext conftest.
$ac_ext
15304 LIBS
=$ac_check_soname_save_LIBS
15306 if test "x$ac_cv_lib_soname_jack" = "x"; then
15307 { echo "$as_me:$LINENO: result: not found" >&5
15308 echo "${ECHO_T}not found" >&6; }
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15314 cat >>confdefs.h
<<_ACEOF
15315 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15323 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15325 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15326 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15327 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 ac_check_soname_save_LIBS
=$LIBS
15331 LIBS
="-lfontconfig $LIBS"
15332 cat >conftest.
$ac_ext <<_ACEOF
15335 cat confdefs.h
>>conftest.
$ac_ext
15336 cat >>conftest.
$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15354 rm -f conftest.
$ac_objext conftest
$ac_exeext
15355 if { (ac_try
="$ac_link"
15356 case "(($ac_try" in
15357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15358 *) ac_try_echo=$ac_try;;
15360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15361 (eval "$ac_link") 2>conftest.er1
15363 grep -v '^ *+' conftest.er1 >conftest.err
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } && {
15368 test -z "$ac_c_werror_flag" ||
15369 test ! -s conftest.err
15370 } && test -s conftest$ac_exeext &&
15371 $as_test_x conftest$ac_exeext; then
15374 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'` ;;
15375 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_soname_save_LIBS
15388 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15389 { echo "$as_me:$LINENO: result: not found" >&5
15390 echo "${ECHO_T}not found" >&6; }
15393 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15394 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15396 cat >>confdefs.h <<_ACEOF
15397 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15403 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15405 ac_save_CPPFLAGS="$CPPFLAGS"
15406 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15407 $as_unset ac_cv_header_fontconfig_fontconfig_h
15409 for ac_header in fontconfig/fontconfig.h
15411 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 ac_res=`eval echo '${'$as_ac_Header'}'`
15419 { echo "$as_me:$LINENO: result: $ac_res" >&5
15420 echo "${ECHO_T}$ac_res" >&6; }
15422 # Is the header compilable?
15423 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15425 cat >conftest.$ac_ext <<_ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 $ac_includes_default
15432 #include <$ac_header>
15434 rm -f conftest.$ac_objext
15435 if { (ac_try="$ac_compile"
15436 case "(($ac_try" in
15437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15438 *) ac_try_echo
=$ac_try;;
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_compile") 2>conftest.er1
15443 grep -v '^ *+' conftest.er1
>conftest.err
15445 cat conftest.err
>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && {
15448 test -z "$ac_c_werror_flag" ||
15449 test ! -s conftest.err
15450 } && test -s conftest.
$ac_objext; then
15451 ac_header_compiler
=yes
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.
$ac_ext >&5
15456 ac_header_compiler
=no
15459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15460 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15461 echo "${ECHO_T}$ac_header_compiler" >&6; }
15463 # Is the header present?
15464 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <$ac_header>
15474 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15475 case "(($ac_try" in
15476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15482 grep -v '^ *+' conftest.er1 >conftest.err
15484 cat conftest.err >&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } >/dev/null && {
15487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15488 test ! -s conftest.err
15490 ac_header_preproc=yes
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15495 ac_header_preproc=no
15498 rm -f conftest.err conftest.$ac_ext
15499 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15500 echo "${ECHO_T}$ac_header_preproc" >&6; }
15502 # So? What about this header?
15503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15508 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15509 ac_header_preproc=yes
15512 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15514 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15515 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15517 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15519 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15522 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15525 ## ------------------------------------ ##
15526 ## Report this to wine-devel@winehq.org ##
15527 ## ------------------------------------ ##
15529 ) | sed "s/^/$as_me: WARNING: /" >&2
15532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 eval "$as_ac_Header=\$ac_header_preproc"
15539 ac_res=`eval echo '${'$as_ac_Header'}'`
15540 { echo "$as_me:$LINENO: result: $ac_res" >&5
15541 echo "${ECHO_T}$ac_res" >&6; }
15544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15545 cat >>confdefs.h <<_ACEOF
15546 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15553 CPPFLAGS="$ac_save_CPPFLAGS"
15554 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15556 FONTCONFIGINCL="$X_CFLAGS"
15558 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15559 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15560 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15563 ac_check_soname_save_LIBS=$LIBS
15564 LIBS="-lfontconfig $X_LIBS $LIBS"
15565 cat >conftest.$ac_ext <<_ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15587 rm -f conftest.$ac_objext conftest$ac_exeext
15588 if { (ac_try="$ac_link"
15589 case "(($ac_try" in
15590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15591 *) ac_try_echo
=$ac_try;;
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_link") 2>conftest.er1
15596 grep -v '^ *+' conftest.er1
>conftest.err
15598 cat conftest.err
>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && {
15601 test -z "$ac_c_werror_flag" ||
15602 test ! -s conftest.err
15603 } && test -s conftest
$ac_exeext &&
15604 $as_test_x conftest
$ac_exeext; then
15607 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'` ;;
15608 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15618 conftest
$ac_exeext conftest.
$ac_ext
15619 LIBS
=$ac_check_soname_save_LIBS
15621 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15622 { echo "$as_me:$LINENO: result: not found" >&5
15623 echo "${ECHO_T}not found" >&6; }
15626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15629 cat >>confdefs.h
<<_ACEOF
15630 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15638 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15639 case "x$with_fontconfig" in
15640 x
) wine_notices
="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15642 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15643 This is an error since --with-fontconfig was requested." >&5
15644 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15645 This is an error since --with-fontconfig was requested." >&2;}
15646 { (exit 1); exit 1; }; } ;;
15651 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15653 { echo "$as_me:$LINENO: checking for -lssl" >&5
15654 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15655 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 ac_check_soname_save_LIBS
=$LIBS
15660 cat >conftest.
$ac_ext <<_ACEOF
15663 cat confdefs.h
>>conftest.
$ac_ext
15664 cat >>conftest.
$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15673 char SSL_library_init ();
15677 return SSL_library_init ();
15682 rm -f conftest.
$ac_objext conftest
$ac_exeext
15683 if { (ac_try
="$ac_link"
15684 case "(($ac_try" in
15685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15686 *) ac_try_echo=$ac_try;;
15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 (eval "$ac_link") 2>conftest.er1
15691 grep -v '^ *+' conftest.er1 >conftest.err
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } && {
15696 test -z "$ac_c_werror_flag" ||
15697 test ! -s conftest.err
15698 } && test -s conftest$ac_exeext &&
15699 $as_test_x conftest$ac_exeext; then
15702 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'` ;;
15703 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_soname_save_LIBS
15716 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15717 { echo "$as_me:$LINENO: result: not found" >&5
15718 echo "${ECHO_T}not found" >&6; }
15721 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15722 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15724 cat >>confdefs.h <<_ACEOF
15725 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15731 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15732 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15733 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 ac_check_soname_save_LIBS=$LIBS
15737 LIBS="-lcrypto $LIBS"
15738 cat >conftest.$ac_ext <<_ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15745 /* Override any GCC internal prototype to avoid an error.
15746 Use char because int might match the return type of a GCC
15747 builtin and then its argument prototype would still apply. */
15751 char BIO_new_socket ();
15755 return BIO_new_socket ();
15760 rm -f conftest.$ac_objext conftest$ac_exeext
15761 if { (ac_try="$ac_link"
15762 case "(($ac_try" in
15763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15764 *) ac_try_echo
=$ac_try;;
15766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15767 (eval "$ac_link") 2>conftest.er1
15769 grep -v '^ *+' conftest.er1
>conftest.err
15771 cat conftest.err
>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } && {
15774 test -z "$ac_c_werror_flag" ||
15775 test ! -s conftest.err
15776 } && test -s conftest
$ac_exeext &&
15777 $as_test_x conftest
$ac_exeext; then
15780 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'` ;;
15781 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.
$ac_ext >&5
15790 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15791 conftest
$ac_exeext conftest.
$ac_ext
15792 LIBS
=$ac_check_soname_save_LIBS
15794 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15795 { echo "$as_me:$LINENO: result: not found" >&5
15796 echo "${ECHO_T}not found" >&6; }
15799 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15800 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15802 cat >>confdefs.h
<<_ACEOF
15803 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15810 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15811 case "x$with_openssl" in
15812 x
) wine_notices
="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15814 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15815 This is an error since --with-openssl was requested." >&5
15816 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15817 This is an error since --with-openssl was requested." >&2;}
15818 { (exit 1); exit 1; }; } ;;
15823 if test "$ac_cv_header_jpeglib_h" = "yes"
15825 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15826 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15827 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 ac_check_soname_save_LIBS
=$LIBS
15831 LIBS
="-ljpeg $LIBS"
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15845 char jpeg_start_decompress ();
15849 return jpeg_start_decompress ();
15854 rm -f conftest.
$ac_objext conftest
$ac_exeext
15855 if { (ac_try
="$ac_link"
15856 case "(($ac_try" in
15857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15858 *) ac_try_echo=$ac_try;;
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_link") 2>conftest.er1
15863 grep -v '^ *+' conftest.er1 >conftest.err
15865 cat conftest.err >&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && {
15868 test -z "$ac_c_werror_flag" ||
15869 test ! -s conftest.err
15870 } && test -s conftest$ac_exeext &&
15871 $as_test_x conftest$ac_exeext; then
15874 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'` ;;
15875 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15885 conftest$ac_exeext conftest.$ac_ext
15886 LIBS=$ac_check_soname_save_LIBS
15888 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15889 { echo "$as_me:$LINENO: result: not found" >&5
15890 echo "${ECHO_T}not found" >&6; }
15893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15894 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15896 cat >>confdefs.h <<_ACEOF
15897 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15904 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15905 case "x$with_jpeg" in
15906 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15908 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15909 This is an error since --with-jpeg was requested." >&5
15910 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15911 This is an error since --with-jpeg was requested." >&2;}
15912 { (exit 1); exit 1; }; } ;;
15917 if test "$ac_cv_header_png_h" = "yes"
15919 { echo "$as_me:$LINENO: checking for -lpng" >&5
15920 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15921 if test "${ac_cv_lib_soname_png+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 ac_check_soname_save_LIBS=$LIBS
15926 cat >conftest.$ac_ext <<_ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15933 /* Override any GCC internal prototype to avoid an error.
15934 Use char because int might match the return type of a GCC
15935 builtin and then its argument prototype would still apply. */
15939 char png_create_read_struct ();
15943 return png_create_read_struct ();
15948 rm -f conftest.$ac_objext conftest$ac_exeext
15949 if { (ac_try="$ac_link"
15950 case "(($ac_try" in
15951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15952 *) ac_try_echo
=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_link") 2>conftest.er1
15957 grep -v '^ *+' conftest.er1
>conftest.err
15959 cat conftest.err
>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } && {
15962 test -z "$ac_c_werror_flag" ||
15963 test ! -s conftest.err
15964 } && test -s conftest
$ac_exeext &&
15965 $as_test_x conftest
$ac_exeext; then
15968 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'` ;;
15969 *) 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'` ;;
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15979 conftest
$ac_exeext conftest.
$ac_ext
15980 LIBS
=$ac_check_soname_save_LIBS
15982 if test "x$ac_cv_lib_soname_png" = "x"; then
15983 { echo "$as_me:$LINENO: result: not found" >&5
15984 echo "${ECHO_T}not found" >&6; }
15987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15988 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15990 cat >>confdefs.h
<<_ACEOF
15991 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15998 if test "x$ac_cv_lib_soname_png" = "x"; then
15999 case "x$with_png" in
16000 x
) wine_notices
="$wine_notices|libpng development files not found, PNG won't be supported." ;;
16002 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16003 This is an error since --with-png was requested." >&5
16004 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16005 This is an error since --with-png was requested." >&2;}
16006 { (exit 1); exit 1; }; } ;;
16011 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16012 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16013 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 ac_check_soname_save_LIBS
=$LIBS
16017 LIBS
="-lodbc $LIBS"
16018 cat >conftest.
$ac_ext <<_ACEOF
16021 cat confdefs.h
>>conftest.
$ac_ext
16022 cat >>conftest.
$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16031 char SQLConnect ();
16035 return SQLConnect ();
16040 rm -f conftest.
$ac_objext conftest
$ac_exeext
16041 if { (ac_try
="$ac_link"
16042 case "(($ac_try" in
16043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_link") 2>conftest.er1
16049 grep -v '^ *+' conftest.er1 >conftest.err
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest$ac_exeext &&
16057 $as_test_x conftest$ac_exeext; then
16060 dylib) ac_cv_lib_soname_odbc=`otool
-L conftest
$ac_exeext |
grep "libodbc\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16061 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libodbc\\.$LIBEXT" |
sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.$ac_ext >&5
16070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16071 conftest$ac_exeext conftest.$ac_ext
16072 LIBS=$ac_check_soname_save_LIBS
16074 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16075 { echo "$as_me:$LINENO: result: not found" >&5
16076 echo "${ECHO_T}not found" >&6; }
16077 cat >>confdefs.h <<_ACEOF
16078 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16083 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16085 cat >>confdefs.h <<_ACEOF
16086 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16093 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16094 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16095 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16096 "$ac_cv_header_soundcard_h" != "yes" -a \
16097 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16099 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16105 if test "x${GCC}" = "xyes"
16107 EXTRACFLAGS="-Wall -pipe"
16109 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16110 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16111 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 if test "$cross_compiling" = yes; then
16115 ac_cv_c_gcc_strength_bug="yes"
16117 cat >conftest.$ac_ext <<_ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 int L[4] = {0,1,2,3};
16127 static int Array[3];
16128 unsigned int B = 3;
16130 for(i=0; i<B; i++) Array[i] = i - 3;
16131 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16133 exit( Array[1] != -2 || L[2] != 3)
16138 rm -f conftest$ac_exeext
16139 if { (ac_try="$ac_link"
16140 case "(($ac_try" in
16141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16142 *) ac_try_echo
=$ac_try;;
16144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16145 (eval "$ac_link") 2>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16149 { (case "(($ac_try" in
16150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_try") 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_cv_c_gcc_strength_bug="no"
16160 echo "$as_me: program exited with status $ac_status" >&5
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16164 ( exit $ac_status )
16165 ac_cv_c_gcc_strength_bug="yes"
16167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16172 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16173 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16174 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16176 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16180 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16181 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16182 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 ac_wine_try_cflags_saved=$CFLAGS
16186 CFLAGS="$CFLAGS -fshort-wchar"
16187 cat >conftest.$ac_ext <<_ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16202 rm -f conftest.$ac_objext conftest$ac_exeext
16203 if { (ac_try="$ac_link"
16204 case "(($ac_try" in
16205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16206 *) ac_try_echo
=$ac_try;;
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_link") 2>conftest.er1
16211 grep -v '^ *+' conftest.er1
>conftest.err
16213 cat conftest.err
>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest
$ac_exeext &&
16219 $as_test_x conftest
$ac_exeext; then
16220 ac_cv_cflags__fshort_wchar
=yes
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.
$ac_ext >&5
16225 ac_cv_cflags__fshort_wchar
=no
16228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16229 conftest
$ac_exeext conftest.
$ac_ext
16230 CFLAGS
=$ac_wine_try_cflags_saved
16232 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16233 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16234 if test $ac_cv_cflags__fshort_wchar = yes; then
16236 cat >>confdefs.h
<<\_ACEOF
16237 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16242 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16243 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16244 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 ac_wine_try_cflags_saved
=$CFLAGS
16248 CFLAGS
="$CFLAGS -fno-strict-aliasing"
16249 cat >conftest.
$ac_ext <<_ACEOF
16252 cat confdefs.h
>>conftest.
$ac_ext
16253 cat >>conftest.
$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16264 rm -f conftest.
$ac_objext conftest
$ac_exeext
16265 if { (ac_try
="$ac_link"
16266 case "(($ac_try" in
16267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_link") 2>conftest.er1
16273 grep -v '^ *+' conftest.er1 >conftest.err
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest$ac_exeext &&
16281 $as_test_x conftest$ac_exeext; then
16282 ac_cv_cflags__fno_strict_aliasing=yes
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16287 ac_cv_cflags__fno_strict_aliasing=no
16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16291 conftest$ac_exeext conftest.$ac_ext
16292 CFLAGS=$ac_wine_try_cflags_saved
16294 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16295 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16296 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16297 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16300 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16301 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16302 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 ac_wine_try_cflags_saved=$CFLAGS
16306 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16307 cat >conftest.$ac_ext <<_ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16322 rm -f conftest.$ac_objext conftest$ac_exeext
16323 if { (ac_try="$ac_link"
16324 case "(($ac_try" in
16325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16326 *) ac_try_echo
=$ac_try;;
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_link") 2>conftest.er1
16331 grep -v '^ *+' conftest.er1
>conftest.err
16333 cat conftest.err
>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && {
16336 test -z "$ac_c_werror_flag" ||
16337 test ! -s conftest.err
16338 } && test -s conftest
$ac_exeext &&
16339 $as_test_x conftest
$ac_exeext; then
16340 ac_cv_cflags__Wdeclaration_after_statement
=yes
16342 echo "$as_me: failed program was:" >&5
16343 sed 's/^/| /' conftest.
$ac_ext >&5
16345 ac_cv_cflags__Wdeclaration_after_statement
=no
16348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16349 conftest
$ac_exeext conftest.
$ac_ext
16350 CFLAGS
=$ac_wine_try_cflags_saved
16352 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16353 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16354 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16355 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
16358 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16359 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16360 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 ac_wine_try_cflags_saved
=$CFLAGS
16364 CFLAGS
="$CFLAGS -Wwrite-strings"
16365 cat >conftest.
$ac_ext <<_ACEOF
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16380 rm -f conftest.
$ac_objext conftest
$ac_exeext
16381 if { (ac_try
="$ac_link"
16382 case "(($ac_try" in
16383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_link") 2>conftest.er1
16389 grep -v '^ *+' conftest.er1 >conftest.err
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest$ac_exeext &&
16397 $as_test_x conftest$ac_exeext; then
16398 ac_cv_cflags__Wwrite_strings=yes
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 ac_cv_cflags__Wwrite_strings=no
16406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16407 conftest$ac_exeext conftest.$ac_ext
16408 CFLAGS=$ac_wine_try_cflags_saved
16410 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16411 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16412 if test $ac_cv_cflags__Wwrite_strings = yes; then
16413 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16416 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16417 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16418 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16419 echo $ECHO_N "(cached) $ECHO_C" >&6
16421 ac_wine_try_cflags_saved=$CFLAGS
16422 CFLAGS="$CFLAGS -Wtype-limits"
16423 cat >conftest.$ac_ext <<_ACEOF
16426 cat confdefs.h >>conftest.$ac_ext
16427 cat >>conftest.$ac_ext <<_ACEOF
16428 /* end confdefs.h. */
16438 rm -f conftest.$ac_objext conftest$ac_exeext
16439 if { (ac_try="$ac_link"
16440 case "(($ac_try" in
16441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16442 *) ac_try_echo
=$ac_try;;
16444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16445 (eval "$ac_link") 2>conftest.er1
16447 grep -v '^ *+' conftest.er1
>conftest.err
16449 cat conftest.err
>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } && {
16452 test -z "$ac_c_werror_flag" ||
16453 test ! -s conftest.err
16454 } && test -s conftest
$ac_exeext &&
16455 $as_test_x conftest
$ac_exeext; then
16456 ac_cv_cflags__Wtype_limits
=yes
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.
$ac_ext >&5
16461 ac_cv_cflags__Wtype_limits
=no
16464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16465 conftest
$ac_exeext conftest.
$ac_ext
16466 CFLAGS
=$ac_wine_try_cflags_saved
16468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16469 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16470 if test $ac_cv_cflags__Wtype_limits = yes; then
16471 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
16475 saved_CFLAGS
="$CFLAGS"
16476 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
16477 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16478 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16479 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 #include <string.h>
16497 rm -f conftest.
$ac_objext
16498 if { (ac_try
="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16506 grep -v '^ *+' conftest.er1 >conftest.err
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_c_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_c_string_h_warnings=no
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16519 ac_cv_c_string_h_warnings=yes
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16524 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16525 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16526 CFLAGS="$saved_CFLAGS"
16527 if test "$ac_cv_c_string_h_warnings" = "no"
16529 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16534 saved_CFLAGS="$CFLAGS"
16535 CFLAGS="$CFLAGS -Werror"
16536 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16537 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16538 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 cat >conftest.$ac_ext <<_ACEOF
16544 cat confdefs.h >>conftest.$ac_ext
16545 cat >>conftest.$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16551 int iswlower(unsigned short);
16556 rm -f conftest.$ac_objext
16557 if { (ac_try="$ac_compile"
16558 case "(($ac_try" in
16559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16560 *) ac_try_echo
=$ac_try;;
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_compile") 2>conftest.er1
16565 grep -v '^ *+' conftest.er1
>conftest.err
16567 cat conftest.err
>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && {
16570 test -z "$ac_c_werror_flag" ||
16571 test ! -s conftest.err
16572 } && test -s conftest.
$ac_objext; then
16573 ac_cv_c_builtin_wchar_ctype
=no
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16578 ac_cv_c_builtin_wchar_ctype
=yes
16581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16584 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16585 CFLAGS
="$saved_CFLAGS"
16586 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16588 BUILTINFLAG
="-fno-builtin"
16593 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16594 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16595 if test "${ac_cv_asm_func_def+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 cat >conftest.
$ac_ext <<_ACEOF
16601 cat confdefs.h
>>conftest.
$ac_ext
16602 cat >>conftest.
$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16608 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16613 rm -f conftest.
$ac_objext conftest
$ac_exeext
16614 if { (ac_try
="$ac_link"
16615 case "(($ac_try" in
16616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16620 (eval "$ac_link") 2>conftest.er1
16622 grep -v '^ *+' conftest.er1 >conftest.err
16624 cat conftest.err >&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } && {
16627 test -z "$ac_c_werror_flag" ||
16628 test ! -s conftest.err
16629 } && test -s conftest$ac_exeext &&
16630 $as_test_x conftest$ac_exeext; then
16631 ac_cv_asm_func_def=".def"
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16636 cat >conftest.$ac_ext <<_ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16646 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16651 rm -f conftest.$ac_objext conftest$ac_exeext
16652 if { (ac_try="$ac_link"
16653 case "(($ac_try" in
16654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16655 *) ac_try_echo
=$ac_try;;
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_link") 2>conftest.er1
16660 grep -v '^ *+' conftest.er1
>conftest.err
16662 cat conftest.err
>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } && {
16665 test -z "$ac_c_werror_flag" ||
16666 test ! -s conftest.err
16667 } && test -s conftest
$ac_exeext &&
16668 $as_test_x conftest
$ac_exeext; then
16669 ac_cv_asm_func_def
=".type @function"
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.
$ac_ext >&5
16674 cat >conftest.
$ac_ext <<_ACEOF
16677 cat confdefs.h
>>conftest.
$ac_ext
16678 cat >>conftest.
$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16684 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16689 rm -f conftest.
$ac_objext conftest
$ac_exeext
16690 if { (ac_try
="$ac_link"
16691 case "(($ac_try" in
16692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16693 *) ac_try_echo=$ac_try;;
16695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16696 (eval "$ac_link") 2>conftest.er1
16698 grep -v '^ *+' conftest.er1 >conftest.err
16700 cat conftest.err >&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); } && {
16703 test -z "$ac_c_werror_flag" ||
16704 test ! -s conftest.err
16705 } && test -s conftest$ac_exeext &&
16706 $as_test_x conftest$ac_exeext; then
16707 ac_cv_asm_func_def=".type 2"
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 ac_cv_asm_func_def="unknown"
16715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16716 conftest$ac_exeext conftest.$ac_ext
16719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16720 conftest$ac_exeext conftest.$ac_ext
16723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16724 conftest$ac_exeext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16727 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16731 case "$ac_cv_asm_func_def" in
16733 cat >>confdefs.h <<\_ACEOF
16734 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16738 cat >>confdefs.h <<\_ACEOF
16739 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16743 cat >>confdefs.h <<\_ACEOF
16744 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16748 cat >>confdefs.h <<\_ACEOF
16749 #define __ASM_FUNC(name) ""
16755 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16756 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16757 if test "${ac_cv_c_extern_prefix+set}" = set; then
16758 echo $ECHO_N "(cached) $ECHO_C" >&6
16760 cat >conftest.$ac_ext <<_ACEOF
16763 cat confdefs.h >>conftest.$ac_ext
16764 cat >>conftest.$ac_ext <<_ACEOF
16765 /* end confdefs.h. */
16766 extern int ac_test;
16770 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16775 rm -f conftest.$ac_objext conftest$ac_exeext
16776 if { (ac_try="$ac_link"
16777 case "(($ac_try" in
16778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16779 *) ac_try_echo
=$ac_try;;
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_link") 2>conftest.er1
16784 grep -v '^ *+' conftest.er1
>conftest.err
16786 cat conftest.err
>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } && {
16789 test -z "$ac_c_werror_flag" ||
16790 test ! -s conftest.err
16791 } && test -s conftest
$ac_exeext &&
16792 $as_test_x conftest
$ac_exeext; then
16793 ac_cv_c_extern_prefix
="yes"
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.
$ac_ext >&5
16798 ac_cv_c_extern_prefix
="no"
16801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16802 conftest
$ac_exeext conftest.
$ac_ext
16804 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16805 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16809 if test "$ac_cv_c_extern_prefix" = "yes"
16811 cat >>confdefs.h
<<\_ACEOF
16812 #define __ASM_NAME(name) "_" name
16816 cat >>confdefs.h
<<\_ACEOF
16817 #define __ASM_NAME(name) name
16827 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16831 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
16833 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16837 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16845 SOCKETLIBS
="-lws2_32"
16850 MAIN_BINARY
="wine-pthread"
16854 linux
* | k
*bsd
*-gnu)
16855 MAIN_BINARY
="wine-glibc"
16857 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16860 MAIN_BINARY
="wine-freebsd"
16862 EXTRA_BINARIES
="wine-pthread"
17010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17013 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 cat >conftest.
$ac_ext <<_ACEOF
17019 cat confdefs.h
>>conftest.
$ac_ext
17020 cat >>conftest.
$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17024 #define $ac_func innocuous_$ac_func
17026 /* System header to define __stub macros and hopefully few prototypes,
17027 which can conflict with char $ac_func (); below.
17028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17029 <limits.h> exists even on freestanding compilers. */
17032 # include <limits.h>
17034 # include <assert.h>
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17046 /* The GNU C library defines this for functions which it implements
17047 to always fail with ENOSYS. Some functions are actually named
17048 something starting with __ and the normal name is an alias. */
17049 #if defined __stub_$ac_func || defined __stub___$ac_func
17056 return $ac_func ();
17061 rm -f conftest.
$ac_objext conftest
$ac_exeext
17062 if { (ac_try
="$ac_link"
17063 case "(($ac_try" in
17064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_link") 2>conftest.er1
17070 grep -v '^ *+' conftest.er1 >conftest.err
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_c_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest$ac_exeext &&
17078 $as_test_x conftest$ac_exeext; then
17079 eval "$as_ac_var=yes"
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 eval "$as_ac_var=no"
17087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17088 conftest$ac_exeext conftest.$ac_ext
17090 ac_res=`eval echo '${'$as_ac_var'}'`
17091 { echo "$as_me:$LINENO: result: $ac_res" >&5
17092 echo "${ECHO_T}$ac_res" >&6; }
17093 if test `eval echo '${'$as_ac_var'}'` = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17102 if test "$ac_cv_func_dlopen" = no
17104 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17105 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 ac_check_lib_save_LIBS=$LIBS
17111 cat >conftest.$ac_ext <<_ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17118 /* Override any GCC internal prototype to avoid an error.
17119 Use char because int might match the return type of a GCC
17120 builtin and then its argument prototype would still apply. */
17133 rm -f conftest.$ac_objext conftest$ac_exeext
17134 if { (ac_try="$ac_link"
17135 case "(($ac_try" in
17136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17137 *) ac_try_echo
=$ac_try;;
17139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17140 (eval "$ac_link") 2>conftest.er1
17142 grep -v '^ *+' conftest.er1
>conftest.err
17144 cat conftest.err
>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && {
17147 test -z "$ac_c_werror_flag" ||
17148 test ! -s conftest.err
17149 } && test -s conftest
$ac_exeext &&
17150 $as_test_x conftest
$ac_exeext; then
17151 ac_cv_lib_dl_dlopen
=yes
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17156 ac_cv_lib_dl_dlopen
=no
17159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17160 conftest
$ac_exeext conftest.
$ac_ext
17161 LIBS
=$ac_check_lib_save_LIBS
17163 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17164 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17165 if test $ac_cv_lib_dl_dlopen = yes; then
17166 cat >>confdefs.h
<<\_ACEOF
17167 #define HAVE_DLOPEN 1
17174 ac_wine_check_funcs_save_LIBS
="$LIBS"
17175 LIBS
="$LIBS $LIBDL"
17177 for ac_func
in dladdr
17179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17182 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 cat >conftest.
$ac_ext <<_ACEOF
17188 cat confdefs.h
>>conftest.
$ac_ext
17189 cat >>conftest.
$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17193 #define $ac_func innocuous_$ac_func
17195 /* System header to define __stub macros and hopefully few prototypes,
17196 which can conflict with char $ac_func (); below.
17197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17198 <limits.h> exists even on freestanding compilers. */
17201 # include <limits.h>
17203 # include <assert.h>
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17215 /* The GNU C library defines this for functions which it implements
17216 to always fail with ENOSYS. Some functions are actually named
17217 something starting with __ and the normal name is an alias. */
17218 #if defined __stub_$ac_func || defined __stub___$ac_func
17225 return $ac_func ();
17230 rm -f conftest.
$ac_objext conftest
$ac_exeext
17231 if { (ac_try
="$ac_link"
17232 case "(($ac_try" in
17233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_link") 2>conftest.er1
17239 grep -v '^ *+' conftest.er1 >conftest.err
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } && {
17244 test -z "$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 } && test -s conftest$ac_exeext &&
17247 $as_test_x conftest$ac_exeext; then
17248 eval "$as_ac_var=yes"
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.$ac_ext >&5
17253 eval "$as_ac_var=no"
17256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17257 conftest$ac_exeext conftest.$ac_ext
17259 ac_res=`eval echo '${'$as_ac_var'}'`
17260 { echo "$as_me:$LINENO: result: $ac_res" >&5
17261 echo "${ECHO_T}$ac_res" >&6; }
17262 if test `eval echo '${'$as_ac_var'}'` = yes; then
17263 cat >>confdefs.h <<_ACEOF
17264 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17270 LIBS="$ac_wine_check_funcs_save_LIBS"
17272 if test "$ac_cv_func_poll" = no
17274 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17275 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17276 if test "${ac_cv_lib_poll_poll+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 ac_check_lib_save_LIBS=$LIBS
17280 LIBS="-lpoll $LIBS"
17281 cat >conftest.$ac_ext <<_ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17303 rm -f conftest.$ac_objext conftest$ac_exeext
17304 if { (ac_try="$ac_link"
17305 case "(($ac_try" in
17306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17307 *) ac_try_echo
=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_link") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1
>conftest.err
17314 cat conftest.err
>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest
$ac_exeext &&
17320 $as_test_x conftest
$ac_exeext; then
17321 ac_cv_lib_poll_poll
=yes
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.
$ac_ext >&5
17326 ac_cv_lib_poll_poll
=no
17329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17330 conftest
$ac_exeext conftest.
$ac_ext
17331 LIBS
=$ac_check_lib_save_LIBS
17333 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17334 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17335 if test $ac_cv_lib_poll_poll = yes; then
17336 cat >>confdefs.h
<<\_ACEOF
17337 #define HAVE_POLL 1
17345 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17346 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17347 if test "${ac_cv_search_gethostbyname+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 ac_func_search_save_LIBS
=$LIBS
17351 cat >conftest.
$ac_ext <<_ACEOF
17354 cat confdefs.h
>>conftest.
$ac_ext
17355 cat >>conftest.
$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17364 char gethostbyname ();
17368 return gethostbyname ();
17373 for ac_lib
in '' nsl
; do
17374 if test -z "$ac_lib"; then
17375 ac_res
="none required"
17378 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17380 rm -f conftest.
$ac_objext conftest
$ac_exeext
17381 if { (ac_try
="$ac_link"
17382 case "(($ac_try" in
17383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17384 *) ac_try_echo=$ac_try;;
17386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17387 (eval "$ac_link") 2>conftest.er1
17389 grep -v '^ *+' conftest.er1 >conftest.err
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } && {
17394 test -z "$ac_c_werror_flag" ||
17395 test ! -s conftest.err
17396 } && test -s conftest$ac_exeext &&
17397 $as_test_x conftest$ac_exeext; then
17398 ac_cv_search_gethostbyname=$ac_res
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17408 if test "${ac_cv_search_gethostbyname+set}" = set; then
17412 if test "${ac_cv_search_gethostbyname+set}" = set; then
17415 ac_cv_search_gethostbyname=no
17417 rm conftest.$ac_ext
17418 LIBS=$ac_func_search_save_LIBS
17420 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17421 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17422 ac_res=$ac_cv_search_gethostbyname
17423 if test "$ac_res" != no; then
17424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17429 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17430 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17431 if test "${ac_cv_search_connect+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 ac_func_search_save_LIBS=$LIBS
17435 cat >conftest.$ac_ext <<_ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17442 /* Override any GCC internal prototype to avoid an error.
17443 Use char because int might match the return type of a GCC
17444 builtin and then its argument prototype would still apply. */
17457 for ac_lib in '' socket; do
17458 if test -z "$ac_lib"; then
17459 ac_res="none required"
17462 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17464 rm -f conftest.$ac_objext conftest$ac_exeext
17465 if { (ac_try="$ac_link"
17466 case "(($ac_try" in
17467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17468 *) ac_try_echo
=$ac_try;;
17470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471 (eval "$ac_link") 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } && {
17478 test -z "$ac_c_werror_flag" ||
17479 test ! -s conftest.err
17480 } && test -s conftest
$ac_exeext &&
17481 $as_test_x conftest
$ac_exeext; then
17482 ac_cv_search_connect
=$ac_res
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.
$ac_ext >&5
17490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17492 if test "${ac_cv_search_connect+set}" = set; then
17496 if test "${ac_cv_search_connect+set}" = set; then
17499 ac_cv_search_connect
=no
17501 rm conftest.
$ac_ext
17502 LIBS
=$ac_func_search_save_LIBS
17504 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17505 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17506 ac_res
=$ac_cv_search_connect
17507 if test "$ac_res" != no
; then
17508 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17513 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17514 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17515 if test "${ac_cv_search_inet_aton+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 ac_func_search_save_LIBS
=$LIBS
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17536 return inet_aton ();
17541 for ac_lib
in '' resolv
; do
17542 if test -z "$ac_lib"; then
17543 ac_res
="none required"
17546 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17548 rm -f conftest.
$ac_objext conftest
$ac_exeext
17549 if { (ac_try
="$ac_link"
17550 case "(($ac_try" in
17551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17557 grep -v '^ *+' conftest.er1 >conftest.err
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_c_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest$ac_exeext &&
17565 $as_test_x conftest$ac_exeext; then
17566 ac_cv_search_inet_aton=$ac_res
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17576 if test "${ac_cv_search_inet_aton+set}" = set; then
17580 if test "${ac_cv_search_inet_aton+set}" = set; then
17583 ac_cv_search_inet_aton=no
17585 rm conftest.$ac_ext
17586 LIBS=$ac_func_search_save_LIBS
17588 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17589 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17590 ac_res=$ac_cv_search_inet_aton
17591 if test "$ac_res" != no; then
17592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17616 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17620 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17630 #define $ac_func innocuous_$ac_func
17632 /* System header to define __stub macros and hopefully few prototypes,
17633 which can conflict with char $ac_func (); below.
17634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17635 <limits.h> exists even on freestanding compilers. */
17638 # include <limits.h>
17640 # include <assert.h>
17645 /* Override any GCC internal prototype to avoid an error.
17646 Use char because int might match the return type of a GCC
17647 builtin and then its argument prototype would still apply. */
17652 /* The GNU C library defines this for functions which it implements
17653 to always fail with ENOSYS. Some functions are actually named
17654 something starting with __ and the normal name is an alias. */
17655 #if defined __stub_$ac_func || defined __stub___$ac_func
17662 return $ac_func ();
17667 rm -f conftest.$ac_objext conftest$ac_exeext
17668 if { (ac_try="$ac_link"
17669 case "(($ac_try" in
17670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17671 *) ac_try_echo
=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_link") 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_c_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest
$ac_exeext &&
17684 $as_test_x conftest
$ac_exeext; then
17685 eval "$as_ac_var=yes"
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.
$ac_ext >&5
17690 eval "$as_ac_var=no"
17693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17694 conftest
$ac_exeext conftest.
$ac_ext
17696 ac_res
=`eval echo '${'$as_ac_var'}'`
17697 { echo "$as_me:$LINENO: result: $ac_res" >&5
17698 echo "${ECHO_T}$ac_res" >&6; }
17699 if test `eval echo '${'$as_ac_var'}'` = yes; then
17700 cat >>confdefs.h
<<_ACEOF
17701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17709 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17711 if test "${ac_cv_c_const+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17714 cat >conftest.
$ac_ext <<_ACEOF
17717 cat confdefs.h
>>conftest.
$ac_ext
17718 cat >>conftest.
$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17724 /* FIXME: Include the comments suggested by Paul. */
17725 #ifndef __cplusplus
17726 /* Ultrix mips cc rejects this. */
17727 typedef int charset[2];
17729 /* SunOS 4.1.1 cc rejects this. */
17730 char const *const *pcpcc;
17732 /* NEC SVR4.0.2 mips cc rejects this. */
17733 struct point {int x, y;};
17734 static struct point const zero = {0,0};
17735 /* AIX XL C 1.02.0.0 rejects this.
17736 It does not let you subtract one const X* pointer from another in
17737 an arm of an if-expression whose if-part is not a constant
17739 const char *g = "string";
17740 pcpcc = &g + (g ? g-g : 0);
17741 /* HPUX 7.0 cc rejects these. */
17743 ppc = (char**) pcpcc;
17744 pcpcc = (char const *const *) ppc;
17745 { /* SCO 3.2v4 cc rejects this. */
17747 char const *s = 0 ? (char *) 0 : (char const *) 0;
17752 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17753 int x[] = {25, 17};
17754 const int *foo = &x[0];
17757 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17758 typedef const int *iptr;
17762 { /* AIX XL C 1.02.0.0 rejects this saying
17763 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17764 struct s { int j; const int *ap[3]; };
17765 struct s *b; b->j = 5;
17767 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17768 const int foo = 10;
17769 if (!foo) return 0;
17771 return !cs[0] && !zero.x;
17778 rm -f conftest.
$ac_objext
17779 if { (ac_try
="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17782 *) ac_try_echo=$ac_try;;
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17787 grep -v '^ *+' conftest.er1 >conftest.err
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_c_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.$ac_objext; then
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17806 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17807 if test $ac_cv_c_const = no; then
17809 cat >>confdefs.h <<\_ACEOF
17815 { echo "$as_me:$LINENO: checking for inline" >&5
17816 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17817 if test "${ac_cv_c_inline+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 for ac_kw in inline __inline__ __inline; do
17822 cat >conftest.$ac_ext <<_ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #ifndef __cplusplus
17830 static $ac_kw foo_t static_foo () {return 0; }
17831 $ac_kw foo_t foo () {return 0; }
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17839 *) ac_try_echo
=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.
$ac_objext; then
17852 ac_cv_c_inline
=$ac_kw
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17861 test "$ac_cv_c_inline" != no
&& break
17865 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17866 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17869 case $ac_cv_c_inline in
17872 case $ac_cv_c_inline in
17874 *) ac_val
=$ac_cv_c_inline;;
17876 cat >>confdefs.h
<<_ACEOF
17877 #ifndef __cplusplus
17878 #define inline $ac_val
17884 { echo "$as_me:$LINENO: checking for mode_t" >&5
17885 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17886 if test "${ac_cv_type_mode_t+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 cat >conftest.
$ac_ext <<_ACEOF
17892 cat confdefs.h
>>conftest.
$ac_ext
17893 cat >>conftest.
$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 $ac_includes_default
17896 typedef mode_t ac__type_new_;
17900 if ((ac__type_new_ *) 0)
17902 if (sizeof (ac__type_new_))
17908 rm -f conftest.
$ac_objext
17909 if { (ac_try
="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 ac_cv_type_mode_t=yes
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17930 ac_cv_type_mode_t=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17936 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17937 if test $ac_cv_type_mode_t = yes; then
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_MODE_T 1
17945 { echo "$as_me:$LINENO: checking for off_t" >&5
17946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17947 if test "${ac_cv_type_off_t+set}" = set; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 cat >conftest.$ac_ext <<_ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957 typedef off_t ac__type_new_;
17961 if ((ac__type_new_ *) 0)
17963 if (sizeof (ac__type_new_))
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17973 *) ac_try_echo
=$ac_try;;
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17978 grep -v '^ *+' conftest.er1
>conftest.err
17980 cat conftest.err
>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.
$ac_objext; then
17986 ac_cv_type_off_t
=yes
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17991 ac_cv_type_off_t
=no
17994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17996 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17997 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17998 if test $ac_cv_type_off_t = yes; then
18000 cat >>confdefs.h
<<_ACEOF
18001 #define HAVE_OFF_T 1
18006 { echo "$as_me:$LINENO: checking for pid_t" >&5
18007 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18008 if test "${ac_cv_type_pid_t+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 cat >conftest.
$ac_ext <<_ACEOF
18014 cat confdefs.h
>>conftest.
$ac_ext
18015 cat >>conftest.
$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 $ac_includes_default
18018 typedef pid_t ac__type_new_;
18022 if ((ac__type_new_ *) 0)
18024 if (sizeof (ac__type_new_))
18030 rm -f conftest.
$ac_objext
18031 if { (ac_try
="$ac_compile"
18032 case "(($ac_try" in
18033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18034 *) ac_try_echo=$ac_try;;
18036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18037 (eval "$ac_compile") 2>conftest.er1
18039 grep -v '^ *+' conftest.er1 >conftest.err
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } && {
18044 test -z "$ac_c_werror_flag" ||
18045 test ! -s conftest.err
18046 } && test -s conftest.$ac_objext; then
18047 ac_cv_type_pid_t=yes
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 ac_cv_type_pid_t=no
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18058 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18059 if test $ac_cv_type_pid_t = yes; then
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_PID_T 1
18067 { echo "$as_me:$LINENO: checking for size_t" >&5
18068 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18069 if test "${ac_cv_type_size_t+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 cat >conftest.$ac_ext <<_ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 $ac_includes_default
18079 typedef size_t ac__type_new_;
18083 if ((ac__type_new_ *) 0)
18085 if (sizeof (ac__type_new_))
18091 rm -f conftest.$ac_objext
18092 if { (ac_try="$ac_compile"
18093 case "(($ac_try" in
18094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18095 *) ac_try_echo
=$ac_try;;
18097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18098 (eval "$ac_compile") 2>conftest.er1
18100 grep -v '^ *+' conftest.er1
>conftest.err
18102 cat conftest.err
>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } && {
18105 test -z "$ac_c_werror_flag" ||
18106 test ! -s conftest.err
18107 } && test -s conftest.
$ac_objext; then
18108 ac_cv_type_size_t
=yes
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.
$ac_ext >&5
18113 ac_cv_type_size_t
=no
18116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18119 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18120 if test $ac_cv_type_size_t = yes; then
18122 cat >>confdefs.h
<<_ACEOF
18123 #define HAVE_SIZE_T 1
18128 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18129 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_ssize_t+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 typedef ssize_t ac__type_new_;
18144 if ((ac__type_new_ *) 0)
18146 if (sizeof (ac__type_new_))
18152 rm -f conftest.
$ac_objext
18153 if { (ac_try
="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1 >conftest.err
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_cv_type_ssize_t=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 ac_cv_type_ssize_t=no
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18180 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18181 if test $ac_cv_type_ssize_t = yes; then
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_SSIZE_T 1
18189 { echo "$as_me:$LINENO: checking for long long" >&5
18190 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18191 if test "${ac_cv_type_long_long+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 cat >conftest.$ac_ext <<_ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18201 typedef long long ac__type_new_;
18205 if ((ac__type_new_ *) 0)
18207 if (sizeof (ac__type_new_))
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18217 *) ac_try_echo
=$ac_try;;
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18222 grep -v '^ *+' conftest.er1
>conftest.err
18224 cat conftest.err
>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.
$ac_objext; then
18230 ac_cv_type_long_long
=yes
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ac_cv_type_long_long
=no
18238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18240 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18242 if test $ac_cv_type_long_long = yes; then
18244 cat >>confdefs.h
<<_ACEOF
18245 #define HAVE_LONG_LONG 1
18250 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18251 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18252 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 cat >conftest.
$ac_ext <<_ACEOF
18258 cat confdefs.h
>>conftest.
$ac_ext
18259 cat >>conftest.
$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 $ac_includes_default
18262 typedef fsblkcnt_t ac__type_new_;
18266 if ((ac__type_new_ *) 0)
18268 if (sizeof (ac__type_new_))
18274 rm -f conftest.
$ac_objext
18275 if { (ac_try
="$ac_compile"
18276 case "(($ac_try" in
18277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18278 *) ac_try_echo=$ac_try;;
18280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18281 (eval "$ac_compile") 2>conftest.er1
18283 grep -v '^ *+' conftest.er1 >conftest.err
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } && {
18288 test -z "$ac_c_werror_flag" ||
18289 test ! -s conftest.err
18290 } && test -s conftest.$ac_objext; then
18291 ac_cv_type_fsblkcnt_t=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 ac_cv_type_fsblkcnt_t=no
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18302 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18303 if test $ac_cv_type_fsblkcnt_t = yes; then
18305 cat >>confdefs.h <<_ACEOF
18306 #define HAVE_FSBLKCNT_T 1
18311 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18312 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18313 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18314 echo $ECHO_N "(cached) $ECHO_C" >&6
18316 cat >conftest.$ac_ext <<_ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 $ac_includes_default
18323 typedef fsfilcnt_t ac__type_new_;
18327 if ((ac__type_new_ *) 0)
18329 if (sizeof (ac__type_new_))
18335 rm -f conftest.$ac_objext
18336 if { (ac_try="$ac_compile"
18337 case "(($ac_try" in
18338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18339 *) ac_try_echo
=$ac_try;;
18341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18342 (eval "$ac_compile") 2>conftest.er1
18344 grep -v '^ *+' conftest.er1
>conftest.err
18346 cat conftest.err
>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } && {
18349 test -z "$ac_c_werror_flag" ||
18350 test ! -s conftest.err
18351 } && test -s conftest.
$ac_objext; then
18352 ac_cv_type_fsfilcnt_t
=yes
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 ac_cv_type_fsfilcnt_t
=no
18360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18362 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18363 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18364 if test $ac_cv_type_fsfilcnt_t = yes; then
18366 cat >>confdefs.h
<<_ACEOF
18367 #define HAVE_FSFILCNT_T 1
18373 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18374 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18375 if test "${ac_cv_type_sigset_t+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18378 cat >conftest.
$ac_ext <<_ACEOF
18381 cat confdefs.h
>>conftest.
$ac_ext
18382 cat >>conftest.
$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 #include <signal.h>
18386 typedef sigset_t ac__type_new_;
18390 if ((ac__type_new_ *) 0)
18392 if (sizeof (ac__type_new_))
18398 rm -f conftest.
$ac_objext
18399 if { (ac_try
="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18407 grep -v '^ *+' conftest.er1 >conftest.err
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 ac_cv_type_sigset_t=yes
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18420 ac_cv_type_sigset_t=no
18423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18426 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18427 if test $ac_cv_type_sigset_t = yes; then
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_SIGSET_T 1
18436 { echo "$as_me:$LINENO: checking for request_sense" >&5
18437 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18438 if test "${ac_cv_type_request_sense+set}" = set; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 cat >conftest.$ac_ext <<_ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447 #include <linux/cdrom.h>
18449 typedef request_sense ac__type_new_;
18453 if ((ac__type_new_ *) 0)
18455 if (sizeof (ac__type_new_))
18461 rm -f conftest.$ac_objext
18462 if { (ac_try="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18465 *) ac_try_echo
=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_c_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.
$ac_objext; then
18478 ac_cv_type_request_sense
=yes
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.
$ac_ext >&5
18483 ac_cv_type_request_sense
=no
18486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18488 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18489 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18490 if test $ac_cv_type_request_sense = yes; then
18492 cat >>confdefs.h
<<_ACEOF
18493 #define HAVE_REQUEST_SENSE 1
18500 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18501 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18502 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18505 cat >conftest.
$ac_ext <<_ACEOF
18508 cat confdefs.h
>>conftest.
$ac_ext
18509 cat >>conftest.
$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #ifdef HAVE_LINUX_INPUT_H
18512 #include <linux/input.h>
18518 static struct ff_effect ac_aggr;
18519 if (ac_aggr.direction)
18525 rm -f conftest.
$ac_objext
18526 if { (ac_try
="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18534 grep -v '^ *+' conftest.er1 >conftest.err
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 ac_cv_member_struct_ff_effect_direction=yes
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 cat >conftest.$ac_ext <<_ACEOF
18550 cat confdefs.h >>conftest.$ac_ext
18551 cat >>conftest.$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553 #ifdef HAVE_LINUX_INPUT_H
18554 #include <linux/input.h>
18560 static struct ff_effect ac_aggr;
18561 if (sizeof ac_aggr.direction)
18567 rm -f conftest.$ac_objext
18568 if { (ac_try="$ac_compile"
18569 case "(($ac_try" in
18570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18571 *) ac_try_echo
=$ac_try;;
18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18574 (eval "$ac_compile") 2>conftest.er1
18576 grep -v '^ *+' conftest.er1
>conftest.err
18578 cat conftest.err
>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } && {
18581 test -z "$ac_c_werror_flag" ||
18582 test ! -s conftest.err
18583 } && test -s conftest.
$ac_objext; then
18584 ac_cv_member_struct_ff_effect_direction
=yes
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.
$ac_ext >&5
18589 ac_cv_member_struct_ff_effect_direction
=no
18592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18598 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18599 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18601 cat >>confdefs.h
<<_ACEOF
18602 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18609 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18610 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18611 if test "${wine_cv_have_sigaddset+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 cat >conftest.
$ac_ext <<_ACEOF
18617 cat confdefs.h
>>conftest.
$ac_ext
18618 cat >>conftest.
$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 #include <signal.h>
18624 sigset_t set; sigaddset(&set,SIGTERM);
18629 rm -f conftest.
$ac_objext conftest
$ac_exeext
18630 if { (ac_try
="$ac_link"
18631 case "(($ac_try" in
18632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18633 *) ac_try_echo=$ac_try;;
18635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18636 (eval "$ac_link") 2>conftest.er1
18638 grep -v '^ *+' conftest.er1 >conftest.err
18640 cat conftest.err >&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } && {
18643 test -z "$ac_c_werror_flag" ||
18644 test ! -s conftest.err
18645 } && test -s conftest$ac_exeext &&
18646 $as_test_x conftest$ac_exeext; then
18647 wine_cv_have_sigaddset=yes
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 wine_cv_have_sigaddset=no
18655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18656 conftest$ac_exeext conftest.$ac_ext
18658 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18659 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18660 if test "$wine_cv_have_sigaddset" = "yes"
18663 cat >>confdefs.h <<\_ACEOF
18664 #define HAVE_SIGADDSET 1
18670 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18671 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18672 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 cat >conftest.$ac_ext <<_ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18688 struct hostent *result;
18695 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18696 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18702 rm -f conftest.$ac_objext conftest$ac_exeext
18703 if { (ac_try="$ac_link"
18704 case "(($ac_try" in
18705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18706 *) ac_try_echo
=$ac_try;;
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_link") 2>conftest.er1
18711 grep -v '^ *+' conftest.er1
>conftest.err
18713 cat conftest.err
>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest
$ac_exeext &&
18719 $as_test_x conftest
$ac_exeext; then
18720 wine_cv_linux_gethostbyname_r_6
=yes
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.
$ac_ext >&5
18725 wine_cv_linux_gethostbyname_r_6
=no
18729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18730 conftest
$ac_exeext conftest.
$ac_ext
18733 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18734 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18735 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18738 cat >>confdefs.h
<<\_ACEOF
18739 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18744 if test "$ac_cv_header_linux_joystick_h" = "yes"
18746 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18747 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18748 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 cat >conftest.
$ac_ext <<_ACEOF
18754 cat confdefs.h
>>conftest.
$ac_ext
18755 cat >>conftest.
$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18758 #include <sys/ioctl.h>
18759 #include <sys/types.h>
18760 #include <linux/joystick.h>
18762 struct js_event blub;
18763 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18764 #error "no 2.2 header"
18775 rm -f conftest.
$ac_objext
18776 if { (ac_try
="$ac_compile"
18777 case "(($ac_try" in
18778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_compile") 2>conftest.er1
18784 grep -v '^ *+' conftest.er1 >conftest.err
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } && {
18789 test -z "$ac_c_werror_flag" ||
18790 test ! -s conftest.err
18791 } && test -s conftest.$ac_objext; then
18792 wine_cv_linux_joystick_22_api=yes
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 wine_cv_linux_joystick_22_api=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18804 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18805 if test "$wine_cv_linux_joystick_22_api" = "yes"
18808 cat >>confdefs.h <<\_ACEOF
18809 #define HAVE_LINUX_22_JOYSTICK_API 1
18816 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18817 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18818 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 cat >conftest.$ac_ext <<_ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827 #include <sys/types.h>
18828 #ifdef HAVE_SYS_PARAM_H
18829 # include <sys/param.h>
18831 #ifdef HAVE_SYS_MOUNT_H
18832 # include <sys/mount.h>
18834 #ifdef HAVE_SYS_VFS_H
18835 # include <sys/vfs.h>
18837 #ifdef HAVE_SYS_STATFS_H
18838 # include <sys/statfs.h>
18844 static struct statfs ac_aggr;
18845 if (ac_aggr.f_bfree)
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18855 *) ac_try_echo
=$ac_try;;
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1
>conftest.err
18862 cat conftest.err
>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.
$ac_objext; then
18868 ac_cv_member_struct_statfs_f_bfree
=yes
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.
$ac_ext >&5
18873 cat >conftest.
$ac_ext <<_ACEOF
18876 cat confdefs.h
>>conftest.
$ac_ext
18877 cat >>conftest.
$ac_ext <<_ACEOF
18878 /* end confdefs.h. */
18879 #include <sys/types.h>
18880 #ifdef HAVE_SYS_PARAM_H
18881 # include <sys/param.h>
18883 #ifdef HAVE_SYS_MOUNT_H
18884 # include <sys/mount.h>
18886 #ifdef HAVE_SYS_VFS_H
18887 # include <sys/vfs.h>
18889 #ifdef HAVE_SYS_STATFS_H
18890 # include <sys/statfs.h>
18896 static struct statfs ac_aggr;
18897 if (sizeof ac_aggr.f_bfree)
18903 rm -f conftest.
$ac_objext
18904 if { (ac_try
="$ac_compile"
18905 case "(($ac_try" in
18906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_compile") 2>conftest.er1
18912 grep -v '^ *+' conftest.er1 >conftest.err
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest.$ac_objext; then
18920 ac_cv_member_struct_statfs_f_bfree=yes
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18925 ac_cv_member_struct_statfs_f_bfree=no
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18934 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18935 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_STATFS_F_BFREE 1
18943 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18944 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18945 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 cat >conftest.$ac_ext <<_ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SYS_PARAM_H
18956 # include <sys/param.h>
18958 #ifdef HAVE_SYS_MOUNT_H
18959 # include <sys/mount.h>
18961 #ifdef HAVE_SYS_VFS_H
18962 # include <sys/vfs.h>
18964 #ifdef HAVE_SYS_STATFS_H
18965 # include <sys/statfs.h>
18971 static struct statfs ac_aggr;
18972 if (ac_aggr.f_bavail)
18978 rm -f conftest.$ac_objext
18979 if { (ac_try="$ac_compile"
18980 case "(($ac_try" in
18981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18982 *) ac_try_echo
=$ac_try;;
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_compile") 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } && {
18992 test -z "$ac_c_werror_flag" ||
18993 test ! -s conftest.err
18994 } && test -s conftest.
$ac_objext; then
18995 ac_cv_member_struct_statfs_f_bavail
=yes
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.
$ac_ext >&5
19000 cat >conftest.
$ac_ext <<_ACEOF
19003 cat confdefs.h
>>conftest.
$ac_ext
19004 cat >>conftest.
$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 #include <sys/types.h>
19007 #ifdef HAVE_SYS_PARAM_H
19008 # include <sys/param.h>
19010 #ifdef HAVE_SYS_MOUNT_H
19011 # include <sys/mount.h>
19013 #ifdef HAVE_SYS_VFS_H
19014 # include <sys/vfs.h>
19016 #ifdef HAVE_SYS_STATFS_H
19017 # include <sys/statfs.h>
19023 static struct statfs ac_aggr;
19024 if (sizeof ac_aggr.f_bavail)
19030 rm -f conftest.
$ac_objext
19031 if { (ac_try
="$ac_compile"
19032 case "(($ac_try" in
19033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;;
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_compile") 2>conftest.er1
19039 grep -v '^ *+' conftest.er1 >conftest.err
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest.$ac_objext; then
19047 ac_cv_member_struct_statfs_f_bavail=yes
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.$ac_ext >&5
19052 ac_cv_member_struct_statfs_f_bavail=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19061 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19062 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19070 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19071 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19072 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 cat >conftest.$ac_ext <<_ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 #include <sys/types.h>
19082 #ifdef HAVE_SYS_PARAM_H
19083 # include <sys/param.h>
19085 #ifdef HAVE_SYS_MOUNT_H
19086 # include <sys/mount.h>
19088 #ifdef HAVE_SYS_VFS_H
19089 # include <sys/vfs.h>
19091 #ifdef HAVE_SYS_STATFS_H
19092 # include <sys/statfs.h>
19098 static struct statfs ac_aggr;
19099 if (ac_aggr.f_frsize)
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_struct_statfs_f_frsize
=yes
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.
$ac_ext >&5
19127 cat >conftest.
$ac_ext <<_ACEOF
19130 cat confdefs.h
>>conftest.
$ac_ext
19131 cat >>conftest.
$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19133 #include <sys/types.h>
19134 #ifdef HAVE_SYS_PARAM_H
19135 # include <sys/param.h>
19137 #ifdef HAVE_SYS_MOUNT_H
19138 # include <sys/mount.h>
19140 #ifdef HAVE_SYS_VFS_H
19141 # include <sys/vfs.h>
19143 #ifdef HAVE_SYS_STATFS_H
19144 # include <sys/statfs.h>
19150 static struct statfs ac_aggr;
19151 if (sizeof ac_aggr.f_frsize)
19157 rm -f conftest.
$ac_objext
19158 if { (ac_try
="$ac_compile"
19159 case "(($ac_try" in
19160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19161 *) ac_try_echo=$ac_try;;
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_compile") 2>conftest.er1
19166 grep -v '^ *+' conftest.er1 >conftest.err
19168 cat conftest.err >&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } && {
19171 test -z "$ac_c_werror_flag" ||
19172 test ! -s conftest.err
19173 } && test -s conftest.$ac_objext; then
19174 ac_cv_member_struct_statfs_f_frsize=yes
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19179 ac_cv_member_struct_statfs_f_frsize=no
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19188 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19189 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19197 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19198 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19199 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19200 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 cat >conftest.$ac_ext <<_ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SYS_PARAM_H
19210 # include <sys/param.h>
19212 #ifdef HAVE_SYS_MOUNT_H
19213 # include <sys/mount.h>
19215 #ifdef HAVE_SYS_VFS_H
19216 # include <sys/vfs.h>
19218 #ifdef HAVE_SYS_STATFS_H
19219 # include <sys/statfs.h>
19225 static struct statfs ac_aggr;
19226 if (ac_aggr.f_ffree)
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19236 *) ac_try_echo
=$ac_try;;
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19241 grep -v '^ *+' conftest.er1
>conftest.err
19243 cat conftest.err
>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.
$ac_objext; then
19249 ac_cv_member_struct_statfs_f_ffree
=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 cat >conftest.
$ac_ext <<_ACEOF
19257 cat confdefs.h
>>conftest.
$ac_ext
19258 cat >>conftest.
$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <sys/types.h>
19261 #ifdef HAVE_SYS_PARAM_H
19262 # include <sys/param.h>
19264 #ifdef HAVE_SYS_MOUNT_H
19265 # include <sys/mount.h>
19267 #ifdef HAVE_SYS_VFS_H
19268 # include <sys/vfs.h>
19270 #ifdef HAVE_SYS_STATFS_H
19271 # include <sys/statfs.h>
19277 static struct statfs ac_aggr;
19278 if (sizeof ac_aggr.f_ffree)
19284 rm -f conftest.
$ac_objext
19285 if { (ac_try
="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19293 grep -v '^ *+' conftest.er1 >conftest.err
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_member_struct_statfs_f_ffree=yes
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19306 ac_cv_member_struct_statfs_f_ffree=no
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19315 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19316 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_STATFS_F_FFREE 1
19324 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19325 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19326 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 #include <sys/types.h>
19336 #ifdef HAVE_SYS_PARAM_H
19337 # include <sys/param.h>
19339 #ifdef HAVE_SYS_MOUNT_H
19340 # include <sys/mount.h>
19342 #ifdef HAVE_SYS_VFS_H
19343 # include <sys/vfs.h>
19345 #ifdef HAVE_SYS_STATFS_H
19346 # include <sys/statfs.h>
19352 static struct statfs ac_aggr;
19353 if (ac_aggr.f_favail)
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19363 *) ac_try_echo
=$ac_try;;
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19368 grep -v '^ *+' conftest.er1
>conftest.err
19370 cat conftest.err
>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.
$ac_objext; then
19376 ac_cv_member_struct_statfs_f_favail
=yes
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.
$ac_ext >&5
19381 cat >conftest.
$ac_ext <<_ACEOF
19384 cat confdefs.h
>>conftest.
$ac_ext
19385 cat >>conftest.
$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <sys/types.h>
19388 #ifdef HAVE_SYS_PARAM_H
19389 # include <sys/param.h>
19391 #ifdef HAVE_SYS_MOUNT_H
19392 # include <sys/mount.h>
19394 #ifdef HAVE_SYS_VFS_H
19395 # include <sys/vfs.h>
19397 #ifdef HAVE_SYS_STATFS_H
19398 # include <sys/statfs.h>
19404 static struct statfs ac_aggr;
19405 if (sizeof ac_aggr.f_favail)
19411 rm -f conftest.
$ac_objext
19412 if { (ac_try
="$ac_compile"
19413 case "(($ac_try" in
19414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19415 *) ac_try_echo=$ac_try;;
19417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19418 (eval "$ac_compile") 2>conftest.er1
19420 grep -v '^ *+' conftest.er1 >conftest.err
19422 cat conftest.err >&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } && {
19425 test -z "$ac_c_werror_flag" ||
19426 test ! -s conftest.err
19427 } && test -s conftest.$ac_objext; then
19428 ac_cv_member_struct_statfs_f_favail=yes
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19433 ac_cv_member_struct_statfs_f_favail=no
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19441 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19442 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19443 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19451 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19452 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19453 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 cat >conftest.$ac_ext <<_ACEOF
19459 cat confdefs.h >>conftest.$ac_ext
19460 cat >>conftest.$ac_ext <<_ACEOF
19461 /* end confdefs.h. */
19462 #include <sys/types.h>
19463 #ifdef HAVE_SYS_PARAM_H
19464 # include <sys/param.h>
19466 #ifdef HAVE_SYS_MOUNT_H
19467 # include <sys/mount.h>
19469 #ifdef HAVE_SYS_VFS_H
19470 # include <sys/vfs.h>
19472 #ifdef HAVE_SYS_STATFS_H
19473 # include <sys/statfs.h>
19479 static struct statfs ac_aggr;
19480 if (ac_aggr.f_namelen)
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19490 *) ac_try_echo
=$ac_try;;
19492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_compile") 2>conftest.er1
19495 grep -v '^ *+' conftest.er1
>conftest.err
19497 cat conftest.err
>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } && {
19500 test -z "$ac_c_werror_flag" ||
19501 test ! -s conftest.err
19502 } && test -s conftest.
$ac_objext; then
19503 ac_cv_member_struct_statfs_f_namelen
=yes
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.
$ac_ext >&5
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/types.h>
19515 #ifdef HAVE_SYS_PARAM_H
19516 # include <sys/param.h>
19518 #ifdef HAVE_SYS_MOUNT_H
19519 # include <sys/mount.h>
19521 #ifdef HAVE_SYS_VFS_H
19522 # include <sys/vfs.h>
19524 #ifdef HAVE_SYS_STATFS_H
19525 # include <sys/statfs.h>
19531 static struct statfs ac_aggr;
19532 if (sizeof ac_aggr.f_namelen)
19538 rm -f conftest.
$ac_objext
19539 if { (ac_try
="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19547 grep -v '^ *+' conftest.er1 >conftest.err
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_cv_member_struct_statfs_f_namelen=yes
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 ac_cv_member_struct_statfs_f_namelen=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19569 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19570 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19572 cat >>confdefs.h <<_ACEOF
19573 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19580 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19581 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19582 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19583 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 cat >conftest.$ac_ext <<_ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #ifdef HAVE_SYS_STATVFS_H
19592 #include <sys/statvfs.h>
19598 static struct statvfs ac_aggr;
19599 if (ac_aggr.f_blocks)
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19609 *) ac_try_echo
=$ac_try;;
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19614 grep -v '^ *+' conftest.er1
>conftest.err
19616 cat conftest.err
>&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.
$ac_objext; then
19622 ac_cv_member_struct_statvfs_f_blocks
=yes
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 cat >conftest.
$ac_ext <<_ACEOF
19630 cat confdefs.h
>>conftest.
$ac_ext
19631 cat >>conftest.
$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #ifdef HAVE_SYS_STATVFS_H
19634 #include <sys/statvfs.h>
19640 static struct statvfs ac_aggr;
19641 if (sizeof ac_aggr.f_blocks)
19647 rm -f conftest.
$ac_objext
19648 if { (ac_try
="$ac_compile"
19649 case "(($ac_try" in
19650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_compile") 2>conftest.er1
19656 grep -v '^ *+' conftest.er1 >conftest.err
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_statvfs_f_blocks=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 ac_cv_member_struct_statvfs_f_blocks=no
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19677 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19678 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19679 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19681 cat >>confdefs.h <<_ACEOF
19682 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19689 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19690 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19691 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 cat >conftest.$ac_ext <<_ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 #include <sys/types.h>
19701 #ifdef HAVE_SYS_SOCKET_H
19702 # include <sys/socket.h>
19704 #ifdef HAVE_SYS_UN_H
19705 # include <sys/un.h>
19711 static struct msghdr ac_aggr;
19712 if (ac_aggr.msg_accrights)
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19722 *) ac_try_echo
=$ac_try;;
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.
$ac_objext; then
19735 ac_cv_member_struct_msghdr_msg_accrights
=yes
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 cat >conftest.
$ac_ext <<_ACEOF
19743 cat confdefs.h
>>conftest.
$ac_ext
19744 cat >>conftest.
$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #include <sys/types.h>
19747 #ifdef HAVE_SYS_SOCKET_H
19748 # include <sys/socket.h>
19750 #ifdef HAVE_SYS_UN_H
19751 # include <sys/un.h>
19757 static struct msghdr ac_aggr;
19758 if (sizeof ac_aggr.msg_accrights)
19764 rm -f conftest.
$ac_objext
19765 if { (ac_try
="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19773 grep -v '^ *+' conftest.er1 >conftest.err
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } && {
19778 test -z "$ac_c_werror_flag" ||
19779 test ! -s conftest.err
19780 } && test -s conftest.$ac_objext; then
19781 ac_cv_member_struct_msghdr_msg_accrights=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 ac_cv_member_struct_msghdr_msg_accrights=no
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19795 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19796 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19798 cat >>confdefs.h <<_ACEOF
19799 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19804 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19805 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19806 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19809 cat >conftest.$ac_ext <<_ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 #include <sys/types.h>
19816 #ifdef HAVE_SYS_SOCKET_H
19817 # include <sys/socket.h>
19819 #ifdef HAVE_SYS_UN_H
19820 # include <sys/un.h>
19826 static struct sockaddr ac_aggr;
19827 if (ac_aggr.sa_len)
19833 rm -f conftest.$ac_objext
19834 if { (ac_try="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19837 *) ac_try_echo
=$ac_try;;
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19842 grep -v '^ *+' conftest.er1
>conftest.err
19844 cat conftest.err
>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.
$ac_objext; then
19850 ac_cv_member_struct_sockaddr_sa_len
=yes
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.
$ac_ext >&5
19855 cat >conftest.
$ac_ext <<_ACEOF
19858 cat confdefs.h
>>conftest.
$ac_ext
19859 cat >>conftest.
$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #include <sys/types.h>
19862 #ifdef HAVE_SYS_SOCKET_H
19863 # include <sys/socket.h>
19865 #ifdef HAVE_SYS_UN_H
19866 # include <sys/un.h>
19872 static struct sockaddr ac_aggr;
19873 if (sizeof ac_aggr.sa_len)
19879 rm -f conftest.
$ac_objext
19880 if { (ac_try
="$ac_compile"
19881 case "(($ac_try" in
19882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19883 *) ac_try_echo=$ac_try;;
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_compile") 2>conftest.er1
19888 grep -v '^ *+' conftest.er1 >conftest.err
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } && {
19893 test -z "$ac_c_werror_flag" ||
19894 test ! -s conftest.err
19895 } && test -s conftest.$ac_objext; then
19896 ac_cv_member_struct_sockaddr_sa_len=yes
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.$ac_ext >&5
19901 ac_cv_member_struct_sockaddr_sa_len=no
19904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19910 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19911 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19913 cat >>confdefs.h <<_ACEOF
19914 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19919 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19920 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19921 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.$ac_ext <<_ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 #include <sys/types.h>
19931 #ifdef HAVE_SYS_SOCKET_H
19932 # include <sys/socket.h>
19934 #ifdef HAVE_SYS_UN_H
19935 # include <sys/un.h>
19941 static struct sockaddr_un ac_aggr;
19942 if (ac_aggr.sun_len)
19948 rm -f conftest.$ac_objext
19949 if { (ac_try="$ac_compile"
19950 case "(($ac_try" in
19951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19952 *) ac_try_echo
=$ac_try;;
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19957 grep -v '^ *+' conftest.er1
>conftest.err
19959 cat conftest.err
>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.
$ac_objext; then
19965 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.
$ac_ext >&5
19970 cat >conftest.
$ac_ext <<_ACEOF
19973 cat confdefs.h
>>conftest.
$ac_ext
19974 cat >>conftest.
$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 #include <sys/types.h>
19977 #ifdef HAVE_SYS_SOCKET_H
19978 # include <sys/socket.h>
19980 #ifdef HAVE_SYS_UN_H
19981 # include <sys/un.h>
19987 static struct sockaddr_un ac_aggr;
19988 if (sizeof ac_aggr.sun_len)
19994 rm -f conftest.
$ac_objext
19995 if { (ac_try
="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20003 grep -v '^ *+' conftest.er1 >conftest.err
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.$ac_objext; then
20011 ac_cv_member_struct_sockaddr_un_sun_len=yes
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_member_struct_sockaddr_un_sun_len=no
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20025 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20026 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20036 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20037 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20038 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20039 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 cat >conftest.$ac_ext <<_ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 #include <sys/types.h>
20048 #ifdef HAVE_SCSI_SG_H
20049 #include <scsi/sg.h>
20055 static scsireq_t ac_aggr;
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20066 *) ac_try_echo
=$ac_try;;
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.
$ac_objext; then
20079 ac_cv_member_scsireq_t_cmd
=yes
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.
$ac_ext >&5
20084 cat >conftest.
$ac_ext <<_ACEOF
20087 cat confdefs.h
>>conftest.
$ac_ext
20088 cat >>conftest.
$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 #include <sys/types.h>
20091 #ifdef HAVE_SCSI_SG_H
20092 #include <scsi/sg.h>
20098 static scsireq_t ac_aggr;
20099 if (sizeof ac_aggr.cmd)
20105 rm -f conftest.
$ac_objext
20106 if { (ac_try
="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20114 grep -v '^ *+' conftest.er1 >conftest.err
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.$ac_objext; then
20122 ac_cv_member_scsireq_t_cmd=yes
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20127 ac_cv_member_scsireq_t_cmd=no
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20136 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20137 if test $ac_cv_member_scsireq_t_cmd = yes; then
20139 cat >>confdefs.h <<_ACEOF
20140 #define HAVE_SCSIREQ_T_CMD 1
20145 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20146 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20147 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 cat >conftest.$ac_ext <<_ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 #include <sys/types.h>
20157 #ifdef HAVE_SCSI_SG_H
20158 #include <scsi/sg.h>
20164 static sg_io_hdr_t ac_aggr;
20165 if (ac_aggr.interface_id)
20171 rm -f conftest.$ac_objext
20172 if { (ac_try="$ac_compile"
20173 case "(($ac_try" in
20174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20175 *) ac_try_echo
=$ac_try;;
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_compile") 2>conftest.er1
20180 grep -v '^ *+' conftest.er1
>conftest.err
20182 cat conftest.err
>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } && {
20185 test -z "$ac_c_werror_flag" ||
20186 test ! -s conftest.err
20187 } && test -s conftest.
$ac_objext; then
20188 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 cat >conftest.
$ac_ext <<_ACEOF
20196 cat confdefs.h
>>conftest.
$ac_ext
20197 cat >>conftest.
$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 #include <sys/types.h>
20200 #ifdef HAVE_SCSI_SG_H
20201 #include <scsi/sg.h>
20207 static sg_io_hdr_t ac_aggr;
20208 if (sizeof ac_aggr.interface_id)
20214 rm -f conftest.
$ac_objext
20215 if { (ac_try
="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20223 grep -v '^ *+' conftest.er1 >conftest.err
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_member_sg_io_hdr_t_interface_id=yes
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 ac_cv_member_sg_io_hdr_t_interface_id=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20245 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20246 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20256 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20257 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 cat >conftest.$ac_ext <<_ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <signal.h>
20272 static siginfo_t ac_aggr;
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20283 *) ac_try_echo
=$ac_try;;
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.
$ac_objext; then
20296 ac_cv_member_siginfo_t_si_fd
=yes
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.
$ac_ext >&5
20301 cat >conftest.
$ac_ext <<_ACEOF
20304 cat confdefs.h
>>conftest.
$ac_ext
20305 cat >>conftest.
$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 #include <signal.h>
20312 static siginfo_t ac_aggr;
20313 if (sizeof ac_aggr.si_fd)
20319 rm -f conftest.
$ac_objext
20320 if { (ac_try
="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20328 grep -v '^ *+' conftest.er1 >conftest.err
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_cv_member_siginfo_t_si_fd=yes
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20341 ac_cv_member_siginfo_t_si_fd=no
20344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20350 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20351 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_SIGINFO_T_SI_FD 1
20361 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20362 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20363 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 cat >conftest.$ac_ext <<_ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20380 static struct mtget ac_aggr;
20381 if (ac_aggr.mt_blksiz)
20387 rm -f conftest.$ac_objext
20388 if { (ac_try="$ac_compile"
20389 case "(($ac_try" in
20390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20391 *) ac_try_echo
=$ac_try;;
20393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394 (eval "$ac_compile") 2>conftest.er1
20396 grep -v '^ *+' conftest.er1
>conftest.err
20398 cat conftest.err
>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } && {
20401 test -z "$ac_c_werror_flag" ||
20402 test ! -s conftest.err
20403 } && test -s conftest.
$ac_objext; then
20404 ac_cv_member_struct_mtget_mt_blksiz
=yes
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.
$ac_ext >&5
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 #include <sys/types.h>
20416 #ifdef HAVE_SYS_MTIO_H
20417 #include <sys/mtio.h>
20423 static struct mtget ac_aggr;
20424 if (sizeof ac_aggr.mt_blksiz)
20430 rm -f conftest.
$ac_objext
20431 if { (ac_try
="$ac_compile"
20432 case "(($ac_try" in
20433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20434 *) ac_try_echo=$ac_try;;
20436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20437 (eval "$ac_compile") 2>conftest.er1
20439 grep -v '^ *+' conftest.er1 >conftest.err
20441 cat conftest.err >&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } && {
20444 test -z "$ac_c_werror_flag" ||
20445 test ! -s conftest.err
20446 } && test -s conftest.$ac_objext; then
20447 ac_cv_member_struct_mtget_mt_blksiz=yes
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20452 ac_cv_member_struct_mtget_mt_blksiz=no
20455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20461 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20462 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20470 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20471 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20472 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <sys/types.h>
20482 #ifdef HAVE_SYS_MTIO_H
20483 #include <sys/mtio.h>
20489 static struct mtget ac_aggr;
20490 if (ac_aggr.mt_gstat)
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20500 *) ac_try_echo
=$ac_try;;
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20505 grep -v '^ *+' conftest.er1
>conftest.err
20507 cat conftest.err
>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.
$ac_objext; then
20513 ac_cv_member_struct_mtget_mt_gstat
=yes
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.
$ac_ext >&5
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 #include <sys/types.h>
20525 #ifdef HAVE_SYS_MTIO_H
20526 #include <sys/mtio.h>
20532 static struct mtget ac_aggr;
20533 if (sizeof ac_aggr.mt_gstat)
20539 rm -f conftest.
$ac_objext
20540 if { (ac_try
="$ac_compile"
20541 case "(($ac_try" in
20542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_compile") 2>conftest.er1
20548 grep -v '^ *+' conftest.er1 >conftest.err
20550 cat conftest.err >&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } && {
20553 test -z "$ac_c_werror_flag" ||
20554 test ! -s conftest.err
20555 } && test -s conftest.$ac_objext; then
20556 ac_cv_member_struct_mtget_mt_gstat=yes
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.$ac_ext >&5
20561 ac_cv_member_struct_mtget_mt_gstat=no
20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20570 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20571 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20573 cat >>confdefs.h <<_ACEOF
20574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20579 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20580 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20581 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.$ac_ext <<_ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #include <sys/types.h>
20591 #ifdef HAVE_SYS_MTIO_H
20592 #include <sys/mtio.h>
20598 static struct mtget ac_aggr;
20599 if (ac_aggr.mt_blkno)
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20609 *) ac_try_echo
=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20614 grep -v '^ *+' conftest.er1
>conftest.err
20616 cat conftest.err
>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.
$ac_objext; then
20622 ac_cv_member_struct_mtget_mt_blkno
=yes
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 #include <sys/types.h>
20634 #ifdef HAVE_SYS_MTIO_H
20635 #include <sys/mtio.h>
20641 static struct mtget ac_aggr;
20642 if (sizeof ac_aggr.mt_blkno)
20648 rm -f conftest.
$ac_objext
20649 if { (ac_try
="$ac_compile"
20650 case "(($ac_try" in
20651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_compile") 2>conftest.er1
20657 grep -v '^ *+' conftest.er1 >conftest.err
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } && {
20662 test -z "$ac_c_werror_flag" ||
20663 test ! -s conftest.err
20664 } && test -s conftest.$ac_objext; then
20665 ac_cv_member_struct_mtget_mt_blkno=yes
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20670 ac_cv_member_struct_mtget_mt_blkno=no
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20679 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20680 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20682 cat >>confdefs.h <<_ACEOF
20683 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20690 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20691 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20692 if test "${ac_cv_member_struct_option_name+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #ifdef HAVE_GETOPT_H
20702 #include <getopt.h>
20708 static struct option ac_aggr;
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20719 *) ac_try_echo
=$ac_try;;
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20724 grep -v '^ *+' conftest.er1
>conftest.err
20726 cat conftest.err
>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.
$ac_objext; then
20732 ac_cv_member_struct_option_name
=yes
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20737 cat >conftest.
$ac_ext <<_ACEOF
20740 cat confdefs.h
>>conftest.
$ac_ext
20741 cat >>conftest.
$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 #ifdef HAVE_GETOPT_H
20744 #include <getopt.h>
20750 static struct option ac_aggr;
20751 if (sizeof ac_aggr.name)
20757 rm -f conftest.
$ac_objext
20758 if { (ac_try
="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20766 grep -v '^ *+' conftest.er1 >conftest.err
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 ac_cv_member_struct_option_name=yes
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.$ac_ext >&5
20779 ac_cv_member_struct_option_name=no
20782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20788 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20789 if test $ac_cv_member_struct_option_name = yes; then
20791 cat >>confdefs.h <<_ACEOF
20792 #define HAVE_STRUCT_OPTION_NAME 1
20799 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20800 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20801 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20802 echo $ECHO_N "(cached) $ECHO_C" >&6
20804 cat >conftest.$ac_ext <<_ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 $ac_includes_default
20814 static struct stat ac_aggr;
20815 if (ac_aggr.st_blocks)
20821 rm -f conftest.$ac_objext
20822 if { (ac_try="$ac_compile"
20823 case "(($ac_try" in
20824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20825 *) ac_try_echo
=$ac_try;;
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_compile") 2>conftest.er1
20830 grep -v '^ *+' conftest.er1
>conftest.err
20832 cat conftest.err
>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest.
$ac_objext; then
20838 ac_cv_member_struct_stat_st_blocks
=yes
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.
$ac_ext >&5
20843 cat >conftest.
$ac_ext <<_ACEOF
20846 cat confdefs.h
>>conftest.
$ac_ext
20847 cat >>conftest.
$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849 $ac_includes_default
20853 static struct stat ac_aggr;
20854 if (sizeof ac_aggr.st_blocks)
20860 rm -f conftest.
$ac_objext
20861 if { (ac_try
="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_compile") 2>conftest.er1
20869 grep -v '^ *+' conftest.er1 >conftest.err
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && {
20874 test -z "$ac_c_werror_flag" ||
20875 test ! -s conftest.err
20876 } && test -s conftest.$ac_objext; then
20877 ac_cv_member_struct_stat_st_blocks=yes
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 ac_cv_member_struct_stat_st_blocks=no
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20890 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20891 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20892 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20894 cat >>confdefs.h <<_ACEOF
20895 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20902 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20903 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20904 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 cat >conftest.$ac_ext <<_ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 #ifdef HAVE_SYS_TYPES_H
20914 #include <sys/types.h>
20916 #ifdef HAVE_NETINET_IN_H
20917 #include <netinet/in.h>
20923 static struct sockaddr_in6 ac_aggr;
20924 if (ac_aggr.sin6_scope_id)
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20934 *) ac_try_echo
=$ac_try;;
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20939 grep -v '^ *+' conftest.er1
>conftest.err
20941 cat conftest.err
>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.
$ac_objext; then
20947 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #ifdef HAVE_SYS_TYPES_H
20959 #include <sys/types.h>
20961 #ifdef HAVE_NETINET_IN_H
20962 #include <netinet/in.h>
20968 static struct sockaddr_in6 ac_aggr;
20969 if (sizeof ac_aggr.sin6_scope_id)
20975 rm -f conftest.
$ac_objext
20976 if { (ac_try
="$ac_compile"
20977 case "(($ac_try" in
20978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20979 *) ac_try_echo=$ac_try;;
20981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20982 (eval "$ac_compile") 2>conftest.er1
20984 grep -v '^ *+' conftest.er1 >conftest.err
20986 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } && {
20989 test -z "$ac_c_werror_flag" ||
20990 test ! -s conftest.err
20991 } && test -s conftest.$ac_objext; then
20992 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20997 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21006 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21007 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21009 cat >>confdefs.h <<_ACEOF
21010 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21017 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21018 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21019 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21022 cat >conftest.$ac_ext <<_ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 #ifdef HAVE_SYS_TYPES_H
21029 #include <sys/types.h>
21031 #ifdef HAVE_NETINET_IN_H
21032 # include <netinet/in.h>
21034 #ifdef HAVE_ARPA_NAMESER_H
21035 # include <arpa/nameser.h>
21041 static ns_msg ac_aggr;
21042 if (ac_aggr._msg_ptr)
21048 rm -f conftest.$ac_objext
21049 if { (ac_try="$ac_compile"
21050 case "(($ac_try" in
21051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21052 *) ac_try_echo
=$ac_try;;
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_compile") 2>conftest.er1
21057 grep -v '^ *+' conftest.er1
>conftest.err
21059 cat conftest.err
>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && {
21062 test -z "$ac_c_werror_flag" ||
21063 test ! -s conftest.err
21064 } && test -s conftest.
$ac_objext; then
21065 ac_cv_member_ns_msg__msg_ptr
=yes
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.
$ac_ext >&5
21070 cat >conftest.
$ac_ext <<_ACEOF
21073 cat confdefs.h
>>conftest.
$ac_ext
21074 cat >>conftest.
$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 #ifdef HAVE_SYS_TYPES_H
21077 #include <sys/types.h>
21079 #ifdef HAVE_NETINET_IN_H
21080 # include <netinet/in.h>
21082 #ifdef HAVE_ARPA_NAMESER_H
21083 # include <arpa/nameser.h>
21089 static ns_msg ac_aggr;
21090 if (sizeof ac_aggr._msg_ptr)
21096 rm -f conftest.
$ac_objext
21097 if { (ac_try
="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21105 grep -v '^ *+' conftest.er1 >conftest.err
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_cv_member_ns_msg__msg_ptr=yes
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ac_cv_member_ns_msg__msg_ptr=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21127 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21128 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_NS_MSG__MSG_PTR 1
21138 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21139 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21140 if test "${ac_cv_have_timezone+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21158 rm -f conftest.$ac_objext conftest$ac_exeext
21159 if { (ac_try="$ac_link"
21160 case "(($ac_try" in
21161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21162 *) ac_try_echo
=$ac_try;;
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_link") 2>conftest.er1
21167 grep -v '^ *+' conftest.er1
>conftest.err
21169 cat conftest.err
>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest
$ac_exeext &&
21175 $as_test_x conftest
$ac_exeext; then
21176 ac_cv_have_timezone
="yes"
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.
$ac_ext >&5
21181 ac_cv_have_timezone
="no"
21184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21185 conftest
$ac_exeext conftest.
$ac_ext
21187 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21188 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21189 if test "$ac_cv_have_timezone" = "yes"
21192 cat >>confdefs.h
<<\_ACEOF
21193 #define HAVE_TIMEZONE 1
21197 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21198 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21199 if test "${ac_cv_have_daylight+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 cat >conftest.
$ac_ext <<_ACEOF
21205 cat confdefs.h
>>conftest.
$ac_ext
21206 cat >>conftest.
$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21217 rm -f conftest.
$ac_objext conftest
$ac_exeext
21218 if { (ac_try
="$ac_link"
21219 case "(($ac_try" in
21220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_link") 2>conftest.er1
21226 grep -v '^ *+' conftest.er1 >conftest.err
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest$ac_exeext &&
21234 $as_test_x conftest$ac_exeext; then
21235 ac_cv_have_daylight="yes"
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21240 ac_cv_have_daylight="no"
21243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21244 conftest$ac_exeext conftest.$ac_ext
21246 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21247 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21248 if test "$ac_cv_have_daylight" = "yes"
21251 cat >>confdefs.h <<\_ACEOF
21252 #define HAVE_DAYLIGHT 1
21259 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21260 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21261 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 cat >conftest.$ac_ext <<_ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21275 $EGREP "yes" >/dev/null 2>&1; then
21276 ac_cv_cpp_def___i386__=yes
21278 ac_cv_cpp_def___i386__=no
21283 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21284 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21285 if test $ac_cv_cpp_def___i386__ = yes; then
21286 CFLAGS="$CFLAGS -D__i386__"
21287 LINTFLAGS="$LINTFLAGS -D__i386__"
21290 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21291 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21292 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 cat >conftest.$ac_ext <<_ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21306 $EGREP "yes" >/dev/null 2>&1; then
21307 ac_cv_cpp_def___x86_64__=yes
21309 ac_cv_cpp_def___x86_64__=no
21314 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21315 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21316 if test $ac_cv_cpp_def___x86_64__ = yes; then
21317 CFLAGS="$CFLAGS -D__x86_64__"
21318 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21321 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21322 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21323 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 cat >conftest.$ac_ext <<_ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21337 $EGREP "yes" >/dev/null 2>&1; then
21338 ac_cv_cpp_def___ALPHA__=yes
21340 ac_cv_cpp_def___ALPHA__=no
21345 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21346 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21347 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21348 CFLAGS="$CFLAGS -D__ALPHA__"
21349 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21352 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21353 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21354 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21355 echo $ECHO_N "(cached) $ECHO_C" >&6
21357 cat >conftest.$ac_ext <<_ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21368 $EGREP "yes" >/dev/null 2>&1; then
21369 ac_cv_cpp_def___sparc__=yes
21371 ac_cv_cpp_def___sparc__=no
21376 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21377 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21378 if test $ac_cv_cpp_def___sparc__ = yes; then
21379 CFLAGS="$CFLAGS -D__sparc__"
21380 LINTFLAGS="$LINTFLAGS -D__sparc__"
21383 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21384 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21385 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 #ifndef __powerpc__
21398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21399 $EGREP "yes" >/dev/null 2>&1; then
21400 ac_cv_cpp_def___powerpc__=yes
21402 ac_cv_cpp_def___powerpc__=no
21407 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21408 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21409 if test $ac_cv_cpp_def___powerpc__ = yes; then
21410 CFLAGS="$CFLAGS -D__powerpc__"
21411 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21416 case $host_vendor in
21417 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21418 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21419 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 cat >conftest.$ac_ext <<_ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21433 $EGREP "yes" >/dev/null 2>&1; then
21434 ac_cv_cpp_def___sun__=yes
21436 ac_cv_cpp_def___sun__=no
21441 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21442 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21443 if test $ac_cv_cpp_def___sun__ = yes; then
21444 CFLAGS="$CFLAGS -D__sun__"
21445 LINTFLAGS="$LINTFLAGS -D__sun__"
21451 DEPENDENCIES="### Dependencies:
21456 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21458 \$(OBJS): \$(IDL_GEN_HEADERS)
21459 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21460 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21461 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21467 ac_config_commands="$ac_config_commands include/stamp-h"
21470 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21472 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21474 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21476 ac_config_commands="$ac_config_commands dlls/user32/resources"
21478 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21480 ac_config_commands="$ac_config_commands include/wine"
21483 MAKE_RULES=Make.rules
21486 MAKE_DLL_RULES=dlls/Makedll.rules
21489 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21492 MAKE_TEST_RULES=dlls/Maketest.rules
21495 MAKE_PROG_RULES=programs/Makeprog.rules
21498 ac_config_files="$ac_config_files Make.rules"
21500 ac_config_files="$ac_config_files dlls/Makedll.rules"
21502 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21504 ac_config_files="$ac_config_files dlls/Maketest.rules"
21506 ac_config_files="$ac_config_files programs/Makeprog.rules"
21508 ac_config_files="$ac_config_files Makefile"
21510 ac_config_files="$ac_config_files dlls/Makefile"
21512 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21514 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21516 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21518 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21520 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21522 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21524 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21526 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21528 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21530 ac_config_files="$ac_config_files dlls/atl/Makefile"
21532 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21534 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21536 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21538 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21542 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21544 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21546 ac_config_files="$ac_config_files dlls/cards/Makefile"
21548 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21550 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21552 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21554 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21556 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21558 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21560 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21562 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21566 ac_config_files="$ac_config_files dlls/credui/Makefile"
21568 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21570 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21572 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21574 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21576 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21578 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21580 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21582 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21586 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21588 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21590 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21592 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21594 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21598 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21602 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21604 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21608 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21610 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21612 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21614 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21616 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21618 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21620 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21622 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21624 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21626 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21628 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21630 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21632 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21634 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21636 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21640 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21642 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21644 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21646 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21648 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21650 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21652 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21654 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21656 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21660 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21662 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21664 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21666 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21668 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21670 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21672 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21674 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21676 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21678 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21680 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21684 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21686 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21690 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21692 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21694 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21696 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21698 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21702 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21704 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21706 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21708 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21710 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21712 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21714 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21716 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21718 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21720 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21722 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21726 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21728 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21730 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21732 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21734 ac_config_files="$ac_config_files dlls/hal/Makefile"
21736 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21738 ac_config_files="$ac_config_files dlls/hid/Makefile"
21740 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21742 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21744 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21746 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21748 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21750 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21752 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21754 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21756 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21758 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21762 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21766 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21770 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21772 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21774 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21776 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21778 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21780 ac_config_files="$ac_config_files dlls/itss/Makefile"
21782 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21786 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21790 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21792 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21794 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/localui/Makefile"
21798 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21802 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21804 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21806 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21808 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21810 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21812 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21814 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21816 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21818 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21820 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21822 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21824 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21826 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21828 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21830 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21832 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21834 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21836 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21838 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21840 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21842 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21844 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21848 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21850 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21852 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21854 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21856 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21858 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/msi/Makefile"
21862 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21866 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21868 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21870 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21872 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21874 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21876 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21878 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21880 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21882 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21884 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21886 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21888 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21890 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21892 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21894 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21896 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21898 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21900 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21902 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21904 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21906 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21908 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21910 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21912 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21914 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21916 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21918 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21920 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21922 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21924 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21926 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21928 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21930 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21934 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21938 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21940 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21944 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21946 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21948 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21950 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21952 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21954 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21956 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21958 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21960 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21962 ac_config_files="$ac_config_files dlls/printui/Makefile"
21964 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21966 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21968 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21970 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21972 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21974 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21976 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21980 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21984 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21986 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21988 ac_config_files="$ac_config_files dlls/query/Makefile"
21990 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21992 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21994 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21996 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21998 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22000 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22002 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22004 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22006 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22008 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22010 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22012 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22014 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22016 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22018 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22020 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22022 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22024 ac_config_files="$ac_config_files dlls/security/Makefile"
22026 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22028 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22030 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22032 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22034 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22036 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22038 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22040 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22042 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22044 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22046 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22048 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22050 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22052 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22054 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22056 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22058 ac_config_files="$ac_config_files dlls/slc/Makefile"
22060 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22062 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22064 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22066 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22068 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22072 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22074 ac_config_files="$ac_config_files dlls/sti/Makefile"
22076 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22078 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22080 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22082 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22084 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22086 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22088 ac_config_files="$ac_config_files dlls/url/Makefile"
22090 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22092 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/user32/Makefile"
22096 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22098 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22100 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22102 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22106 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22108 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22110 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22112 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22114 ac_config_files="$ac_config_files dlls/version/Makefile"
22116 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22120 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22122 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22124 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22126 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22128 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22130 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22132 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22134 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22136 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22138 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22140 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22142 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22144 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22146 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22148 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22150 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22152 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22154 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22156 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22158 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22160 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22162 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22164 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22166 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22170 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22174 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22176 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22178 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22180 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22182 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22184 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22186 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22188 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22190 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22192 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22194 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22196 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22198 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22200 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22202 ac_config_files="$ac_config_files documentation/Makefile"
22204 ac_config_files="$ac_config_files fonts/Makefile"
22206 ac_config_files="$ac_config_files include/Makefile"
22208 ac_config_files="$ac_config_files libs/Makefile"
22210 ac_config_files="$ac_config_files libs/port/Makefile"
22212 ac_config_files="$ac_config_files libs/wine/Makefile"
22214 ac_config_files="$ac_config_files libs/wpp/Makefile"
22216 ac_config_files="$ac_config_files loader/Makefile"
22218 ac_config_files="$ac_config_files programs/Makefile"
22220 ac_config_files="$ac_config_files programs/clock/Makefile"
22222 ac_config_files="$ac_config_files programs/cmd/Makefile"
22224 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22226 ac_config_files="$ac_config_files programs/control/Makefile"
22228 ac_config_files="$ac_config_files programs/eject/Makefile"
22230 ac_config_files="$ac_config_files programs/expand/Makefile"
22232 ac_config_files="$ac_config_files programs/explorer/Makefile"
22234 ac_config_files="$ac_config_files programs/hh/Makefile"
22236 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22238 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22240 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22242 ac_config_files="$ac_config_files programs/net/Makefile"
22244 ac_config_files="$ac_config_files programs/notepad/Makefile"
22246 ac_config_files="$ac_config_files programs/oleview/Makefile"
22248 ac_config_files="$ac_config_files programs/progman/Makefile"
22250 ac_config_files="$ac_config_files programs/reg/Makefile"
22252 ac_config_files="$ac_config_files programs/regedit/Makefile"
22254 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22256 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22258 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22260 ac_config_files="$ac_config_files programs/secedit/Makefile"
22262 ac_config_files="$ac_config_files programs/services/Makefile"
22264 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22266 ac_config_files="$ac_config_files programs/start/Makefile"
22268 ac_config_files="$ac_config_files programs/svchost/Makefile"
22270 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22272 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22274 ac_config_files="$ac_config_files programs/view/Makefile"
22276 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22278 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22280 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22282 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22284 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22286 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22288 ac_config_files="$ac_config_files programs/winefile/Makefile"
22290 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22292 ac_config_files="$ac_config_files programs/winemine/Makefile"
22294 ac_config_files="$ac_config_files programs/winepath/Makefile"
22296 ac_config_files="$ac_config_files programs/winetest/Makefile"
22298 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22300 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22302 ac_config_files="$ac_config_files programs/winver/Makefile"
22304 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22306 ac_config_files="$ac_config_files programs/write/Makefile"
22308 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22310 ac_config_files="$ac_config_files server/Makefile"
22312 ac_config_files="$ac_config_files tools/Makefile"
22314 ac_config_files="$ac_config_files tools/widl/Makefile"
22316 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22318 ac_config_files="$ac_config_files tools/winedump/Makefile"
22320 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22322 ac_config_files="$ac_config_files tools/wmc/Makefile"
22324 ac_config_files="$ac_config_files tools/wrc/Makefile"
22327 cat >confcache <<\_ACEOF
22328 # This file is a shell script that caches the results of configure
22329 # tests run on this system so they can be shared between configure
22330 # scripts and configure runs, see configure's option --config-cache.
22331 # It is not useful on other systems. If it contains results you don't
22332 # want to keep, you may remove or edit it.
22334 # config.status only pays attention to the cache file if you give it
22335 # the --recheck option to rerun configure.
22337 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22339 # following values.
22343 # The following way of writing the cache mishandles newlines in values,
22344 # but we know of no workaround that is simple, portable, and efficient.
22345 # So, we kill variables containing newlines.
22346 # Ultrix sh set writes to stderr and can't be redirected directly,
22347 # and sets the high bit in the cache file unless we assign to the vars.
22349 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22350 eval ac_val
=\$
$ac_var
22354 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22355 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22358 _ | IFS | as_nl
) ;; #(
22359 *) $as_unset $ac_var ;;
22365 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22366 *${as_nl}ac_space
=\
*)
22367 # `set' does not quote correctly, so add quotes (double-quote
22368 # substitution turns \\\\ into \\, and sed turns \\ into \).
22371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22374 # `set' quotes correctly as required by POSIX, so do not add quotes.
22375 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22386 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22388 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22389 if test -w "$cache_file"; then
22390 test "x$cache_file" != "x/dev/null" &&
22391 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22392 echo "$as_me: updating cache $cache_file" >&6;}
22393 cat confcache
>$cache_file
22395 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22396 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22401 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22402 # Let make expand exec_prefix.
22403 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22405 DEFS
=-DHAVE_CONFIG_H
22409 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22410 # 1. Remove the extension, and $U if already installed.
22411 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22412 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22413 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22414 # will be set to the directory where LIBOBJS objects are built.
22415 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22416 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22418 LIBOBJS
=$ac_libobjs
22420 LTLIBOBJS
=$ac_ltlibobjs
22424 : ${CONFIG_STATUS=./config.status}
22425 ac_clean_files_save
=$ac_clean_files
22426 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22427 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22428 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22429 cat >$CONFIG_STATUS <<_ACEOF
22431 # Generated by $as_me.
22432 # Run this file to recreate the current configuration.
22433 # Compiler output produced by configure, useful for debugging
22434 # configure, is in config.log if it exists.
22437 ac_cs_recheck=false
22439 SHELL=\${CONFIG_SHELL-$SHELL}
22442 cat >>$CONFIG_STATUS <<\_ACEOF
22443 ## --------------------- ##
22444 ## M4sh Initialization. ##
22445 ## --------------------- ##
22447 # Be more Bourne compatible
22448 DUALCASE
=1; export DUALCASE
# for MKS sh
22449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22452 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22453 # is contrary to our usage. Disable this feature.
22454 alias -g '${1+"$@"}'='"$@"'
22455 setopt NO_GLOB_SUBST
22457 case `(set -o) 2>/dev/null` in
22458 *posix
*) set -o posix
;;
22467 # Avoid depending upon Character Ranges.
22468 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22469 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22470 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22471 as_cr_digits
='0123456789'
22472 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22474 # The user is always right.
22475 if test "${PATH_SEPARATOR+set}" != set; then
22476 echo "#! /bin/sh" >conf$$.sh
22477 echo "exit 0" >>conf$$.sh
22479 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22487 # Support unset when possible.
22488 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22496 # We need space, tab and new line, in precisely that order. Quoting is
22497 # there to prevent editors from complaining about space-tab.
22498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22499 # splitting by setting IFS to empty value.)
22504 # Find who we are. Look in the path if we contain no directory separator.
22506 *[\\/]* ) as_myself
=$0 ;;
22507 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22508 for as_dir
in $PATH
22511 test -z "$as_dir" && as_dir
=.
22512 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22518 # We did not find ourselves, most probably we were run as `sh COMMAND'
22519 # in which case we are not to be found in the path.
22520 if test "x$as_myself" = x
; then
22523 if test ! -f "$as_myself"; then
22524 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22525 { (exit 1); exit 1; }
22528 # Work around bugs in pre-3.0 UWIN ksh.
22529 for as_var
in ENV MAIL MAILPATH
22530 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22538 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22539 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22540 LC_TELEPHONE LC_TIME
22542 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22543 eval $as_var=C
; export $as_var
22545 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22549 # Required to use basename.
22550 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22551 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22557 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22558 as_basename
=basename
22564 # Name of the executable.
22565 as_me
=`$as_basename -- "$0" ||
22566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22567 X"$0" : 'X\(//\)$' \| \
22568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22570 sed '/^.*\/\([^/][^/]*\)\/*$/{
22589 as_lineno_1
=$LINENO
22590 as_lineno_2
=$LINENO
22591 test "x$as_lineno_1" != "x$as_lineno_2" &&
22592 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22594 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22595 # uniformly replaced by the line number. The first 'sed' inserts a
22596 # line-number line after each line using $LINENO; the second 'sed'
22597 # does the real work. The second script uses 'N' to pair each
22598 # line-number line with the line containing $LINENO, and appends
22599 # trailing '-' during substitution so that $LINENO is not a special
22600 # case at line end.
22601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22602 # scripts with optimization help from Paolo Bonzini. Blame Lee
22603 # E. McMahon (1931-1989) for sed's syntax. :-)
22615 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22618 ' >$as_me.lineno
&&
22619 chmod +x
"$as_me.lineno" ||
22620 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22621 { (exit 1); exit 1; }; }
22623 # Don't try to exec as it changes $[0], causing all sort of problems
22624 # (the dirname of $[0] is not the place where we might find the
22625 # original and so on. Autoconf is especially sensitive to this).
22626 .
"./$as_me.lineno"
22627 # Exit status is that of the last command.
22632 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22638 ECHO_C
= ECHO_N
= ECHO_T
=
22639 case `echo -n x` in
22641 case `echo 'x\c'` in
22642 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22649 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22650 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22656 rm -f conf$$ conf$$.exe conf$$.
file
22657 if test -d conf$$.dir
; then
22658 rm -f conf$$.dir
/conf$$.
file
22664 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22666 # ... but there are two gotchas:
22667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22669 # In both cases, we have to default to `cp -p'.
22670 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22672 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22677 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22678 rmdir conf$$.dir
2>/dev
/null
22680 if mkdir
-p .
2>/dev
/null
; then
22683 test -d .
/-p && rmdir .
/-p
22687 if test -x / >/dev
/null
2>&1; then
22688 as_test_x
='test -x'
22690 if ls -dL / >/dev
/null
2>&1; then
22697 if test -d "$1"; then
22703 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22704 ???[sx]*):;;*)false;;esac;fi
22708 as_executable_p
=$as_test_x
22710 # Sed expression to map a string onto a valid CPP name.
22711 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22713 # Sed expression to map a string onto a valid variable name.
22714 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22719 # Save the log message, to keep $[0] and so on meaningful, and to
22720 # report actual input values of CONFIG_FILES etc. instead of their
22721 # values after options handling.
22723 This file was extended by Wine $as_me 0.9.60, which was
22724 generated by GNU Autoconf 2.61. Invocation command line was
22726 CONFIG_FILES = $CONFIG_FILES
22727 CONFIG_HEADERS = $CONFIG_HEADERS
22728 CONFIG_LINKS = $CONFIG_LINKS
22729 CONFIG_COMMANDS = $CONFIG_COMMANDS
22732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22737 cat >>$CONFIG_STATUS <<_ACEOF
22738 # Files that config.status was made for.
22739 config_files="$ac_config_files"
22740 config_headers="$ac_config_headers"
22741 config_commands="$ac_config_commands"
22745 cat >>$CONFIG_STATUS <<\_ACEOF
22747 \`$as_me' instantiates files from templates according to the
22748 current configuration.
22750 Usage: $0 [OPTIONS] [FILE]...
22752 -h, --help print this help, then exit
22753 -V, --version print version number and configuration settings, then exit
22754 -q, --quiet do not print progress messages
22755 -d, --debug don't remove temporary files
22756 --recheck update $as_me by reconfiguring in the same conditions
22757 --file=FILE[:TEMPLATE]
22758 instantiate the configuration file FILE
22759 --header=FILE[:TEMPLATE]
22760 instantiate the configuration header FILE
22762 Configuration files:
22765 Configuration headers:
22768 Configuration commands:
22771 Report bugs to <bug-autoconf@gnu.org>."
22774 cat >>$CONFIG_STATUS <<_ACEOF
22776 Wine config.status 0.9.60
22777 configured by $0, generated by GNU Autoconf 2.61,
22778 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22780 Copyright (C) 2006 Free Software Foundation, Inc.
22781 This config.status script is free software; the Free Software Foundation
22782 gives unlimited permission to copy, distribute and modify it."
22789 cat >>$CONFIG_STATUS <<\_ACEOF
22790 # If no file are specified by the user, then we need to provide default
22791 # value. By we need to know if files were specified by the user.
22797 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22798 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22809 # Handling of the options.
22810 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22812 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22813 echo "$ac_cs_version"; exit ;;
22814 --debug |
--debu |
--deb |
--de |
--d |
-d )
22816 --file |
--fil |
--fi |
--f )
22818 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22819 ac_need_defaults
=false
;;
22820 --header |
--heade |
--head |
--hea )
22822 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22823 ac_need_defaults
=false
;;
22825 # Conflict between --help and --header
22826 { echo "$as_me: error: ambiguous option: $1
22827 Try \`$0 --help' for more information." >&2
22828 { (exit 1); exit 1; }; };;
22829 --help |
--hel |
-h )
22830 echo "$ac_cs_usage"; exit ;;
22831 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22832 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22835 # This is an error.
22836 -*) { echo "$as_me: error: unrecognized option: $1
22837 Try \`$0 --help' for more information." >&2
22838 { (exit 1); exit 1; }; } ;;
22840 *) ac_config_targets
="$ac_config_targets $1"
22841 ac_need_defaults
=false
;;
22847 ac_configure_extra_args
=
22849 if $ac_cs_silent; then
22851 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22855 cat >>$CONFIG_STATUS <<_ACEOF
22856 if \$ac_cs_recheck; then
22857 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22858 CONFIG_SHELL=$SHELL
22859 export CONFIG_SHELL
22860 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22864 cat >>$CONFIG_STATUS <<\_ACEOF
22868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22869 ## Running $as_me. ##
22875 cat >>$CONFIG_STATUS <<_ACEOF
22878 cat >>$CONFIG_STATUS <<\_ACEOF
22880 # Handling of arguments.
22881 for ac_config_target
in $ac_config_targets
22883 case $ac_config_target in
22884 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22885 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22886 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22887 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22888 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22889 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22890 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22891 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22892 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22893 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22894 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22895 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22896 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22897 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22898 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22899 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22900 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22901 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22902 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22903 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22904 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22905 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22906 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22907 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22908 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22909 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22910 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22911 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22912 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22913 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22914 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22915 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22916 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22917 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22918 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22919 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22920 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22921 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22922 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22923 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22924 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22925 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22926 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22927 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22928 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22929 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22930 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22931 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22932 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22933 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22934 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22935 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22936 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22937 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22938 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22939 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22940 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22941 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22942 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22943 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22944 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22945 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22946 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22947 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22948 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22949 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22950 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22951 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22952 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22953 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22954 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22955 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22956 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22957 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22958 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22959 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22960 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22961 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22962 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22963 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22964 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22965 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22966 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22967 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22968 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22969 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22970 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22971 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22972 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22973 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22974 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22975 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22976 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22977 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22978 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22979 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22980 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22981 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22982 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22983 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22984 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22985 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22986 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22987 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22988 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22989 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22990 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22991 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22992 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22993 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22994 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22995 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22996 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22997 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22998 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22999 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23000 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23001 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23002 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23003 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23004 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23005 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23006 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23007 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23008 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23009 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23010 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23011 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23012 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23013 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23014 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23015 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23016 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23017 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23018 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23019 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23020 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23021 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23022 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23023 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23024 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23025 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23026 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23027 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23028 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23029 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23030 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23031 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23032 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23033 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23034 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23035 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23036 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23037 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23038 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23039 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23040 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23041 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23042 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23043 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23044 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23045 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23046 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23047 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23048 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23049 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23050 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23051 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23052 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23053 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23054 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23055 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23056 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23057 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23058 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23059 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23060 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23061 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23062 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23063 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23064 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23065 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23066 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23067 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23068 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23069 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23070 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23071 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23072 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23073 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23074 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23075 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23076 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23077 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23078 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23079 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23080 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23081 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23082 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23083 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23084 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23085 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23086 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23087 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23088 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23089 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23090 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23091 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23092 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23093 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23094 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23095 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23096 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23097 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23098 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23099 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23100 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23101 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23102 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23103 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23104 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23105 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23106 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23107 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23108 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23109 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23110 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23111 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23112 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23113 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23114 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23115 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23116 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23117 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23118 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23119 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23120 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23121 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23122 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23123 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23124 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23125 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23126 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23127 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23128 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23129 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23130 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23131 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23132 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23133 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23134 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23135 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23136 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23137 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23138 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23139 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23140 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23141 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23142 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23143 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23144 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23145 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23146 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23147 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23148 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23149 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23150 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23151 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23152 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23153 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23154 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23155 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23156 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23157 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23158 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23159 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23160 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23161 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23162 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23163 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23164 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23165 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23166 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23167 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23168 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23169 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23170 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23171 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23172 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23173 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23174 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23175 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23176 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23177 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23178 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23179 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23180 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23181 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23182 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23183 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23184 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23185 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23186 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23187 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23188 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23189 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23190 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23191 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23192 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23193 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23194 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23195 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23196 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23197 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23198 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23199 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23200 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23201 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23202 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23203 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23204 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23205 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23206 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23207 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23208 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23209 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23210 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23211 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23212 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23213 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23214 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23215 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23216 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23217 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23218 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23219 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23220 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23221 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23222 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23223 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23224 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23225 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23226 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23227 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23228 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23229 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23230 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23231 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23232 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23233 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23234 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23235 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23236 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23237 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23238 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23239 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23240 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23241 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23242 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23243 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23244 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23245 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23246 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23247 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23248 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23249 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23250 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23251 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23252 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23253 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23254 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23255 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23256 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23257 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23258 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23259 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23260 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23261 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23262 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23263 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23264 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23265 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23266 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23267 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23268 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23269 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23270 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23271 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23272 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23273 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23274 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23275 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23276 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23277 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23278 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23279 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23280 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23281 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23282 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23283 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23284 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23285 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23286 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23287 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23288 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23289 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23290 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23291 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23292 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23293 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
23294 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23295 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23296 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23297 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23298 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23299 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23300 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23301 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23302 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23303 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23304 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23305 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23307 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23308 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23309 { (exit 1); exit 1; }; };;
23314 # If the user did not use the arguments to specify the items to instantiate,
23315 # then the envvar interface is used. Set only those that are not.
23316 # We use the long form for the default assignment because of an extremely
23317 # bizarre bug on SunOS 4.1.3.
23318 if $ac_need_defaults; then
23319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23321 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23324 # Have a temporary directory for convenience. Make it in the build tree
23325 # simply because there is no reason against having it here, and in addition,
23326 # creating and moving files from /tmp can sometimes cause problems.
23327 # Hook for its removal unless debugging.
23328 # Note that there is a small window in which the directory will not be cleaned:
23329 # after its creation but before its name has been assigned to `$tmp'.
23333 trap 'exit_status=$?
23334 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23336 trap '{ (exit 1); exit 1; }' 1 2 13 15
23338 # Create a (secure) tmp directory for tmp files.
23341 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23342 test -n "$tmp" && test -d "$tmp"
23345 tmp
=.
/conf$$
-$RANDOM
23346 (umask 077 && mkdir
"$tmp")
23349 echo "$me: cannot create a temporary directory in ." >&2
23350 { (exit 1); exit 1; }
23354 # Set up the sed scripts for CONFIG_FILES section.
23357 # No need to generate the scripts if there are no CONFIG_FILES.
23358 # This happens for instance when ./config.status config.h
23359 if test -n "$CONFIG_FILES"; then
23363 # Create sed commands to just substitute file output variables.
23365 # Remaining file output variables are in a fragment that also has non-file
23371 for ac_last_try
in false false false false false
:; do
23372 cat >conf$
$subs.
sed <<_ACEOF
23373 SHELL!$SHELL$ac_delim
23374 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23375 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23376 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23377 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23378 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23379 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23380 exec_prefix!$exec_prefix$ac_delim
23381 prefix!$prefix$ac_delim
23382 program_transform_name!$program_transform_name$ac_delim
23383 bindir!$bindir$ac_delim
23384 sbindir!$sbindir$ac_delim
23385 libexecdir!$libexecdir$ac_delim
23386 datarootdir!$datarootdir$ac_delim
23387 datadir!$datadir$ac_delim
23388 sysconfdir!$sysconfdir$ac_delim
23389 sharedstatedir!$sharedstatedir$ac_delim
23390 localstatedir!$localstatedir$ac_delim
23391 includedir!$includedir$ac_delim
23392 oldincludedir!$oldincludedir$ac_delim
23393 docdir!$docdir$ac_delim
23394 infodir!$infodir$ac_delim
23395 htmldir!$htmldir$ac_delim
23396 dvidir!$dvidir$ac_delim
23397 pdfdir!$pdfdir$ac_delim
23398 psdir!$psdir$ac_delim
23399 libdir!$libdir$ac_delim
23400 localedir!$localedir$ac_delim
23401 mandir!$mandir$ac_delim
23402 DEFS!$DEFS$ac_delim
23403 ECHO_C!$ECHO_C$ac_delim
23404 ECHO_N!$ECHO_N$ac_delim
23405 ECHO_T!$ECHO_T$ac_delim
23406 LIBS!$LIBS$ac_delim
23407 build_alias!$build_alias$ac_delim
23408 host_alias!$host_alias$ac_delim
23409 target_alias!$target_alias$ac_delim
23410 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23411 build!$build$ac_delim
23412 build_cpu!$build_cpu$ac_delim
23413 build_vendor!$build_vendor$ac_delim
23414 build_os!$build_os$ac_delim
23415 host!$host$ac_delim
23416 host_cpu!$host_cpu$ac_delim
23417 host_vendor!$host_vendor$ac_delim
23418 host_os!$host_os$ac_delim
23419 WIN16_FILES!$WIN16_FILES$ac_delim
23420 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23421 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23422 WINETEST!$WINETEST$ac_delim
23423 SET_MAKE!$SET_MAKE$ac_delim
23425 CFLAGS!$CFLAGS$ac_delim
23426 LDFLAGS!$LDFLAGS$ac_delim
23427 CPPFLAGS!$CPPFLAGS$ac_delim
23428 ac_ct_CC!$ac_ct_CC$ac_delim
23429 EXEEXT!$EXEEXT$ac_delim
23430 OBJEXT!$OBJEXT$ac_delim
23432 CXXFLAGS!$CXXFLAGS$ac_delim
23433 ac_ct_CXX!$ac_ct_CXX$ac_delim
23434 CPPBIN!$CPPBIN$ac_delim
23435 TOOLSDIR!$TOOLSDIR$ac_delim
23436 XMKMF!$XMKMF$ac_delim
23438 X_CFLAGS!$X_CFLAGS$ac_delim
23439 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23440 X_LIBS!$X_LIBS$ac_delim
23441 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23442 FLEX!$FLEX$ac_delim
23443 BISON!$BISON$ac_delim
23445 ac_ct_AS!$ac_ct_AS$ac_delim
23448 ARFLAGS!$ARFLAGS$ac_delim
23449 RANLIB!$RANLIB$ac_delim
23450 STRIP!$STRIP$ac_delim
23451 WINDRES!$WINDRES$ac_delim
23452 LN_S!$LN_S$ac_delim
23454 GREP!$GREP$ac_delim
23457 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23459 elif $ac_last_try; then
23460 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23461 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23462 { (exit 1); exit 1; }; }
23464 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23468 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23469 if test -n "$ac_eof"; then
23470 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23471 ac_eof
=`expr $ac_eof + 1`
23474 cat >>$CONFIG_STATUS <<_ACEOF
23475 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23476 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23477 /^[ ]*@MAKE_RULES@[ ]*$/{
23481 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23485 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23486 r $MAKE_IMPLIB_RULES
23489 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23493 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23499 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23500 s/^/s,@/; s/!/@,|#_!!_#|/
23503 s/'"$ac_delim"'$/,g/; t
23505 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23506 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23507 rm -f conf$
$subs.
sed
23508 cat >>$CONFIG_STATUS <<_ACEOF
23514 for ac_last_try
in false false false false false
:; do
23515 cat >conf$
$subs.
sed <<_ACEOF
23516 EGREP!$EGREP$ac_delim
23517 LDCONFIG!$LDCONFIG$ac_delim
23518 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23519 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23520 INSTALL_DATA!$INSTALL_DATA$ac_delim
23521 LINT!$LINT$ac_delim
23522 LINTFLAGS!$LINTFLAGS$ac_delim
23523 FONTFORGE!$FONTFORGE$ac_delim
23524 PKG_CONFIG!$PKG_CONFIG$ac_delim
23525 RSVG!$RSVG$ac_delim
23526 ICOTOOL!$ICOTOOL$ac_delim
23527 PRELINK!$PRELINK$ac_delim
23528 LIBPTHREAD!$LIBPTHREAD$ac_delim
23529 XLIB!$XLIB$ac_delim
23530 XFILES!$XFILES$ac_delim
23531 OPENGLFILES!$OPENGLFILES$ac_delim
23532 GLU32FILES!$GLU32FILES$ac_delim
23533 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23534 QUARTZFILES!$QUARTZFILES$ac_delim
23535 DLLEXT!$DLLEXT$ac_delim
23536 DLLFLAGS!$DLLFLAGS$ac_delim
23537 LDSHARED!$LDSHARED$ac_delim
23538 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23539 LIBEXT!$LIBEXT$ac_delim
23540 IMPLIBEXT!$IMPLIBEXT$ac_delim
23541 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23542 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23544 DLLTOOL!$DLLTOOL$ac_delim
23545 DLLWRAP!$DLLWRAP$ac_delim
23546 MINGWAR!$MINGWAR$ac_delim
23547 SECURITYLIB!$SECURITYLIB$ac_delim
23548 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23549 IOKITLIB!$IOKITLIB$ac_delim
23550 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23551 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23552 COREAUDIO!$COREAUDIO$ac_delim
23553 CARBONLIB!$CARBONLIB$ac_delim
23554 CROSSTEST!$CROSSTEST$ac_delim
23555 CROSSCC!$CROSSCC$ac_delim
23556 CROSSWINDRES!$CROSSWINDRES$ac_delim
23557 NASLIBS!$NASLIBS$ac_delim
23558 XML2LIBS!$XML2LIBS$ac_delim
23559 XML2INCL!$XML2INCL$ac_delim
23560 XSLTLIBS!$XSLTLIBS$ac_delim
23561 XSLTINCL!$XSLTINCL$ac_delim
23562 HALINCL!$HALINCL$ac_delim
23563 sane_devel!$sane_devel$ac_delim
23564 SANEINCL!$SANEINCL$ac_delim
23565 gphoto2_devel!$gphoto2_devel$ac_delim
23566 gphoto2port_devel!$gphoto2port_devel$ac_delim
23567 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23568 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23569 RESOLVLIBS!$RESOLVLIBS$ac_delim
23570 LCMSLIBS!$LCMSLIBS$ac_delim
23571 LDAPLIBS!$LDAPLIBS$ac_delim
23572 ft_devel!$ft_devel$ac_delim
23573 FREETYPELIBS!$FREETYPELIBS$ac_delim
23574 FREETYPEINCL!$FREETYPEINCL$ac_delim
23575 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23576 ESDCONFIG!$ESDCONFIG$ac_delim
23577 ESDLIBS!$ESDLIBS$ac_delim
23578 ESDINCL!$ESDINCL$ac_delim
23579 ALSALIBS!$ALSALIBS$ac_delim
23580 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23581 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23582 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23583 BUILTINFLAG!$BUILTINFLAG$ac_delim
23584 LDPATH!$LDPATH$ac_delim
23585 CRTLIBS!$CRTLIBS$ac_delim
23586 SOCKETLIBS!$SOCKETLIBS$ac_delim
23587 MAIN_BINARY!$MAIN_BINARY$ac_delim
23588 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23589 LIBDL!$LIBDL$ac_delim
23590 LIBPOLL!$LIBPOLL$ac_delim
23591 DEPENDENCIES!$DEPENDENCIES$ac_delim
23592 LIBOBJS!$LIBOBJS$ac_delim
23593 LTLIBOBJS!$LTLIBOBJS$ac_delim
23596 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23598 elif $ac_last_try; then
23599 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23600 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23601 { (exit 1); exit 1; }; }
23603 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23607 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23608 if test -n "$ac_eof"; then
23609 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23610 ac_eof
=`expr $ac_eof + 1`
23613 cat >>$CONFIG_STATUS <<_ACEOF
23614 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23618 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23619 s/^/s,@/; s/!/@,|#_!!_#|/
23622 s/'"$ac_delim"'$/,g/; t
23624 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23625 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23626 rm -f conf$
$subs.
sed
23627 cat >>$CONFIG_STATUS <<_ACEOF
23634 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23635 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23636 # trailing colons and then remove the whole line if VPATH becomes empty
23637 # (actually we leave an empty line to preserve line numbers).
23638 if test "x$srcdir" = x.
; then
23639 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23640 s/:*\$(srcdir):*/:/
23641 s/:*\${srcdir}:*/:/
23643 s/^\([^=]*=[ ]*\):*/\1/
23649 cat >>$CONFIG_STATUS <<\_ACEOF
23650 fi # test -n "$CONFIG_FILES"
23653 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23656 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23658 case $ac_mode$ac_tag in
23660 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23661 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23662 { (exit 1); exit 1; }; };;
23663 :[FH
]-) ac_tag
=-:-;;
23664 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23681 -) ac_f
="$tmp/stdin";;
23682 *) # Look for the file first in the build tree, then in the source tree
23683 # (if the path is not absolute). The absolute path cannot be DOS-style,
23684 # because $ac_f cannot contain `:'.
23688 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23690 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23691 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23692 { (exit 1); exit 1; }; };;
23694 ac_file_inputs
="$ac_file_inputs $ac_f"
23697 # Let's still pretend it is `configure' which instantiates (i.e., don't
23698 # use $as_me), people would be surprised to read:
23699 # /* config.h. Generated by config.status. */
23700 configure_input
="Generated from "`IFS=:
23701 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23702 if test x
"$ac_file" != x-
; then
23703 configure_input
="$ac_file. $configure_input"
23704 { echo "$as_me:$LINENO: creating $ac_file" >&5
23705 echo "$as_me: creating $ac_file" >&6;}
23709 *:-:* |
*:-) cat >"$tmp/stdin";;
23714 ac_dir
=`$as_dirname -- "$ac_file" ||
23715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23716 X"$ac_file" : 'X\(//\)[^/]' \| \
23717 X"$ac_file" : 'X\(//\)$' \| \
23718 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23724 /^X\(\/\/\)[^/].*/{
23739 -*) as_dir
=.
/$as_dir;;
23741 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23745 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23746 *) as_qdir
=$as_dir;;
23748 as_dirs
="'$as_qdir' $as_dirs"
23749 as_dir
=`$as_dirname -- "$as_dir" ||
23750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23751 X"$as_dir" : 'X\(//\)[^/]' \| \
23752 X"$as_dir" : 'X\(//\)$' \| \
23753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23759 /^X\(\/\/\)[^/].*/{
23772 test -d "$as_dir" && break
23774 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23775 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23776 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23777 { (exit 1); exit 1; }; }; }
23781 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23783 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23784 # A ".." for each directory in $ac_dir_suffix.
23785 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23786 case $ac_top_builddir_sub in
23787 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23788 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23791 ac_abs_top_builddir
=$ac_pwd
23792 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23793 # for backward compatibility:
23794 ac_top_builddir
=$ac_top_build_prefix
23797 .
) # We are building in place.
23799 ac_top_srcdir
=$ac_top_builddir_sub
23800 ac_abs_top_srcdir
=$ac_pwd ;;
23801 [\\/]* | ?
:[\\/]* ) # Absolute name.
23802 ac_srcdir
=$srcdir$ac_dir_suffix;
23803 ac_top_srcdir
=$srcdir
23804 ac_abs_top_srcdir
=$srcdir ;;
23805 *) # Relative name.
23806 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23807 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23808 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23810 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23820 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23821 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23825 cat >>$CONFIG_STATUS <<\_ACEOF
23826 # If the template does not know about datarootdir, expand it.
23827 # FIXME: This hack should be removed a few years after 2.60.
23828 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23830 case `sed -n '/datarootdir/ {
23839 ' $ac_file_inputs` in
23840 *datarootdir
*) ac_datarootdir_seen
=yes;;
23841 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23842 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23843 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23845 cat >>$CONFIG_STATUS <<_ACEOF
23846 ac_datarootdir_hack='
23847 s&@datadir@&$datadir&g
23848 s&@docdir@&$docdir&g
23849 s&@infodir@&$infodir&g
23850 s&@localedir@&$localedir&g
23851 s&@mandir@&$mandir&g
23852 s&\\\${datarootdir}&$datarootdir&g' ;;
23856 # Neutralize VPATH when `$srcdir' = `.'.
23857 # Shell code in configure.ac might set extrasub.
23858 # FIXME: do we really want to maintain this feature?
23859 cat >>$CONFIG_STATUS <<_ACEOF
23863 cat >>$CONFIG_STATUS <<\_ACEOF
23865 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23866 s
&@configure_input@
&$configure_input&;t t
23867 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23868 s
&@srcdir@
&$ac_srcdir&;t t
23869 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23870 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23871 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23872 s
&@builddir@
&$ac_builddir&;t t
23873 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23874 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23875 s
&@INSTALL@
&$ac_INSTALL&;t t
23876 $ac_datarootdir_hack
23877 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23882 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23883 which seems to be undefined. Please make sure it is defined." >&5
23884 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23885 which seems to be undefined. Please make sure it is defined." >&2;}
23889 -) cat "$tmp/out"; rm -f "$tmp/out";;
23890 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23899 # Transform confdefs.h into a sed script `conftest.defines', that
23900 # substitutes the proper values into config.h.in to produce config.h.
23901 rm -f conftest.defines conftest.
tail
23902 # First, append a space to every undef/define line, to ease matching.
23903 echo 's/$/ /' >conftest.defines
23904 # Then, protect against being on the right side of a sed subst, or in
23905 # an unquoted here document, in config.status. If some macros were
23906 # called several times there might be several #defines for the same
23907 # symbol, which is useless. But do not sort them, since the last
23908 # AC_DEFINE must be honored.
23909 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23910 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23911 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23912 # PARAMS is the parameter list in the macro definition--in most cases, it's
23913 # just an empty string.
23914 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23915 ac_dB
='\\)[ (].*,\\1define\\2'
23923 s/^[ ]*#[ ]*define[ ][ ]*//
23928 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23929 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23930 ' >>conftest.defines
23932 # Remove the space that was appended to ease matching.
23933 # Then replace #undef with comments. This is necessary, for
23934 # example, in the case of _POSIX_SOURCE, which is predefined and required
23935 # on some systems where configure will not decide to define it.
23936 # (The regexp can be short, since the line contains either #define or #undef.)
23938 s,^[ #]*u.*,/* & */,' >>conftest.defines
23940 # Break up conftest.defines:
23941 ac_max_sed_lines
=50
23943 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23944 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23945 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23947 ac_in
='$ac_file_inputs'
23948 ac_out
='"$tmp/out1"'
23949 ac_nxt
='"$tmp/out2"'
23953 # Write a here document:
23954 cat >>$CONFIG_STATUS <<_ACEOF
23955 # First, check the format of the line:
23956 cat >"\$tmp/defines.sed" <<\\CEOF
23957 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23958 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23962 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23964 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23965 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23966 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23967 grep . conftest.
tail >/dev
/null ||
break
23968 rm -f conftest.defines
23969 mv conftest.
tail conftest.defines
23971 rm -f conftest.defines conftest.
tail
23973 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23974 cat >>$CONFIG_STATUS <<\_ACEOF
23975 if test x
"$ac_file" != x-
; then
23976 echo "/* $configure_input */" >"$tmp/config.h"
23977 cat "$ac_result" >>"$tmp/config.h"
23978 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23979 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23980 echo "$as_me: $ac_file is unchanged" >&6;}
23983 mv "$tmp/config.h" $ac_file
23986 echo "/* $configure_input */"
23992 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23993 echo "$as_me: executing $ac_file commands" >&6;}
23998 case $ac_file$ac_mode in
23999 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24000 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24001 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24002 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24003 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24004 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24005 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24006 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24007 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24008 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24009 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24010 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24011 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24017 { (exit 0); exit 0; }
24019 chmod +x
$CONFIG_STATUS
24020 ac_clean_files
=$ac_clean_files_save
24023 # configure is writing to config.log, and then calls config.status.
24024 # config.status does its own redirection, appending to config.log.
24025 # Unfortunately, on DOS this fails, as config.log is still kept open
24026 # by configure, so config.status won't be able to write to it; its
24027 # output is simply discarded. So we exec the FD to /dev/null,
24028 # effectively closing config.log, so it can be properly (re)opened and
24029 # appended to by config.status. When coming back to configure, we
24030 # need to make the FD available again.
24031 if test "$no_create" != yes; then
24033 ac_config_status_args
=
24034 test "$silent" = yes &&
24035 ac_config_status_args
="$ac_config_status_args --quiet"
24037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24040 # would make configure fail if this is the last instruction.
24041 $ac_cs_success ||
{ (exit 1); exit 1; }
24045 if test "$no_create" = "yes"
24052 if test "x$wine_notices != "x
; then
24054 for msg
in $wine_notices; do
24055 if test -n "$msg"; then
24056 { echo "$as_me:$LINENO: $msg" >&5
24057 echo "$as_me: $msg" >&6;}
24061 for msg
in $wine_warnings; do
24062 if test -n "$msg"; then
24064 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24065 echo "$as_me: WARNING: $msg" >&2;}
24071 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.