2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.0.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='1.1.0'
578 PACKAGE_STRING
='Wine 1.1.0'
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
780 ac_subst_files
='MAKE_RULES
785 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
907 eval enable_
$ac_feature=no
;;
909 -docdir |
--docdir |
--docdi |
--doc |
--do)
911 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
914 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
916 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
919 -enable-* |
--enable-*)
920 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
923 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
924 { (exit 1); exit 1; }; }
925 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
926 eval enable_
$ac_feature=\
$ac_optarg ;;
928 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
929 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
930 |
--exec |
--exe |
--ex)
931 ac_prev
=exec_prefix
;;
932 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
933 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
934 |
--exec=* |
--exe=* |
--ex=*)
935 exec_prefix
=$ac_optarg ;;
937 -gas |
--gas |
--ga |
--g)
938 # Obsolete; use --with-gas.
941 -help |
--help |
--hel |
--he |
-h)
943 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
944 ac_init_help
=recursive
;;
945 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
946 ac_init_help
=short
;;
948 -host |
--host |
--hos |
--ho)
949 ac_prev
=host_alias
;;
950 -host=* |
--host=* |
--hos=* |
--ho=*)
951 host_alias
=$ac_optarg ;;
953 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
955 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
957 htmldir
=$ac_optarg ;;
959 -includedir |
--includedir |
--includedi |
--included |
--include \
960 |
--includ |
--inclu |
--incl |
--inc)
961 ac_prev
=includedir
;;
962 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
963 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
964 includedir
=$ac_optarg ;;
966 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
968 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
969 infodir
=$ac_optarg ;;
971 -libdir |
--libdir |
--libdi |
--libd)
973 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
976 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
977 |
--libexe |
--libex |
--libe)
978 ac_prev
=libexecdir
;;
979 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
980 |
--libexe=* |
--libex=* |
--libe=*)
981 libexecdir
=$ac_optarg ;;
983 -localedir |
--localedir |
--localedi |
--localed |
--locale)
985 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
986 localedir
=$ac_optarg ;;
988 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
989 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
990 ac_prev
=localstatedir
;;
991 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
992 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
993 localstatedir
=$ac_optarg ;;
995 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
997 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 -nfp |
--nfp |
--nf)
1001 # Obsolete; use --without-fp.
1004 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1005 |
--no-cr |
--no-c |
-n)
1008 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1009 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1012 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1013 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1014 |
--oldin |
--oldi |
--old |
--ol |
--o)
1015 ac_prev
=oldincludedir
;;
1016 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1017 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1018 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1019 oldincludedir
=$ac_optarg ;;
1021 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1023 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1024 prefix
=$ac_optarg ;;
1026 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1027 |
--program-pre |
--program-pr |
--program-p)
1028 ac_prev
=program_prefix
;;
1029 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1030 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1031 program_prefix
=$ac_optarg ;;
1033 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1034 |
--program-suf |
--program-su |
--program-s)
1035 ac_prev
=program_suffix
;;
1036 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1037 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1038 program_suffix
=$ac_optarg ;;
1040 -program-transform-name |
--program-transform-name \
1041 |
--program-transform-nam |
--program-transform-na \
1042 |
--program-transform-n |
--program-transform- \
1043 |
--program-transform |
--program-transfor \
1044 |
--program-transfo |
--program-transf \
1045 |
--program-trans |
--program-tran \
1046 |
--progr-tra |
--program-tr |
--program-t)
1047 ac_prev
=program_transform_name
;;
1048 -program-transform-name=* |
--program-transform-name=* \
1049 |
--program-transform-nam=* |
--program-transform-na=* \
1050 |
--program-transform-n=* |
--program-transform-=* \
1051 |
--program-transform=* |
--program-transfor=* \
1052 |
--program-transfo=* |
--program-transf=* \
1053 |
--program-trans=* |
--program-tran=* \
1054 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1055 program_transform_name
=$ac_optarg ;;
1057 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1059 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1060 pdfdir
=$ac_optarg ;;
1062 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1064 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1068 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1073 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1075 sbindir
=$ac_optarg ;;
1077 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1078 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1079 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1081 ac_prev
=sharedstatedir
;;
1082 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1083 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1084 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1086 sharedstatedir
=$ac_optarg ;;
1088 -site |
--site |
--sit)
1090 -site=* |
--site=* |
--sit=*)
1093 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1095 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1096 srcdir
=$ac_optarg ;;
1098 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1099 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1100 ac_prev
=sysconfdir
;;
1101 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1102 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1103 sysconfdir
=$ac_optarg ;;
1105 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1106 ac_prev
=target_alias
;;
1107 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1108 target_alias
=$ac_optarg ;;
1110 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1113 -version |
--version |
--versio |
--versi |
--vers |
-V)
1114 ac_init_version
=: ;;
1117 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_
$ac_package=\
$ac_optarg ;;
1125 -without-* |
--without-*)
1126 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1129 { echo "$as_me: error: invalid package name: $ac_package" >&2
1130 { (exit 1); exit 1; }; }
1131 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1132 eval with_
$ac_package=no
;;
1135 # Obsolete; use --with-x.
1138 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1139 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1140 ac_prev
=x_includes
;;
1141 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1142 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1143 x_includes
=$ac_optarg ;;
1145 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1146 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1147 ac_prev
=x_libraries
;;
1148 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1149 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1150 x_libraries
=$ac_optarg ;;
1152 -*) { echo "$as_me: error: unrecognized option: $ac_option
1153 Try \`$0 --help' for more information." >&2
1154 { (exit 1); exit 1; }; }
1158 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1162 { (exit 1); exit 1; }; }
1163 eval $ac_envvar=\
$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1170 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1177 if test -n "$ac_prev"; then
1178 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1179 { echo "$as_me: error: missing argument to $ac_option" >&2
1180 { (exit 1); exit 1; }; }
1183 # Be sure to have absolute directory names.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1191 [\\/$
]* | ?
:[\\/]* ) continue;;
1192 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1194 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1195 { (exit 1); exit 1; }; }
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target
=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x
; then
1207 if test "x$build_alias" = x
; then
1208 cross_compiling
=maybe
1209 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1219 test "$silent" = yes && exec 6>/dev
/null
1222 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di
=`ls -di .` &&
1224 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1225 { echo "$as_me: error: Working directory cannot be determined" >&2
1226 { (exit 1); exit 1; }; }
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 { echo "$as_me: error: pwd does not report name of working directory" >&2
1229 { (exit 1); exit 1; }; }
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted
=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir
=`$as_dirname -- "$0" ||
1237 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$0" : 'X\(//\)[^/]' \| \
1239 X"$0" : 'X\(//\)$' \| \
1240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted
=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1268 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1269 { (exit 1); exit 1; }; }
1271 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1274 { (exit 1); exit 1; }; }
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var
in $ac_precious_vars; do
1287 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1289 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures Wine 1.1.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1358 --x-includes=DIR X include files are
in DIR
1359 --x-libraries=DIR X library files are
in DIR
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive
) echo "Configuration of Wine 1.1.0:";;
1374 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1375 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1376 --disable-win16 do not include Win16 support
1377 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1379 --enable-maintainer-mode
1380 enable maintainer-specific build rules
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --without-alsa do not use the Alsa sound support
1386 --without-audioio do not use the AudioIO sound support
1387 --without-capi do not use CAPI (ISDN support)
1388 --without-cms do not use CMS (color management support)
1389 --without-coreaudio do not use the CoreAudio sound support
1390 --without-cups do not use CUPS
1391 --without-curses do not use (n)curses
1392 --without-esd do not use the EsounD sound support
1393 --without-fontconfig do not use fontconfig
1394 --without-freetype do not use the FreeType library
1395 --without-gphoto do not use gphoto (Digital Camera support)
1396 --without-glu do not use the GLU library
1397 --without-hal do not use HAL (dynamic device support)
1398 --without-jack do not use the Jack sound support
1399 --without-jpeg do not use JPEG
1400 --without-ldap do not use LDAP
1401 --without-nas do not use the NAS sound support
1402 --without-opengl do not use OpenGL
1403 --without-openssl do not use OpenSSL
1404 --without-oss do not use the OSS sound support
1405 --without-png do not use PNG
1406 --without-sane do not use SANE (scanner support)
1407 --without-xcomposite do not use the Xcomposite extension
1408 --without-xcursor do not use the Xcursor extension
1409 --without-xinerama do not use Xinerama (multi-monitor support)
1410 --without-xinput do not use the Xinput extension
1411 --without-xml do not use XML
1412 --without-xrandr do not use Xrandr (resolution changes)
1413 --without-xrender do not use the Xrender extension
1414 --without-xshape do not use the Xshape extension
1415 --without-xshm do not use XShm (shared memory extension)
1416 --without-xslt do not use XSLT
1417 --without-xvidmode do not use XFree video mode extension
1418 --with-wine-tools=DIR use Wine tools from directory DIR
1419 --with-x use the X Window System
1421 Some influential environment variables:
1422 CC C compiler command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425 nonstandard directory <lib dir>
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1427 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1428 you have headers in a nonstandard directory <include dir>
1429 CXX C++ compiler command
1430 CXXFLAGS C++ compiler flags
1431 XMKMF Path to xmkmf, Makefile generator for X Window System
1434 Use these variables to override the choices made by `configure' or to
help
1435 it to
find libraries and programs with nonstandard names
/locations.
1437 Report bugs to
<wine-devel@winehq.org
>.
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1445 test -d "$ac_dir" ||
continue
1449 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1451 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1456 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir
=$ac_pwd
1460 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir
=$ac_top_build_prefix
1465 .
) # We are building in place.
1467 ac_top_srcdir
=$ac_top_builddir_sub
1468 ac_abs_top_srcdir
=$ac_pwd ;;
1469 [\\/]* | ?
:[\\/]* ) # Absolute name.
1470 ac_srcdir
=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir
=$srcdir
1472 ac_abs_top_srcdir
=$srcdir ;;
1474 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1498 Wine configure
1.1.0
1499 generated by GNU Autoconf
2.61
1501 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1502 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1503 This configure
script is free software
; the Free Software Foundation
1504 gives unlimited permission to copy
, distribute and modify it.
1508 cat >config.log
<<_ACEOF
1509 This file contains any messages produced by compilers while
1510 running configure, to aid debugging if configure makes a mistake.
1512 It was created by Wine $as_me 1.1.0, which was
1513 generated by GNU Autoconf 2.61. Invocation command line was
1525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 echo "PATH: $as_dir"
1565 # Keep a trace of the command line.
1566 # Strip out --no-create and --no-recursion so they do not pile up.
1567 # Strip out --silent because we don't want to record it for future runs.
1568 # Also quote any args containing shell meta-characters.
1569 # Make two passes to allow for proper duplicate-argument suppression.
1573 ac_must_keep_next
=false
1579 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1580 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1581 |
-silent |
--silent |
--silen |
--sile |
--sil)
1584 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1587 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1589 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1590 if test $ac_must_keep_next = true
; then
1591 ac_must_keep_next
=false
# Got value, back to normal.
1594 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1595 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1596 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1597 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1598 case "$ac_configure_args0 " in
1599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1602 -* ) ac_must_keep_next
=true
;;
1605 ac_configure_args
="$ac_configure_args '$ac_arg'"
1610 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1611 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1613 # When interrupted or exit'd, cleanup temporary files, and complete
1614 # config.log. We remove comments because anyway the quotes in there
1615 # would cause problems or look ugly.
1616 # WARNING: Use '\'' to represent an apostrophe within the trap.
1617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1618 trap 'exit_status=$?
1619 # Save into config.log some information that might help in debugging.
1624 ## ---------------- ##
1625 ## Cache variables. ##
1626 ## ---------------- ##
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1636 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1637 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1640 _ | IFS | as_nl) ;; #(
1641 *) $as_unset $ac_var ;;
1646 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1647 *${as_nl}ac_space=\ *)
1649 "s/'\''/'\''\\\\'\'''\''/g;
1650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1661 ## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##
1666 for ac_var in $ac_subst_vars
1668 eval ac_val=\$$ac_var
1670 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 echo "$ac_var='\''$ac_val'\''"
1676 if test -n "$ac_subst_files"; then
1678 ## ------------------- ##
1679 ## File substitutions. ##
1680 ## ------------------- ##
1683 for ac_var
in $ac_subst_files
1685 eval ac_val
=\$
$ac_var
1687 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1689 echo "$ac_var='\''$ac_val'\''"
1694 if test -s confdefs.h; then
1704 test "$ac_signal" != 0 &&
1705 echo "$as_me: caught signal $ac_signal"
1706 echo "$as_me: exit $exit_status"
1708 rm -f core *.core core.conftest.* &&
1709 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1712 for ac_signal
in 1 2 13 15; do
1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1717 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1718 rm -f -r conftest
* confdefs.h
1720 # Predefined preprocessor variables.
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE_NAME "$PACKAGE_NAME"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1732 cat >>confdefs.h
<<_ACEOF
1733 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1737 cat >>confdefs.h
<<_ACEOF
1738 #define PACKAGE_STRING "$PACKAGE_STRING"
1742 cat >>confdefs.h
<<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1747 # Let the site file select an alternate cache file if it wants to.
1748 # Prefer explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 set x
"$CONFIG_SITE"
1751 elif test "x$prefix" != xNONE
; then
1752 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1754 set x
"$ac_default_prefix/share/config.site" \
1755 "$ac_default_prefix/etc/config.site"
1760 if test -r "$ac_site_file"; then
1761 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1762 echo "$as_me: loading site script $ac_site_file" >&6;}
1763 sed 's/^/| /' "$ac_site_file" >&5
1768 if test -r "$cache_file"; then
1769 # Some versions of bash will fail to source /dev/null (special
1770 # files actually), so we avoid doing that.
1771 if test -f "$cache_file"; then
1772 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1773 echo "$as_me: loading cache $cache_file" >&6;}
1775 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1776 *) .
"./$cache_file";;
1780 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1781 echo "$as_me: creating cache $cache_file" >&6;}
1785 # Check that the precious variables saved in the cache have kept the same
1787 ac_cache_corrupted
=false
1788 for ac_var
in $ac_precious_vars; do
1789 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1790 eval ac_new_set
=\
$ac_env_${ac_var}_set
1791 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1792 eval ac_new_val
=\
$ac_env_${ac_var}_value
1793 case $ac_old_set,$ac_new_set in
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1797 ac_cache_corrupted
=: ;;
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1801 ac_cache_corrupted
=: ;;
1804 if test "x$ac_old_val" != "x$ac_new_val"; then
1805 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1806 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1807 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1808 echo "$as_me: former value: $ac_old_val" >&2;}
1809 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1810 echo "$as_me: current value: $ac_new_val" >&2;}
1811 ac_cache_corrupted
=:
1814 # Pass precious variables to config.status.
1815 if test "$ac_new_set" = set; then
1817 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1818 *) ac_arg
=$ac_var=$ac_new_val ;;
1820 case " $ac_configure_args " in
1821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1822 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1826 if $ac_cache_corrupted; then
1827 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1828 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1829 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1830 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1831 { (exit 1); exit 1; }; }
1859 ac_cpp
='$CPP $CPPFLAGS'
1860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1866 ac_config_headers
="$ac_config_headers include/config.h"
1869 for ac_dir
in tools
"$srcdir"/tools
; do
1870 if test -f "$ac_dir/install-sh"; then
1872 ac_install_sh
="$ac_aux_dir/install-sh -c"
1874 elif test -f "$ac_dir/install.sh"; then
1876 ac_install_sh
="$ac_aux_dir/install.sh -c"
1878 elif test -f "$ac_dir/shtool"; then
1880 ac_install_sh
="$ac_aux_dir/shtool install -c"
1884 if test -z "$ac_aux_dir"; then
1885 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1886 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1901 # Check whether --enable-win16 was given.
1902 if test "${enable_win16+set}" = set; then
1903 enableval
=$enable_win16;
1906 # Check whether --enable-win64 was given.
1907 if test "${enable_win64+set}" = set; then
1908 enableval
=$enable_win64;
1911 # Check whether --enable-maintainer-mode was given.
1912 if test "${enable_maintainer_mode+set}" = set; then
1913 enableval
=$enable_maintainer_mode;
1921 # Check whether --with-alsa was given.
1922 if test "${with_alsa+set}" = set; then
1923 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1927 # Check whether --with-audioio was given.
1928 if test "${with_audioio+set}" = set; then
1929 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1933 # Check whether --with-capi was given.
1934 if test "${with_capi+set}" = set; then
1935 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1939 # Check whether --with-cms was given.
1940 if test "${with_cms+set}" = set; then
1941 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1945 # Check whether --with-coreaudio was given.
1946 if test "${with_coreaudio+set}" = set; then
1947 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1951 # Check whether --with-cups was given.
1952 if test "${with_cups+set}" = set; then
1953 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1957 # Check whether --with-curses was given.
1958 if test "${with_curses+set}" = set; then
1959 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1963 # Check whether --with-esd was given.
1964 if test "${with_esd+set}" = set; then
1969 # Check whether --with-fontconfig was given.
1970 if test "${with_fontconfig+set}" = set; then
1971 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1975 # Check whether --with-freetype was given.
1976 if test "${with_freetype+set}" = set; then
1977 withval
=$with_freetype;
1981 # Check whether --with-gphoto was given.
1982 if test "${with_gphoto+set}" = set; then
1983 withval
=$with_gphoto;
1987 # Check whether --with-glu was given.
1988 if test "${with_glu+set}" = set; then
1989 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1993 # Check whether --with-hal was given.
1994 if test "${with_hal+set}" = set; then
1999 # Check whether --with-jack was given.
2000 if test "${with_jack+set}" = set; then
2001 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2005 # Check whether --with-jpeg was given.
2006 if test "${with_jpeg+set}" = set; then
2007 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2011 # Check whether --with-ldap was given.
2012 if test "${with_ldap+set}" = set; then
2013 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2017 # Check whether --with-nas was given.
2018 if test "${with_nas+set}" = set; then
2019 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2023 # Check whether --with-opengl was given.
2024 if test "${with_opengl+set}" = set; then
2025 withval
=$with_opengl;
2029 # Check whether --with-openssl was given.
2030 if test "${with_openssl+set}" = set; then
2031 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2035 # Check whether --with-oss was given.
2036 if test "${with_oss+set}" = set; then
2037 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
2041 # Check whether --with-png was given.
2042 if test "${with_png+set}" = set; then
2043 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2047 # Check whether --with-sane was given.
2048 if test "${with_sane+set}" = set; then
2053 # Check whether --with-xcomposite was given.
2054 if test "${with_xcomposite+set}" = set; then
2055 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2059 # Check whether --with-xcursor was given.
2060 if test "${with_xcursor+set}" = set; then
2061 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2065 # Check whether --with-xinerama was given.
2066 if test "${with_xinerama+set}" = set; then
2067 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2071 # Check whether --with-xinput was given.
2072 if test "${with_xinput+set}" = set; then
2073 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2077 # Check whether --with-xml was given.
2078 if test "${with_xml+set}" = set; then
2083 # Check whether --with-xrandr was given.
2084 if test "${with_xrandr+set}" = set; then
2085 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2089 # Check whether --with-xrender was given.
2090 if test "${with_xrender+set}" = set; then
2091 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2095 # Check whether --with-xshape was given.
2096 if test "${with_xshape+set}" = set; then
2097 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2101 # Check whether --with-xshm was given.
2102 if test "${with_xshm+set}" = set; then
2103 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2107 # Check whether --with-xslt was given.
2108 if test "${with_xslt+set}" = set; then
2113 # Check whether --with-xvidmode was given.
2114 if test "${with_xvidmode+set}" = set; then
2115 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2120 # Check whether --with-wine-tools was given.
2121 if test "${with_wine_tools+set}" = set; then
2122 withval
=$with_wine_tools;
2126 # Make sure we can run config.sub.
2127 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2128 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2129 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2130 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: checking build system type" >&5
2133 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2134 if test "${ac_cv_build+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 ac_build_alias
=$build_alias
2138 test "x$ac_build_alias" = x
&&
2139 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2140 test "x$ac_build_alias" = x
&&
2141 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2142 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2143 { (exit 1); exit 1; }; }
2144 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2145 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2146 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2147 { (exit 1); exit 1; }; }
2150 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2151 echo "${ECHO_T}$ac_cv_build" >&6; }
2152 case $ac_cv_build in
2154 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2155 echo "$as_me: error: invalid value of canonical build" >&2;}
2156 { (exit 1); exit 1; }; };;
2159 ac_save_IFS
=$IFS; IFS
='-'
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2169 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2172 { echo "$as_me:$LINENO: checking host system type" >&5
2173 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2174 if test "${ac_cv_host+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test "x$host_alias" = x
; then
2178 ac_cv_host
=$ac_cv_build
2180 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2181 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2182 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2187 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2188 echo "${ECHO_T}$ac_cv_host" >&6; }
2191 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2192 echo "$as_me: error: invalid value of canonical host" >&2;}
2193 { (exit 1); exit 1; }; };;
2196 ac_save_IFS
=$IFS; IFS
='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2211 if test "x$enable_win64" != "xyes"
2213 test -n "$CC" || CC
="gcc -m32"
2214 test -n "$CXX"|| CXX
="g++ -m32"
2215 test -n "$LD" || LD
="ld -m elf_i386"
2216 test -n "$AS" || AS
="as --32"
2224 if test "x$enable_win16" != "xno"
2231 WIN16_FILES
="\$(WIN16_FILES)"
2233 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2235 if test "x$enable_win16" != "xyes"
2243 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2244 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2245 You need to run 'make distclean' in the source tree first." >&5
2246 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2247 You need to run 'make distclean' in the source tree first." >&2;}
2248 { (exit 1); exit 1; }; }
2253 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2255 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 cat >conftest.
make <<\_ACEOF
2262 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2269 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2273 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2280 SET_MAKE
="MAKE=${MAKE-make}"
2284 ac_cpp
='$CPP $CPPFLAGS'
2285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2290 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC
="$CC" # Let the user override the test.
2299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir
=.
2304 for ac_exec_ext
in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 { echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6; }
2321 { echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6; }
2327 if test -z "$ac_cv_prog_CC"; then
2329 # Extract the first word of "gcc", so it can be a program name with args.
2330 set dummy gcc
; ac_word
=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir
=.
2344 for ac_exec_ext
in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC
="gcc"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2359 echo "${ECHO_T}$ac_ct_CC" >&6; }
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2365 if test "x$ac_ct_CC" = x
; then
2368 case $cross_compiling:$ac_tool_warned in
2370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2371 whose name does not start with the host triplet. If you think this
2372 configuration is useful to you, please write to autoconf@gnu.org." >&5
2373 echo "$as_me: 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." >&2;}
2376 ac_tool_warned
=yes ;;
2384 if test -z "$CC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2387 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_CC+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 if test -n "$CC"; then
2394 ac_cv_prog_CC
="$CC" # Let the user override the test.
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 for ac_exec_ext
in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test -n "$CC"; then
2415 { echo "$as_me:$LINENO: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6; }
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2425 if test -z "$CC"; then
2426 # Extract the first word of "cc", so it can be a program name with args.
2427 set dummy cc
; ac_word
=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC
="$CC" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2445 ac_prog_rejected
=yes
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 if test $ac_prog_rejected = yes; then
2457 # We found a bogon in the path, so make sure we never use it.
2458 set dummy
$ac_cv_prog_CC
2460 if test $# != 0; then
2461 # We chose a different compiler from the bogus one.
2462 # However, it has the same basename, so the bogon will be chosen
2463 # first if we set CC to just the basename; use the full file name.
2465 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2481 if test -z "$CC"; then
2482 if test -n "$ac_tool_prefix"; then
2483 for ac_prog
in cl.exe
2485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2486 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2489 if test "${ac_cv_prog_CC+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 if test -n "$CC"; then
2493 ac_cv_prog_CC
="$CC" # Let the user override the test.
2495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir
=.
2500 for ac_exec_ext
in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test -n "$CC"; then
2514 { echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6; }
2517 { echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6; }
2522 test -n "$CC" && break
2525 if test -z "$CC"; then
2527 for ac_prog
in cl.exe
2529 # Extract the first word of "$ac_prog", so it can be a program name with args.
2530 set dummy
$ac_prog; ac_word
=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 if test -n "$ac_ct_CC"; then
2537 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir
=.
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546 ac_cv_prog_ac_ct_CC
="$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2557 if test -n "$ac_ct_CC"; then
2558 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2559 echo "${ECHO_T}$ac_ct_CC" >&6; }
2561 { echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6; }
2566 test -n "$ac_ct_CC" && break
2569 if test "x$ac_ct_CC" = x
; then
2572 case $cross_compiling:$ac_tool_warned in
2574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2575 whose name does not start with the host triplet. If you think this
2576 configuration is useful to you, please write to autoconf@gnu.org." >&5
2577 echo "$as_me: 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." >&2;}
2580 ac_tool_warned
=yes ;;
2589 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: no acceptable C compiler found in \$PATH
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2595 # Provide some information about the compiler.
2596 echo "$as_me:$LINENO: checking for C compiler version" >&5
2597 ac_compiler
=`set X $ac_compile; echo $2`
2598 { (ac_try
="$ac_compiler --version >&5"
2600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler --version >&5") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2608 { (ac_try="$ac_compiler -v >&5"
2610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2611 *) ac_try_echo
=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler -v >&5") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2618 { (ac_try
="$ac_compiler -V >&5"
2620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compiler -V >&5") 2>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }
2629 cat >conftest.$ac_ext <<_ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 ac_clean_files_save=$ac_clean_files
2645 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2646 # Try to create an executable without -o first, disregard a.out.
2647 # It will help us diagnose broken compilers, and finding out an intuition
2649 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2650 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2651 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2653 # List of possible output files, starting from the most likely.
2654 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2655 # only as a last resort. b.out is created by i960 compilers.
2656 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2658 # The IRIX 6 linker writes into existing files which may not be
2659 # executable, retaining their permissions. Remove them first so a
2660 # subsequent execution test works.
2662 for ac_file in $ac_files
2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2666 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2671 if { (ac_try="$ac_link_default"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_link_default") 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; then
2681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2682 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2683 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2684 # so that the user can short-circuit this test for compilers unknown to
2686 for ac_file
in $ac_files ''
2688 test -f "$ac_file" ||
continue
2690 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2693 # We found the default executable, but exeext='' is most
2697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2699 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2701 # We set ac_cv_exeext here because the later test for it is not
2702 # safe: cross compilers may not add the suffix if given an `-o'
2703 # argument, so we may need to know it at that point already.
2704 # Even if this section looks crufty: it has the advantage of
2711 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2717 { echo "$as_me:$LINENO: result: $ac_file" >&5
2718 echo "${ECHO_T}$ac_file" >&6; }
2719 if test -z "$ac_file"; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2723 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: C compiler cannot create executables
2726 See \`config.log' for more details." >&2;}
2727 { (exit 77); exit 77; }; }
2730 ac_exeext
=$ac_cv_exeext
2732 # Check that the compiler produces executables we can run. If not, either
2733 # the compiler is broken, or we cross compile.
2734 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2735 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2736 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2737 # If not cross compiling, check that we can run a simple program.
2738 if test "$cross_compiling" != yes; then
2739 if { ac_try
='./$ac_file'
2740 { (case "(($ac_try" in
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_try") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 if test "$cross_compiling" = maybe; then
2754 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2755 If you meant to cross compile, use \`--host'.
2756 See \`config.log' for more details.
" >&5
2757 echo "$as_me: error
: cannot run C compiled programs.
2758 If you meant to cross compile
, use \
`--host'.
2759 See \`config.log
' for more details." >&2;}
2760 { (exit 1); exit 1; }; }
2764 { echo "$as_me:$LINENO: result: yes" >&5
2765 echo "${ECHO_T}yes" >&6; }
2767 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2768 ac_clean_files=$ac_clean_files_save
2769 # Check that the compiler produces executables we can run. If not, either
2770 # the compiler is broken, or we cross compile.
2771 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2772 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2773 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2774 echo "${ECHO_T}$cross_compiling" >&6; }
2776 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2777 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2778 if { (ac_try="$ac_link"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_link") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; then
2788 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2789 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2790 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2792 for ac_file
in conftest.exe conftest conftest.
*; do
2793 test -f "$ac_file" ||
continue
2795 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2796 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2802 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2803 See \`config.log' for more details." >&5
2804 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2805 See \`config.log' for more details." >&2;}
2806 { (exit 1); exit 1; }; }
2809 rm -f conftest
$ac_cv_exeext
2810 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2811 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2813 rm -f conftest.
$ac_ext
2814 EXEEXT
=$ac_cv_exeext
2816 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2817 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2818 if test "${ac_cv_objext+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 cat >conftest.
$ac_ext <<_ACEOF
2824 cat confdefs.h
>>conftest.
$ac_ext
2825 cat >>conftest.
$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2836 rm -f conftest.o conftest.obj
2837 if { (ac_try
="$ac_compile"
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compile") 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; then
2847 for ac_file in conftest.o conftest.obj conftest.*; do
2848 test -f "$ac_file" || continue;
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2851 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2860 See \`config.log
' for more details." >&5
2861 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2862 See \`config.log' for more details.
" >&2;}
2863 { (exit 1); exit 1; }; }
2866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2868 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2869 echo "${ECHO_T}$ac_cv_objext" >&6; }
2870 OBJEXT=$ac_cv_objext
2872 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2873 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2874 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2875 echo $ECHO_N "(cached
) $ECHO_C" >&6
2877 cat >conftest.$ac_ext <<_ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (ac_try="$ac_compile"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_compile") 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2908 (exit $ac_status); } && {
2909 test -z "$ac_c_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext; then
2914 echo "$as_me: failed program was
:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2924 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2926 GCC=`test $ac_compiler_gnu = yes && echo yes`
2927 ac_test_CFLAGS=${CFLAGS+set}
2928 ac_save_CFLAGS=$CFLAGS
2929 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2930 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2931 if test "${ac_cv_prog_cc_g+set}" = set; then
2932 echo $ECHO_N "(cached
) $ECHO_C" >&6
2934 ac_save_c_werror_flag=$ac_c_werror_flag
2935 ac_c_werror_flag=yes
2938 cat >conftest.$ac_ext <<_ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2972 echo "$as_me: failed program was
:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
3000 grep -v '^ *+' conftest.er1 >conftest.err
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3010 echo "$as_me: failed program was
:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_c_werror_flag=$ac_save_c_werror_flag
3015 cat >conftest.$ac_ext <<_ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3030 rm -f conftest.$ac_objext
3031 if { (ac_try="$ac_compile"
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_compile") 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3043 (exit $ac_status); } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest.$ac_objext; then
3049 echo "$as_me: failed program was
:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 ac_c_werror_flag=$ac_save_c_werror_flag
3064 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3065 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3066 if test "$ac_test_CFLAGS" = set; then
3067 CFLAGS=$ac_save_CFLAGS
3068 elif test $ac_cv_prog_cc_g = yes; then
3069 if test "$GCC" = yes; then
3075 if test "$GCC" = yes; then
3081 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3082 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3083 if test "${ac_cv_prog_cc_c89+set}" = set; then
3084 echo $ECHO_N "(cached
) $ECHO_C" >&6
3086 ac_cv_prog_cc_c89=no
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3096 #include <sys/types.h>
3097 #include <sys/stat.h>
3098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3099 struct buf { int x; };
3100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3101 static char *e (p, i)
3107 static char *f (char * (*g) (char **, int), char **p, ...)
3112 s = g (p, va_arg (v,int));
3117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3118 function prototypes and stuff, but not '\xHH' hex character constants.
3119 These don't provoke an error unfortunately, instead are silently treated
3120 as 'x'. The following induces an error, until -std is added to get
3121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3122 array size at least. It's necessary to write '\x00'==0 to get something
3123 that's true only with -std. */
3124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3127 inside strings and character constants. */
3129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3131 int test (int i, double x);
3132 struct s1 {int (*f) (int a);};
3133 struct s2 {int (*f) (double a);};
3134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3148 CC="$ac_save_CC $ac_arg"
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compile") 2>conftest.er1
3158 grep -v '^ *+' conftest.er1 >conftest.err
3160 cat conftest.err >&5
3161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3162 (exit $ac_status); } && {
3163 test -z "$ac_c_werror_flag" ||
3164 test ! -s conftest.err
3165 } && test -s conftest.$ac_objext; then
3166 ac_cv_prog_cc_c89=$ac_arg
3168 echo "$as_me: failed program was
:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3174 rm -f core conftest.err conftest.$ac_objext
3175 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3177 rm -f conftest.$ac_ext
3182 case "x
$ac_cv_prog_cc_c89" in
3184 { echo "$as_me:$LINENO: result
: none needed
" >&5
3185 echo "${ECHO_T}none needed
" >&6; } ;;
3187 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3188 echo "${ECHO_T}unsupported
" >&6; } ;;
3190 CC="$CC $ac_cv_prog_cc_c89"
3191 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3192 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 ac_cpp='$CXXCPP $CPPFLAGS'
3204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3207 if test -z "$CXX"; then
3208 if test -n "$CCC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3218 if test "${ac_cv_prog_CXX+set}" = set; then
3219 echo $ECHO_N "(cached
) $ECHO_C" >&6
3221 if test -n "$CXX"; then
3222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$CXX"; then
3243 { echo "$as_me:$LINENO: result
: $CXX" >&5
3244 echo "${ECHO_T}$CXX" >&6; }
3246 { echo "$as_me:$LINENO: result
: no
" >&5
3247 echo "${ECHO_T}no
" >&6; }
3251 test -n "$CXX" && break
3254 if test -z "$CXX"; then
3256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3262 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3263 echo $ECHO_N "(cached
) $ECHO_C" >&6
3265 if test -n "$ac_ct_CXX"; then
3266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_ac_ct_CXX="$ac_prog"
3276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3286 if test -n "$ac_ct_CXX"; then
3287 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3288 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3290 { echo "$as_me:$LINENO: result
: no
" >&5
3291 echo "${ECHO_T}no
" >&6; }
3295 test -n "$ac_ct_CXX" && break
3298 if test "x
$ac_ct_CXX" = x; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3304 whose name does not start with the
host triplet. If you think this
3305 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3306 echo "$as_me: 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.
" >&2;}
3309 ac_tool_warned=yes ;;
3317 # Provide some information about the compiler.
3318 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3319 ac_compiler=`set X $ac_compile; echo $2`
3320 { (ac_try="$ac_compiler --version >&5"
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler --version >&5") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }
3330 { (ac_try="$ac_compiler -v >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler -v >&5") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }
3340 { (ac_try="$ac_compiler -V >&5"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compiler -V >&5") 2>&5
3348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3349 (exit $ac_status); }
3351 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3352 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3353 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3354 echo $ECHO_N "(cached
) $ECHO_C" >&6
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3383 grep -v '^ *+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_cxx_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.$ac_objext; then
3393 echo "$as_me: failed program was
:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3403 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3404 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3405 GXX=`test $ac_compiler_gnu = yes && echo yes`
3406 ac_test_CXXFLAGS=${CXXFLAGS+set}
3407 ac_save_CXXFLAGS=$CXXFLAGS
3408 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3409 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3410 if test "${ac_cv_prog_cxx_g+set}" = set; then
3411 echo $ECHO_N "(cached
) $ECHO_C" >&6
3413 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3414 ac_cxx_werror_flag=yes
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3432 rm -f conftest.$ac_objext
3433 if { (ac_try="$ac_compile"
3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3439 (eval "$ac_compile") 2>conftest.er1
3441 grep -v '^ *+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3445 (exit $ac_status); } && {
3446 test -z "$ac_cxx_werror_flag" ||
3447 test ! -s conftest.err
3448 } && test -s conftest.$ac_objext; then
3449 ac_cv_prog_cxx_g=yes
3451 echo "$as_me: failed program was
:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3455 cat >conftest.$ac_ext <<_ACEOF
3458 cat confdefs.h >>conftest.$ac_ext
3459 cat >>conftest.$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_compile") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3483 (exit $ac_status); } && {
3484 test -z "$ac_cxx_werror_flag" ||
3485 test ! -s conftest.err
3486 } && test -s conftest.$ac_objext; then
3489 echo "$as_me: failed program was
:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3509 rm -f conftest.$ac_objext
3510 if { (ac_try="$ac_compile"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_compile") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } && {
3523 test -z "$ac_cxx_werror_flag" ||
3524 test ! -s conftest.err
3525 } && test -s conftest.$ac_objext; then
3526 ac_cv_prog_cxx_g=yes
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3543 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3544 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3545 if test "$ac_test_CXXFLAGS" = set; then
3546 CXXFLAGS=$ac_save_CXXFLAGS
3547 elif test $ac_cv_prog_cxx_g = yes; then
3548 if test "$GXX" = yes; then
3554 if test "$GXX" = yes; then
3561 ac_cpp='$CPP $CPPFLAGS'
3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 if test -n "$ac_tool_prefix"; then
3567 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3569 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3571 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3572 echo $ECHO_N "(cached
) $ECHO_C" >&6
3574 if test -n "$CPPBIN"; then
3575 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3594 CPPBIN=$ac_cv_prog_CPPBIN
3595 if test -n "$CPPBIN"; then
3596 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3597 echo "${ECHO_T}$CPPBIN" >&6; }
3599 { echo "$as_me:$LINENO: result
: no
" >&5
3600 echo "${ECHO_T}no
" >&6; }
3605 if test -z "$ac_cv_prog_CPPBIN"; then
3606 ac_ct_CPPBIN=$CPPBIN
3607 # Extract the first word of "cpp
", so it can be a program name with args.
3608 set dummy cpp; ac_word=$2
3609 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3611 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3612 echo $ECHO_N "(cached
) $ECHO_C" >&6
3614 if test -n "$ac_ct_CPPBIN"; then
3615 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3624 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3625 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3634 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3635 if test -n "$ac_ct_CPPBIN"; then
3636 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3637 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3639 { echo "$as_me:$LINENO: result
: no
" >&5
3640 echo "${ECHO_T}no
" >&6; }
3643 if test "x
$ac_ct_CPPBIN" = x; then
3646 case $cross_compiling:$ac_tool_warned in
3648 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3649 whose name does not start with the
host triplet. If you think this
3650 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3651 echo "$as_me: 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.
" >&2;}
3654 ac_tool_warned=yes ;;
3656 CPPBIN=$ac_ct_CPPBIN
3659 CPPBIN="$ac_cv_prog_CPPBIN"
3663 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3664 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3665 if test "${wine_cv_toolsdir+set}" = set; then
3666 echo $ECHO_N "(cached
) $ECHO_C" >&6
3668 if test -z "$with_wine_tools"; then
3669 if test "$cross_compiling" = "yes"; then
3670 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3671 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3672 { (exit 1); exit 1; }; }
3674 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3676 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3677 case $with_wine_tools in
3678 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3679 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3682 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3683 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3684 { (exit 1); exit 1; }; }
3687 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3688 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3689 TOOLSDIR=$wine_cv_toolsdir
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3699 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3700 # On Suns, sometimes $CPP names a directory.
3701 if test -n "$CPP" && test -d "$CPP"; then
3704 if test -z "$CPP"; then
3705 if test "${ac_cv_prog_CPP+set}" = set; then
3706 echo $ECHO_N "(cached
) $ECHO_C" >&6
3708 # Double quotes because CPP needs to be expanded
3709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3712 for ac_c_preproc_warn_flag in '' yes
3714 # Use a header file that comes with gcc, so configuring glibc
3715 # with a fresh cross-compiler works.
3716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3717 # <limits.h> exists even on freestanding compilers.
3718 # On the NeXT, cc -E runs the code through the compiler's parser,
3719 # not just through cpp. "Syntax error
" is here to catch this case.
3720 cat >conftest.$ac_ext <<_ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3727 # include <limits.h>
3729 # include <assert.h>
3733 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3741 grep -v '^ *+' conftest.er1 >conftest.err
3743 cat conftest.err >&5
3744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3745 (exit $ac_status); } >/dev/null && {
3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 test ! -s conftest.err
3751 echo "$as_me: failed program was
:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 # Broken: fails on valid input.
3758 rm -f conftest.err conftest.$ac_ext
3760 # OK, works on sane cases. Now check whether nonexistent headers
3761 # can be detected and how.
3762 cat >conftest.$ac_ext <<_ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #include <ac_nonexistent.h>
3770 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3782 (exit $ac_status); } >/dev/null && {
3783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3784 test ! -s conftest.err
3786 # Broken: success on invalid input.
3789 echo "$as_me: failed program was
:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 # Passes both tests.
3797 rm -f conftest.err conftest.$ac_ext
3800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801 rm -f conftest.err conftest.$ac_ext
3802 if $ac_preproc_ok; then
3814 { echo "$as_me:$LINENO: result
: $CPP" >&5
3815 echo "${ECHO_T}$CPP" >&6; }
3817 for ac_c_preproc_warn_flag in '' yes
3819 # Use a header file that comes with gcc, so configuring glibc
3820 # with a fresh cross-compiler works.
3821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3822 # <limits.h> exists even on freestanding compilers.
3823 # On the NeXT, cc -E runs the code through the compiler's parser,
3824 # not just through cpp. "Syntax error
" is here to catch this case.
3825 cat >conftest.$ac_ext <<_ACEOF
3828 cat confdefs.h >>conftest.$ac_ext
3829 cat >>conftest.$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3832 # include <limits.h>
3834 # include <assert.h>
3838 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3846 grep -v '^ *+' conftest.er1 >conftest.err
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3850 (exit $ac_status); } >/dev/null && {
3851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3856 echo "$as_me: failed program was
:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 # Broken: fails on valid input.
3863 rm -f conftest.err conftest.$ac_ext
3865 # OK, works on sane cases. Now check whether nonexistent headers
3866 # can be detected and how.
3867 cat >conftest.$ac_ext <<_ACEOF
3870 cat confdefs.h >>conftest.$ac_ext
3871 cat >>conftest.$ac_ext <<_ACEOF
3872 /* end confdefs.h. */
3873 #include <ac_nonexistent.h>
3875 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3881 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3883 grep -v '^ *+' conftest.er1 >conftest.err
3885 cat conftest.err >&5
3886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3887 (exit $ac_status); } >/dev/null && {
3888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3889 test ! -s conftest.err
3891 # Broken: success on invalid input.
3894 echo "$as_me: failed program was
:" >&5
3895 sed 's/^/| /' conftest.$ac_ext >&5
3897 # Passes both tests.
3902 rm -f conftest.err conftest.$ac_ext
3905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906 rm -f conftest.err conftest.$ac_ext
3907 if $ac_preproc_ok; then
3910 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3911 See \
`config.log' for more details." >&5
3912 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3913 See \`config.log
' for more details." >&2;}
3914 { (exit 1); exit 1; }; }
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3920 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 { echo "$as_me:$LINENO: checking for X" >&5
3925 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3928 # Check whether --with-x was given.
3929 if test "${with_x+set}" = set; then
3933 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3934 if test "x$with_x" = xno; then
3935 # The user explicitly disabled X.
3938 case $x_includes,$x_libraries in #(
3939 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3940 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3941 { (exit 1); exit 1; }; };; #(
3942 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 # One or both of the vars are not set, and there is no cached value.
3946 ac_x_includes=no ac_x_libraries=no
3947 rm -f -r conftest.dir
3948 if mkdir conftest.dir; then
3950 cat >Imakefile <<'_ACEOF'
3952 @echo incroot='${INCROOT}'
3954 @echo usrlibdir='${USRLIBDIR}'
3956 @echo libdir='${LIBDIR}'
3958 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3960 for ac_var in incroot usrlibdir libdir; do
3961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3964 for ac_extension in a so sl; do
3965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3967 ac_im_usrlibdir=$ac_im_libdir; break
3970 # Screen out bogus values from the imake configuration. They are
3971 # bogus both because they are the default anyway, and because
3972 # using them would break gcc on systems where it needs fixed includes.
3973 case $ac_im_incroot in
3974 /usr/include) ac_x_includes= ;;
3975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3977 case $ac_im_usrlibdir in
3979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3983 rm -f -r conftest.dir
3986 # Standard set of common directories for X headers.
3987 # Check X11 before X11Rn because it is often a symlink to the current release.
3999 /usr
/local
/X11
/include
4000 /usr
/local
/X11R
6/include
4001 /usr
/local
/X11R
5/include
4002 /usr
/local
/X11R
4/include
4004 /usr
/local
/include
/X11
4005 /usr
/local
/include
/X11R6
4006 /usr
/local
/include
/X11R5
4007 /usr
/local
/include
/X11R4
4011 /usr
/XFree86
/include
/X11
4015 /usr
/unsupported
/include
4017 /usr
/local
/x11r
5/include
4018 /usr
/lpp
/Xamples
/include
4020 /usr
/openwin
/include
4021 /usr
/openwin
/share
/include
'
4023 if test "$ac_x_includes" = no; then
4024 # Guess where to find include files, by looking for Xlib.h.
4025 # First, try using that file with no special directory specified.
4026 cat >conftest.$ac_ext <<_ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4032 #include <X11/Xlib.h>
4034 if { (ac_try="$ac_cpp conftest.$ac_ext"
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 grep -v '^
*+' conftest.er1 >conftest.err
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } >/dev/null && {
4047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4048 test ! -s conftest.err
4050 # We can compile using X headers with no special include directory.
4053 echo "$as_me: failed program was:" >&5
4054 sed 's
/^
/|
/' conftest.$ac_ext >&5
4056 for ac_dir in $ac_x_header_dirs; do
4057 if test -r "$ac_dir/X11/Xlib.h"; then
4058 ac_x_includes=$ac_dir
4064 rm -f conftest.err conftest.$ac_ext
4065 fi # $ac_x_includes = no
4067 if test "$ac_x_libraries" = no; then
4068 # Check for the libraries.
4069 # See if we find them without any special options.
4070 # Don't add to
$LIBS permanently.
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <X11/Xlib.h>
4088 rm -f conftest.
$ac_objext conftest
$ac_exeext
4089 if { (ac_try
="$ac_link"
4091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_link") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } && {
4102 test -z "$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4104 } && test -s conftest$ac_exeext &&
4105 $as_test_x conftest$ac_exeext; then
4107 # We can link X programs with no special library path.
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4114 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4116 # Don't even attempt the hair of trying to link an X program!
4117 for ac_extension in a so sl; do
4118 if test -r "$ac_dir/libX11.$ac_extension"; then
4119 ac_x_libraries=$ac_dir
4126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4127 conftest$ac_exeext conftest.$ac_ext
4128 fi # $ac_x_libraries = no
4130 case $ac_x_includes,$ac_x_libraries in #(
4132 # Didn't find X, or a directory has "'" in its name.
4133 ac_cv_have_x="have_x=no";; #(
4135 # Record where we found X for the cache.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$ac_x_includes'\
4138 ac_x_libraries='$ac_x_libraries'"
4144 eval "$ac_cv_have_x"
4147 if test "$have_x" != yes; then
4148 { echo "$as_me:$LINENO: result: $have_x" >&5
4149 echo "${ECHO_T}$have_x" >&6; }
4152 # If each of the values was on the command line, it overrides each guess.
4153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4155 # Update the cache value to reflect the command line values.
4156 ac_cv_have_x="have_x=yes\
4157 ac_x_includes='$x_includes'\
4158 ac_x_libraries='$x_libraries'"
4159 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4160 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4163 if test "$no_x" = yes; then
4164 # Not all programs may use this symbol, but it does not hurt to define it.
4166 cat >>confdefs.h <<\_ACEOF
4167 #define X_DISPLAY_MISSING 1
4170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4172 if test -n "$x_includes"; then
4173 X_CFLAGS="$X_CFLAGS -I$x_includes"
4176 # It would also be nice to do this for all -L options, not just this one.
4177 if test -n "$x_libraries"; then
4178 X_LIBS="$X_LIBS -L$x_libraries"
4179 # For Solaris; some versions of Sun CC require a space after -R and
4180 # others require no space. Words are not sufficient . . . .
4181 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4182 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4184 ac_xsave_c_werror_flag=$ac_c_werror_flag
4185 ac_c_werror_flag=yes
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4205 *) ac_try_echo
=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1
>conftest.err
4212 cat conftest.err
>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest
$ac_exeext &&
4218 $as_test_x conftest
$ac_exeext; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 X_LIBS
="$X_LIBS -R$x_libraries"
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4226 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4227 cat >conftest.
$ac_ext <<_ACEOF
4230 cat confdefs.h
>>conftest.
$ac_ext
4231 cat >>conftest.
$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (ac_try
="$ac_link"
4245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_link") 2>conftest.er1
4251 grep -v '^ *+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } && {
4256 test -z "$ac_c_werror_flag" ||
4257 test ! -s conftest.err
4258 } && test -s conftest$ac_exeext &&
4259 $as_test_x conftest$ac_exeext; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4262 X_LIBS="$X_LIBS -R $x_libraries"
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 { echo "$as_me:$LINENO: result: neither works" >&5
4268 echo "${ECHO_T}neither works" >&6; }
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4276 conftest$ac_exeext conftest.$ac_ext
4277 ac_c_werror_flag=$ac_xsave_c_werror_flag
4281 # Check for system-dependent libraries X programs must link with.
4282 # Do this before checking for the system-independent R6 libraries
4283 # (-lICE), since we may need -lsocket or whatever for X linking.
4285 if test "$ISC" = yes; then
4286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4288 # Martyn Johnson says this is needed for Ultrix, if the X
4289 # libraries were built with DECnet support. And Karl Berry says
4290 # the Alpha needs dnet_stub (dnet does not exist).
4291 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4292 cat >conftest.$ac_ext <<_ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4299 /* Override any GCC internal prototype to avoid an error.
4300 Use char because int might match the return type of a GCC
4301 builtin and then its argument prototype would still apply. */
4305 char XOpenDisplay ();
4309 return XOpenDisplay ();
4314 rm -f conftest.$ac_objext conftest$ac_exeext
4315 if { (ac_try="$ac_link"
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_link") 2>conftest.er1
4323 grep -v '^ *+' conftest.er1
>conftest.err
4325 cat conftest.err
>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && {
4328 test -z "$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4330 } && test -s conftest
$ac_exeext &&
4331 $as_test_x conftest
$ac_exeext; then
4334 echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.
$ac_ext >&5
4337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4338 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 ac_check_lib_save_LIBS
=$LIBS
4344 cat >conftest.
$ac_ext <<_ACEOF
4347 cat confdefs.h
>>conftest.
$ac_ext
4348 cat >>conftest.
$ac_ext <<_ACEOF
4349 /* end confdefs.h. */
4351 /* Override any GCC internal prototype to avoid an error.
4352 Use char because int might match the return type of a GCC
4353 builtin and then its argument prototype would still apply. */
4361 return dnet_ntoa ();
4366 rm -f conftest.
$ac_objext conftest
$ac_exeext
4367 if { (ac_try
="$ac_link"
4369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_link") 2>conftest.er1
4375 grep -v '^ *+' conftest.er1 >conftest.err
4377 cat conftest.err >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } && {
4380 test -z "$ac_c_werror_flag" ||
4381 test ! -s conftest.err
4382 } && test -s conftest$ac_exeext &&
4383 $as_test_x conftest$ac_exeext; then
4384 ac_cv_lib_dnet_dnet_ntoa=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_cv_lib_dnet_dnet_ntoa=no
4392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4393 conftest$ac_exeext conftest.$ac_ext
4394 LIBS=$ac_check_lib_save_LIBS
4396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-ldnet_stub $LIBS"
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 /* Override any GCC internal prototype to avoid an error.
4418 Use char because int might match the return type of a GCC
4419 builtin and then its argument prototype would still apply. */
4427 return dnet_ntoa ();
4432 rm -f conftest.$ac_objext conftest$ac_exeext
4433 if { (ac_try="$ac_link"
4435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4436 *) ac_try_echo
=$ac_try;;
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_link") 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } && {
4446 test -z "$ac_c_werror_flag" ||
4447 test ! -s conftest.err
4448 } && test -s conftest
$ac_exeext &&
4449 $as_test_x conftest
$ac_exeext; then
4450 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.
$ac_ext >&5
4455 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4459 conftest
$ac_exeext conftest.
$ac_ext
4460 LIBS
=$ac_check_lib_save_LIBS
4462 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4463 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4464 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4472 conftest
$ac_exeext conftest.
$ac_ext
4473 LIBS
="$ac_xsave_LIBS"
4475 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4476 # to get the SysV transport functions.
4477 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4479 # The nsl library prevents programs from opening the X display
4480 # on Irix 5.2, according to T.E. Dickey.
4481 # The functions gethostbyname, getservbyname, and inet_addr are
4482 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4483 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4484 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_gethostbyname+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define gethostbyname innocuous_gethostbyname
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char gethostbyname (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4509 #undef gethostbyname
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4517 char gethostbyname ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4528 return gethostbyname ();
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (ac_try
="$ac_link"
4536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_gethostbyname=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_gethostbyname=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4565 if test $ac_cv_func_gethostbyname = no; then
4566 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS=$LIBS
4573 cat >conftest.$ac_ext <<_ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4586 char gethostbyname ();
4590 return gethostbyname ();
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4599 *) ac_try_echo
=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1
>conftest.err
4606 cat conftest.err
>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest
$ac_exeext &&
4612 $as_test_x conftest
$ac_exeext; then
4613 ac_cv_lib_nsl_gethostbyname
=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.
$ac_ext >&5
4618 ac_cv_lib_nsl_gethostbyname
=no
4621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4622 conftest
$ac_exeext conftest.
$ac_ext
4623 LIBS
=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4626 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4627 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4631 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4632 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4633 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 ac_check_lib_save_LIBS
=$LIBS
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4646 /* Override any GCC internal prototype to avoid an error.
4647 Use char because int might match the return type of a GCC
4648 builtin and then its argument prototype would still apply. */
4652 char gethostbyname ();
4656 return gethostbyname ();
4661 rm -f conftest.
$ac_objext conftest
$ac_exeext
4662 if { (ac_try
="$ac_link"
4664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4668 (eval "$ac_link") 2>conftest.er1
4670 grep -v '^ *+' conftest.er1 >conftest.err
4672 cat conftest.err >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } && {
4675 test -z "$ac_c_werror_flag" ||
4676 test ! -s conftest.err
4677 } && test -s conftest$ac_exeext &&
4678 $as_test_x conftest$ac_exeext; then
4679 ac_cv_lib_bsd_gethostbyname=yes
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4684 ac_cv_lib_bsd_gethostbyname=no
4687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4688 conftest$ac_exeext conftest.$ac_ext
4689 LIBS=$ac_check_lib_save_LIBS
4691 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4692 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4693 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4694 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4700 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4701 # socket/setsockopt and other routines are undefined under SCO ODT
4702 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4703 # on later versions), says Simon Leinen: it contains gethostby*
4704 # variants that don't use the name server (or something). -lsocket
4705 # must be given before -lnsl if both are needed. We assume that
4706 # if connect needs -lnsl, so does gethostbyname.
4707 { echo "$as_me:$LINENO: checking for connect" >&5
4708 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4709 if test "${ac_cv_func_connect+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4720 #define connect innocuous_connect
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char connect (); below.
4724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4725 <limits.h> exists even on freestanding compilers. */
4728 # include <limits.h>
4730 # include <assert.h>
4735 /* Override any GCC internal prototype to avoid an error.
4736 Use char because int might match the return type of a GCC
4737 builtin and then its argument prototype would still apply. */
4742 /* The GNU C library defines this for functions which it implements
4743 to always fail with ENOSYS. Some functions are actually named
4744 something starting with __ and the normal name is an alias. */
4745 #if defined __stub_connect || defined __stub___connect
4757 rm -f conftest.$ac_objext conftest$ac_exeext
4758 if { (ac_try="$ac_link"
4760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4761 *) ac_try_echo
=$ac_try;;
4763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_link") 2>conftest.er1
4766 grep -v '^ *+' conftest.er1
>conftest.err
4768 cat conftest.err
>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } && {
4771 test -z "$ac_c_werror_flag" ||
4772 test ! -s conftest.err
4773 } && test -s conftest
$ac_exeext &&
4774 $as_test_x conftest
$ac_exeext; then
4775 ac_cv_func_connect
=yes
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.
$ac_ext >&5
4780 ac_cv_func_connect
=no
4783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4784 conftest
$ac_exeext conftest.
$ac_ext
4786 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4787 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4789 if test $ac_cv_func_connect = no
; then
4790 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4791 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4792 if test "${ac_cv_lib_socket_connect+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 ac_check_lib_save_LIBS
=$LIBS
4796 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4797 cat >conftest.
$ac_ext <<_ACEOF
4800 cat confdefs.h
>>conftest.
$ac_ext
4801 cat >>conftest.
$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4804 /* Override any GCC internal prototype to avoid an error.
4805 Use char because int might match the return type of a GCC
4806 builtin and then its argument prototype would still apply. */
4819 rm -f conftest.
$ac_objext conftest
$ac_exeext
4820 if { (ac_try
="$ac_link"
4822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_link") 2>conftest.er1
4828 grep -v '^ *+' conftest.er1 >conftest.err
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest$ac_exeext &&
4836 $as_test_x conftest$ac_exeext; then
4837 ac_cv_lib_socket_connect=yes
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_cv_lib_socket_connect=no
4845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4846 conftest$ac_exeext conftest.$ac_ext
4847 LIBS=$ac_check_lib_save_LIBS
4849 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4850 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4851 if test $ac_cv_lib_socket_connect = yes; then
4852 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4857 # Guillermo Gomez says -lposix is necessary on A/UX.
4858 { echo "$as_me:$LINENO: checking for remove" >&5
4859 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4860 if test "${ac_cv_func_remove+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 cat >conftest.$ac_ext <<_ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4871 #define remove innocuous_remove
4873 /* System header to define __stub macros and hopefully few prototypes,
4874 which can conflict with char remove (); below.
4875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4876 <limits.h> exists even on freestanding compilers. */
4879 # include <limits.h>
4881 # include <assert.h>
4886 /* Override any GCC internal prototype to avoid an error.
4887 Use char because int might match the return type of a GCC
4888 builtin and then its argument prototype would still apply. */
4893 /* The GNU C library defines this for functions which it implements
4894 to always fail with ENOSYS. Some functions are actually named
4895 something starting with __ and the normal name is an alias. */
4896 #if defined __stub_remove || defined __stub___remove
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4912 *) ac_try_echo
=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && {
4922 test -z "$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4924 } && test -s conftest
$ac_exeext &&
4925 $as_test_x conftest
$ac_exeext; then
4926 ac_cv_func_remove
=yes
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 ac_cv_func_remove
=no
4934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4935 conftest
$ac_exeext conftest.
$ac_ext
4937 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4938 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4940 if test $ac_cv_func_remove = no
; then
4941 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4943 if test "${ac_cv_lib_posix_remove+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 ac_check_lib_save_LIBS
=$LIBS
4947 LIBS
="-lposix $LIBS"
4948 cat >conftest.
$ac_ext <<_ACEOF
4951 cat confdefs.h
>>conftest.
$ac_ext
4952 cat >>conftest.
$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4955 /* Override any GCC internal prototype to avoid an error.
4956 Use char because int might match the return type of a GCC
4957 builtin and then its argument prototype would still apply. */
4970 rm -f conftest.
$ac_objext conftest
$ac_exeext
4971 if { (ac_try
="$ac_link"
4973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977 (eval "$ac_link") 2>conftest.er1
4979 grep -v '^ *+' conftest.er1 >conftest.err
4981 cat conftest.err >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } && {
4984 test -z "$ac_c_werror_flag" ||
4985 test ! -s conftest.err
4986 } && test -s conftest$ac_exeext &&
4987 $as_test_x conftest$ac_exeext; then
4988 ac_cv_lib_posix_remove=yes
4990 echo "$as_me: failed program was:" >&5
4991 sed 's/^/| /' conftest.$ac_ext >&5
4993 ac_cv_lib_posix_remove=no
4996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4997 conftest$ac_exeext conftest.$ac_ext
4998 LIBS=$ac_check_lib_save_LIBS
5000 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5001 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5002 if test $ac_cv_lib_posix_remove = yes; then
5003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5008 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5009 { echo "$as_me:$LINENO: checking for shmat" >&5
5010 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5011 if test "${ac_cv_func_shmat+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 cat >conftest.$ac_ext <<_ACEOF
5017 cat confdefs.h >>conftest.$ac_ext
5018 cat >>conftest.$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5022 #define shmat innocuous_shmat
5024 /* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char shmat (); below.
5026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 <limits.h> exists even on freestanding compilers. */
5030 # include <limits.h>
5032 # include <assert.h>
5037 /* Override any GCC internal prototype to avoid an error.
5038 Use char because int might match the return type of a GCC
5039 builtin and then its argument prototype would still apply. */
5044 /* The GNU C library defines this for functions which it implements
5045 to always fail with ENOSYS. Some functions are actually named
5046 something starting with __ and the normal name is an alias. */
5047 #if defined __stub_shmat || defined __stub___shmat
5059 rm -f conftest.$ac_objext conftest$ac_exeext
5060 if { (ac_try="$ac_link"
5062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5063 *) ac_try_echo
=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_link") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest
$ac_exeext &&
5076 $as_test_x conftest
$ac_exeext; then
5077 ac_cv_func_shmat
=yes
5079 echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.
$ac_ext >&5
5085 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5086 conftest
$ac_exeext conftest.
$ac_ext
5088 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5089 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5091 if test $ac_cv_func_shmat = no
; then
5092 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5093 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5094 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 ac_check_lib_save_LIBS
=$LIBS
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 /* Override any GCC internal prototype to avoid an error.
5107 Use char because int might match the return type of a GCC
5108 builtin and then its argument prototype would still apply. */
5121 rm -f conftest.
$ac_objext conftest
$ac_exeext
5122 if { (ac_try
="$ac_link"
5124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5128 (eval "$ac_link") 2>conftest.er1
5130 grep -v '^ *+' conftest.er1 >conftest.err
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } && {
5135 test -z "$ac_c_werror_flag" ||
5136 test ! -s conftest.err
5137 } && test -s conftest$ac_exeext &&
5138 $as_test_x conftest$ac_exeext; then
5139 ac_cv_lib_ipc_shmat=yes
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 ac_cv_lib_ipc_shmat=no
5147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5148 conftest$ac_exeext conftest.$ac_ext
5149 LIBS=$ac_check_lib_save_LIBS
5151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5152 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5153 if test $ac_cv_lib_ipc_shmat = yes; then
5154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5160 # Check for libraries that X11R6 Xt/Xaw programs need.
5161 ac_save_LDFLAGS=$LDFLAGS
5162 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5163 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5164 # check for ICE first), but we must link in the order -lSM -lICE or
5165 # we get undefined symbols. So assume we have SM if we have ICE.
5166 # These have to be linked with before -lX11, unlike the other
5167 # libraries we check for below, so use a different variable.
5168 # John Interrante, Karl Berry
5169 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5170 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5171 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 ac_check_lib_save_LIBS=$LIBS
5175 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5183 /* Override any GCC internal prototype to avoid an error.
5184 Use char because int might match the return type of a GCC
5185 builtin and then its argument prototype would still apply. */
5189 char IceConnectionNumber ();
5193 return IceConnectionNumber ();
5198 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (ac_try="$ac_link"
5201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5202 *) ac_try_echo
=$ac_try;;
5204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5205 (eval "$ac_link") 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } && {
5212 test -z "$ac_c_werror_flag" ||
5213 test ! -s conftest.err
5214 } && test -s conftest
$ac_exeext &&
5215 $as_test_x conftest
$ac_exeext; then
5216 ac_cv_lib_ICE_IceConnectionNumber
=yes
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5221 ac_cv_lib_ICE_IceConnectionNumber
=no
5224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5225 conftest
$ac_exeext conftest.
$ac_ext
5226 LIBS
=$ac_check_lib_save_LIBS
5228 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5229 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5230 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5231 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5234 LDFLAGS
=$ac_save_LDFLAGS
5241 # Extract the first word of "$ac_prog", so it can be a program name with args.
5242 set dummy
$ac_prog; ac_word
=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_FLEX+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$FLEX"; then
5249 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_FLEX
="$ac_prog"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 FLEX
=$ac_cv_prog_FLEX
5269 if test -n "$FLEX"; then
5270 { echo "$as_me:$LINENO: result: $FLEX" >&5
5271 echo "${ECHO_T}$FLEX" >&6; }
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5278 test -n "$FLEX" && break
5280 test -n "$FLEX" || FLEX
="none"
5282 if test "$FLEX" = "none"
5284 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5285 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5286 { (exit 1); exit 1; }; }
5289 for ac_prog
in bison
5291 # Extract the first word of "$ac_prog", so it can be a program name with args.
5292 set dummy
$ac_prog; ac_word
=$2
5293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5295 if test "${ac_cv_prog_BISON+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 if test -n "$BISON"; then
5299 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_BISON
="$ac_prog"
5309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 BISON
=$ac_cv_prog_BISON
5319 if test -n "$BISON"; then
5320 { echo "$as_me:$LINENO: result: $BISON" >&5
5321 echo "${ECHO_T}$BISON" >&6; }
5323 { echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6; }
5328 test -n "$BISON" && break
5330 test -n "$BISON" || BISON
="none"
5332 if test "$BISON" = "none"
5334 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5335 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5336 { (exit 1); exit 1; }; }
5339 if test -n "$ac_tool_prefix"; then
5340 for ac_prog
in gas as
5342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5343 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5346 if test "${ac_cv_prog_AS+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 if test -n "$AS"; then
5350 ac_cv_prog_AS
="$AS" # Let the user override the test.
5352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir
=.
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 if test -n "$AS"; then
5371 { echo "$as_me:$LINENO: result: $AS" >&5
5372 echo "${ECHO_T}$AS" >&6; }
5374 { echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6; }
5379 test -n "$AS" && break
5382 if test -z "$AS"; then
5384 for ac_prog
in gas as
5386 # Extract the first word of "$ac_prog", so it can be a program name with args.
5387 set dummy
$ac_prog; ac_word
=$2
5388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5390 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 if test -n "$ac_ct_AS"; then
5394 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_ac_ct_AS
="$ac_prog"
5404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5414 if test -n "$ac_ct_AS"; then
5415 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5416 echo "${ECHO_T}$ac_ct_AS" >&6; }
5418 { echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6; }
5423 test -n "$ac_ct_AS" && break
5426 if test "x$ac_ct_AS" = x
; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5432 whose name does not start with the host triplet. If you think this
5433 configuration is useful to you, please write to autoconf@gnu.org." >&5
5434 echo "$as_me: 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." >&2;}
5437 ac_tool_warned
=yes ;;
5443 if test -n "$ac_tool_prefix"; then
5444 for ac_prog
in ld gld
5446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5447 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5450 if test "${ac_cv_prog_LD+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 if test -n "$LD"; then
5454 ac_cv_prog_LD
="$LD" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_LD
="$ac_tool_prefix$ac_prog"
5464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 if test -n "$LD"; then
5475 { echo "$as_me:$LINENO: result: $LD" >&5
5476 echo "${ECHO_T}$LD" >&6; }
5478 { echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6; }
5483 test -n "$LD" && break
5486 if test -z "$LD"; then
5488 for ac_prog
in ld gld
5490 # Extract the first word of "$ac_prog", so it can be a program name with args.
5491 set dummy
$ac_prog; ac_word
=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$ac_ct_LD"; then
5498 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_exec_ext
in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_ac_ct_LD
="$ac_prog"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5518 if test -n "$ac_ct_LD"; then
5519 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5520 echo "${ECHO_T}$ac_ct_LD" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5527 test -n "$ac_ct_LD" && break
5530 if test "x$ac_ct_LD" = x
; then
5533 case $cross_compiling:$ac_tool_warned in
5535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5536 whose name does not start with the host triplet. If you think this
5537 configuration is useful to you, please write to autoconf@gnu.org." >&5
5538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5539 whose name does not start with the host triplet. If you think this
5540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5541 ac_tool_warned
=yes ;;
5547 if test -n "$ac_tool_prefix"; then
5548 for ac_prog
in nm gnm
5550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_NM+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 if test -n "$NM"; then
5558 ac_cv_prog_NM
="$NM" # Let the user override the test.
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_exec_ext
in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_NM
="$ac_tool_prefix$ac_prog"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 if test -n "$NM"; then
5579 { echo "$as_me:$LINENO: result: $NM" >&5
5580 echo "${ECHO_T}$NM" >&6; }
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5587 test -n "$NM" && break
5590 if test -z "$NM"; then
5592 for ac_prog
in nm gnm
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5598 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$ac_ct_NM"; then
5602 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5611 ac_cv_prog_ac_ct_NM
="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5622 if test -n "$ac_ct_NM"; then
5623 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5624 echo "${ECHO_T}$ac_ct_NM" >&6; }
5626 { echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6; }
5631 test -n "$ac_ct_NM" && break
5634 if test "x$ac_ct_NM" = x
; then
5637 case $cross_compiling:$ac_tool_warned in
5639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5640 whose name does not start with the host triplet. If you think this
5641 configuration is useful to you, please write to autoconf@gnu.org." >&5
5642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5643 whose name does not start with the host triplet. If you think this
5644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5645 ac_tool_warned
=yes ;;
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog
in ar gar
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5658 if test "${ac_cv_prog_AR+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 if test -n "$AR"; then
5662 ac_cv_prog_AR
="$AR" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5671 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 if test -n "$AR"; then
5683 { echo "$as_me:$LINENO: result: $AR" >&5
5684 echo "${ECHO_T}$AR" >&6; }
5686 { echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6; }
5691 test -n "$AR" && break
5694 if test -z "$AR"; then
5696 for ac_prog
in ar gar
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy
$ac_prog; ac_word
=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$ac_ct_AR"; then
5706 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_ac_ct_AR
="$ac_prog"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5726 if test -n "$ac_ct_AR"; then
5727 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5728 echo "${ECHO_T}$ac_ct_AR" >&6; }
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5735 test -n "$ac_ct_AR" && break
5738 if test "x$ac_ct_AR" = x
; then
5741 case $cross_compiling:$ac_tool_warned in
5743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5744 whose name does not start with the host triplet. If you think this
5745 configuration is useful to you, please write to autoconf@gnu.org." >&5
5746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5747 whose name does not start with the host triplet. If you think this
5748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5749 ac_tool_warned
=yes ;;
5757 if test -n "$ac_tool_prefix"; then
5758 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5759 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5762 if test "${ac_cv_prog_RANLIB+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$RANLIB"; then
5766 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 RANLIB
=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5788 echo "${ECHO_T}$RANLIB" >&6; }
5790 { echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6; }
5796 if test -z "$ac_cv_prog_RANLIB"; then
5797 ac_ct_RANLIB
=$RANLIB
5798 # Extract the first word of "ranlib", so it can be a program name with args.
5799 set dummy ranlib
; ac_word
=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$ac_ct_RANLIB"; then
5806 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir
=.
5813 for ac_exec_ext
in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5826 if test -n "$ac_ct_RANLIB"; then
5827 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5828 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5834 if test "x$ac_ct_RANLIB" = x
; then
5837 case $cross_compiling:$ac_tool_warned in
5839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5840 whose name does not start with the host triplet. If you think this
5841 configuration is useful to you, please write to autoconf@gnu.org." >&5
5842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5843 whose name does not start with the host triplet. If you think this
5844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5845 ac_tool_warned
=yes ;;
5847 RANLIB
=$ac_ct_RANLIB
5850 RANLIB
="$ac_cv_prog_RANLIB"
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5858 if test "${ac_cv_prog_STRIP+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 if test -n "$STRIP"; then
5862 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir
=.
5869 for ac_exec_ext
in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 STRIP
=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 { echo "$as_me:$LINENO: result: $STRIP" >&5
5884 echo "${ECHO_T}$STRIP" >&6; }
5886 { echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6; }
5892 if test -z "$ac_cv_prog_STRIP"; then
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip
; ac_word
=$2
5896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir
=.
5909 for ac_exec_ext
in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_ac_ct_STRIP
="strip"
5912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5926 { echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6; }
5930 if test "x$ac_ct_STRIP" = x
; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned
=yes ;;
5946 STRIP
="$ac_cv_prog_STRIP"
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5951 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_WINDRES+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$WINDRES"; then
5958 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 WINDRES
=$ac_cv_prog_WINDRES
5978 if test -n "$WINDRES"; then
5979 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5980 echo "${ECHO_T}$WINDRES" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_WINDRES"; then
5989 ac_ct_WINDRES
=$WINDRES
5990 # Extract the first word of "windres", so it can be a program name with args.
5991 set dummy windres
; ac_word
=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_WINDRES"; then
5998 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_WINDRES
="windres"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6018 if test -n "$ac_ct_WINDRES"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6020 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_WINDRES" = x
; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned
=yes ;;
6039 WINDRES
=$ac_ct_WINDRES
6042 WINDRES
="$ac_cv_prog_WINDRES"
6045 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6046 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6048 if test "$LN_S" = "ln -s"; then
6049 { echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6; }
6052 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6053 echo "${ECHO_T}no, using $LN_S" >&6; }
6056 { echo "$as_me:$LINENO: checking whether ln works" >&5
6057 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6058 rm -f conf$$ conf$$.
file
6060 if ln conf$$.
file conf$$
2>/dev
/null
; then
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6068 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6069 echo "${ECHO_T}no, using $LN" >&6; }
6071 rm -f conf$$ conf$$.
file
6072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6074 if test "${ac_cv_path_GREP+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 # Extract the first word of "grep ggrep" to use in msg output
6078 if test -z "$GREP"; then
6079 set dummy
grep ggrep
; ac_prog_name
=$2
6080 if test "${ac_cv_path_GREP+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 ac_path_GREP_found
=false
6084 # Loop through the user's path and test for each of PROGNAME-LIST
6085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6089 test -z "$as_dir" && as_dir
=.
6090 for ac_prog
in grep ggrep
; do
6091 for ac_exec_ext
in '' $ac_executable_extensions; do
6092 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6094 # Check for GNU ac_path_GREP and select it if it is found.
6095 # Check for GNU $ac_path_GREP
6096 case `"$ac_path_GREP" --version 2>&1` in
6098 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6104 cat "conftest.in" "conftest.in" >"conftest.tmp"
6105 mv "conftest.tmp" "conftest.in"
6106 cp "conftest.in" "conftest.nl"
6107 echo 'GREP' >> "conftest.nl"
6108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6110 ac_count
=`expr $ac_count + 1`
6111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6112 # Best one so far, save it but keep looking for a better one
6113 ac_cv_path_GREP
="$ac_path_GREP"
6114 ac_path_GREP_max
=$ac_count
6116 # 10*(2^10) chars as input seems more than enough
6117 test $ac_count -gt 10 && break
6119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6123 $ac_path_GREP_found && break 3
6133 GREP
="$ac_cv_path_GREP"
6134 if test -z "$GREP"; then
6135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6137 { (exit 1); exit 1; }; }
6141 ac_cv_path_GREP
=$GREP
6146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6148 GREP
="$ac_cv_path_GREP"
6151 { echo "$as_me:$LINENO: checking for egrep" >&5
6152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6153 if test "${ac_cv_path_EGREP+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6157 then ac_cv_path_EGREP
="$GREP -E"
6159 # Extract the first word of "egrep" to use in msg output
6160 if test -z "$EGREP"; then
6161 set dummy
egrep; ac_prog_name
=$2
6162 if test "${ac_cv_path_EGREP+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 ac_path_EGREP_found
=false
6166 # Loop through the user's path and test for each of PROGNAME-LIST
6167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6171 test -z "$as_dir" && as_dir
=.
6172 for ac_prog
in egrep; do
6173 for ac_exec_ext
in '' $ac_executable_extensions; do
6174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6176 # Check for GNU ac_path_EGREP and select it if it is found.
6177 # Check for GNU $ac_path_EGREP
6178 case `"$ac_path_EGREP" --version 2>&1` in
6180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6186 cat "conftest.in" "conftest.in" >"conftest.tmp"
6187 mv "conftest.tmp" "conftest.in"
6188 cp "conftest.in" "conftest.nl"
6189 echo 'EGREP' >> "conftest.nl"
6190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6192 ac_count
=`expr $ac_count + 1`
6193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6194 # Best one so far, save it but keep looking for a better one
6195 ac_cv_path_EGREP
="$ac_path_EGREP"
6196 ac_path_EGREP_max
=$ac_count
6198 # 10*(2^10) chars as input seems more than enough
6199 test $ac_count -gt 10 && break
6201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6205 $ac_path_EGREP_found && break 3
6215 EGREP
="$ac_cv_path_EGREP"
6216 if test -z "$EGREP"; then
6217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6219 { (exit 1); exit 1; }; }
6223 ac_cv_path_EGREP
=$EGREP
6229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6231 EGREP
="$ac_cv_path_EGREP"
6234 # Extract the first word of "ldconfig", so it can be a program name with args.
6235 set dummy ldconfig
; ac_word
=$2
6236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6238 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6247 for as_dir
in /sbin
/usr
/sbin
$PATH
6250 test -z "$as_dir" && as_dir
=.
6251 for ac_exec_ext
in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6265 LDCONFIG
=$ac_cv_path_LDCONFIG
6266 if test -n "$LDCONFIG"; then
6267 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6268 echo "${ECHO_T}$LDCONFIG" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 # Find a good install program. We prefer a C program (faster),
6276 # so one script is as good as another. But avoid the broken or
6277 # incompatible versions:
6278 # SysV /etc/install, /usr/sbin/install
6279 # SunOS /usr/etc/install
6280 # IRIX /sbin/install
6282 # AmigaOS /C/install, which installs bootblocks on floppy discs
6283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6286 # OS/2's system install, which has a completely different semantic
6287 # ./install, which can be erroneously created by make from ./install.sh.
6288 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6289 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6290 if test -z "$INSTALL"; then
6291 if test "${ac_cv_path_install+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir
=.
6299 # Account for people who put trailing slashes in PATH elements.
6301 .
/ | .
// |
/cC
/* | \
6302 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6303 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6306 # OSF1 and SCO ODT 3.0 have their own names for install.
6307 # Don't use installbsd from OSF since it installs stuff as root
6309 for ac_prog
in ginstall scoinst
install; do
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6312 if test $ac_prog = install &&
6313 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6314 # AIX install. It has an incompatible calling convention.
6316 elif test $ac_prog = install &&
6317 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6318 # program-specific install script used by HP pwplus--don't use.
6321 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6334 if test "${ac_cv_path_install+set}" = set; then
6335 INSTALL
=$ac_cv_path_install
6337 # As a last resort, use the slow shell script. Don't cache a
6338 # value for INSTALL within a source directory, because that will
6339 # break other packages using the cache if that directory is
6340 # removed, or if the value is a relative name.
6341 INSTALL
=$ac_install_sh
6344 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6345 echo "${ECHO_T}$INSTALL" >&6; }
6347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6348 # It thinks the first close brace ends the variable substitution.
6349 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6351 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6353 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6356 [\\/$
]* | ?
:[\\/]* ) ;;
6357 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6360 for ac_prog
in lclint lint
6362 # Extract the first word of "$ac_prog", so it can be a program name with args.
6363 set dummy
$ac_prog; ac_word
=$2
6364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6366 if test "${ac_cv_prog_LINT+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 if test -n "$LINT"; then
6370 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir
=.
6377 for ac_exec_ext
in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_LINT
="$ac_prog"
6380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 LINT
=$ac_cv_prog_LINT
6390 if test -n "$LINT"; then
6391 { echo "$as_me:$LINENO: result: $LINT" >&5
6392 echo "${ECHO_T}$LINT" >&6; }
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6399 test -n "$LINT" && break
6402 if test "$LINT" = "lint"
6404 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6409 for ac_prog
in fontforge
6411 # Extract the first word of "$ac_prog", so it can be a program name with args.
6412 set dummy
$ac_prog; ac_word
=$2
6413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6415 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 if test -n "$FONTFORGE"; then
6419 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir
=.
6426 for ac_exec_ext
in '' $ac_executable_extensions; do
6427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428 ac_cv_prog_FONTFORGE
="$ac_prog"
6429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 FONTFORGE
=$ac_cv_prog_FONTFORGE
6439 if test -n "$FONTFORGE"; then
6440 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6441 echo "${ECHO_T}$FONTFORGE" >&6; }
6443 { echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6; }
6448 test -n "$FONTFORGE" && break
6450 test -n "$FONTFORGE" || FONTFORGE
="false"
6452 for ac_prog
in pkg-config
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy
$ac_prog; ac_word
=$2
6456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6458 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 if test -n "$PKG_CONFIG"; then
6462 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir
=.
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6482 if test -n "$PKG_CONFIG"; then
6483 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6484 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6486 { echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6; }
6491 test -n "$PKG_CONFIG" && break
6493 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy
$ac_prog; ac_word
=$2
6499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6501 if test "${ac_cv_prog_RSVG+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 if test -n "$RSVG"; then
6505 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir
=.
6512 for ac_exec_ext
in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_RSVG
="$ac_prog"
6515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 RSVG
=$ac_cv_prog_RSVG
6525 if test -n "$RSVG"; then
6526 { echo "$as_me:$LINENO: result: $RSVG" >&5
6527 echo "${ECHO_T}$RSVG" >&6; }
6529 { echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6; }
6534 test -n "$RSVG" && break
6536 test -n "$RSVG" || RSVG
="false"
6538 for ac_prog
in icotool
6540 # Extract the first word of "$ac_prog", so it can be a program name with args.
6541 set dummy
$ac_prog; ac_word
=$2
6542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6544 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 if test -n "$ICOTOOL"; then
6548 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_exec_ext
in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ICOTOOL
="$ac_prog"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ICOTOOL
=$ac_cv_prog_ICOTOOL
6568 if test -n "$ICOTOOL"; then
6569 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6570 echo "${ECHO_T}$ICOTOOL" >&6; }
6572 { echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6; }
6577 test -n "$ICOTOOL" && break
6579 test -n "$ICOTOOL" || ICOTOOL
="false"
6582 if test "${enable_maintainer_mode+set}" = set
6584 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6585 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6586 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6591 # Extract the first word of "prelink", so it can be a program name with args.
6592 set dummy prelink
; ac_word
=$2
6593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6595 if test "${ac_cv_path_PRELINK+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6604 for as_dir
in /sbin
/usr
/sbin
$PATH
6607 test -z "$as_dir" && as_dir
=.
6608 for ac_exec_ext
in '' $ac_executable_extensions; do
6609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6610 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6622 PRELINK
=$ac_cv_path_PRELINK
6623 if test -n "$PRELINK"; then
6624 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6625 echo "${ECHO_T}$PRELINK" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6637 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6638 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6639 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 ac_check_lib_save_LIBS
=$LIBS
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6651 /* Override any GCC internal prototype to avoid an error.
6652 Use char because int might match the return type of a GCC
6653 builtin and then its argument prototype would still apply. */
6657 char i386_set_ldt ();
6661 return i386_set_ldt ();
6666 rm -f conftest.
$ac_objext conftest
$ac_exeext
6667 if { (ac_try
="$ac_link"
6669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6670 *) ac_try_echo=$ac_try;;
6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6673 (eval "$ac_link") 2>conftest.er1
6675 grep -v '^ *+' conftest.er1 >conftest.err
6677 cat conftest.err >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest$ac_exeext &&
6683 $as_test_x conftest$ac_exeext; then
6684 ac_cv_lib_i386_i386_set_ldt=yes
6686 echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.$ac_ext >&5
6689 ac_cv_lib_i386_i386_set_ldt=no
6692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6693 conftest$ac_exeext conftest.$ac_ext
6694 LIBS=$ac_check_lib_save_LIBS
6696 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6697 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6698 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6699 cat >>confdefs.h <<_ACEOF
6700 #define HAVE_LIBI386 1
6708 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6709 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6710 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 ac_check_lib_save_LIBS=$LIBS
6714 LIBS="-lossaudio $LIBS"
6715 cat >conftest.$ac_ext <<_ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6722 /* Override any GCC internal prototype to avoid an error.
6723 Use char because int might match the return type of a GCC
6724 builtin and then its argument prototype would still apply. */
6732 return _oss_ioctl ();
6737 rm -f conftest.$ac_objext conftest$ac_exeext
6738 if { (ac_try="$ac_link"
6740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6741 *) ac_try_echo
=$ac_try;;
6743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6744 (eval "$ac_link") 2>conftest.er1
6746 grep -v '^ *+' conftest.er1
>conftest.err
6748 cat conftest.err
>&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); } && {
6751 test -z "$ac_c_werror_flag" ||
6752 test ! -s conftest.err
6753 } && test -s conftest
$ac_exeext &&
6754 $as_test_x conftest
$ac_exeext; then
6755 ac_cv_lib_ossaudio__oss_ioctl
=yes
6757 echo "$as_me: failed program was:" >&5
6758 sed 's/^/| /' conftest.
$ac_ext >&5
6760 ac_cv_lib_ossaudio__oss_ioctl
=no
6763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6764 conftest
$ac_exeext conftest.
$ac_ext
6765 LIBS
=$ac_check_lib_save_LIBS
6767 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6768 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6769 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_LIBOSSAUDIO 1
6774 LIBS
="-lossaudio $LIBS"
6778 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6779 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6780 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 ac_check_lib_save_LIBS
=$LIBS
6784 LIBS
="-lpthread $LIBS"
6785 cat >conftest.
$ac_ext <<_ACEOF
6788 cat confdefs.h
>>conftest.
$ac_ext
6789 cat >>conftest.
$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6792 /* Override any GCC internal prototype to avoid an error.
6793 Use char because int might match the return type of a GCC
6794 builtin and then its argument prototype would still apply. */
6798 char pthread_create ();
6802 return pthread_create ();
6807 rm -f conftest.
$ac_objext conftest
$ac_exeext
6808 if { (ac_try
="$ac_link"
6810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6811 *) ac_try_echo=$ac_try;;
6813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814 (eval "$ac_link") 2>conftest.er1
6816 grep -v '^ *+' conftest.er1 >conftest.err
6818 cat conftest.err >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && {
6821 test -z "$ac_c_werror_flag" ||
6822 test ! -s conftest.err
6823 } && test -s conftest$ac_exeext &&
6824 $as_test_x conftest$ac_exeext; then
6825 ac_cv_lib_pthread_pthread_create=yes
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6830 ac_cv_lib_pthread_pthread_create=no
6833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6834 conftest$ac_exeext conftest.$ac_ext
6835 LIBS=$ac_check_lib_save_LIBS
6837 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6838 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6839 if test $ac_cv_lib_pthread_pthread_create = yes; then
6840 LIBPTHREAD="-lpthread"
6859 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6861 if test "${ac_cv_header_stdc+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 cat >conftest.$ac_ext <<_ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6883 rm -f conftest.$ac_objext
6884 if { (ac_try="$ac_compile"
6886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6887 *) ac_try_echo
=$ac_try;;
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_compile") 2>conftest.er1
6892 grep -v '^ *+' conftest.er1
>conftest.err
6894 cat conftest.err
>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && {
6897 test -z "$ac_c_werror_flag" ||
6898 test ! -s conftest.err
6899 } && test -s conftest.
$ac_objext; then
6900 ac_cv_header_stdc
=yes
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.
$ac_ext >&5
6905 ac_cv_header_stdc
=no
6908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6910 if test $ac_cv_header_stdc = yes; then
6911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6912 cat >conftest.
$ac_ext <<_ACEOF
6915 cat confdefs.h
>>conftest.
$ac_ext
6916 cat >>conftest.
$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6922 $EGREP "memchr" >/dev
/null
2>&1; then
6925 ac_cv_header_stdc
=no
6931 if test $ac_cv_header_stdc = yes; then
6932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6933 cat >conftest.
$ac_ext <<_ACEOF
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "free" >/dev
/null
2>&1; then
6946 ac_cv_header_stdc
=no
6952 if test $ac_cv_header_stdc = yes; then
6953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6954 if test "$cross_compiling" = yes; then
6957 cat >conftest.
$ac_ext <<_ACEOF
6960 cat confdefs.h
>>conftest.
$ac_ext
6961 cat >>conftest.
$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6965 #if ((' ' & 0x0FF) == 0x020)
6966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6969 # define ISLOWER(c) \
6970 (('a' <= (c) && (c) <= 'i') \
6971 || ('j' <= (c) && (c) <= 'r') \
6972 || ('s' <= (c) && (c) <= 'z'))
6973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6981 for (i = 0; i < 256; i++)
6982 if (XOR (islower (i), ISLOWER (i))
6983 || toupper (i) != TOUPPER (i))
6988 rm -f conftest
$ac_exeext
6989 if { (ac_try
="$ac_link"
6991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6992 *) ac_try_echo=$ac_try;;
6994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6995 (eval "$ac_link") 2>&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6999 { (case "(($ac_try" in
7000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7001 *) ac_try_echo
=$ac_try;;
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_try") 2>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7010 echo "$as_me: program exited with status $ac_status" >&5
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.
$ac_ext >&5
7015 ac_cv_header_stdc
=no
7017 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7024 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7025 if test $ac_cv_header_stdc = yes; then
7027 cat >>confdefs.h
<<\_ACEOF
7028 #define STDC_HEADERS 1
7033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7043 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7044 inttypes.h stdint.h unistd.h
7046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7049 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 cat >conftest.
$ac_ext <<_ACEOF
7055 cat confdefs.h
>>conftest.
$ac_ext
7056 cat >>conftest.
$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 $ac_includes_default
7060 #include <$ac_header>
7062 rm -f conftest.
$ac_objext
7063 if { (ac_try
="$ac_compile"
7065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7071 grep -v '^ *+' conftest.er1 >conftest.err
7073 cat conftest.err >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.$ac_objext; then
7079 eval "$as_ac_Header=yes"
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 eval "$as_ac_Header=no"
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 ac_res=`eval echo '${'$as_ac_Header'}'`
7090 { echo "$as_me:$LINENO: result: $ac_res" >&5
7091 echo "${ECHO_T}$ac_res" >&6; }
7092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7214 AudioUnit/AudioUnit.h \
7216 CoreAudio/CoreAudio.h \
7217 DiskArbitration/DiskArbitration.h \
7231 fontconfig/fontconfig.h \
7257 machine/soundcard.h \
7262 netinet/in_systm.h \
7327 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
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 ac_res=`eval echo '${'$as_ac_Header'}'`
7335 { echo "$as_me:$LINENO: result: $ac_res" >&5
7336 echo "${ECHO_T}$ac_res" >&6; }
7338 # Is the header compilable?
7339 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7341 cat >conftest.$ac_ext <<_ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 $ac_includes_default
7348 #include <$ac_header>
7350 rm -f conftest.$ac_objext
7351 if { (ac_try="$ac_compile"
7353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7354 *) ac_try_echo
=$ac_try;;
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_compile") 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest.
$ac_objext; then
7367 ac_header_compiler
=yes
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.
$ac_ext >&5
7372 ac_header_compiler
=no
7375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7377 echo "${ECHO_T}$ac_header_compiler" >&6; }
7379 # Is the header present?
7380 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 #include <$ac_header>
7390 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7393 *) ac_try_echo=$ac_try;;
7395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7398 grep -v '^ *+' conftest.er1 >conftest.err
7400 cat conftest.err >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } >/dev/null && {
7403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7404 test ! -s conftest.err
7406 ac_header_preproc=yes
7408 echo "$as_me: failed program was:" >&5
7409 sed 's/^/| /' conftest.$ac_ext >&5
7411 ac_header_preproc=no
7414 rm -f conftest.err conftest.$ac_ext
7415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7416 echo "${ECHO_T}$ac_header_preproc" >&6; }
7418 # So? What about this header?
7419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7425 ac_header_preproc=yes
7428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7441 ## ------------------------------------ ##
7442 ## Report this to wine-devel@winehq.org ##
7443 ## ------------------------------------ ##
7445 ) | sed "s/^/$as_me: WARNING: /" >&2
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 eval "$as_ac_Header=\$ac_header_preproc"
7455 ac_res=`eval echo '${'$as_ac_Header'}'`
7456 { echo "$as_me:$LINENO: result: $ac_res" >&5
7457 echo "${ECHO_T}$ac_res" >&6; }
7460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7461 cat >>confdefs.h <<_ACEOF
7462 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7469 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7470 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7471 if test "${ac_cv_header_stat_broken+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 cat >conftest.$ac_ext <<_ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <sys/types.h>
7481 #include <sys/stat.h>
7483 #if defined S_ISBLK && defined S_IFDIR
7484 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7487 #if defined S_ISBLK && defined S_IFCHR
7488 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7491 #if defined S_ISLNK && defined S_IFREG
7492 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7495 #if defined S_ISSOCK && defined S_IFREG
7496 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7500 rm -f conftest.$ac_objext
7501 if { (ac_try="$ac_compile"
7503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7504 *) ac_try_echo
=$ac_try;;
7506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7507 (eval "$ac_compile") 2>conftest.er1
7509 grep -v '^ *+' conftest.er1
>conftest.err
7511 cat conftest.err
>&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } && {
7514 test -z "$ac_c_werror_flag" ||
7515 test ! -s conftest.err
7516 } && test -s conftest.
$ac_objext; then
7517 ac_cv_header_stat_broken
=no
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 ac_cv_header_stat_broken
=yes
7525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7527 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7528 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7529 if test $ac_cv_header_stat_broken = yes; then
7531 cat >>confdefs.h
<<\_ACEOF
7532 #define STAT_MACROS_BROKEN 1
7543 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7548 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 cat >conftest.
$ac_ext <<_ACEOF
7554 cat confdefs.h
>>conftest.
$ac_ext
7555 cat >>conftest.
$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7557 #include <sys/types.h>
7558 #ifdef HAVE_SYS_PARAM_H
7559 # include <sys/param.h>
7562 #include <$ac_header>
7564 rm -f conftest.
$ac_objext
7565 if { (ac_try
="$ac_compile"
7567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7568 *) ac_try_echo=$ac_try;;
7570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7571 (eval "$ac_compile") 2>conftest.er1
7573 grep -v '^ *+' conftest.er1 >conftest.err
7575 cat conftest.err >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } && {
7578 test -z "$ac_c_werror_flag" ||
7579 test ! -s conftest.err
7580 } && test -s conftest.$ac_objext; then
7581 eval "$as_ac_Header=yes"
7583 echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.$ac_ext >&5
7586 eval "$as_ac_Header=no"
7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7591 ac_res=`eval echo '${'$as_ac_Header'}'`
7592 { echo "$as_me:$LINENO: result: $ac_res" >&5
7593 echo "${ECHO_T}$ac_res" >&6; }
7594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7595 cat >>confdefs.h <<_ACEOF
7596 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7623 netinet/if_ether.h \
7631 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 cat >conftest.$ac_ext <<_ACEOF
7640 cat confdefs.h >>conftest.$ac_ext
7641 cat >>conftest.$ac_ext <<_ACEOF
7642 /* end confdefs.h. */
7643 #include <sys/types.h>
7644 #ifdef HAVE_SYS_SOCKET_H
7645 # include <sys/socket.h>
7647 #ifdef HAVE_SYS_SOCKETVAR_H
7648 # include <sys/socketvar.h>
7650 #ifdef HAVE_NETINET_IN_H
7651 # include <netinet/in.h>
7653 #ifdef HAVE_NETINET_IP_H
7654 # include <netinet/ip.h>
7657 #include <$ac_header>
7659 rm -f conftest.$ac_objext
7660 if { (ac_try="$ac_compile"
7662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7663 *) ac_try_echo
=$ac_try;;
7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7666 (eval "$ac_compile") 2>conftest.er1
7668 grep -v '^ *+' conftest.er1
>conftest.err
7670 cat conftest.err
>&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } && {
7673 test -z "$ac_c_werror_flag" ||
7674 test ! -s conftest.err
7675 } && test -s conftest.
$ac_objext; then
7676 eval "$as_ac_Header=yes"
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.
$ac_ext >&5
7681 eval "$as_ac_Header=no"
7684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7686 ac_res
=`eval echo '${'$as_ac_Header'}'`
7687 { echo "$as_me:$LINENO: result: $ac_res" >&5
7688 echo "${ECHO_T}$ac_res" >&6; }
7689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7690 cat >>confdefs.h
<<_ACEOF
7691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_timer.h
7705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7709 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 cat >conftest.
$ac_ext <<_ACEOF
7714 cat confdefs.h
>>conftest.
$ac_ext
7715 cat >>conftest.
$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7717 #include <sys/types.h>
7721 #ifdef HAVE_SYS_SOCKET_H
7722 # include <sys/socket.h>
7724 #ifdef HAVE_SYS_SOCKETVAR_H
7725 # include <sys/socketvar.h>
7727 #ifdef HAVE_NETINET_IN_H
7728 # include <netinet/in.h>
7730 #ifdef HAVE_NETINET_IP_H
7731 # include <netinet/ip.h>
7733 #ifdef HAVE_NETINET_IP_VAR_H
7734 # include <netinet/ip_var.h>
7736 #ifdef HAVE_NETINET_IP_ICMP_H
7737 # include <netinet/ip_icmp.h>
7739 #ifdef HAVE_NETINET_UDP_H
7740 # include <netinet/udp.h>
7742 #ifdef HAVE_NETINET_TCP_H
7743 # include <netinet/tcp.h>
7746 #include <$ac_header>
7748 rm -f conftest.
$ac_objext
7749 if { (ac_try
="$ac_compile"
7751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7752 *) ac_try_echo=$ac_try;;
7754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7755 (eval "$ac_compile") 2>conftest.er1
7757 grep -v '^ *+' conftest.er1 >conftest.err
7759 cat conftest.err >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); } && {
7762 test -z "$ac_c_werror_flag" ||
7763 test ! -s conftest.err
7764 } && test -s conftest.$ac_objext; then
7765 eval "$as_ac_Header=yes"
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.$ac_ext >&5
7770 eval "$as_ac_Header=no"
7773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7775 ac_res=`eval echo '${'$as_ac_Header'}'`
7776 { echo "$as_me:$LINENO: result: $ac_res" >&5
7777 echo "${ECHO_T}$ac_res" >&6; }
7778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7779 cat >>confdefs.h <<_ACEOF
7780 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7789 for ac_header in linux/ipx.h
7791 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7792 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 cat >conftest.$ac_ext <<_ACEOF
7800 cat confdefs.h >>conftest.$ac_ext
7801 cat >>conftest.$ac_ext <<_ACEOF
7802 /* end confdefs.h. */
7803 #include <sys/types.h>
7804 #ifdef HAVE_ASM_TYPES_H
7805 # include <asm/types.h>
7807 #ifdef HAVE_SYS_SOCKET_H
7808 # include <sys/socket.h>
7811 #include <$ac_header>
7813 rm -f conftest.$ac_objext
7814 if { (ac_try="$ac_compile"
7816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7817 *) ac_try_echo
=$ac_try;;
7819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7820 (eval "$ac_compile") 2>conftest.er1
7822 grep -v '^ *+' conftest.er1
>conftest.err
7824 cat conftest.err
>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } && {
7827 test -z "$ac_c_werror_flag" ||
7828 test ! -s conftest.err
7829 } && test -s conftest.
$ac_objext; then
7830 eval "$as_ac_Header=yes"
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.
$ac_ext >&5
7835 eval "$as_ac_Header=no"
7838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7840 ac_res
=`eval echo '${'$as_ac_Header'}'`
7841 { echo "$as_me:$LINENO: result: $ac_res" >&5
7842 echo "${ECHO_T}$ac_res" >&6; }
7843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7844 cat >>confdefs.h
<<_ACEOF
7845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7854 for ac_header
in resolv.h
7856 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7857 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7859 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 cat >conftest.
$ac_ext <<_ACEOF
7865 cat confdefs.h
>>conftest.
$ac_ext
7866 cat >>conftest.
$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7868 #include <sys/types.h>
7869 #ifdef HAVE_SYS_SOCKET_H
7870 # include <sys/socket.h>
7872 #ifdef HAVE_NETINET_IN_H
7873 # include <netinet/in.h>
7875 #ifdef HAVE_ARPA_NAMESER_H
7876 # include <arpa/nameser.h>
7879 #include <$ac_header>
7881 rm -f conftest.
$ac_objext
7882 if { (ac_try
="$ac_compile"
7884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7885 *) ac_try_echo=$ac_try;;
7887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7888 (eval "$ac_compile") 2>conftest.er1
7890 grep -v '^ *+' conftest.er1 >conftest.err
7892 cat conftest.err >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } && {
7895 test -z "$ac_c_werror_flag" ||
7896 test ! -s conftest.err
7897 } && test -s conftest.$ac_objext; then
7898 eval "$as_ac_Header=yes"
7900 echo "$as_me: failed program was:" >&5
7901 sed 's/^/| /' conftest.$ac_ext >&5
7903 eval "$as_ac_Header=no"
7906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7908 ac_res=`eval echo '${'$as_ac_Header'}'`
7909 { echo "$as_me:$LINENO: result: $ac_res" >&5
7910 echo "${ECHO_T}$ac_res" >&6; }
7911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7912 cat >>confdefs.h <<_ACEOF
7913 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7922 for ac_header in ucontext.h
7924 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 cat >conftest.$ac_ext <<_ACEOF
7933 cat confdefs.h >>conftest.$ac_ext
7934 cat >>conftest.$ac_ext <<_ACEOF
7935 /* end confdefs.h. */
7938 #include <$ac_header>
7940 rm -f conftest.$ac_objext
7941 if { (ac_try="$ac_compile"
7943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7944 *) ac_try_echo
=$ac_try;;
7946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7947 (eval "$ac_compile") 2>conftest.er1
7949 grep -v '^ *+' conftest.er1
>conftest.err
7951 cat conftest.err
>&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } && {
7954 test -z "$ac_c_werror_flag" ||
7955 test ! -s conftest.err
7956 } && test -s conftest.
$ac_objext; then
7957 eval "$as_ac_Header=yes"
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.
$ac_ext >&5
7962 eval "$as_ac_Header=no"
7965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7967 ac_res
=`eval echo '${'$as_ac_Header'}'`
7968 { echo "$as_me:$LINENO: result: $ac_res" >&5
7969 echo "${ECHO_T}$ac_res" >&6; }
7970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7971 cat >>confdefs.h
<<_ACEOF
7972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7981 for ac_header
in sys
/thr.h
7983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7984 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7986 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7989 cat >conftest.
$ac_ext <<_ACEOF
7992 cat confdefs.h
>>conftest.
$ac_ext
7993 cat >>conftest.
$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7995 #include <sys/types.h>
7996 #ifdef HAVE_UCONTEXT_H
7997 #include <ucontext.h>
8000 #include <$ac_header>
8002 rm -f conftest.
$ac_objext
8003 if { (ac_try
="$ac_compile"
8005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8006 *) ac_try_echo=$ac_try;;
8008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8009 (eval "$ac_compile") 2>conftest.er1
8011 grep -v '^ *+' conftest.er1 >conftest.err
8013 cat conftest.err >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } && {
8016 test -z "$ac_c_werror_flag" ||
8017 test ! -s conftest.err
8018 } && test -s conftest.$ac_objext; then
8019 eval "$as_ac_Header=yes"
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.$ac_ext >&5
8024 eval "$as_ac_Header=no"
8027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8029 ac_res=`eval echo '${'$as_ac_Header'}'`
8030 { echo "$as_me:$LINENO: result: $ac_res" >&5
8031 echo "${ECHO_T}$ac_res" >&6; }
8032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8033 cat >>confdefs.h <<_ACEOF
8034 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8043 for ac_header in pthread_np.h
8045 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8046 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 cat >conftest.$ac_ext <<_ACEOF
8054 cat confdefs.h >>conftest.$ac_ext
8055 cat >>conftest.$ac_ext <<_ACEOF
8056 /* end confdefs.h. */
8057 #ifdef HAVE_PTHREAD_H
8058 #include <pthread.h>
8061 #include <$ac_header>
8063 rm -f conftest.$ac_objext
8064 if { (ac_try="$ac_compile"
8066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8067 *) ac_try_echo
=$ac_try;;
8069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8070 (eval "$ac_compile") 2>conftest.er1
8072 grep -v '^ *+' conftest.er1
>conftest.err
8074 cat conftest.err
>&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); } && {
8077 test -z "$ac_c_werror_flag" ||
8078 test ! -s conftest.err
8079 } && test -s conftest.
$ac_objext; then
8080 eval "$as_ac_Header=yes"
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.
$ac_ext >&5
8085 eval "$as_ac_Header=no"
8088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8090 ac_res
=`eval echo '${'$as_ac_Header'}'`
8091 { echo "$as_me:$LINENO: result: $ac_res" >&5
8092 echo "${ECHO_T}$ac_res" >&6; }
8093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8094 cat >>confdefs.h
<<_ACEOF
8095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8104 for ac_header
in linux
/videodev.h
8106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 cat >conftest.
$ac_ext <<_ACEOF
8115 cat confdefs.h
>>conftest.
$ac_ext
8116 cat >>conftest.
$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8118 #ifdef HAVE_SYS_TIME_H
8119 #include <sys/time.h>
8121 #include <sys/types.h>
8122 #ifdef HAVE_ASM_TYPES_H
8123 #include <asm/types.h>
8126 #include <$ac_header>
8128 rm -f conftest.
$ac_objext
8129 if { (ac_try
="$ac_compile"
8131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_compile") 2>conftest.er1
8137 grep -v '^ *+' conftest.er1 >conftest.err
8139 cat conftest.err >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } && {
8142 test -z "$ac_c_werror_flag" ||
8143 test ! -s conftest.err
8144 } && test -s conftest.$ac_objext; then
8145 eval "$as_ac_Header=yes"
8147 echo "$as_me: failed program was:" >&5
8148 sed 's/^/| /' conftest.$ac_ext >&5
8150 eval "$as_ac_Header=no"
8153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8155 ac_res=`eval echo '${'$as_ac_Header'}'`
8156 { echo "$as_me:$LINENO: result: $ac_res" >&5
8157 echo "${ECHO_T}$ac_res" >&6; }
8158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8159 cat >>confdefs.h <<_ACEOF
8160 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8169 for ac_header in linux/capi.h
8171 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8172 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 cat >conftest.$ac_ext <<_ACEOF
8180 cat confdefs.h >>conftest.$ac_ext
8181 cat >>conftest.$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8185 #include <$ac_header>
8187 rm -f conftest.$ac_objext
8188 if { (ac_try="$ac_compile"
8190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8191 *) ac_try_echo
=$ac_try;;
8193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8194 (eval "$ac_compile") 2>conftest.er1
8196 grep -v '^ *+' conftest.er1
>conftest.err
8198 cat conftest.err
>&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && {
8201 test -z "$ac_c_werror_flag" ||
8202 test ! -s conftest.err
8203 } && test -s conftest.
$ac_objext; then
8204 eval "$as_ac_Header=yes"
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.
$ac_ext >&5
8209 eval "$as_ac_Header=no"
8212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8214 ac_res
=`eval echo '${'$as_ac_Header'}'`
8215 { echo "$as_me:$LINENO: result: $ac_res" >&5
8216 echo "${ECHO_T}$ac_res" >&6; }
8217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8218 cat >>confdefs.h
<<_ACEOF
8219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8230 DLLFLAGS
="-D_REENTRANT"
8244 # Extract the first word of "ldd", so it can be a program name with args.
8245 set dummy ldd
; ac_word
=$2
8246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8248 if test "${ac_cv_path_LDD+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8257 as_dummy
="/sbin:/usr/sbin:$PATH"
8258 for as_dir
in $as_dummy
8261 test -z "$as_dir" && as_dir
=.
8262 for ac_exec_ext
in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8277 if test -n "$LDD"; then
8278 { echo "$as_me:$LINENO: result: $LDD" >&5
8279 echo "${ECHO_T}$LDD" >&6; }
8281 { echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6; }
8289 if test -n "$ac_tool_prefix"; then
8290 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8291 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8294 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8295 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 if test -n "$DLLTOOL"; then
8298 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir
=.
8305 for ac_exec_ext
in '' $ac_executable_extensions; do
8306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8307 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8317 DLLTOOL
=$ac_cv_prog_DLLTOOL
8318 if test -n "$DLLTOOL"; then
8319 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8320 echo "${ECHO_T}$DLLTOOL" >&6; }
8322 { echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6; }
8328 if test -z "$ac_cv_prog_DLLTOOL"; then
8329 ac_ct_DLLTOOL
=$DLLTOOL
8330 # Extract the first word of "dlltool", so it can be a program name with args.
8331 set dummy dlltool
; ac_word
=$2
8332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8334 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 if test -n "$ac_ct_DLLTOOL"; then
8338 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8344 test -z "$as_dir" && as_dir
=.
8345 for ac_exec_ext
in '' $ac_executable_extensions; do
8346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8357 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8358 if test -n "$ac_ct_DLLTOOL"; then
8359 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8360 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8362 { echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6; }
8366 if test "x$ac_ct_DLLTOOL" = x
; then
8369 case $cross_compiling:$ac_tool_warned in
8371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8372 whose name does not start with the host triplet. If you think this
8373 configuration is useful to you, please write to autoconf@gnu.org." >&5
8374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8375 whose name does not start with the host triplet. If you think this
8376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8377 ac_tool_warned
=yes ;;
8379 DLLTOOL
=$ac_ct_DLLTOOL
8382 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8385 if test -n "$ac_tool_prefix"; then
8386 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8387 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8390 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 if test -n "$DLLWRAP"; then
8394 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir
=.
8401 for ac_exec_ext
in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 DLLWRAP
=$ac_cv_prog_DLLWRAP
8414 if test -n "$DLLWRAP"; then
8415 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8416 echo "${ECHO_T}$DLLWRAP" >&6; }
8418 { echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6; }
8424 if test -z "$ac_cv_prog_DLLWRAP"; then
8425 ac_ct_DLLWRAP
=$DLLWRAP
8426 # Extract the first word of "dllwrap", so it can be a program name with args.
8427 set dummy dllwrap
; ac_word
=$2
8428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8430 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 if test -n "$ac_ct_DLLWRAP"; then
8434 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir
=.
8441 for ac_exec_ext
in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8454 if test -n "$ac_ct_DLLWRAP"; then
8455 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8456 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8458 { echo "$as_me:$LINENO: result: no" >&5
8459 echo "${ECHO_T}no" >&6; }
8462 if test "x$ac_ct_DLLWRAP" = x
; then
8465 case $cross_compiling:$ac_tool_warned in
8467 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8468 whose name does not start with the host triplet. If you think this
8469 configuration is useful to you, please write to autoconf@gnu.org." >&5
8470 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8471 whose name does not start with the host triplet. If you think this
8472 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8473 ac_tool_warned
=yes ;;
8475 DLLWRAP
=$ac_ct_DLLWRAP
8478 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8481 if test -n "$ac_tool_prefix"; then
8482 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8483 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8486 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8487 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 if test -n "$MINGWAR"; then
8490 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8496 test -z "$as_dir" && as_dir
=.
8497 for ac_exec_ext
in '' $ac_executable_extensions; do
8498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8499 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8509 MINGWAR
=$ac_cv_prog_MINGWAR
8510 if test -n "$MINGWAR"; then
8511 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8512 echo "${ECHO_T}$MINGWAR" >&6; }
8514 { echo "$as_me:$LINENO: result: no" >&5
8515 echo "${ECHO_T}no" >&6; }
8520 if test -z "$ac_cv_prog_MINGWAR"; then
8521 ac_ct_MINGWAR
=$MINGWAR
8522 # Extract the first word of "ar", so it can be a program name with args.
8523 set dummy
ar; ac_word
=$2
8524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8526 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 if test -n "$ac_ct_MINGWAR"; then
8530 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8536 test -z "$as_dir" && as_dir
=.
8537 for ac_exec_ext
in '' $ac_executable_extensions; do
8538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8539 ac_cv_prog_ac_ct_MINGWAR
="ar"
8540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8549 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8550 if test -n "$ac_ct_MINGWAR"; then
8551 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8552 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8554 { echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6; }
8558 if test "x$ac_ct_MINGWAR" = x
; then
8561 case $cross_compiling:$ac_tool_warned in
8563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8564 whose name does not start with the host triplet. If you think this
8565 configuration is useful to you, please write to autoconf@gnu.org." >&5
8566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8567 whose name does not start with the host triplet. If you think this
8568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8569 ac_tool_warned
=yes ;;
8571 MINGWAR
=$ac_ct_MINGWAR
8574 MINGWAR
="$ac_cv_prog_MINGWAR"
8577 if test "$DLLWRAP" = "false"; then
8589 DLLFLAGS
="$DLLFLAGS -fPIC"
8590 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8591 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8592 LDSHARED
="\$(CC) -dynamiclib"
8594 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8595 SECURITYLIB
="-framework Security -framework CoreFoundation"
8597 COREFOUNDATIONLIB
="-framework CoreFoundation"
8599 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8601 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8603 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8605 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8608 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8610 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8615 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8617 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8619 CARBONLIB
="-framework Carbon"
8621 QUARTZFILES
='$(QUARTZFILES)'
8625 DLLFLAGS
="$DLLFLAGS -fPIC"
8627 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8628 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8629 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 ac_wine_try_cflags_saved
=$CFLAGS
8633 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 rm -f conftest.
$ac_objext conftest
$ac_exeext
8638 if { (ac_try
="$ac_link"
8640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8641 *) ac_try_echo=$ac_try;;
8643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8644 (eval "$ac_link") 2>conftest.er1
8646 grep -v '^ *+' conftest.er1 >conftest.err
8648 cat conftest.err >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); } && {
8651 test -z "$ac_c_werror_flag" ||
8652 test ! -s conftest.err
8653 } && test -s conftest$ac_exeext &&
8654 $as_test_x conftest$ac_exeext; then
8655 ac_cv_c_dll_gnuelf="yes"
8657 echo "$as_me: failed program was:" >&5
8658 sed 's/^/| /' conftest.$ac_ext >&5
8660 ac_cv_c_dll_gnuelf="no"
8663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8668 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8669 if test "$ac_cv_c_dll_gnuelf" = "yes"
8671 LDSHARED="\$(CC) -shared"
8672 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8673 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8674 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8675 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8680 cat >conftest.$ac_ext <<_ACEOF
8683 cat confdefs.h >>conftest.$ac_ext
8684 cat >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8695 rm -f conftest.$ac_objext conftest$ac_exeext
8696 if { (ac_try="$ac_link"
8698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8699 *) ac_try_echo
=$ac_try;;
8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 (eval "$ac_link") 2>conftest.er1
8704 grep -v '^ *+' conftest.er1
>conftest.err
8706 cat conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } && {
8709 test -z "$ac_c_werror_flag" ||
8710 test ! -s conftest.err
8711 } && test -s conftest
$ac_exeext &&
8712 $as_test_x conftest
$ac_exeext; then
8713 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.
$ac_ext >&5
8718 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8722 conftest
$ac_exeext conftest.
$ac_ext
8723 CFLAGS
=$ac_wine_try_cflags_saved
8725 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8726 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8727 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8728 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8730 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8731 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8732 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 ac_wine_try_cflags_saved
=$CFLAGS
8736 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8737 cat >conftest.
$ac_ext <<_ACEOF
8740 cat confdefs.h
>>conftest.
$ac_ext
8741 cat >>conftest.
$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8752 rm -f conftest.
$ac_objext conftest
$ac_exeext
8753 if { (ac_try
="$ac_link"
8755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8756 *) ac_try_echo=$ac_try;;
8758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8759 (eval "$ac_link") 2>conftest.er1
8761 grep -v '^ *+' conftest.er1 >conftest.err
8763 cat conftest.err >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } && {
8766 test -z "$ac_c_werror_flag" ||
8767 test ! -s conftest.err
8768 } && test -s conftest$ac_exeext &&
8769 $as_test_x conftest$ac_exeext; then
8770 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.$ac_ext >&5
8775 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8779 conftest$ac_exeext conftest.$ac_ext
8780 CFLAGS=$ac_wine_try_cflags_saved
8782 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8783 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8784 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8785 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8791 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8792 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8793 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8813 rm -f conftest.$ac_objext conftest$ac_exeext
8814 if { (ac_try="$ac_link"
8816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8817 *) ac_try_echo
=$ac_try;;
8819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8820 (eval "$ac_link") 2>conftest.er1
8822 grep -v '^ *+' conftest.er1
>conftest.err
8824 cat conftest.err
>&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } && {
8827 test -z "$ac_c_werror_flag" ||
8828 test ! -s conftest.err
8829 } && test -s conftest
$ac_exeext &&
8830 $as_test_x conftest
$ac_exeext; then
8831 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.
$ac_ext >&5
8836 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8840 conftest
$ac_exeext conftest.
$ac_ext
8841 CFLAGS
=$ac_wine_try_cflags_saved
8843 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8844 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8845 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8846 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8850 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8851 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8852 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 ac_wine_try_cflags_saved
=$CFLAGS
8856 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8872 rm -f conftest.
$ac_objext conftest
$ac_exeext
8873 if { (ac_try
="$ac_link"
8875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_link") 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } && {
8886 test -z "$ac_c_werror_flag" ||
8887 test ! -s conftest.err
8888 } && test -s conftest$ac_exeext &&
8889 $as_test_x conftest$ac_exeext; then
8890 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.$ac_ext >&5
8895 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8899 conftest$ac_exeext conftest.$ac_ext
8900 CFLAGS=$ac_wine_try_cflags_saved
8902 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8903 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8904 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8905 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8909 echo '{ global: *; };' >conftest.map
8910 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8911 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8912 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8913 echo $ECHO_N "(cached) $ECHO_C" >&6
8915 ac_wine_try_cflags_saved=$CFLAGS
8916 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8917 cat >conftest.$ac_ext <<_ACEOF
8920 cat confdefs.h >>conftest.$ac_ext
8921 cat >>conftest.$ac_ext <<_ACEOF
8922 /* end confdefs.h. */
8932 rm -f conftest.$ac_objext conftest$ac_exeext
8933 if { (ac_try="$ac_link"
8935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8936 *) ac_try_echo
=$ac_try;;
8938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8939 (eval "$ac_link") 2>conftest.er1
8941 grep -v '^ *+' conftest.er1
>conftest.err
8943 cat conftest.err
>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } && {
8946 test -z "$ac_c_werror_flag" ||
8947 test ! -s conftest.err
8948 } && test -s conftest
$ac_exeext &&
8949 $as_test_x conftest
$ac_exeext; then
8950 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8952 echo "$as_me: failed program was:" >&5
8953 sed 's/^/| /' conftest.
$ac_ext >&5
8955 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8959 conftest
$ac_exeext conftest.
$ac_ext
8960 CFLAGS
=$ac_wine_try_cflags_saved
8962 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8963 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8964 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8965 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8970 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8971 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8972 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 ac_wine_try_cflags_saved
=$CFLAGS
8976 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8977 cat >conftest.
$ac_ext <<_ACEOF
8980 cat confdefs.h
>>conftest.
$ac_ext
8981 cat >>conftest.
$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (ac_try
="$ac_link"
8995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8996 *) ac_try_echo=$ac_try;;
8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8999 (eval "$ac_link") 2>conftest.er1
9001 grep -v '^ *+' conftest.er1 >conftest.err
9003 cat conftest.err >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } && {
9006 test -z "$ac_c_werror_flag" ||
9007 test ! -s conftest.err
9008 } && test -s conftest$ac_exeext &&
9009 $as_test_x conftest$ac_exeext; then
9010 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9019 conftest$ac_exeext conftest.$ac_ext
9020 CFLAGS=$ac_wine_try_cflags_saved
9022 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9023 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9024 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9025 LDEXECFLAGS="-Wl,--export-dynamic"
9030 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
9031 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9032 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9034 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 ac_wine_try_cflags_saved=$CFLAGS
9037 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9038 cat >conftest.$ac_ext <<_ACEOF
9041 cat confdefs.h >>conftest.$ac_ext
9042 cat >>conftest.$ac_ext <<_ACEOF
9043 /* end confdefs.h. */
9053 rm -f conftest.$ac_objext conftest$ac_exeext
9054 if { (ac_try="$ac_link"
9056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9057 *) ac_try_echo
=$ac_try;;
9059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9060 (eval "$ac_link") 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } && {
9067 test -z "$ac_c_werror_flag" ||
9068 test ! -s conftest.err
9069 } && test -s conftest
$ac_exeext &&
9070 $as_test_x conftest
$ac_exeext; then
9071 eval "$as_ac_var=yes"
9073 echo "$as_me: failed program was:" >&5
9074 sed 's/^/| /' conftest.
$ac_ext >&5
9076 eval "$as_ac_var=no"
9079 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9080 conftest
$ac_exeext conftest.
$ac_ext
9081 CFLAGS
=$ac_wine_try_cflags_saved
9083 ac_res
=`eval echo '${'$as_ac_var'}'`
9084 { echo "$as_me:$LINENO: result: $ac_res" >&5
9085 echo "${ECHO_T}$ac_res" >&6; }
9086 if test `eval echo '${'$as_ac_var'}'` = yes; then
9087 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9088 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9090 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9091 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9092 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9093 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 ac_wine_try_cflags_saved
=$CFLAGS
9097 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9098 cat >conftest.
$ac_ext <<_ACEOF
9101 cat confdefs.h
>>conftest.
$ac_ext
9102 cat >>conftest.
$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9113 rm -f conftest.
$ac_objext conftest
$ac_exeext
9114 if { (ac_try
="$ac_link"
9116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9117 *) ac_try_echo=$ac_try;;
9119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9120 (eval "$ac_link") 2>conftest.er1
9122 grep -v '^ *+' conftest.er1 >conftest.err
9124 cat conftest.err >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); } && {
9127 test -z "$ac_c_werror_flag" ||
9128 test ! -s conftest.err
9129 } && test -s conftest$ac_exeext &&
9130 $as_test_x conftest$ac_exeext; then
9131 eval "$as_ac_var=yes"
9133 echo "$as_me: failed program was:" >&5
9134 sed 's/^/| /' conftest.$ac_ext >&5
9136 eval "$as_ac_var=no"
9139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9140 conftest$ac_exeext conftest.$ac_ext
9141 CFLAGS=$ac_wine_try_cflags_saved
9143 ac_res=`eval echo '${'$as_ac_var'}'`
9144 { echo "$as_me:$LINENO: result: $ac_res" >&5
9145 echo "${ECHO_T}$ac_res" >&6; }
9146 if test `eval echo '${'$as_ac_var'}'` = yes; then
9147 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9148 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9154 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9155 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9156 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9161 cat >conftest.$ac_ext <<_ACEOF
9164 cat confdefs.h >>conftest.$ac_ext
9165 cat >>conftest.$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9176 rm -f conftest.$ac_objext conftest$ac_exeext
9177 if { (ac_try="$ac_link"
9179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9180 *) ac_try_echo
=$ac_try;;
9182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9183 (eval "$ac_link") 2>conftest.er1
9185 grep -v '^ *+' conftest.er1
>conftest.err
9187 cat conftest.err
>&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } && {
9190 test -z "$ac_c_werror_flag" ||
9191 test ! -s conftest.err
9192 } && test -s conftest
$ac_exeext &&
9193 $as_test_x conftest
$ac_exeext; then
9194 ac_cv_cflags__Wl___enable_new_dtags
=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.
$ac_ext >&5
9199 ac_cv_cflags__Wl___enable_new_dtags
=no
9202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 CFLAGS
=$ac_wine_try_cflags_saved
9206 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9207 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9208 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9209 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9214 *i
[3456789]86* | x86_64
)
9215 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9216 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9217 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 ac_wine_try_cflags_saved
=$CFLAGS
9221 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9222 cat >conftest.
$ac_ext <<_ACEOF
9225 cat confdefs.h
>>conftest.
$ac_ext
9226 cat >>conftest.
$ac_ext <<_ACEOF
9227 /* end confdefs.h. */
9237 rm -f conftest.
$ac_objext conftest
$ac_exeext
9238 if { (ac_try
="$ac_link"
9240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9241 *) ac_try_echo=$ac_try;;
9243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9244 (eval "$ac_link") 2>conftest.er1
9246 grep -v '^ *+' conftest.er1 >conftest.err
9248 cat conftest.err >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); } && {
9251 test -z "$ac_c_werror_flag" ||
9252 test ! -s conftest.err
9253 } && test -s conftest$ac_exeext &&
9254 $as_test_x conftest$ac_exeext; then
9255 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9257 echo "$as_me: failed program was:" >&5
9258 sed 's/^/| /' conftest.$ac_ext >&5
9260 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9264 conftest$ac_exeext conftest.$ac_ext
9265 CFLAGS=$ac_wine_try_cflags_saved
9267 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9268 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9269 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9270 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9277 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9278 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9279 if test "${ac_cv_c_dll_unixware+set}" = set; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 ac_wine_try_cflags_saved=$CFLAGS
9283 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9284 cat >conftest.$ac_ext <<_ACEOF
9287 rm -f conftest.$ac_objext conftest$ac_exeext
9288 if { (ac_try="$ac_link"
9290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9291 *) ac_try_echo
=$ac_try;;
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_link") 2>conftest.er1
9296 grep -v '^ *+' conftest.er1
>conftest.err
9298 cat conftest.err
>&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest
$ac_exeext &&
9304 $as_test_x conftest
$ac_exeext; then
9305 ac_cv_c_dll_unixware
="yes"
9307 echo "$as_me: failed program was:" >&5
9308 sed 's/^/| /' conftest.
$ac_ext >&5
9310 ac_cv_c_dll_unixware
="no"
9313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9314 conftest
$ac_exeext conftest.
$ac_ext
9315 CFLAGS
=$ac_wine_try_cflags_saved
9317 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9318 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9319 if test "$ac_cv_c_dll_unixware" = "yes"
9321 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9322 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9325 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9326 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9327 if test "${ac_cv_c_dll_hpux+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 ac_wine_try_cflags_saved
=$CFLAGS
9331 CFLAGS
="$CFLAGS -shared"
9332 cat >conftest.
$ac_ext <<_ACEOF
9335 rm -f conftest.
$ac_objext conftest
$ac_exeext
9336 if { (ac_try
="$ac_link"
9338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9339 *) ac_try_echo=$ac_try;;
9341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9342 (eval "$ac_link") 2>conftest.er1
9344 grep -v '^ *+' conftest.er1 >conftest.err
9346 cat conftest.err >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); } && {
9349 test -z "$ac_c_werror_flag" ||
9350 test ! -s conftest.err
9351 } && test -s conftest$ac_exeext &&
9352 $as_test_x conftest$ac_exeext; then
9353 ac_cv_c_dll_hpux="yes"
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.$ac_ext >&5
9358 ac_cv_c_dll_hpux="no"
9361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9362 conftest$ac_exeext conftest.$ac_ext
9363 CFLAGS=$ac_wine_try_cflags_saved
9365 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9366 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9367 if test "$ac_cv_c_dll_hpux" = "yes"
9371 LDDLLFLAGS="-shared -fPIC"
9372 LDSHARED="\$(CC) -shared"
9379 if test "$cross_compiling" = "no"
9381 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9383 # Extract the first word of "$ac_prog", so it can be a program name with args.
9384 set dummy $ac_prog; ac_word=$2
9385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9387 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 if test -n "$CROSSCC"; then
9391 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9397 test -z "$as_dir" && as_dir=.
9398 for ac_exec_ext in '' $ac_executable_extensions; do
9399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9400 ac_cv_prog_CROSSCC="$ac_prog"
9401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9410 CROSSCC=$ac_cv_prog_CROSSCC
9411 if test -n "$CROSSCC"; then
9412 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9413 echo "${ECHO_T}$CROSSCC" >&6; }
9415 { echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6; }
9420 test -n "$CROSSCC" && break
9422 test -n "$CROSSCC" || CROSSCC="false"
9424 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9426 # Extract the first word of "$ac_prog", so it can be a program name with args.
9427 set dummy $ac_prog; ac_word=$2
9428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9430 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 if test -n "$DLLTOOL"; then
9434 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir=.
9441 for ac_exec_ext in '' $ac_executable_extensions; do
9442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9443 ac_cv_prog_DLLTOOL="$ac_prog"
9444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9453 DLLTOOL=$ac_cv_prog_DLLTOOL
9454 if test -n "$DLLTOOL"; then
9455 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9456 echo "${ECHO_T}$DLLTOOL" >&6; }
9458 { echo "$as_me:$LINENO: result: no" >&5
9459 echo "${ECHO_T}no" >&6; }
9463 test -n "$DLLTOOL" && break
9465 test -n "$DLLTOOL" || DLLTOOL="false"
9467 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9469 # Extract the first word of "$ac_prog", so it can be a program name with args.
9470 set dummy $ac_prog; ac_word=$2
9471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9473 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 if test -n "$CROSSWINDRES"; then
9477 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir=.
9484 for ac_exec_ext in '' $ac_executable_extensions; do
9485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9486 ac_cv_prog_CROSSWINDRES="$ac_prog"
9487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9497 if test -n "$CROSSWINDRES"; then
9498 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9499 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9501 { echo "$as_me:$LINENO: result: no" >&5
9502 echo "${ECHO_T}no" >&6; }
9506 test -n "$CROSSWINDRES" && break
9508 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9510 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9512 # Extract the first word of "$ac_prog", so it can be a program name with args.
9513 set dummy $ac_prog; ac_word=$2
9514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9516 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 if test -n "$MINGWAR"; then
9520 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir=.
9527 for ac_exec_ext in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_prog_MINGWAR="$ac_prog"
9530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 MINGWAR=$ac_cv_prog_MINGWAR
9540 if test -n "$MINGWAR"; then
9541 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9542 echo "${ECHO_T}$MINGWAR" >&6; }
9544 { echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6; }
9549 test -n "$MINGWAR" && break
9551 test -n "$MINGWAR" || MINGWAR="false"
9553 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9558 if test "$LIBEXT" = "a"; then
9559 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9560 It is currently not possible to build Wine without shared library
9561 (.so) support to allow transparent switch between .so and .dll files.
9562 If you are using Linux, you will need a newer binutils.
9564 echo "$as_me: error: could not find a way to build shared libraries.
9565 It is currently not possible to build Wine without shared library
9566 (.so) support to allow transparent switch between .so and .dll files.
9567 If you are using Linux, you will need a newer binutils.
9569 { (exit 1); exit 1; }; }
9573 if test "$have_x" = "yes"
9576 ac_save_CPPFLAGS="$CPPFLAGS"
9577 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9579 { echo "$as_me:$LINENO: checking for -lX11" >&5
9580 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9581 if test "${ac_cv_lib_soname_X11+set}" = set; then
9582 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 ac_check_soname_save_LIBS=$LIBS
9585 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9586 cat >conftest.$ac_ext <<_ACEOF
9589 cat confdefs.h >>conftest.$ac_ext
9590 cat >>conftest.$ac_ext <<_ACEOF
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9599 char XCreateWindow ();
9603 return XCreateWindow ();
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (ac_try="$ac_link"
9611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9612 *) ac_try_echo
=$ac_try;;
9614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9615 (eval "$ac_link") 2>conftest.er1
9617 grep -v '^ *+' conftest.er1
>conftest.err
9619 cat conftest.err
>&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); } && {
9622 test -z "$ac_c_werror_flag" ||
9623 test ! -s conftest.err
9624 } && test -s conftest
$ac_exeext &&
9625 $as_test_x conftest
$ac_exeext; then
9628 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'` ;;
9629 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.
$ac_ext >&5
9638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9639 conftest
$ac_exeext conftest.
$ac_ext
9640 LIBS
=$ac_check_soname_save_LIBS
9642 if test "x$ac_cv_lib_soname_X11" = "x"; then
9643 { echo "$as_me:$LINENO: result: not found" >&5
9644 echo "${ECHO_T}not found" >&6; }
9647 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9648 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9650 cat >>confdefs.h
<<_ACEOF
9651 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9657 { echo "$as_me:$LINENO: checking for -lXext" >&5
9658 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9659 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 ac_check_soname_save_LIBS
=$LIBS
9663 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9664 cat >conftest.
$ac_ext <<_ACEOF
9667 cat confdefs.h
>>conftest.
$ac_ext
9668 cat >>conftest.
$ac_ext <<_ACEOF
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9677 char XextCreateExtension ();
9681 return XextCreateExtension ();
9686 rm -f conftest.
$ac_objext conftest
$ac_exeext
9687 if { (ac_try
="$ac_link"
9689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9693 (eval "$ac_link") 2>conftest.er1
9695 grep -v '^ *+' conftest.er1 >conftest.err
9697 cat conftest.err >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } && {
9700 test -z "$ac_c_werror_flag" ||
9701 test ! -s conftest.err
9702 } && test -s conftest$ac_exeext &&
9703 $as_test_x conftest$ac_exeext; then
9706 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'` ;;
9707 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9710 echo "$as_me: failed program was:" >&5
9711 sed 's/^/| /' conftest.$ac_ext >&5
9716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9717 conftest$ac_exeext conftest.$ac_ext
9718 LIBS=$ac_check_soname_save_LIBS
9720 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9721 { echo "$as_me:$LINENO: result: not found" >&5
9722 echo "${ECHO_T}not found" >&6; }
9725 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9726 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9728 cat >>confdefs.h <<_ACEOF
9729 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9748 for ac_header in X11/Xlib.h \
9751 X11/Xcursor/Xcursor.h \
9752 X11/extensions/shape.h \
9753 X11/extensions/XInput.h \
9754 X11/extensions/XShm.h \
9755 X11/extensions/Xcomposite.h \
9756 X11/extensions/Xinerama.h \
9757 X11/extensions/Xrandr.h \
9758 X11/extensions/Xrender.h \
9759 X11/extensions/xf86vmode.h
9761 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 cat >conftest.$ac_ext <<_ACEOF
9770 cat confdefs.h >>conftest.$ac_ext
9771 cat >>conftest.$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9773 #ifdef HAVE_X11_XLIB_H
9774 # include <X11/Xlib.h>
9776 #ifdef HAVE_X11_XUTIL_H
9777 # include <X11/Xutil.h>
9780 #include <$ac_header>
9782 rm -f conftest.$ac_objext
9783 if { (ac_try="$ac_compile"
9785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9786 *) ac_try_echo
=$ac_try;;
9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9789 (eval "$ac_compile") 2>conftest.er1
9791 grep -v '^ *+' conftest.er1
>conftest.err
9793 cat conftest.err
>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } && {
9796 test -z "$ac_c_werror_flag" ||
9797 test ! -s conftest.err
9798 } && test -s conftest.
$ac_objext; then
9799 eval "$as_ac_Header=yes"
9801 echo "$as_me: failed program was:" >&5
9802 sed 's/^/| /' conftest.
$ac_ext >&5
9804 eval "$as_ac_Header=no"
9807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9809 ac_res
=`eval echo '${'$as_ac_Header'}'`
9810 { echo "$as_me:$LINENO: result: $ac_res" >&5
9811 echo "${ECHO_T}$ac_res" >&6; }
9812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9813 cat >>confdefs.h
<<_ACEOF
9814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9822 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9824 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9825 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9826 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9827 echo $ECHO_N "(cached) $ECHO_C" >&6
9829 ac_check_lib_save_LIBS
=$LIBS
9830 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9831 cat >conftest.
$ac_ext <<_ACEOF
9834 cat confdefs.h
>>conftest.
$ac_ext
9835 cat >>conftest.
$ac_ext <<_ACEOF
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9844 char XkbQueryExtension ();
9848 return XkbQueryExtension ();
9853 rm -f conftest.
$ac_objext conftest
$ac_exeext
9854 if { (ac_try
="$ac_link"
9856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_link") 2>conftest.er1
9862 grep -v '^ *+' conftest.er1 >conftest.err
9864 cat conftest.err >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } && {
9867 test -z "$ac_c_werror_flag" ||
9868 test ! -s conftest.err
9869 } && test -s conftest$ac_exeext &&
9870 $as_test_x conftest$ac_exeext; then
9871 ac_cv_lib_X11_XkbQueryExtension=yes
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9876 ac_cv_lib_X11_XkbQueryExtension=no
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_lib_save_LIBS
9883 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9884 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9885 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9887 cat >>confdefs.h <<\_ACEOF
9895 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9897 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9898 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9899 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 ac_check_soname_save_LIBS=$LIBS
9903 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9904 cat >conftest.$ac_ext <<_ACEOF
9907 cat confdefs.h >>conftest.$ac_ext
9908 cat >>conftest.$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9917 char XcursorImageLoadCursor ();
9921 return XcursorImageLoadCursor ();
9926 rm -f conftest.$ac_objext conftest$ac_exeext
9927 if { (ac_try="$ac_link"
9929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9930 *) ac_try_echo
=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_link") 2>conftest.er1
9935 grep -v '^ *+' conftest.er1
>conftest.err
9937 cat conftest.err
>&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_c_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest
$ac_exeext &&
9943 $as_test_x conftest
$ac_exeext; then
9946 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'` ;;
9947 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.
$ac_ext >&5
9956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9957 conftest
$ac_exeext conftest.
$ac_ext
9958 LIBS
=$ac_check_soname_save_LIBS
9960 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9961 { echo "$as_me:$LINENO: result: not found" >&5
9962 echo "${ECHO_T}not found" >&6; }
9965 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9966 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9968 cat >>confdefs.h
<<_ACEOF
9969 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9976 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9977 case "x$with_xcursor" in
9978 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9980 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9981 This is an error since --with-xcursor was requested." >&5
9982 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9983 This is an error since --with-xcursor was requested." >&2;}
9984 { (exit 1); exit 1; }; } ;;
9989 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9991 { echo "$as_me:$LINENO: checking for -lXi" >&5
9992 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 ac_check_soname_save_LIBS
=$LIBS
9997 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat >conftest.
$ac_ext <<_ACEOF
10001 cat confdefs.h
>>conftest.
$ac_ext
10002 cat >>conftest.
$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10011 char XOpenDevice ();
10015 return XOpenDevice ();
10020 rm -f conftest.
$ac_objext conftest
$ac_exeext
10021 if { (ac_try
="$ac_link"
10022 case "(($ac_try" in
10023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10029 grep -v '^ *+' conftest.er1 >conftest.err
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_c_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest$ac_exeext &&
10037 $as_test_x conftest$ac_exeext; then
10040 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'` ;;
10041 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.$ac_ext >&5
10050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_soname_save_LIBS
10054 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10055 { echo "$as_me:$LINENO: result: not found" >&5
10056 echo "${ECHO_T}not found" >&6; }
10059 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10060 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10062 cat >>confdefs.h <<_ACEOF
10063 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10070 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10071 case "x$with_xinput" in
10072 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10074 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10075 This is an error since --with-xinput was requested." >&5
10076 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10077 This is an error since --with-xinput was requested." >&2;}
10078 { (exit 1); exit 1; }; } ;;
10083 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10085 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10086 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10087 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10092 cat >conftest.$ac_ext <<_ACEOF
10095 cat confdefs.h >>conftest.$ac_ext
10096 cat >>conftest.$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10105 char XShmQueryExtension ();
10109 return XShmQueryExtension ();
10114 rm -f conftest.$ac_objext conftest$ac_exeext
10115 if { (ac_try="$ac_link"
10116 case "(($ac_try" in
10117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10118 *) ac_try_echo
=$ac_try;;
10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10121 (eval "$ac_link") 2>conftest.er1
10123 grep -v '^ *+' conftest.er1
>conftest.err
10125 cat conftest.err
>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } && {
10128 test -z "$ac_c_werror_flag" ||
10129 test ! -s conftest.err
10130 } && test -s conftest
$ac_exeext &&
10131 $as_test_x conftest
$ac_exeext; then
10132 ac_cv_lib_Xext_XShmQueryExtension
=yes
10134 echo "$as_me: failed program was:" >&5
10135 sed 's/^/| /' conftest.
$ac_ext >&5
10137 ac_cv_lib_Xext_XShmQueryExtension
=no
10140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10141 conftest
$ac_exeext conftest.
$ac_ext
10142 LIBS
=$ac_check_lib_save_LIBS
10144 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10145 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10146 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10148 cat >>confdefs.h
<<\_ACEOF
10149 #define HAVE_LIBXXSHM 1
10155 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10156 case "x$with_xshm" in
10157 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10159 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10160 This is an error since --with-xshm was requested." >&5
10161 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10162 This is an error since --with-xshm was requested." >&2;}
10163 { (exit 1); exit 1; }; } ;;
10168 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10170 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10171 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10172 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 ac_check_lib_save_LIBS
=$LIBS
10176 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10177 cat >conftest.
$ac_ext <<_ACEOF
10180 cat confdefs.h
>>conftest.
$ac_ext
10181 cat >>conftest.
$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10190 char XShapeQueryExtension ();
10194 return XShapeQueryExtension ();
10199 rm -f conftest.
$ac_objext conftest
$ac_exeext
10200 if { (ac_try
="$ac_link"
10201 case "(($ac_try" in
10202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10203 *) ac_try_echo=$ac_try;;
10205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10206 (eval "$ac_link") 2>conftest.er1
10208 grep -v '^ *+' conftest.er1 >conftest.err
10210 cat conftest.err >&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); } && {
10213 test -z "$ac_c_werror_flag" ||
10214 test ! -s conftest.err
10215 } && test -s conftest$ac_exeext &&
10216 $as_test_x conftest$ac_exeext; then
10217 ac_cv_lib_Xext_XShapeQueryExtension=yes
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10222 ac_cv_lib_Xext_XShapeQueryExtension=no
10225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10226 conftest$ac_exeext conftest.$ac_ext
10227 LIBS=$ac_check_lib_save_LIBS
10229 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10230 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10231 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10233 cat >>confdefs.h <<\_ACEOF
10234 #define HAVE_LIBXSHAPE 1
10240 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10241 case "x$with_xshape" in
10242 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10244 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10245 This is an error since --with-xshape was requested." >&5
10246 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10247 This is an error since --with-xshape was requested." >&2;}
10248 { (exit 1); exit 1; }; } ;;
10253 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10255 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10256 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10257 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10262 cat >conftest.$ac_ext <<_ACEOF
10265 cat confdefs.h >>conftest.$ac_ext
10266 cat >>conftest.$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10275 char XF86VidModeQueryExtension ();
10279 return XF86VidModeQueryExtension ();
10284 rm -f conftest.$ac_objext conftest$ac_exeext
10285 if { (ac_try="$ac_link"
10286 case "(($ac_try" in
10287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10288 *) ac_try_echo
=$ac_try;;
10290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10291 (eval "$ac_link") 2>conftest.er1
10293 grep -v '^ *+' conftest.er1
>conftest.err
10295 cat conftest.err
>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } && {
10298 test -z "$ac_c_werror_flag" ||
10299 test ! -s conftest.err
10300 } && test -s conftest
$ac_exeext &&
10301 $as_test_x conftest
$ac_exeext; then
10302 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.
$ac_ext >&5
10307 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10310 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10311 conftest
$ac_exeext conftest.
$ac_ext
10312 LIBS
=$ac_check_lib_save_LIBS
10314 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10315 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10316 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10318 cat >>confdefs.h
<<\_ACEOF
10319 #define HAVE_LIBXXF86VM 1
10322 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10327 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10328 case "x$with_xvidmode" in
10329 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10331 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10332 This is an error since --with-xvidmode was requested." >&5
10333 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10334 This is an error since --with-xvidmode was requested." >&2;}
10335 { (exit 1); exit 1; }; } ;;
10340 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"
10342 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10343 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10344 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 ac_check_soname_save_LIBS
=$LIBS
10348 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10349 cat >conftest.
$ac_ext <<_ACEOF
10352 cat confdefs.h
>>conftest.
$ac_ext
10353 cat >>conftest.
$ac_ext <<_ACEOF
10354 /* end confdefs.h. */
10356 /* Override any GCC internal prototype to avoid an error.
10357 Use char because int might match the return type of a GCC
10358 builtin and then its argument prototype would still apply. */
10362 char XRenderQueryExtension ();
10366 return XRenderQueryExtension ();
10371 rm -f conftest.
$ac_objext conftest
$ac_exeext
10372 if { (ac_try
="$ac_link"
10373 case "(($ac_try" in
10374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10375 *) ac_try_echo=$ac_try;;
10377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10378 (eval "$ac_link") 2>conftest.er1
10380 grep -v '^ *+' conftest.er1 >conftest.err
10382 cat conftest.err >&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); } && {
10385 test -z "$ac_c_werror_flag" ||
10386 test ! -s conftest.err
10387 } && test -s conftest$ac_exeext &&
10388 $as_test_x conftest$ac_exeext; then
10391 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'` ;;
10392 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10395 echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.$ac_ext >&5
10401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10406 { echo "$as_me:$LINENO: result: not found" >&5
10407 echo "${ECHO_T}not found" >&6; }
10410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10411 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10417 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10418 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10419 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 ac_check_lib_save_LIBS=$LIBS
10423 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10424 cat >conftest.$ac_ext <<_ACEOF
10427 cat confdefs.h >>conftest.$ac_ext
10428 cat >>conftest.$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10437 char XRenderSetPictureTransform ();
10441 return XRenderSetPictureTransform ();
10446 rm -f conftest.$ac_objext conftest$ac_exeext
10447 if { (ac_try="$ac_link"
10448 case "(($ac_try" in
10449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10450 *) ac_try_echo
=$ac_try;;
10452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10453 (eval "$ac_link") 2>conftest.er1
10455 grep -v '^ *+' conftest.er1
>conftest.err
10457 cat conftest.err
>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } && {
10460 test -z "$ac_c_werror_flag" ||
10461 test ! -s conftest.err
10462 } && test -s conftest
$ac_exeext &&
10463 $as_test_x conftest
$ac_exeext; then
10464 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10466 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.
$ac_ext >&5
10469 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10473 conftest
$ac_exeext conftest.
$ac_ext
10474 LIBS
=$ac_check_lib_save_LIBS
10476 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10477 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10478 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10480 cat >>confdefs.h
<<\_ACEOF
10481 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10490 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10491 case "x$with_xrender" in
10492 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10494 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10495 This is an error since --with-xrender was requested." >&5
10496 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10497 This is an error since --with-xrender was requested." >&2;}
10498 { (exit 1); exit 1; }; } ;;
10503 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10505 cat >conftest.
$ac_ext <<_ACEOF
10508 cat confdefs.h
>>conftest.
$ac_ext
10509 cat >>conftest.
$ac_ext <<_ACEOF
10510 /* end confdefs.h. */
10511 #include <X11/Xlib.h>
10512 #include <X11/extensions/Xrandr.h>
10516 static typeof(XRRSetScreenConfigAndRate) * func;
10521 rm -f conftest.
$ac_objext
10522 if { (ac_try
="$ac_compile"
10523 case "(($ac_try" in
10524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10525 *) ac_try_echo=$ac_try;;
10527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10528 (eval "$ac_compile") 2>conftest.er1
10530 grep -v '^ *+' conftest.er1 >conftest.err
10532 cat conftest.err >&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } && {
10535 test -z "$ac_c_werror_flag" ||
10536 test ! -s conftest.err
10537 } && test -s conftest.$ac_objext; then
10538 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10539 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10540 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10541 echo $ECHO_N "(cached) $ECHO_C" >&6
10543 ac_check_soname_save_LIBS=$LIBS
10544 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10545 cat >conftest.$ac_ext <<_ACEOF
10548 cat confdefs.h >>conftest.$ac_ext
10549 cat >>conftest.$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10558 char XRRQueryExtension ();
10562 return XRRQueryExtension ();
10567 rm -f conftest.$ac_objext conftest$ac_exeext
10568 if { (ac_try="$ac_link"
10569 case "(($ac_try" in
10570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10571 *) ac_try_echo
=$ac_try;;
10573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10574 (eval "$ac_link") 2>conftest.er1
10576 grep -v '^ *+' conftest.er1
>conftest.err
10578 cat conftest.err
>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } && {
10581 test -z "$ac_c_werror_flag" ||
10582 test ! -s conftest.err
10583 } && test -s conftest
$ac_exeext &&
10584 $as_test_x conftest
$ac_exeext; then
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10591 echo "$as_me: failed program was:" >&5
10592 sed 's/^/| /' conftest.
$ac_ext >&5
10597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_soname_save_LIBS
10601 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10602 { echo "$as_me:$LINENO: result: not found" >&5
10603 echo "${ECHO_T}not found" >&6; }
10606 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10607 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10609 cat >>confdefs.h
<<_ACEOF
10610 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.
$ac_ext >&5
10623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10625 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10626 case "x$with_xrandr" in
10627 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10629 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10630 This is an error since --with-xrandr was requested." >&5
10631 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10632 This is an error since --with-xrandr was requested." >&2;}
10633 { (exit 1); exit 1; }; } ;;
10638 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10640 cat >conftest.
$ac_ext <<_ACEOF
10643 cat confdefs.h
>>conftest.
$ac_ext
10644 cat >>conftest.
$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10646 #include <X11/Xlib.h>
10647 #include <X11/extensions/Xinerama.h>
10651 static typeof(XineramaQueryScreens) * func;
10656 rm -f conftest.
$ac_objext
10657 if { (ac_try
="$ac_compile"
10658 case "(($ac_try" in
10659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10660 *) ac_try_echo=$ac_try;;
10662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10663 (eval "$ac_compile") 2>conftest.er1
10665 grep -v '^ *+' conftest.er1 >conftest.err
10667 cat conftest.err >&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } && {
10670 test -z "$ac_c_werror_flag" ||
10671 test ! -s conftest.err
10672 } && test -s conftest.$ac_objext; then
10673 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10674 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10675 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10680 cat >conftest.$ac_ext <<_ACEOF
10683 cat confdefs.h >>conftest.$ac_ext
10684 cat >>conftest.$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10687 /* Override any GCC internal prototype to avoid an error.
10688 Use char because int might match the return type of a GCC
10689 builtin and then its argument prototype would still apply. */
10693 char XineramaQueryScreens ();
10697 return XineramaQueryScreens ();
10702 rm -f conftest.$ac_objext conftest$ac_exeext
10703 if { (ac_try="$ac_link"
10704 case "(($ac_try" in
10705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10706 *) ac_try_echo
=$ac_try;;
10708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10709 (eval "$ac_link") 2>conftest.er1
10711 grep -v '^ *+' conftest.er1
>conftest.err
10713 cat conftest.err
>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } && {
10716 test -z "$ac_c_werror_flag" ||
10717 test ! -s conftest.err
10718 } && test -s conftest
$ac_exeext &&
10719 $as_test_x conftest
$ac_exeext; then
10722 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'` ;;
10723 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.
$ac_ext >&5
10732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_soname_save_LIBS
10736 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10737 { echo "$as_me:$LINENO: result: not found" >&5
10738 echo "${ECHO_T}not found" >&6; }
10741 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10742 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10744 cat >>confdefs.h
<<_ACEOF
10745 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10752 echo "$as_me: failed program was:" >&5
10753 sed 's/^/| /' conftest.
$ac_ext >&5
10758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10760 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10761 case "x$with_xinerama" in
10762 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10764 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10765 This is an error since --with-xinerama was requested." >&5
10766 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10767 This is an error since --with-xinerama was requested." >&2;}
10768 { (exit 1); exit 1; }; } ;;
10773 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10775 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10776 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10777 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 ac_check_soname_save_LIBS
=$LIBS
10781 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10782 cat >conftest.
$ac_ext <<_ACEOF
10785 cat confdefs.h
>>conftest.
$ac_ext
10786 cat >>conftest.
$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10795 char XCompositeRedirectWindow ();
10799 return XCompositeRedirectWindow ();
10804 rm -f conftest.
$ac_objext conftest
$ac_exeext
10805 if { (ac_try
="$ac_link"
10806 case "(($ac_try" in
10807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10808 *) ac_try_echo=$ac_try;;
10810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10811 (eval "$ac_link") 2>conftest.er1
10813 grep -v '^ *+' conftest.er1 >conftest.err
10815 cat conftest.err >&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } && {
10818 test -z "$ac_c_werror_flag" ||
10819 test ! -s conftest.err
10820 } && test -s conftest$ac_exeext &&
10821 $as_test_x conftest$ac_exeext; then
10824 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'` ;;
10825 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10828 echo "$as_me: failed program was:" >&5
10829 sed 's/^/| /' conftest.$ac_ext >&5
10834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_soname_save_LIBS
10838 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10839 { echo "$as_me:$LINENO: result: not found" >&5
10840 echo "${ECHO_T}not found" >&6; }
10843 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10844 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10846 cat >>confdefs.h <<_ACEOF
10847 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10854 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10855 case "x$with_xcomposite" in
10856 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10858 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10859 This is an error since --with-xcomposite was requested." >&5
10860 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10861 This is an error since --with-xcomposite was requested." >&2;}
10862 { (exit 1); exit 1; }; } ;;
10867 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10868 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10869 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 cat >conftest.$ac_ext <<_ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10878 #ifdef HAVE_X11_XLIB_H
10879 #include <X11/Xlib.h>
10885 static XICCallback ac_aggr;
10886 if (ac_aggr.callback)
10892 rm -f conftest.$ac_objext
10893 if { (ac_try="$ac_compile"
10894 case "(($ac_try" in
10895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10896 *) ac_try_echo
=$ac_try;;
10898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10899 (eval "$ac_compile") 2>conftest.er1
10901 grep -v '^ *+' conftest.er1
>conftest.err
10903 cat conftest.err
>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); } && {
10906 test -z "$ac_c_werror_flag" ||
10907 test ! -s conftest.err
10908 } && test -s conftest.
$ac_objext; then
10909 ac_cv_member_XICCallback_callback
=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.
$ac_ext >&5
10914 cat >conftest.
$ac_ext <<_ACEOF
10917 cat confdefs.h
>>conftest.
$ac_ext
10918 cat >>conftest.
$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10920 #ifdef HAVE_X11_XLIB_H
10921 #include <X11/Xlib.h>
10927 static XICCallback ac_aggr;
10928 if (sizeof ac_aggr.callback)
10934 rm -f conftest.
$ac_objext
10935 if { (ac_try
="$ac_compile"
10936 case "(($ac_try" in
10937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_compile") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } && {
10948 test -z "$ac_c_werror_flag" ||
10949 test ! -s conftest.err
10950 } && test -s conftest.$ac_objext; then
10951 ac_cv_member_XICCallback_callback=yes
10953 echo "$as_me: failed program was:" >&5
10954 sed 's/^/| /' conftest.$ac_ext >&5
10956 ac_cv_member_XICCallback_callback=no
10959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10964 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10965 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10966 if test $ac_cv_member_XICCallback_callback = yes; then
10968 cat >>confdefs.h <<_ACEOF
10969 #define HAVE_XICCALLBACK_CALLBACK 1
10978 if test "x$with_opengl" != "xno"
10984 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10986 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 #ifdef HAVE_GL_GLX_H
10999 # include <GL/glx.h>
11002 #include <$ac_header>
11004 rm -f conftest.$ac_objext
11005 if { (ac_try="$ac_compile"
11006 case "(($ac_try" in
11007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11008 *) ac_try_echo
=$ac_try;;
11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11011 (eval "$ac_compile") 2>conftest.er1
11013 grep -v '^ *+' conftest.er1
>conftest.err
11015 cat conftest.err
>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } && {
11018 test -z "$ac_c_werror_flag" ||
11019 test ! -s conftest.err
11020 } && test -s conftest.
$ac_objext; then
11021 eval "$as_ac_Header=yes"
11023 echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.
$ac_ext >&5
11026 eval "$as_ac_Header=no"
11029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11031 ac_res
=`eval echo '${'$as_ac_Header'}'`
11032 { echo "$as_me:$LINENO: result: $ac_res" >&5
11033 echo "${ECHO_T}$ac_res" >&6; }
11034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11035 cat >>confdefs.h
<<_ACEOF
11036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11043 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11045 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11046 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11047 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 cat >conftest.
$ac_ext <<_ACEOF
11053 cat confdefs.h
>>conftest.
$ac_ext
11054 cat >>conftest.
$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11060 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11065 rm -f conftest.
$ac_objext
11066 if { (ac_try
="$ac_compile"
11067 case "(($ac_try" in
11068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11069 *) ac_try_echo=$ac_try;;
11071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11072 (eval "$ac_compile") 2>conftest.er1
11074 grep -v '^ *+' conftest.er1 >conftest.err
11076 cat conftest.err >&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } && {
11079 test -z "$ac_c_werror_flag" ||
11080 test ! -s conftest.err
11081 } && test -s conftest.$ac_objext; then
11082 wine_cv_opengl_header_version_OK="yes"
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.$ac_ext >&5
11087 wine_cv_opengl_header_version_OK="no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11092 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11093 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11095 if test "$wine_cv_opengl_header_version_OK" = "yes"
11097 { echo "$as_me:$LINENO: checking for -lGL" >&5
11098 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11099 if test "${ac_cv_lib_soname_GL+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 ac_check_soname_save_LIBS=$LIBS
11103 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11104 cat >conftest.$ac_ext <<_ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11117 char glXCreateContext ();
11121 return glXCreateContext ();
11126 rm -f conftest.$ac_objext conftest$ac_exeext
11127 if { (ac_try="$ac_link"
11128 case "(($ac_try" in
11129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11130 *) ac_try_echo
=$ac_try;;
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_link") 2>conftest.er1
11135 grep -v '^ *+' conftest.er1
>conftest.err
11137 cat conftest.err
>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && {
11140 test -z "$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 } && test -s conftest
$ac_exeext &&
11143 $as_test_x conftest
$ac_exeext; then
11146 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'` ;;
11147 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.
$ac_ext >&5
11156 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11157 conftest
$ac_exeext conftest.
$ac_ext
11158 LIBS
=$ac_check_soname_save_LIBS
11160 if test "x$ac_cv_lib_soname_GL" = "x"; then
11161 { echo "$as_me:$LINENO: result: not found" >&5
11162 echo "${ECHO_T}not found" >&6; }
11163 { echo "$as_me:$LINENO: checking for -lGL" >&5
11164 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11165 if test "${ac_cv_lib_soname_GL+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 ac_check_soname_save_LIBS
=$LIBS
11169 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"
11170 cat >conftest.
$ac_ext <<_ACEOF
11173 cat confdefs.h
>>conftest.
$ac_ext
11174 cat >>conftest.
$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11183 char glXCreateContext ();
11187 return glXCreateContext ();
11192 rm -f conftest.
$ac_objext conftest
$ac_exeext
11193 if { (ac_try
="$ac_link"
11194 case "(($ac_try" in
11195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11196 *) ac_try_echo=$ac_try;;
11198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11199 (eval "$ac_link") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1 >conftest.err
11203 cat conftest.err >&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest$ac_exeext &&
11209 $as_test_x conftest$ac_exeext; then
11212 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'` ;;
11213 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_soname_save_LIBS
11226 if test "x$ac_cv_lib_soname_GL" = "x"; then
11227 { echo "$as_me:$LINENO: result: not found" >&5
11228 echo "${ECHO_T}not found" >&6; }
11229 if test -f /usr/X11R6/lib/libGL.a
11231 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11232 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11234 opengl_msg="No OpenGL library found on this system."
11237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11238 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11240 cat >>confdefs.h <<_ACEOF
11241 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11244 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"
11245 OPENGLFILES='$(OPENGLFILES)'
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_OPENGL 1
11254 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11255 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11257 cat >>confdefs.h <<_ACEOF
11258 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11262 OPENGLFILES='$(OPENGLFILES)'
11264 cat >>confdefs.h <<\_ACEOF
11265 #define HAVE_OPENGL 1
11270 if test "$ac_cv_header_GL_glu_h" = "yes"
11272 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11273 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11274 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 ac_check_soname_save_LIBS=$LIBS
11278 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11279 cat >conftest.$ac_ext <<_ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11296 return gluLookAt ();
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (ac_try="$ac_link"
11303 case "(($ac_try" in
11304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11305 *) ac_try_echo
=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_link") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1
>conftest.err
11312 cat conftest.err
>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } && {
11315 test -z "$ac_c_werror_flag" ||
11316 test ! -s conftest.err
11317 } && test -s conftest
$ac_exeext &&
11318 $as_test_x conftest
$ac_exeext; then
11321 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11322 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11332 conftest
$ac_exeext conftest.
$ac_ext
11333 LIBS
=$ac_check_soname_save_LIBS
11335 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11336 { echo "$as_me:$LINENO: result: not found" >&5
11337 echo "${ECHO_T}not found" >&6; }
11340 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11341 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11343 cat >>confdefs.h
<<_ACEOF
11344 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11347 GLU32FILES
='$(GLU32FILES)'
11351 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11352 case "x$with_glu" in
11353 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11355 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11356 This is an error since --with-glu was requested." >&5
11357 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11358 This is an error since --with-glu was requested." >&2;}
11359 { (exit 1); exit 1; }; } ;;
11364 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11367 opengl_msg
="OpenGL development headers not found."
11370 if test -n "$opengl_msg"; then
11371 case "x$with_opengl" in
11372 x
) wine_warnings
="$wine_warnings|$opengl_msg
11373 OpenGL and Direct3D won't be supported." ;;
11375 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11376 OpenGL and Direct3D won't be supported.
11377 This is an error since --with-opengl was requested." >&5
11378 echo "$as_me: error: $opengl_msg
11379 OpenGL and Direct3D won't be supported.
11380 This is an error since --with-opengl was requested." >&2;}
11381 { (exit 1); exit 1; }; } ;;
11389 for ac_header
in audio
/audiolib.h
11391 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11392 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11395 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11398 ac_res
=`eval echo '${'$as_ac_Header'}'`
11399 { echo "$as_me:$LINENO: result: $ac_res" >&5
11400 echo "${ECHO_T}$ac_res" >&6; }
11402 # Is the header compilable?
11403 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11405 cat >conftest.
$ac_ext <<_ACEOF
11408 cat confdefs.h
>>conftest.
$ac_ext
11409 cat >>conftest.
$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11411 $ac_includes_default
11412 #include <$ac_header>
11414 rm -f conftest.
$ac_objext
11415 if { (ac_try
="$ac_compile"
11416 case "(($ac_try" in
11417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11418 *) ac_try_echo=$ac_try;;
11420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421 (eval "$ac_compile") 2>conftest.er1
11423 grep -v '^ *+' conftest.er1 >conftest.err
11425 cat conftest.err >&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); } && {
11428 test -z "$ac_c_werror_flag" ||
11429 test ! -s conftest.err
11430 } && test -s conftest.$ac_objext; then
11431 ac_header_compiler=yes
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11436 ac_header_compiler=no
11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11440 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11441 echo "${ECHO_T}$ac_header_compiler" >&6; }
11443 # Is the header present?
11444 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11446 cat >conftest.$ac_ext <<_ACEOF
11449 cat confdefs.h >>conftest.$ac_ext
11450 cat >>conftest.$ac_ext <<_ACEOF
11451 /* end confdefs.h. */
11452 #include <$ac_header>
11454 if { (ac_try="$ac_cpp conftest.$ac_ext"
11455 case "(($ac_try" in
11456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11457 *) ac_try_echo
=$ac_try;;
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11462 grep -v '^ *+' conftest.er1
>conftest.err
11464 cat conftest.err
>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); } >/dev
/null
&& {
11467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11468 test ! -s conftest.err
11470 ac_header_preproc
=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.
$ac_ext >&5
11475 ac_header_preproc
=no
11478 rm -f conftest.err conftest.
$ac_ext
11479 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11480 echo "${ECHO_T}$ac_header_preproc" >&6; }
11482 # So? What about this header?
11483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11489 ac_header_preproc
=yes
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11505 ## ------------------------------------ ##
11506 ## Report this to wine-devel@winehq.org ##
11507 ## ------------------------------------ ##
11509 ) |
sed "s/^/$as_me: WARNING: /" >&2
11512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11514 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 eval "$as_ac_Header=\$ac_header_preproc"
11519 ac_res
=`eval echo '${'$as_ac_Header'}'`
11520 { echo "$as_me:$LINENO: result: $ac_res" >&5
11521 echo "${ECHO_T}$ac_res" >&6; }
11524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11525 cat >>confdefs.h
<<_ACEOF
11526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11529 for ac_header
in audio
/soundlib.h
11531 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11534 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 #include <audio/audiolib.h>
11545 #include <$ac_header>
11547 rm -f conftest.
$ac_objext
11548 if { (ac_try
="$ac_compile"
11549 case "(($ac_try" in
11550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11551 *) ac_try_echo=$ac_try;;
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_compile") 2>conftest.er1
11556 grep -v '^ *+' conftest.er1 >conftest.err
11558 cat conftest.err >&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } && {
11561 test -z "$ac_c_werror_flag" ||
11562 test ! -s conftest.err
11563 } && test -s conftest.$ac_objext; then
11564 eval "$as_ac_Header=yes"
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.$ac_ext >&5
11569 eval "$as_ac_Header=no"
11572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11574 ac_res=`eval echo '${'$as_ac_Header'}'`
11575 { echo "$as_me:$LINENO: result: $ac_res" >&5
11576 echo "${ECHO_T}$ac_res" >&6; }
11577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11578 cat >>confdefs.h <<_ACEOF
11579 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11586 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11587 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11588 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 ac_check_lib_save_LIBS=$LIBS
11592 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11593 cat >conftest.$ac_ext <<_ACEOF
11596 cat confdefs.h >>conftest.$ac_ext
11597 cat >>conftest.$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11606 char AuCreateFlow ();
11610 return AuCreateFlow ();
11615 rm -f conftest.$ac_objext conftest$ac_exeext
11616 if { (ac_try="$ac_link"
11617 case "(($ac_try" in
11618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11619 *) ac_try_echo
=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_link") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1
>conftest.err
11626 cat conftest.err
>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } && {
11629 test -z "$ac_c_werror_flag" ||
11630 test ! -s conftest.err
11631 } && test -s conftest
$ac_exeext &&
11632 $as_test_x conftest
$ac_exeext; then
11633 ac_cv_lib_audio_AuCreateFlow
=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.
$ac_ext >&5
11638 ac_cv_lib_audio_AuCreateFlow
=no
11641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11642 conftest
$ac_exeext conftest.
$ac_ext
11643 LIBS
=$ac_check_lib_save_LIBS
11645 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11646 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11647 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11649 cat >>confdefs.h
<<\_ACEOF
11653 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11654 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11655 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 ac_check_lib_save_LIBS
=$LIBS
11659 LIBS
="-lXau $X_LIBS $LIBS"
11660 cat >conftest.
$ac_ext <<_ACEOF
11663 cat confdefs.h
>>conftest.
$ac_ext
11664 cat >>conftest.
$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11673 char XauGetBestAuthByAddr ();
11677 return XauGetBestAuthByAddr ();
11682 rm -f conftest.
$ac_objext conftest
$ac_exeext
11683 if { (ac_try
="$ac_link"
11684 case "(($ac_try" in
11685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11686 *) ac_try_echo=$ac_try;;
11688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11689 (eval "$ac_link") 2>conftest.er1
11691 grep -v '^ *+' conftest.er1 >conftest.err
11693 cat conftest.err >&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } && {
11696 test -z "$ac_c_werror_flag" ||
11697 test ! -s conftest.err
11698 } && test -s conftest$ac_exeext &&
11699 $as_test_x conftest$ac_exeext; then
11700 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11705 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11712 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11713 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11714 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11715 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11717 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11728 CPPFLAGS="$ac_save_CPPFLAGS"
11735 if test "x$XLIB" = "x"; then
11738 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11739 without X support, which probably isn't what you want. You will need to install
11740 development packages of Xlib/Xfree86 at the very least.
11741 Use the --without-x option if you really want this." >&5
11742 echo "$as_me: error: X development files not found. Wine will be built
11743 without X support, which probably isn't what you want. You will need to install
11744 development packages of Xlib/Xfree86 at the very least.
11745 Use the --without-x option if you really want this." >&2;}
11746 { (exit 1); exit 1; }; } ;;
11760 if test "x$with_xml" != "xno"
11762 ac_save_CPPFLAGS="$CPPFLAGS"
11763 if test "$PKG_CONFIG" != "false"
11765 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11766 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11768 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11769 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11771 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11773 for ac_header in libxml/parser.h
11775 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 ac_res=`eval echo '${'$as_ac_Header'}'`
11783 { echo "$as_me:$LINENO: result: $ac_res" >&5
11784 echo "${ECHO_T}$ac_res" >&6; }
11786 # Is the header compilable?
11787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11789 cat >conftest.$ac_ext <<_ACEOF
11792 cat confdefs.h >>conftest.$ac_ext
11793 cat >>conftest.$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11795 $ac_includes_default
11796 #include <$ac_header>
11798 rm -f conftest.$ac_objext
11799 if { (ac_try="$ac_compile"
11800 case "(($ac_try" in
11801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11802 *) ac_try_echo
=$ac_try;;
11804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11805 (eval "$ac_compile") 2>conftest.er1
11807 grep -v '^ *+' conftest.er1
>conftest.err
11809 cat conftest.err
>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && {
11812 test -z "$ac_c_werror_flag" ||
11813 test ! -s conftest.err
11814 } && test -s conftest.
$ac_objext; then
11815 ac_header_compiler
=yes
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.
$ac_ext >&5
11820 ac_header_compiler
=no
11823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11824 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11825 echo "${ECHO_T}$ac_header_compiler" >&6; }
11827 # Is the header present?
11828 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11830 cat >conftest.
$ac_ext <<_ACEOF
11833 cat confdefs.h
>>conftest.
$ac_ext
11834 cat >>conftest.
$ac_ext <<_ACEOF
11835 /* end confdefs.h. */
11836 #include <$ac_header>
11838 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11839 case "(($ac_try" in
11840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11841 *) ac_try_echo=$ac_try;;
11843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11846 grep -v '^ *+' conftest.er1 >conftest.err
11848 cat conftest.err >&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } >/dev/null && {
11851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11852 test ! -s conftest.err
11854 ac_header_preproc=yes
11856 echo "$as_me: failed program was:" >&5
11857 sed 's/^/| /' conftest.$ac_ext >&5
11859 ac_header_preproc=no
11862 rm -f conftest.err conftest.$ac_ext
11863 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11864 echo "${ECHO_T}$ac_header_preproc" >&6; }
11866 # So? What about this header?
11867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11873 ac_header_preproc=yes
11876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11889 ## ------------------------------------ ##
11890 ## Report this to wine-devel@winehq.org ##
11891 ## ------------------------------------ ##
11893 ) | sed "s/^/$as_me: WARNING: /" >&2
11896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 eval "$as_ac_Header=\$ac_header_preproc"
11903 ac_res=`eval echo '${'$as_ac_Header'}'`
11904 { echo "$as_me:$LINENO: result: $ac_res" >&5
11905 echo "${ECHO_T}$ac_res" >&6; }
11908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11909 cat >>confdefs.h <<_ACEOF
11910 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11912 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11913 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11914 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lxml2 $ac_xml_libs $LIBS"
11919 cat >conftest.$ac_ext <<_ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11932 char xmlParseMemory ();
11936 return xmlParseMemory ();
11941 rm -f conftest.$ac_objext conftest$ac_exeext
11942 if { (ac_try="$ac_link"
11943 case "(($ac_try" in
11944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11945 *) ac_try_echo
=$ac_try;;
11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11948 (eval "$ac_link") 2>conftest.er1
11950 grep -v '^ *+' conftest.er1
>conftest.err
11952 cat conftest.err
>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } && {
11955 test -z "$ac_c_werror_flag" ||
11956 test ! -s conftest.err
11957 } && test -s conftest
$ac_exeext &&
11958 $as_test_x conftest
$ac_exeext; then
11959 ac_cv_lib_xml2_xmlParseMemory
=yes
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 ac_cv_lib_xml2_xmlParseMemory
=no
11967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11968 conftest
$ac_exeext conftest.
$ac_ext
11969 LIBS
=$ac_check_lib_save_LIBS
11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11972 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11973 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11975 cat >>confdefs.h
<<\_ACEOF
11976 #define HAVE_LIBXML2 1
11979 XML2LIBS
="$ac_xml_libs"
11980 XML2INCL
="$ac_xml_cflags"
11983 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11984 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11985 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 ac_check_lib_save_LIBS
=$LIBS
11989 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11990 cat >conftest.
$ac_ext <<_ACEOF
11993 cat confdefs.h
>>conftest.
$ac_ext
11994 cat >>conftest.
$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12003 char xmlReadMemory ();
12007 return xmlReadMemory ();
12012 rm -f conftest.
$ac_objext conftest
$ac_exeext
12013 if { (ac_try
="$ac_link"
12014 case "(($ac_try" in
12015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12016 *) ac_try_echo=$ac_try;;
12018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12019 (eval "$ac_link") 2>conftest.er1
12021 grep -v '^ *+' conftest.er1 >conftest.err
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } && {
12026 test -z "$ac_c_werror_flag" ||
12027 test ! -s conftest.err
12028 } && test -s conftest$ac_exeext &&
12029 $as_test_x conftest$ac_exeext; then
12030 ac_cv_lib_xml2_xmlReadMemory=yes
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.$ac_ext >&5
12035 ac_cv_lib_xml2_xmlReadMemory=no
12038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039 conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_lib_save_LIBS
12042 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12043 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12044 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12046 cat >>confdefs.h <<\_ACEOF
12047 #define HAVE_XMLREADMEMORY 1
12052 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12053 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12054 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 ac_check_lib_save_LIBS=$LIBS
12058 LIBS="-lxml2 $ac_xml_libs $LIBS"
12059 cat >conftest.$ac_ext <<_ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12072 char xmlNewDocPI ();
12076 return xmlNewDocPI ();
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (ac_try="$ac_link"
12083 case "(($ac_try" in
12084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12085 *) ac_try_echo
=$ac_try;;
12087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_link") 2>conftest.er1
12090 grep -v '^ *+' conftest.er1
>conftest.err
12092 cat conftest.err
>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } && {
12095 test -z "$ac_c_werror_flag" ||
12096 test ! -s conftest.err
12097 } && test -s conftest
$ac_exeext &&
12098 $as_test_x conftest
$ac_exeext; then
12099 ac_cv_lib_xml2_xmlNewDocPI
=yes
12101 echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.
$ac_ext >&5
12104 ac_cv_lib_xml2_xmlNewDocPI
=no
12107 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 LIBS
=$ac_check_lib_save_LIBS
12111 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12112 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12113 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12115 cat >>confdefs.h
<<\_ACEOF
12116 #define HAVE_XMLNEWDOCPI 1
12126 CPPFLAGS
="$ac_save_CPPFLAGS"
12128 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12129 case "x$with_xml" in
12130 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12132 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12133 This is an error since --with-xml was requested." >&5
12134 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12135 This is an error since --with-xml was requested." >&2;}
12136 { (exit 1); exit 1; }; } ;;
12141 if test "x$with_xslt" != "xno"
12143 if test "$PKG_CONFIG" != "false"
12145 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12146 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12148 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12149 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12151 ac_save_CPPFLAGS
="$CPPFLAGS"
12152 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12155 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12160 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12169 #ifdef HAVE_LIBXSLT_PATTERN_H
12170 # include <libxslt/pattern.h>
12173 #include <$ac_header>
12175 rm -f conftest.
$ac_objext
12176 if { (ac_try
="$ac_compile"
12177 case "(($ac_try" in
12178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12179 *) ac_try_echo=$ac_try;;
12181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12182 (eval "$ac_compile") 2>conftest.er1
12184 grep -v '^ *+' conftest.er1 >conftest.err
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } && {
12189 test -z "$ac_c_werror_flag" ||
12190 test ! -s conftest.err
12191 } && test -s conftest.$ac_objext; then
12192 eval "$as_ac_Header=yes"
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 eval "$as_ac_Header=no"
12200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12202 ac_res=`eval echo '${'$as_ac_Header'}'`
12203 { echo "$as_me:$LINENO: result: $ac_res" >&5
12204 echo "${ECHO_T}$ac_res" >&6; }
12205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12206 cat >>confdefs.h <<_ACEOF
12207 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12214 CPPFLAGS="$ac_save_CPPFLAGS"
12215 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12217 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12218 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12219 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 ac_check_lib_save_LIBS=$LIBS
12223 LIBS="-lxslt $ac_xslt_libs $LIBS"
12224 cat >conftest.$ac_ext <<_ACEOF
12227 cat confdefs.h >>conftest.$ac_ext
12228 cat >>conftest.$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12237 char xsltCompilePattern ();
12241 return xsltCompilePattern ();
12246 rm -f conftest.$ac_objext conftest$ac_exeext
12247 if { (ac_try="$ac_link"
12248 case "(($ac_try" in
12249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12250 *) ac_try_echo
=$ac_try;;
12252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12253 (eval "$ac_link") 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } && {
12260 test -z "$ac_c_werror_flag" ||
12261 test ! -s conftest.err
12262 } && test -s conftest
$ac_exeext &&
12263 $as_test_x conftest
$ac_exeext; then
12264 ac_cv_lib_xslt_xsltCompilePattern
=yes
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.
$ac_ext >&5
12269 ac_cv_lib_xslt_xsltCompilePattern
=no
12272 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12273 conftest
$ac_exeext conftest.
$ac_ext
12274 LIBS
=$ac_check_lib_save_LIBS
12276 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12277 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12278 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12280 cat >>confdefs.h
<<\_ACEOF
12281 #define HAVE_LIBXSLT 1
12284 XSLTLIBS
="$ac_xslt_libs"
12285 XSLTINCL
="$ac_xslt_cflags"
12286 ac_save_LIBS
="$LIBS"
12287 LIBS
="$LIBS $ac_xslt_libs"
12289 for ac_func
in xsltInit
12291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12294 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 cat >conftest.
$ac_ext <<_ACEOF
12300 cat confdefs.h
>>conftest.
$ac_ext
12301 cat >>conftest.
$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12305 #define $ac_func innocuous_$ac_func
12307 /* System header to define __stub macros and hopefully few prototypes,
12308 which can conflict with char $ac_func (); below.
12309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12310 <limits.h> exists even on freestanding compilers. */
12313 # include <limits.h>
12315 # include <assert.h>
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12327 /* The GNU C library defines this for functions which it implements
12328 to always fail with ENOSYS. Some functions are actually named
12329 something starting with __ and the normal name is an alias. */
12330 #if defined __stub_$ac_func || defined __stub___$ac_func
12337 return $ac_func ();
12342 rm -f conftest.
$ac_objext conftest
$ac_exeext
12343 if { (ac_try
="$ac_link"
12344 case "(($ac_try" in
12345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12346 *) ac_try_echo=$ac_try;;
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12349 (eval "$ac_link") 2>conftest.er1
12351 grep -v '^ *+' conftest.er1 >conftest.err
12353 cat conftest.err >&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } && {
12356 test -z "$ac_c_werror_flag" ||
12357 test ! -s conftest.err
12358 } && test -s conftest$ac_exeext &&
12359 $as_test_x conftest$ac_exeext; then
12360 eval "$as_ac_var=yes"
12362 echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.$ac_ext >&5
12365 eval "$as_ac_var=no"
12368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12369 conftest$ac_exeext conftest.$ac_ext
12371 ac_res=`eval echo '${'$as_ac_var'}'`
12372 { echo "$as_me:$LINENO: result: $ac_res" >&5
12373 echo "${ECHO_T}$ac_res" >&6; }
12374 if test `eval echo '${'$as_ac_var'}'` = yes; then
12375 cat >>confdefs.h <<_ACEOF
12376 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12382 LIBS="$ac_save_LIBS"
12387 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12388 case "x$with_xslt" in
12389 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12391 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12392 This is an error since --with-xslt was requested." >&5
12393 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12394 This is an error since --with-xslt was requested." >&2;}
12395 { (exit 1); exit 1; }; } ;;
12402 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12404 ac_save_CPPFLAGS="$CPPFLAGS"
12405 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12406 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12407 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12410 for ac_header in dbus/dbus.h hal/libhal.h
12412 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 ac_res=`eval echo '${'$as_ac_Header'}'`
12420 { echo "$as_me:$LINENO: result: $ac_res" >&5
12421 echo "${ECHO_T}$ac_res" >&6; }
12423 # Is the header compilable?
12424 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12426 cat >conftest.$ac_ext <<_ACEOF
12429 cat confdefs.h >>conftest.$ac_ext
12430 cat >>conftest.$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12432 $ac_includes_default
12433 #include <$ac_header>
12435 rm -f conftest.$ac_objext
12436 if { (ac_try="$ac_compile"
12437 case "(($ac_try" in
12438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12439 *) ac_try_echo
=$ac_try;;
12441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12442 (eval "$ac_compile") 2>conftest.er1
12444 grep -v '^ *+' conftest.er1
>conftest.err
12446 cat conftest.err
>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } && {
12449 test -z "$ac_c_werror_flag" ||
12450 test ! -s conftest.err
12451 } && test -s conftest.
$ac_objext; then
12452 ac_header_compiler
=yes
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.
$ac_ext >&5
12457 ac_header_compiler
=no
12460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12461 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12462 echo "${ECHO_T}$ac_header_compiler" >&6; }
12464 # Is the header present?
12465 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12466 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12467 cat >conftest.
$ac_ext <<_ACEOF
12470 cat confdefs.h
>>conftest.
$ac_ext
12471 cat >>conftest.
$ac_ext <<_ACEOF
12472 /* end confdefs.h. */
12473 #include <$ac_header>
12475 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12476 case "(($ac_try" in
12477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12478 *) ac_try_echo=$ac_try;;
12480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12483 grep -v '^ *+' conftest.er1 >conftest.err
12485 cat conftest.err >&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } >/dev/null && {
12488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12489 test ! -s conftest.err
12491 ac_header_preproc=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_header_preproc=no
12499 rm -f conftest.err conftest.$ac_ext
12500 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12501 echo "${ECHO_T}$ac_header_preproc" >&6; }
12503 # So? What about this header?
12504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12510 ac_header_preproc=yes
12513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12526 ## ------------------------------------ ##
12527 ## Report this to wine-devel@winehq.org ##
12528 ## ------------------------------------ ##
12530 ) | sed "s/^/$as_me: WARNING: /" >&2
12533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12536 echo $ECHO_N "(cached) $ECHO_C" >&6
12538 eval "$as_ac_Header=\$ac_header_preproc"
12540 ac_res=`eval echo '${'$as_ac_Header'}'`
12541 { echo "$as_me:$LINENO: result: $ac_res" >&5
12542 echo "${ECHO_T}$ac_res" >&6; }
12545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12546 cat >>confdefs.h <<_ACEOF
12547 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12554 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12556 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12557 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12558 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12563 cat >conftest.$ac_ext <<_ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12576 char dbus_connection_close ();
12580 return dbus_connection_close ();
12585 rm -f conftest.$ac_objext conftest$ac_exeext
12586 if { (ac_try="$ac_link"
12587 case "(($ac_try" in
12588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12589 *) ac_try_echo
=$ac_try;;
12591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12592 (eval "$ac_link") 2>conftest.er1
12594 grep -v '^ *+' conftest.er1
>conftest.err
12596 cat conftest.err
>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } && {
12599 test -z "$ac_c_werror_flag" ||
12600 test ! -s conftest.err
12601 } && test -s conftest
$ac_exeext &&
12602 $as_test_x conftest
$ac_exeext; then
12603 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 ac_cv_lib_dbus_1_dbus_connection_close
=no
12611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 LIBS
=$ac_check_lib_save_LIBS
12615 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12616 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12617 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12618 { echo "$as_me:$LINENO: checking for -lhal" >&5
12619 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12620 if test "${ac_cv_lib_soname_hal+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 ac_check_soname_save_LIBS
=$LIBS
12624 LIBS
="-lhal $ac_hal_libs $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. */
12638 char libhal_ctx_new ();
12642 return libhal_ctx_new ();
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_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'` ;;
12668 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$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_hal" = "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_hal" >&5
12687 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12693 HALINCL="$ac_hal_cflags"
12699 CPPFLAGS="$ac_save_CPPFLAGS"
12701 if test "x$ac_cv_lib_soname_hal" = "x"; then
12702 case "x$with_hal" in
12703 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12705 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12706 This is an error since --with-hal was requested." >&5
12707 echo "$as_me: error: libhal development files not found, no dynamic device support.
12708 This is an error since --with-hal was requested." >&2;}
12709 { (exit 1); exit 1; }; } ;;
12715 if test "$ac_cv_header_ncurses_h" = "yes"
12717 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12718 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12719 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12720 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 ac_check_soname_save_LIBS=$LIBS
12723 LIBS="-lncurses $LIBS"
12724 cat >conftest.$ac_ext <<_ACEOF
12727 cat confdefs.h >>conftest.$ac_ext
12728 cat >>conftest.$ac_ext <<_ACEOF
12729 /* end confdefs.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. */
12746 rm -f conftest.$ac_objext conftest$ac_exeext
12747 if { (ac_try="$ac_link"
12748 case "(($ac_try" in
12749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12750 *) ac_try_echo
=$ac_try;;
12752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12753 (eval "$ac_link") 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } && {
12760 test -z "$ac_c_werror_flag" ||
12761 test ! -s conftest.err
12762 } && test -s conftest
$ac_exeext &&
12763 $as_test_x conftest
$ac_exeext; then
12766 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'` ;;
12767 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12777 conftest
$ac_exeext conftest.
$ac_ext
12778 LIBS
=$ac_check_soname_save_LIBS
12780 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12781 { echo "$as_me:$LINENO: result: not found" >&5
12782 echo "${ECHO_T}not found" >&6; }
12785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12786 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12788 cat >>confdefs.h
<<_ACEOF
12789 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12792 CURSESLIBS
="-lncurses"
12795 elif test "$ac_cv_header_curses_h" = "yes"
12797 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12798 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12799 if test "${ac_cv_lib_soname_curses+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 ac_check_soname_save_LIBS
=$LIBS
12803 LIBS
="-lcurses $LIBS"
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12826 rm -f conftest.
$ac_objext conftest
$ac_exeext
12827 if { (ac_try
="$ac_link"
12828 case "(($ac_try" in
12829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12830 *) ac_try_echo=$ac_try;;
12832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12833 (eval "$ac_link") 2>conftest.er1
12835 grep -v '^ *+' conftest.er1 >conftest.err
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } && {
12840 test -z "$ac_c_werror_flag" ||
12841 test ! -s conftest.err
12842 } && test -s conftest$ac_exeext &&
12843 $as_test_x conftest$ac_exeext; then
12846 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'` ;;
12847 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.$ac_ext >&5
12856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_soname_save_LIBS
12860 if test "x$ac_cv_lib_soname_curses" = "x"; then
12861 { echo "$as_me:$LINENO: result: not found" >&5
12862 echo "${ECHO_T}not found" >&6; }
12865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12866 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12868 cat >>confdefs.h <<_ACEOF
12869 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12872 CURSESLIBS="-lcurses"
12876 ac_save_LIBS="$LIBS"
12877 LIBS="$LIBS $CURSESLIBS"
12879 for ac_func in mousemask
12881 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 cat >conftest.$ac_ext <<_ACEOF
12890 cat confdefs.h >>conftest.$ac_ext
12891 cat >>conftest.$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12895 #define $ac_func innocuous_$ac_func
12897 /* System header to define __stub macros and hopefully few prototypes,
12898 which can conflict with char $ac_func (); below.
12899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12900 <limits.h> exists even on freestanding compilers. */
12903 # include <limits.h>
12905 # include <assert.h>
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12917 /* The GNU C library defines this for functions which it implements
12918 to always fail with ENOSYS. Some functions are actually named
12919 something starting with __ and the normal name is an alias. */
12920 #if defined __stub_$ac_func || defined __stub___$ac_func
12927 return $ac_func ();
12932 rm -f conftest.$ac_objext conftest$ac_exeext
12933 if { (ac_try="$ac_link"
12934 case "(($ac_try" in
12935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12936 *) ac_try_echo
=$ac_try;;
12938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12939 (eval "$ac_link") 2>conftest.er1
12941 grep -v '^ *+' conftest.er1
>conftest.err
12943 cat conftest.err
>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } && {
12946 test -z "$ac_c_werror_flag" ||
12947 test ! -s conftest.err
12948 } && test -s conftest
$ac_exeext &&
12949 $as_test_x conftest
$ac_exeext; then
12950 eval "$as_ac_var=yes"
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.
$ac_ext >&5
12955 eval "$as_ac_var=no"
12958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12959 conftest
$ac_exeext conftest.
$ac_ext
12961 ac_res
=`eval echo '${'$as_ac_var'}'`
12962 { echo "$as_me:$LINENO: result: $ac_res" >&5
12963 echo "${ECHO_T}$ac_res" >&6; }
12964 if test `eval echo '${'$as_ac_var'}'` = yes; then
12965 cat >>confdefs.h
<<_ACEOF
12966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12972 LIBS
="$ac_save_LIBS"
12973 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12974 case "x$with_curses" in
12975 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12977 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12978 This is an error since --with-curses was requested." >&5
12979 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12980 This is an error since --with-curses was requested." >&2;}
12981 { (exit 1); exit 1; }; } ;;
12986 # Extract the first word of "sane-config", so it can be a program name with args.
12987 set dummy sane-config
; ac_word
=$2
12988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12990 if test "${ac_cv_prog_sane_devel+set}" = set; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 if test -n "$sane_devel"; then
12994 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12997 for as_dir
in $PATH
13000 test -z "$as_dir" && as_dir
=.
13001 for ac_exec_ext
in '' $ac_executable_extensions; do
13002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13003 ac_cv_prog_sane_devel
="sane-config"
13004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13011 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
13014 sane_devel
=$ac_cv_prog_sane_devel
13015 if test -n "$sane_devel"; then
13016 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13017 echo "${ECHO_T}$sane_devel" >&6; }
13019 { echo "$as_me:$LINENO: result: no" >&5
13020 echo "${ECHO_T}no" >&6; }
13024 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13026 ac_sane_incl
="`$sane_devel --cflags`"
13027 ac_save_CPPFLAGS
="$CPPFLAGS"
13028 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
13029 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13030 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13031 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13032 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13036 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13038 # Is the header compilable?
13039 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13040 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 $ac_includes_default
13048 #include <sane/sane.h>
13050 rm -f conftest.
$ac_objext
13051 if { (ac_try
="$ac_compile"
13052 case "(($ac_try" in
13053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13054 *) ac_try_echo=$ac_try;;
13056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13057 (eval "$ac_compile") 2>conftest.er1
13059 grep -v '^ *+' conftest.er1 >conftest.err
13061 cat conftest.err >&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); } && {
13064 test -z "$ac_c_werror_flag" ||
13065 test ! -s conftest.err
13066 } && test -s conftest.$ac_objext; then
13067 ac_header_compiler=yes
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13072 ac_header_compiler=no
13075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13077 echo "${ECHO_T}$ac_header_compiler" >&6; }
13079 # Is the header present?
13080 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13081 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13082 cat >conftest.$ac_ext <<_ACEOF
13085 cat confdefs.h >>conftest.$ac_ext
13086 cat >>conftest.$ac_ext <<_ACEOF
13087 /* end confdefs.h. */
13088 #include <sane/sane.h>
13090 if { (ac_try="$ac_cpp conftest.$ac_ext"
13091 case "(($ac_try" in
13092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13093 *) ac_try_echo
=$ac_try;;
13095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } >/dev
/null
&& {
13103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13104 test ! -s conftest.err
13106 ac_header_preproc
=yes
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.
$ac_ext >&5
13111 ac_header_preproc
=no
13114 rm -f conftest.err conftest.
$ac_ext
13115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13116 echo "${ECHO_T}$ac_header_preproc" >&6; }
13118 # So? What about this header?
13119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13122 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13123 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13124 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13125 ac_header_preproc
=yes
13128 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13129 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13131 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13133 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13134 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13135 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13137 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13139 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13141 ## ------------------------------------ ##
13142 ## Report this to wine-devel@winehq.org ##
13143 ## ------------------------------------ ##
13145 ) |
sed "s/^/$as_me: WARNING: /" >&2
13148 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13149 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13150 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 ac_cv_header_sane_sane_h
=$ac_header_preproc
13155 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13156 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13159 if test $ac_cv_header_sane_sane_h = yes; then
13160 { echo "$as_me:$LINENO: checking for -lsane" >&5
13161 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13162 if test "${ac_cv_lib_soname_sane+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 ac_check_soname_save_LIBS
=$LIBS
13166 LIBS
="-lsane $LIBS"
13167 cat >conftest.
$ac_ext <<_ACEOF
13170 cat confdefs.h
>>conftest.
$ac_ext
13171 cat >>conftest.
$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13184 return sane_init ();
13189 rm -f conftest.
$ac_objext conftest
$ac_exeext
13190 if { (ac_try
="$ac_link"
13191 case "(($ac_try" in
13192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13193 *) ac_try_echo=$ac_try;;
13195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13196 (eval "$ac_link") 2>conftest.er1
13198 grep -v '^ *+' conftest.er1 >conftest.err
13200 cat conftest.err >&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } && {
13203 test -z "$ac_c_werror_flag" ||
13204 test ! -s conftest.err
13205 } && test -s conftest$ac_exeext &&
13206 $as_test_x conftest$ac_exeext; then
13209 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'` ;;
13210 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.$ac_ext >&5
13219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13220 conftest$ac_exeext conftest.$ac_ext
13221 LIBS=$ac_check_soname_save_LIBS
13223 if test "x$ac_cv_lib_soname_sane" = "x"; then
13224 { echo "$as_me:$LINENO: result: not found" >&5
13225 echo "${ECHO_T}not found" >&6; }
13228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13229 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13231 cat >>confdefs.h <<_ACEOF
13232 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13235 SANEINCL="$ac_sane_incl"
13242 CPPFLAGS="$ac_save_CPPFLAGS"
13244 if test "x$ac_cv_lib_soname_sane" = "x"; then
13245 case "x$with_sane" in
13246 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13248 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13249 This is an error since --with-sane was requested." >&5
13250 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13251 This is an error since --with-sane was requested." >&2;}
13252 { (exit 1); exit 1; }; } ;;
13257 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13258 set dummy gphoto2-config; ac_word=$2
13259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13261 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 if test -n "$gphoto2_devel"; then
13265 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13268 for as_dir in $PATH
13271 test -z "$as_dir" && as_dir=.
13272 for ac_exec_ext in '' $ac_executable_extensions; do
13273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13274 ac_cv_prog_gphoto2_devel="gphoto2-config"
13275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13282 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13285 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13286 if test -n "$gphoto2_devel"; then
13287 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13288 echo "${ECHO_T}$gphoto2_devel" >&6; }
13290 { echo "$as_me:$LINENO: result: no" >&5
13291 echo "${ECHO_T}no" >&6; }
13295 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13296 set dummy gphoto2-port-config; ac_word=$2
13297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13299 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 if test -n "$gphoto2port_devel"; then
13303 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13306 for as_dir in $PATH
13309 test -z "$as_dir" && as_dir=.
13310 for ac_exec_ext in '' $ac_executable_extensions; do
13311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13312 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13320 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13323 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13324 if test -n "$gphoto2port_devel"; then
13325 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13326 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13328 { echo "$as_me:$LINENO: result: no" >&5
13329 echo "${ECHO_T}no" >&6; }
13333 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13335 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13337 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13340 -L/usr/lib|-L/usr/lib64) ;;
13341 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13344 ac_save_CPPFLAGS="$CPPFLAGS"
13345 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13346 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13347 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13348 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13349 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13353 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13355 # Is the header compilable?
13356 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13357 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13358 cat >conftest.$ac_ext <<_ACEOF
13361 cat confdefs.h >>conftest.$ac_ext
13362 cat >>conftest.$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13364 $ac_includes_default
13365 #include <gphoto2-camera.h>
13367 rm -f conftest.$ac_objext
13368 if { (ac_try="$ac_compile"
13369 case "(($ac_try" in
13370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13371 *) ac_try_echo
=$ac_try;;
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_compile") 2>conftest.er1
13376 grep -v '^ *+' conftest.er1
>conftest.err
13378 cat conftest.err
>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } && {
13381 test -z "$ac_c_werror_flag" ||
13382 test ! -s conftest.err
13383 } && test -s conftest.
$ac_objext; then
13384 ac_header_compiler
=yes
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.
$ac_ext >&5
13389 ac_header_compiler
=no
13392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13393 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13394 echo "${ECHO_T}$ac_header_compiler" >&6; }
13396 # Is the header present?
13397 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13398 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13399 cat >conftest.
$ac_ext <<_ACEOF
13402 cat confdefs.h
>>conftest.
$ac_ext
13403 cat >>conftest.
$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13405 #include <gphoto2-camera.h>
13407 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13408 case "(($ac_try" in
13409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13410 *) ac_try_echo=$ac_try;;
13412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13415 grep -v '^ *+' conftest.er1 >conftest.err
13417 cat conftest.err >&5
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); } >/dev/null && {
13420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13421 test ! -s conftest.err
13423 ac_header_preproc=yes
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13428 ac_header_preproc=no
13431 rm -f conftest.err conftest.$ac_ext
13432 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13433 echo "${ECHO_T}$ac_header_preproc" >&6; }
13435 # So? What about this header?
13436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13438 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13439 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13441 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13442 ac_header_preproc=yes
13445 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13446 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13448 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13450 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13451 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13452 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13453 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13454 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13455 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13456 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13458 ## ------------------------------------ ##
13459 ## Report this to wine-devel@winehq.org ##
13460 ## ------------------------------------ ##
13462 ) | sed "s/^/$as_me: WARNING: /" >&2
13465 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13466 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13467 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13472 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13473 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13476 if test $ac_cv_header_gphoto2_camera_h = yes; then
13477 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13478 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13479 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 ac_check_lib_save_LIBS=$LIBS
13483 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13484 cat >conftest.$ac_ext <<_ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13497 char gp_camera_new ();
13501 return gp_camera_new ();
13506 rm -f conftest.$ac_objext conftest$ac_exeext
13507 if { (ac_try="$ac_link"
13508 case "(($ac_try" in
13509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13510 *) ac_try_echo
=$ac_try;;
13512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13513 (eval "$ac_link") 2>conftest.er1
13515 grep -v '^ *+' conftest.er1
>conftest.err
13517 cat conftest.err
>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } && {
13520 test -z "$ac_c_werror_flag" ||
13521 test ! -s conftest.err
13522 } && test -s conftest
$ac_exeext &&
13523 $as_test_x conftest
$ac_exeext; then
13524 ac_cv_lib_gphoto2_gp_camera_new
=yes
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.
$ac_ext >&5
13529 ac_cv_lib_gphoto2_gp_camera_new
=no
13532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13533 conftest
$ac_exeext conftest.
$ac_ext
13534 LIBS
=$ac_check_lib_save_LIBS
13536 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13537 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13538 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13540 cat >>confdefs.h
<<\_ACEOF
13541 #define HAVE_GPHOTO2 1
13544 GPHOTO2LIBS
="$ac_gphoto2_libs"
13546 GPHOTO2INCL
="$ac_gphoto2_incl"
13553 CPPFLAGS
="$ac_save_CPPFLAGS"
13555 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13556 case "x$with_gphoto" in
13557 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13559 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13560 This is an error since --with-gphoto was requested." >&5
13561 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13562 This is an error since --with-gphoto was requested." >&2;}
13563 { (exit 1); exit 1; }; } ;;
13571 if test "$ac_cv_header_resolv_h" = "yes"
13573 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13574 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13575 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 ac_check_lib_save_LIBS
=$LIBS
13579 LIBS
="-lresolv $LIBS"
13580 cat >conftest.
$ac_ext <<_ACEOF
13583 cat confdefs.h
>>conftest.
$ac_ext
13584 cat >>conftest.
$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13597 return res_query ();
13602 rm -f conftest.
$ac_objext conftest
$ac_exeext
13603 if { (ac_try
="$ac_link"
13604 case "(($ac_try" in
13605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_link") 2>conftest.er1
13611 grep -v '^ *+' conftest.er1 >conftest.err
13613 cat conftest.err >&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } && {
13616 test -z "$ac_c_werror_flag" ||
13617 test ! -s conftest.err
13618 } && test -s conftest$ac_exeext &&
13619 $as_test_x conftest$ac_exeext; then
13620 ac_cv_lib_resolv_res_query=yes
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_lib_resolv_res_query=no
13628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_lib_save_LIBS
13632 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13633 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13634 if test $ac_cv_lib_resolv_res_query = yes; then
13636 cat >>confdefs.h <<\_ACEOF
13637 #define HAVE_RESOLV 1
13640 RESOLVLIBS="-lresolv"
13647 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13649 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13650 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13651 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 ac_check_lib_save_LIBS=$LIBS
13655 LIBS="-llcms $LIBS"
13656 cat >conftest.$ac_ext <<_ACEOF
13659 cat confdefs.h >>conftest.$ac_ext
13660 cat >>conftest.$ac_ext <<_ACEOF
13661 /* end confdefs.h. */
13663 /* Override any GCC internal prototype to avoid an error.
13664 Use char because int might match the return type of a GCC
13665 builtin and then its argument prototype would still apply. */
13669 char cmsOpenProfileFromFile ();
13673 return cmsOpenProfileFromFile ();
13678 rm -f conftest.$ac_objext conftest$ac_exeext
13679 if { (ac_try="$ac_link"
13680 case "(($ac_try" in
13681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13682 *) ac_try_echo
=$ac_try;;
13684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13685 (eval "$ac_link") 2>conftest.er1
13687 grep -v '^ *+' conftest.er1
>conftest.err
13689 cat conftest.err
>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } && {
13692 test -z "$ac_c_werror_flag" ||
13693 test ! -s conftest.err
13694 } && test -s conftest
$ac_exeext &&
13695 $as_test_x conftest
$ac_exeext; then
13696 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.
$ac_ext >&5
13701 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13705 conftest
$ac_exeext conftest.
$ac_ext
13706 LIBS
=$ac_check_lib_save_LIBS
13708 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13709 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13710 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13712 cat >>confdefs.h
<<\_ACEOF
13713 #define HAVE_LCMS 1
13720 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13721 case "x$with_cms" in
13722 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13724 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13725 This is an error since --with-cms was requested." >&5
13726 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13727 This is an error since --with-cms was requested." >&2;}
13728 { (exit 1); exit 1; }; } ;;
13735 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13737 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13738 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13739 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13742 ac_check_lib_save_LIBS
=$LIBS
13743 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13744 cat >conftest.
$ac_ext <<_ACEOF
13747 cat confdefs.h
>>conftest.
$ac_ext
13748 cat >>conftest.
$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13757 char ldap_initialize ();
13761 return ldap_initialize ();
13766 rm -f conftest.
$ac_objext conftest
$ac_exeext
13767 if { (ac_try
="$ac_link"
13768 case "(($ac_try" in
13769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13770 *) ac_try_echo=$ac_try;;
13772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13773 (eval "$ac_link") 2>conftest.er1
13775 grep -v '^ *+' conftest.er1 >conftest.err
13777 cat conftest.err >&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } && {
13780 test -z "$ac_c_werror_flag" ||
13781 test ! -s conftest.err
13782 } && test -s conftest$ac_exeext &&
13783 $as_test_x conftest$ac_exeext; then
13784 ac_cv_lib_ldap_r_ldap_initialize=yes
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13789 ac_cv_lib_ldap_r_ldap_initialize=no
13792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13793 conftest$ac_exeext conftest.$ac_ext
13794 LIBS=$ac_check_lib_save_LIBS
13796 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13797 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13798 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13799 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13800 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13801 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 ac_check_lib_save_LIBS=$LIBS
13805 LIBS="-llber $LIBPTHREAD $LIBS"
13806 cat >conftest.$ac_ext <<_ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13823 return ber_init ();
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (ac_try="$ac_link"
13830 case "(($ac_try" in
13831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13832 *) ac_try_echo
=$ac_try;;
13834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 (eval "$ac_link") 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } && {
13842 test -z "$ac_c_werror_flag" ||
13843 test ! -s conftest.err
13844 } && test -s conftest
$ac_exeext &&
13845 $as_test_x conftest
$ac_exeext; then
13846 ac_cv_lib_lber_ber_init
=yes
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.
$ac_ext >&5
13851 ac_cv_lib_lber_ber_init
=no
13854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 LIBS
=$ac_check_lib_save_LIBS
13858 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13859 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13860 if test $ac_cv_lib_lber_ber_init = yes; then
13862 cat >>confdefs.h
<<\_ACEOF
13863 #define HAVE_LDAP 1
13866 LDAPLIBS
="-lldap_r -llber"
13871 ac_wine_check_funcs_save_LIBS
="$LIBS"
13872 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13882 ldap_count_references \
13883 ldap_first_reference \
13884 ldap_next_reference \
13885 ldap_parse_reference \
13886 ldap_parse_sort_control \
13887 ldap_parse_sortresponse_control \
13888 ldap_parse_vlv_control \
13889 ldap_parse_vlvresponse_control
13891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13894 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13895 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 cat >conftest.
$ac_ext <<_ACEOF
13900 cat confdefs.h
>>conftest.
$ac_ext
13901 cat >>conftest.
$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13905 #define $ac_func innocuous_$ac_func
13907 /* System header to define __stub macros and hopefully few prototypes,
13908 which can conflict with char $ac_func (); below.
13909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13910 <limits.h> exists even on freestanding compilers. */
13913 # include <limits.h>
13915 # include <assert.h>
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13927 /* The GNU C library defines this for functions which it implements
13928 to always fail with ENOSYS. Some functions are actually named
13929 something starting with __ and the normal name is an alias. */
13930 #if defined __stub_$ac_func || defined __stub___$ac_func
13937 return $ac_func ();
13942 rm -f conftest.
$ac_objext conftest
$ac_exeext
13943 if { (ac_try
="$ac_link"
13944 case "(($ac_try" in
13945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_link") 2>conftest.er1
13951 grep -v '^ *+' conftest.er1 >conftest.err
13953 cat conftest.err >&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } && {
13956 test -z "$ac_c_werror_flag" ||
13957 test ! -s conftest.err
13958 } && test -s conftest$ac_exeext &&
13959 $as_test_x conftest$ac_exeext; then
13960 eval "$as_ac_var=yes"
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.$ac_ext >&5
13965 eval "$as_ac_var=no"
13968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13969 conftest$ac_exeext conftest.$ac_ext
13971 ac_res=`eval echo '${'$as_ac_var'}'`
13972 { echo "$as_me:$LINENO: result: $ac_res" >&5
13973 echo "${ECHO_T}$ac_res" >&6; }
13974 if test `eval echo '${'$as_ac_var'}'` = yes; then
13975 cat >>confdefs.h <<_ACEOF
13976 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13982 LIBS="$ac_wine_check_funcs_save_LIBS"
13984 if test "x$LDAPLIBS" = "x"; then
13985 case "x$with_ldap" in
13986 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13988 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13989 This is an error since --with-ldap was requested." >&5
13990 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13991 This is an error since --with-ldap was requested." >&2;}
13992 { (exit 1); exit 1; }; } ;;
13997 for ac_prog in freetype-config freetype2-config
13999 # Extract the first word of "$ac_prog", so it can be a program name with args.
14000 set dummy $ac_prog; ac_word=$2
14001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14003 if test "${ac_cv_prog_ft_devel+set}" = set; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 if test -n "$ft_devel"; then
14007 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
14009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 for ac_exec_ext in '' $ac_executable_extensions; do
14015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14016 ac_cv_prog_ft_devel="$ac_prog"
14017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14026 ft_devel=$ac_cv_prog_ft_devel
14027 if test -n "$ft_devel"; then
14028 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14029 echo "${ECHO_T}$ft_devel" >&6; }
14031 { echo "$as_me:$LINENO: result: no" >&5
14032 echo "${ECHO_T}no" >&6; }
14036 test -n "$ft_devel" && break
14038 test -n "$ft_devel" || ft_devel="false"
14040 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14042 ac_freetype_libs=`$ft_devel --libs`
14043 ac_freetype_incl=`$ft_devel --cflags`
14044 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14045 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14046 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 ac_check_soname_save_LIBS=$LIBS
14050 LIBS="-lfreetype $ac_freetype_libs $LIBS"
14051 cat >conftest.$ac_ext <<_ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14064 char FT_Init_FreeType ();
14068 return FT_Init_FreeType ();
14073 rm -f conftest.$ac_objext conftest$ac_exeext
14074 if { (ac_try="$ac_link"
14075 case "(($ac_try" in
14076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14077 *) ac_try_echo
=$ac_try;;
14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14080 (eval "$ac_link") 2>conftest.er1
14082 grep -v '^ *+' conftest.er1
>conftest.err
14084 cat conftest.err
>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && {
14087 test -z "$ac_c_werror_flag" ||
14088 test ! -s conftest.err
14089 } && test -s conftest
$ac_exeext &&
14090 $as_test_x conftest
$ac_exeext; then
14093 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'` ;;
14094 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.
$ac_ext >&5
14103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14104 conftest
$ac_exeext conftest.
$ac_ext
14105 LIBS
=$ac_check_soname_save_LIBS
14107 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14108 { echo "$as_me:$LINENO: result: not found" >&5
14109 echo "${ECHO_T}not found" >&6; }
14112 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14113 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14115 cat >>confdefs.h
<<_ACEOF
14116 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14122 if test "$ft_lib" = "yes"
14124 ac_save_CPPFLAGS
="$CPPFLAGS"
14125 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
14138 for ac_header
in ft2build.h \
14139 freetype
/freetype.h \
14140 freetype
/ftglyph.h \
14141 freetype
/fttypes.h \
14142 freetype
/tttables.h \
14143 freetype
/ftnames.h \
14144 freetype
/ftsnames.h \
14145 freetype
/ttnameid.h \
14146 freetype
/ftoutln.h \
14147 freetype
/ftwinfnt.h \
14148 freetype
/ftmodapi.h \
14149 freetype
/internal
/sfnt.h
14151 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14152 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14154 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 cat >conftest.
$ac_ext <<_ACEOF
14160 cat confdefs.h
>>conftest.
$ac_ext
14161 cat >>conftest.
$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14163 #ifdef HAVE_FT2BUILD_H
14164 # include <ft2build.h>
14167 #include <$ac_header>
14169 rm -f conftest.
$ac_objext
14170 if { (ac_try
="$ac_compile"
14171 case "(($ac_try" in
14172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14173 *) ac_try_echo=$ac_try;;
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 (eval "$ac_compile") 2>conftest.er1
14178 grep -v '^ *+' conftest.er1 >conftest.err
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } && {
14183 test -z "$ac_c_werror_flag" ||
14184 test ! -s conftest.err
14185 } && test -s conftest.$ac_objext; then
14186 eval "$as_ac_Header=yes"
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.$ac_ext >&5
14191 eval "$as_ac_Header=no"
14194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 ac_res=`eval echo '${'$as_ac_Header'}'`
14197 { echo "$as_me:$LINENO: result: $ac_res" >&5
14198 echo "${ECHO_T}$ac_res" >&6; }
14199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14200 cat >>confdefs.h <<_ACEOF
14201 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14208 cat >conftest.$ac_ext <<_ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 #include <ft2build.h>
14215 #include <freetype/fttrigon.h>
14217 if { (ac_try="$ac_cpp conftest.$ac_ext"
14218 case "(($ac_try" in
14219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14220 *) ac_try_echo
=$ac_try;;
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14225 grep -v '^ *+' conftest.er1
>conftest.err
14227 cat conftest.err
>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } >/dev
/null
&& {
14230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14231 test ! -s conftest.err
14234 cat >>confdefs.h
<<\_ACEOF
14235 #define HAVE_FREETYPE_FTTRIGON_H 1
14238 wine_cv_fttrigon
=yes
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.
$ac_ext >&5
14243 wine_cv_fttrigon
=no
14246 rm -f conftest.err conftest.
$ac_ext
14247 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14248 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14249 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 cat >conftest.
$ac_ext <<_ACEOF
14255 cat confdefs.h
>>conftest.
$ac_ext
14256 cat >>conftest.
$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 #include <freetype/ftmodapi.h>
14260 typedef FT_TrueTypeEngineType ac__type_new_;
14264 if ((ac__type_new_ *) 0)
14266 if (sizeof (ac__type_new_))
14272 rm -f conftest.
$ac_objext
14273 if { (ac_try
="$ac_compile"
14274 case "(($ac_try" in
14275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_compile") 2>conftest.er1
14281 grep -v '^ *+' conftest.er1 >conftest.err
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest.$ac_objext; then
14289 ac_cv_type_FT_TrueTypeEngineType=yes
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14294 ac_cv_type_FT_TrueTypeEngineType=no
14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14300 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14301 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14303 cat >>confdefs.h <<_ACEOF
14304 #define HAVE_FT_TRUETYPEENGINETYPE 1
14310 ac_save_CFLAGS="$CFLAGS"
14311 CFLAGS="$CFLAGS $ac_freetype_libs"
14313 for ac_func in FT_Load_Sfnt_Table
14315 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 cat >conftest.$ac_ext <<_ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14329 #define $ac_func innocuous_$ac_func
14331 /* System header to define __stub macros and hopefully few prototypes,
14332 which can conflict with char $ac_func (); below.
14333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14334 <limits.h> exists even on freestanding compilers. */
14337 # include <limits.h>
14339 # include <assert.h>
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14351 /* The GNU C library defines this for functions which it implements
14352 to always fail with ENOSYS. Some functions are actually named
14353 something starting with __ and the normal name is an alias. */
14354 #if defined __stub_$ac_func || defined __stub___$ac_func
14361 return $ac_func ();
14366 rm -f conftest.$ac_objext conftest$ac_exeext
14367 if { (ac_try="$ac_link"
14368 case "(($ac_try" in
14369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14370 *) ac_try_echo
=$ac_try;;
14372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14373 (eval "$ac_link") 2>conftest.er1
14375 grep -v '^ *+' conftest.er1
>conftest.err
14377 cat conftest.err
>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); } && {
14380 test -z "$ac_c_werror_flag" ||
14381 test ! -s conftest.err
14382 } && test -s conftest
$ac_exeext &&
14383 $as_test_x conftest
$ac_exeext; then
14384 eval "$as_ac_var=yes"
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14389 eval "$as_ac_var=no"
14392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14393 conftest
$ac_exeext conftest.
$ac_ext
14395 ac_res
=`eval echo '${'$as_ac_var'}'`
14396 { echo "$as_me:$LINENO: result: $ac_res" >&5
14397 echo "${ECHO_T}$ac_res" >&6; }
14398 if test `eval echo '${'$as_ac_var'}'` = yes; then
14399 cat >>confdefs.h
<<_ACEOF
14400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14406 CFLAGS
="$ac_save_CFLAGS"
14407 CPPFLAGS
="$ac_save_CPPFLAGS"
14408 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14411 cat >>confdefs.h
<<\_ACEOF
14412 #define HAVE_FREETYPE 1
14415 FREETYPELIBS
="$ac_freetype_libs"
14417 FREETYPEINCL
="$ac_freetype_incl"
14419 FONTSSUBDIRS
="fonts"
14424 if test "x$FREETYPELIBS" = "x"; then
14425 case "x$with_freetype" in
14427 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14428 Fonts will not be built. Dialog text may be invisible or unaligned.
14429 Use the --without-freetype option if you really want this." >&5
14430 echo "$as_me: error: FreeType development files not found.
14431 Fonts will not be built. Dialog text may be invisible or unaligned.
14432 Use the --without-freetype option if you really want this." >&2;}
14433 { (exit 1); exit 1; }; } ;;
14438 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14439 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14440 if test "${ac_cv_c_ppdev+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 #include <linux/ppdev.h>
14453 ioctl (1,PPCLAIM,0)
14458 rm -f conftest.
$ac_objext
14459 if { (ac_try
="$ac_compile"
14460 case "(($ac_try" in
14461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_compile") 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } && {
14472 test -z "$ac_c_werror_flag" ||
14473 test ! -s conftest.err
14474 } && test -s conftest.$ac_objext; then
14475 ac_cv_c_ppdev="yes"
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.$ac_ext >&5
14483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14485 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14486 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14487 if test "$ac_cv_c_ppdev" = "yes"
14490 cat >>confdefs.h <<\_ACEOF
14491 #define HAVE_PPDEV 1
14496 { echo "$as_me:$LINENO: checking for va_copy" >&5
14497 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14498 if test "${ac_cv_c_va_copy+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 cat >conftest.$ac_ext <<_ACEOF
14504 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14507 #include <stdarg.h>
14511 va_list ap1, ap2; va_copy(ap1,ap2);
14516 rm -f conftest.$ac_objext conftest$ac_exeext
14517 if { (ac_try="$ac_link"
14518 case "(($ac_try" in
14519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14520 *) ac_try_echo
=$ac_try;;
14522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14523 (eval "$ac_link") 2>conftest.er1
14525 grep -v '^ *+' conftest.er1
>conftest.err
14527 cat conftest.err
>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } && {
14530 test -z "$ac_c_werror_flag" ||
14531 test ! -s conftest.err
14532 } && test -s conftest
$ac_exeext &&
14533 $as_test_x conftest
$ac_exeext; then
14534 ac_cv_c_va_copy
="yes"
14536 echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.
$ac_ext >&5
14539 ac_cv_c_va_copy
="no"
14542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14543 conftest
$ac_exeext conftest.
$ac_ext
14546 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14547 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14548 if test "$ac_cv_c_va_copy" = "yes"
14551 cat >>confdefs.h
<<\_ACEOF
14552 #define HAVE_VA_COPY 1
14556 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14557 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14558 if test "${ac_cv_c___va_copy+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 cat >conftest.
$ac_ext <<_ACEOF
14564 cat confdefs.h
>>conftest.
$ac_ext
14565 cat >>conftest.
$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567 #include <stdarg.h>
14571 va_list ap1, ap2; __va_copy(ap1,ap2);
14576 rm -f conftest.
$ac_objext conftest
$ac_exeext
14577 if { (ac_try
="$ac_link"
14578 case "(($ac_try" in
14579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14580 *) ac_try_echo=$ac_try;;
14582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14583 (eval "$ac_link") 2>conftest.er1
14585 grep -v '^ *+' conftest.er1 >conftest.err
14587 cat conftest.err >&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } && {
14590 test -z "$ac_c_werror_flag" ||
14591 test ! -s conftest.err
14592 } && test -s conftest$ac_exeext &&
14593 $as_test_x conftest$ac_exeext; then
14594 ac_cv_c___va_copy="yes"
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14599 ac_cv_c___va_copy="no"
14602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14603 conftest$ac_exeext conftest.$ac_ext
14606 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14607 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14608 if test "$ac_cv_c___va_copy" = "yes"
14611 cat >>confdefs.h <<\_ACEOF
14612 #define HAVE___VA_COPY 1
14617 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14618 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14619 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 cat >conftest.$ac_ext <<_ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 #define _GNU_SOURCE
14629 #include <pthread.h>
14631 typedef pthread_rwlock_t ac__type_new_;
14635 if ((ac__type_new_ *) 0)
14637 if (sizeof (ac__type_new_))
14643 rm -f conftest.$ac_objext
14644 if { (ac_try="$ac_compile"
14645 case "(($ac_try" in
14646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14647 *) ac_try_echo
=$ac_try;;
14649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14650 (eval "$ac_compile") 2>conftest.er1
14652 grep -v '^ *+' conftest.er1
>conftest.err
14654 cat conftest.err
>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } && {
14657 test -z "$ac_c_werror_flag" ||
14658 test ! -s conftest.err
14659 } && test -s conftest.
$ac_objext; then
14660 ac_cv_type_pthread_rwlock_t
=yes
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14665 ac_cv_type_pthread_rwlock_t
=no
14668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14671 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14672 if test $ac_cv_type_pthread_rwlock_t = yes; then
14674 cat >>confdefs.h
<<_ACEOF
14675 #define HAVE_PTHREAD_RWLOCK_T 1
14680 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14681 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14682 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 cat >conftest.
$ac_ext <<_ACEOF
14688 cat confdefs.h
>>conftest.
$ac_ext
14689 cat >>conftest.
$ac_ext <<_ACEOF
14690 /* end confdefs.h. */
14691 #define _GNU_SOURCE
14692 #include <pthread.h>
14694 typedef pthread_rwlockattr_t ac__type_new_;
14698 if ((ac__type_new_ *) 0)
14700 if (sizeof (ac__type_new_))
14706 rm -f conftest.
$ac_objext
14707 if { (ac_try
="$ac_compile"
14708 case "(($ac_try" in
14709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14710 *) ac_try_echo=$ac_try;;
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14713 (eval "$ac_compile") 2>conftest.er1
14715 grep -v '^ *+' conftest.er1 >conftest.err
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } && {
14720 test -z "$ac_c_werror_flag" ||
14721 test ! -s conftest.err
14722 } && test -s conftest.$ac_objext; then
14723 ac_cv_type_pthread_rwlockattr_t=yes
14725 echo "$as_me: failed program was:" >&5
14726 sed 's/^/| /' conftest.$ac_ext >&5
14728 ac_cv_type_pthread_rwlockattr_t=no
14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14733 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14734 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14735 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14737 cat >>confdefs.h <<_ACEOF
14738 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14745 ac_wine_check_funcs_save_LIBS="$LIBS"
14746 LIBS="$LIBS $LIBPTHREAD"
14752 pthread_attr_get_np \
14753 pthread_getattr_np \
14754 pthread_get_stackaddr_np \
14755 pthread_get_stacksize_np
14757 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 cat >conftest.$ac_ext <<_ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14771 #define $ac_func innocuous_$ac_func
14773 /* System header to define __stub macros and hopefully few prototypes,
14774 which can conflict with char $ac_func (); below.
14775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14776 <limits.h> exists even on freestanding compilers. */
14779 # include <limits.h>
14781 # include <assert.h>
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14793 /* The GNU C library defines this for functions which it implements
14794 to always fail with ENOSYS. Some functions are actually named
14795 something starting with __ and the normal name is an alias. */
14796 #if defined __stub_$ac_func || defined __stub___$ac_func
14803 return $ac_func ();
14808 rm -f conftest.$ac_objext conftest$ac_exeext
14809 if { (ac_try="$ac_link"
14810 case "(($ac_try" in
14811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14812 *) ac_try_echo
=$ac_try;;
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_link") 2>conftest.er1
14817 grep -v '^ *+' conftest.er1
>conftest.err
14819 cat conftest.err
>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest
$ac_exeext &&
14825 $as_test_x conftest
$ac_exeext; then
14826 eval "$as_ac_var=yes"
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 eval "$as_ac_var=no"
14834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14835 conftest
$ac_exeext conftest.
$ac_ext
14837 ac_res
=`eval echo '${'$as_ac_var'}'`
14838 { echo "$as_me:$LINENO: result: $ac_res" >&5
14839 echo "${ECHO_T}$ac_res" >&6; }
14840 if test `eval echo '${'$as_ac_var'}'` = yes; then
14841 cat >>confdefs.h
<<_ACEOF
14842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14848 LIBS
="$ac_wine_check_funcs_save_LIBS"
14850 # Extract the first word of "esd-config", so it can be a program name with args.
14851 set dummy esd-config
; ac_word
=$2
14852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14854 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14863 for as_dir
in $PATH
14866 test -z "$as_dir" && as_dir
=.
14867 for ac_exec_ext
in '' $ac_executable_extensions; do
14868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14869 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14880 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14881 if test -n "$ESDCONFIG"; then
14882 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14883 echo "${ECHO_T}$ESDCONFIG" >&6; }
14885 { echo "$as_me:$LINENO: result: no" >&5
14886 echo "${ECHO_T}no" >&6; }
14890 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14893 for i
in `$ESDCONFIG --cflags`
14896 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14899 ESD_LIBS
=`$ESDCONFIG --libs`
14900 save_CFLAGS
="$CFLAGS"
14901 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14902 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14903 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14904 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 ac_check_lib_save_LIBS
=$LIBS
14909 cat >conftest.
$ac_ext <<_ACEOF
14912 cat confdefs.h
>>conftest.
$ac_ext
14913 cat >>conftest.
$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14922 char esd_open_sound ();
14926 return esd_open_sound ();
14931 rm -f conftest.
$ac_objext conftest
$ac_exeext
14932 if { (ac_try
="$ac_link"
14933 case "(($ac_try" in
14934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14935 *) ac_try_echo=$ac_try;;
14937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14938 (eval "$ac_link") 2>conftest.er1
14940 grep -v '^ *+' conftest.er1 >conftest.err
14942 cat conftest.err >&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } && {
14945 test -z "$ac_c_werror_flag" ||
14946 test ! -s conftest.err
14947 } && test -s conftest$ac_exeext &&
14948 $as_test_x conftest$ac_exeext; then
14949 ac_cv_lib_esd_esd_open_sound=yes
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14954 ac_cv_lib_esd_esd_open_sound=no
14957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14958 conftest$ac_exeext conftest.$ac_ext
14959 LIBS=$ac_check_lib_save_LIBS
14961 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14962 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14963 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14966 ESDINCL=$ESD_CFLAGS
14969 cat >>confdefs.h <<\_ACEOF
14975 CFLAGS="$save_CFLAGS"
14980 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14982 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14983 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14984 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 ac_check_lib_save_LIBS=$LIBS
14988 LIBS="-lasound $LIBS"
14989 cat >conftest.$ac_ext <<_ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14996 /* Override any GCC internal prototype to avoid an error.
14997 Use char because int might match the return type of a GCC
14998 builtin and then its argument prototype would still apply. */
15002 char snd_pcm_hw_params_get_access ();
15006 return snd_pcm_hw_params_get_access ();
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (ac_try="$ac_link"
15013 case "(($ac_try" in
15014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15015 *) ac_try_echo
=$ac_try;;
15017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15018 (eval "$ac_link") 2>conftest.er1
15020 grep -v '^ *+' conftest.er1
>conftest.err
15022 cat conftest.err
>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } && {
15025 test -z "$ac_c_werror_flag" ||
15026 test ! -s conftest.err
15027 } && test -s conftest
$ac_exeext &&
15028 $as_test_x conftest
$ac_exeext; then
15029 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.
$ac_ext >&5
15034 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
15037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15038 conftest
$ac_exeext conftest.
$ac_ext
15039 LIBS
=$ac_check_lib_save_LIBS
15041 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15042 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15043 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15044 cat >conftest.
$ac_ext <<_ACEOF
15047 cat confdefs.h
>>conftest.
$ac_ext
15048 cat >>conftest.
$ac_ext <<_ACEOF
15049 /* end confdefs.h. */
15050 #ifdef HAVE_ALSA_ASOUNDLIB_H
15051 #include <alsa/asoundlib.h>
15052 #elif defined(HAVE_SYS_ASOUNDLIB_H)
15053 #include <sys/asoundlib.h>
15058 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15063 rm -f conftest.
$ac_objext
15064 if { (ac_try
="$ac_compile"
15065 case "(($ac_try" in
15066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_compile") 2>conftest.er1
15072 grep -v '^ *+' conftest.er1 >conftest.err
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest.$ac_objext; then
15081 cat >>confdefs.h <<\_ACEOF
15082 #define HAVE_ALSA 1
15085 ALSALIBS="-lasound"
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15100 if test "$ac_cv_header_libaudioio_h" = "yes"
15102 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15103 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15104 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 ac_check_lib_save_LIBS=$LIBS
15108 LIBS="-laudioio $LIBS"
15109 cat >conftest.$ac_ext <<_ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15116 /* Override any GCC internal prototype to avoid an error.
15117 Use char because int might match the return type of a GCC
15118 builtin and then its argument prototype would still apply. */
15122 char AudioIOGetVersion ();
15126 return AudioIOGetVersion ();
15131 rm -f conftest.$ac_objext conftest$ac_exeext
15132 if { (ac_try="$ac_link"
15133 case "(($ac_try" in
15134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15135 *) ac_try_echo
=$ac_try;;
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_link") 2>conftest.er1
15140 grep -v '^ *+' conftest.er1
>conftest.err
15142 cat conftest.err
>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest
$ac_exeext &&
15148 $as_test_x conftest
$ac_exeext; then
15149 ac_cv_lib_audioio_AudioIOGetVersion
=yes
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.
$ac_ext >&5
15154 ac_cv_lib_audioio_AudioIOGetVersion
=no
15157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15158 conftest
$ac_exeext conftest.
$ac_ext
15159 LIBS
=$ac_check_lib_save_LIBS
15161 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15162 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15163 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15164 AUDIOIOLIBS
="-laudioio"
15166 cat >>confdefs.h
<<\_ACEOF
15167 #define HAVE_LIBAUDIOIO 1
15175 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15177 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15178 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15179 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 ac_check_soname_save_LIBS
=$LIBS
15183 LIBS
="-lcapi20 $LIBS"
15184 cat >conftest.
$ac_ext <<_ACEOF
15187 cat confdefs.h
>>conftest.
$ac_ext
15188 cat >>conftest.
$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15191 /* Override any GCC internal prototype to avoid an error.
15192 Use char because int might match the return type of a GCC
15193 builtin and then its argument prototype would still apply. */
15197 char capi20_register ();
15201 return capi20_register ();
15206 rm -f conftest.
$ac_objext conftest
$ac_exeext
15207 if { (ac_try
="$ac_link"
15208 case "(($ac_try" in
15209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_link") 2>conftest.er1
15215 grep -v '^ *+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest$ac_exeext &&
15223 $as_test_x conftest$ac_exeext; then
15226 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'` ;;
15227 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15230 echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.$ac_ext >&5
15236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_soname_save_LIBS
15240 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15241 { echo "$as_me:$LINENO: result: not found" >&5
15242 echo "${ECHO_T}not found" >&6; }
15245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15246 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15248 cat >>confdefs.h <<_ACEOF
15249 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15256 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15257 case "x$with_capi" in
15258 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15260 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15261 This is an error since --with-capi was requested." >&5
15262 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15263 This is an error since --with-capi was requested." >&2;}
15264 { (exit 1); exit 1; }; } ;;
15269 if test "$ac_cv_header_cups_cups_h" = "yes"
15271 { echo "$as_me:$LINENO: checking for -lcups" >&5
15272 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15273 if test "${ac_cv_lib_soname_cups+set}" = set; then
15274 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 ac_check_soname_save_LIBS=$LIBS
15277 LIBS="-lcups $LIBS"
15278 cat >conftest.$ac_ext <<_ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15291 char cupsGetDefault ();
15295 return cupsGetDefault ();
15300 rm -f conftest.$ac_objext conftest$ac_exeext
15301 if { (ac_try="$ac_link"
15302 case "(($ac_try" in
15303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15304 *) ac_try_echo
=$ac_try;;
15306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15307 (eval "$ac_link") 2>conftest.er1
15309 grep -v '^ *+' conftest.er1
>conftest.err
15311 cat conftest.err
>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } && {
15314 test -z "$ac_c_werror_flag" ||
15315 test ! -s conftest.err
15316 } && test -s conftest
$ac_exeext &&
15317 $as_test_x conftest
$ac_exeext; then
15320 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'` ;;
15321 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15331 conftest
$ac_exeext conftest.
$ac_ext
15332 LIBS
=$ac_check_soname_save_LIBS
15334 if test "x$ac_cv_lib_soname_cups" = "x"; then
15335 { echo "$as_me:$LINENO: result: not found" >&5
15336 echo "${ECHO_T}not found" >&6; }
15339 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15340 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15342 cat >>confdefs.h
<<_ACEOF
15343 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15350 if test "x$ac_cv_lib_soname_cups" = "x"; then
15351 case "x$with_cups" in
15352 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15354 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15355 This is an error since --with-cups was requested." >&5
15356 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15357 This is an error since --with-cups was requested." >&2;}
15358 { (exit 1); exit 1; }; } ;;
15363 if test "$ac_cv_header_jack_jack_h" = "yes"
15365 { echo "$as_me:$LINENO: checking for -ljack" >&5
15366 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15367 if test "${ac_cv_lib_soname_jack+set}" = set; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 ac_check_soname_save_LIBS
=$LIBS
15371 LIBS
="-ljack $LIBS"
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15385 char jack_client_new ();
15389 return jack_client_new ();
15394 rm -f conftest.
$ac_objext conftest
$ac_exeext
15395 if { (ac_try
="$ac_link"
15396 case "(($ac_try" in
15397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_link") 2>conftest.er1
15403 grep -v '^ *+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest$ac_exeext &&
15411 $as_test_x conftest$ac_exeext; then
15414 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'` ;;
15415 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15425 conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_soname_save_LIBS
15428 if test "x$ac_cv_lib_soname_jack" = "x"; then
15429 { echo "$as_me:$LINENO: result: not found" >&5
15430 echo "${ECHO_T}not found" >&6; }
15433 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15434 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15436 cat >>confdefs.h <<_ACEOF
15437 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15445 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15447 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15448 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15449 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 ac_check_soname_save_LIBS=$LIBS
15453 LIBS="-lfontconfig $LIBS"
15454 cat >conftest.$ac_ext <<_ACEOF
15457 cat confdefs.h >>conftest.$ac_ext
15458 cat >>conftest.$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15476 rm -f conftest.$ac_objext conftest$ac_exeext
15477 if { (ac_try="$ac_link"
15478 case "(($ac_try" in
15479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15480 *) ac_try_echo
=$ac_try;;
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_link") 2>conftest.er1
15485 grep -v '^ *+' conftest.er1
>conftest.err
15487 cat conftest.err
>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } && {
15490 test -z "$ac_c_werror_flag" ||
15491 test ! -s conftest.err
15492 } && test -s conftest
$ac_exeext &&
15493 $as_test_x conftest
$ac_exeext; then
15496 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'` ;;
15497 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15507 conftest
$ac_exeext conftest.
$ac_ext
15508 LIBS
=$ac_check_soname_save_LIBS
15510 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15511 { echo "$as_me:$LINENO: result: not found" >&5
15512 echo "${ECHO_T}not found" >&6; }
15515 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15516 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15518 cat >>confdefs.h
<<_ACEOF
15519 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15525 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15527 ac_save_CPPFLAGS
="$CPPFLAGS"
15528 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15529 $as_unset ac_cv_header_fontconfig_fontconfig_h
15531 for ac_header
in fontconfig
/fontconfig.h
15533 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15534 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15537 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 ac_res
=`eval echo '${'$as_ac_Header'}'`
15541 { echo "$as_me:$LINENO: result: $ac_res" >&5
15542 echo "${ECHO_T}$ac_res" >&6; }
15544 # Is the header compilable?
15545 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15547 cat >conftest.
$ac_ext <<_ACEOF
15550 cat confdefs.h
>>conftest.
$ac_ext
15551 cat >>conftest.
$ac_ext <<_ACEOF
15552 /* end confdefs.h. */
15553 $ac_includes_default
15554 #include <$ac_header>
15556 rm -f conftest.
$ac_objext
15557 if { (ac_try
="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15565 grep -v '^ *+' conftest.er1 >conftest.err
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 ac_header_compiler=yes
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 ac_header_compiler=no
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15583 echo "${ECHO_T}$ac_header_compiler" >&6; }
15585 # Is the header present?
15586 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15588 cat >conftest.$ac_ext <<_ACEOF
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 #include <$ac_header>
15596 if { (ac_try="$ac_cpp conftest.$ac_ext"
15597 case "(($ac_try" in
15598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15599 *) ac_try_echo
=$ac_try;;
15601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15604 grep -v '^ *+' conftest.er1
>conftest.err
15606 cat conftest.err
>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } >/dev
/null
&& {
15609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15610 test ! -s conftest.err
15612 ac_header_preproc
=yes
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.
$ac_ext >&5
15617 ac_header_preproc
=no
15620 rm -f conftest.err conftest.
$ac_ext
15621 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15622 echo "${ECHO_T}$ac_header_preproc" >&6; }
15624 # So? What about this header?
15625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15631 ac_header_preproc
=yes
15634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15647 ## ------------------------------------ ##
15648 ## Report this to wine-devel@winehq.org ##
15649 ## ------------------------------------ ##
15651 ) |
sed "s/^/$as_me: WARNING: /" >&2
15654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15656 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15659 eval "$as_ac_Header=\$ac_header_preproc"
15661 ac_res
=`eval echo '${'$as_ac_Header'}'`
15662 { echo "$as_me:$LINENO: result: $ac_res" >&5
15663 echo "${ECHO_T}$ac_res" >&6; }
15666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15667 cat >>confdefs.h
<<_ACEOF
15668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15675 CPPFLAGS
="$ac_save_CPPFLAGS"
15676 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15678 FONTCONFIGINCL
="$X_CFLAGS"
15680 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15681 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15682 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15683 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 ac_check_soname_save_LIBS
=$LIBS
15686 LIBS
="-lfontconfig $X_LIBS $LIBS"
15687 cat >conftest.
$ac_ext <<_ACEOF
15690 cat confdefs.h
>>conftest.
$ac_ext
15691 cat >>conftest.
$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15709 rm -f conftest.
$ac_objext conftest
$ac_exeext
15710 if { (ac_try
="$ac_link"
15711 case "(($ac_try" in
15712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15713 *) ac_try_echo=$ac_try;;
15715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15716 (eval "$ac_link") 2>conftest.er1
15718 grep -v '^ *+' conftest.er1 >conftest.err
15720 cat conftest.err >&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); } && {
15723 test -z "$ac_c_werror_flag" ||
15724 test ! -s conftest.err
15725 } && test -s conftest$ac_exeext &&
15726 $as_test_x conftest$ac_exeext; then
15729 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'` ;;
15730 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15740 conftest$ac_exeext conftest.$ac_ext
15741 LIBS=$ac_check_soname_save_LIBS
15743 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15744 { echo "$as_me:$LINENO: result: not found" >&5
15745 echo "${ECHO_T}not found" >&6; }
15748 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15749 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15751 cat >>confdefs.h <<_ACEOF
15752 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15760 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15761 case "x$with_fontconfig" in
15762 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15764 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15765 This is an error since --with-fontconfig was requested." >&5
15766 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15767 This is an error since --with-fontconfig was requested." >&2;}
15768 { (exit 1); exit 1; }; } ;;
15773 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15775 { echo "$as_me:$LINENO: checking for -lssl" >&5
15776 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15777 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 ac_check_soname_save_LIBS=$LIBS
15782 cat >conftest.$ac_ext <<_ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15789 /* Override any GCC internal prototype to avoid an error.
15790 Use char because int might match the return type of a GCC
15791 builtin and then its argument prototype would still apply. */
15795 char SSL_library_init ();
15799 return SSL_library_init ();
15804 rm -f conftest.$ac_objext conftest$ac_exeext
15805 if { (ac_try="$ac_link"
15806 case "(($ac_try" in
15807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15808 *) ac_try_echo
=$ac_try;;
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_link") 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_c_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest
$ac_exeext &&
15821 $as_test_x conftest
$ac_exeext; then
15824 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'` ;;
15825 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.
$ac_ext >&5
15834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15835 conftest
$ac_exeext conftest.
$ac_ext
15836 LIBS
=$ac_check_soname_save_LIBS
15838 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15839 { echo "$as_me:$LINENO: result: not found" >&5
15840 echo "${ECHO_T}not found" >&6; }
15843 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15844 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15846 cat >>confdefs.h
<<_ACEOF
15847 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15853 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15854 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15855 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 ac_check_soname_save_LIBS
=$LIBS
15859 LIBS
="-lcrypto $LIBS"
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15867 /* Override any GCC internal prototype to avoid an error.
15868 Use char because int might match the return type of a GCC
15869 builtin and then its argument prototype would still apply. */
15873 char BIO_new_socket ();
15877 return BIO_new_socket ();
15882 rm -f conftest.
$ac_objext conftest
$ac_exeext
15883 if { (ac_try
="$ac_link"
15884 case "(($ac_try" in
15885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15886 *) ac_try_echo=$ac_try;;
15888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15889 (eval "$ac_link") 2>conftest.er1
15891 grep -v '^ *+' conftest.er1 >conftest.err
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } && {
15896 test -z "$ac_c_werror_flag" ||
15897 test ! -s conftest.err
15898 } && test -s conftest$ac_exeext &&
15899 $as_test_x conftest$ac_exeext; then
15902 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'` ;;
15903 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_soname_save_LIBS
15916 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15917 { echo "$as_me:$LINENO: result: not found" >&5
15918 echo "${ECHO_T}not found" >&6; }
15921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15922 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15924 cat >>confdefs.h <<_ACEOF
15925 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15932 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15933 case "x$with_openssl" in
15934 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15936 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15937 This is an error since --with-openssl was requested." >&5
15938 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15939 This is an error since --with-openssl was requested." >&2;}
15940 { (exit 1); exit 1; }; } ;;
15945 if test "$ac_cv_header_jpeglib_h" = "yes"
15947 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15948 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15949 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 ac_check_soname_save_LIBS=$LIBS
15953 LIBS="-ljpeg $LIBS"
15954 cat >conftest.$ac_ext <<_ACEOF
15957 cat confdefs.h >>conftest.$ac_ext
15958 cat >>conftest.$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15961 /* Override any GCC internal prototype to avoid an error.
15962 Use char because int might match the return type of a GCC
15963 builtin and then its argument prototype would still apply. */
15967 char jpeg_start_decompress ();
15971 return jpeg_start_decompress ();
15976 rm -f conftest.$ac_objext conftest$ac_exeext
15977 if { (ac_try="$ac_link"
15978 case "(($ac_try" in
15979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15980 *) ac_try_echo
=$ac_try;;
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983 (eval "$ac_link") 2>conftest.er1
15985 grep -v '^ *+' conftest.er1
>conftest.err
15987 cat conftest.err
>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && {
15990 test -z "$ac_c_werror_flag" ||
15991 test ! -s conftest.err
15992 } && test -s conftest
$ac_exeext &&
15993 $as_test_x conftest
$ac_exeext; then
15996 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'` ;;
15997 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16007 conftest
$ac_exeext conftest.
$ac_ext
16008 LIBS
=$ac_check_soname_save_LIBS
16010 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16011 { echo "$as_me:$LINENO: result: not found" >&5
16012 echo "${ECHO_T}not found" >&6; }
16015 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16016 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16018 cat >>confdefs.h
<<_ACEOF
16019 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16026 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16027 case "x$with_jpeg" in
16028 x
) wine_warnings
="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
16030 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16031 This is an error since --with-jpeg was requested." >&5
16032 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16033 This is an error since --with-jpeg was requested." >&2;}
16034 { (exit 1); exit 1; }; } ;;
16039 if test "$ac_cv_header_png_h" = "yes"
16041 { echo "$as_me:$LINENO: checking for -lpng" >&5
16042 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16043 if test "${ac_cv_lib_soname_png+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 ac_check_soname_save_LIBS
=$LIBS
16047 LIBS
="-lpng -lm $LIBS"
16048 cat >conftest.
$ac_ext <<_ACEOF
16051 cat confdefs.h
>>conftest.
$ac_ext
16052 cat >>conftest.
$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16061 char png_create_read_struct ();
16065 return png_create_read_struct ();
16070 rm -f conftest.
$ac_objext conftest
$ac_exeext
16071 if { (ac_try
="$ac_link"
16072 case "(($ac_try" in
16073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16074 *) ac_try_echo=$ac_try;;
16076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16077 (eval "$ac_link") 2>conftest.er1
16079 grep -v '^ *+' conftest.er1 >conftest.err
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } && {
16084 test -z "$ac_c_werror_flag" ||
16085 test ! -s conftest.err
16086 } && test -s conftest$ac_exeext &&
16087 $as_test_x conftest$ac_exeext; then
16090 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'` ;;
16091 *) 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'` ;;
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16101 conftest$ac_exeext conftest.$ac_ext
16102 LIBS=$ac_check_soname_save_LIBS
16104 if test "x$ac_cv_lib_soname_png" = "x"; then
16105 { echo "$as_me:$LINENO: result: not found" >&5
16106 echo "${ECHO_T}not found" >&6; }
16109 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16110 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16112 cat >>confdefs.h <<_ACEOF
16113 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16120 if test "x$ac_cv_lib_soname_png" = "x"; then
16121 case "x$with_png" in
16122 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16124 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16125 This is an error since --with-png was requested." >&5
16126 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16127 This is an error since --with-png was requested." >&2;}
16128 { (exit 1); exit 1; }; } ;;
16133 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16134 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16135 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 ac_check_soname_save_LIBS=$LIBS
16139 LIBS="-lodbc $LIBS"
16140 cat >conftest.$ac_ext <<_ACEOF
16143 cat confdefs.h >>conftest.$ac_ext
16144 cat >>conftest.$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16147 /* Override any GCC internal prototype to avoid an error.
16148 Use char because int might match the return type of a GCC
16149 builtin and then its argument prototype would still apply. */
16153 char SQLConnect ();
16157 return SQLConnect ();
16162 rm -f conftest.$ac_objext conftest$ac_exeext
16163 if { (ac_try="$ac_link"
16164 case "(($ac_try" in
16165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16166 *) ac_try_echo
=$ac_try;;
16168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16169 (eval "$ac_link") 2>conftest.er1
16171 grep -v '^ *+' conftest.er1
>conftest.err
16173 cat conftest.err
>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && {
16176 test -z "$ac_c_werror_flag" ||
16177 test ! -s conftest.err
16178 } && test -s conftest
$ac_exeext &&
16179 $as_test_x conftest
$ac_exeext; then
16182 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'` ;;
16183 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.
$ac_ext >&5
16192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16193 conftest
$ac_exeext conftest.
$ac_ext
16194 LIBS
=$ac_check_soname_save_LIBS
16196 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16197 { echo "$as_me:$LINENO: result: not found" >&5
16198 echo "${ECHO_T}not found" >&6; }
16199 cat >>confdefs.h
<<_ACEOF
16200 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16204 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16205 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16207 cat >>confdefs.h
<<_ACEOF
16208 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16215 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16216 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16217 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16218 "$ac_cv_header_soundcard_h" != "yes" -a \
16219 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16221 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
16227 if test "x${GCC}" = "xyes"
16229 EXTRACFLAGS
="-Wall -pipe"
16231 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16232 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16233 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 if test "$cross_compiling" = yes; then
16237 ac_cv_c_gcc_strength_bug
="yes"
16239 cat >conftest.
$ac_ext <<_ACEOF
16242 cat confdefs.h
>>conftest.
$ac_ext
16243 cat >>conftest.
$ac_ext <<_ACEOF
16244 /* end confdefs.h. */
16245 int L[4] = {0,1,2,3};
16249 static int Array[3];
16250 unsigned int B = 3;
16252 for(i=0; i<B; i++) Array[i] = i - 3;
16253 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16255 exit( Array[1] != -2 || L[2] != 3)
16260 rm -f conftest
$ac_exeext
16261 if { (ac_try
="$ac_link"
16262 case "(($ac_try" in
16263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_link") 2>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16271 { (case "(($ac_try" in
16272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16273 *) ac_try_echo
=$ac_try;;
16275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16276 (eval "$ac_try") 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_cv_c_gcc_strength_bug
="no"
16282 echo "$as_me: program exited with status $ac_status" >&5
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.
$ac_ext >&5
16286 ( exit $ac_status )
16287 ac_cv_c_gcc_strength_bug
="yes"
16289 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16294 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16295 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16296 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16298 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
16302 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16303 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16304 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 ac_wine_try_cflags_saved
=$CFLAGS
16308 CFLAGS
="$CFLAGS -fshort-wchar"
16309 cat >conftest.
$ac_ext <<_ACEOF
16312 cat confdefs.h
>>conftest.
$ac_ext
16313 cat >>conftest.
$ac_ext <<_ACEOF
16314 /* end confdefs.h. */
16324 rm -f conftest.
$ac_objext conftest
$ac_exeext
16325 if { (ac_try
="$ac_link"
16326 case "(($ac_try" in
16327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16328 *) ac_try_echo=$ac_try;;
16330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16331 (eval "$ac_link") 2>conftest.er1
16333 grep -v '^ *+' conftest.er1 >conftest.err
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } && {
16338 test -z "$ac_c_werror_flag" ||
16339 test ! -s conftest.err
16340 } && test -s conftest$ac_exeext &&
16341 $as_test_x conftest$ac_exeext; then
16342 ac_cv_cflags__fshort_wchar=yes
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16347 ac_cv_cflags__fshort_wchar=no
16350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16351 conftest$ac_exeext conftest.$ac_ext
16352 CFLAGS=$ac_wine_try_cflags_saved
16354 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16355 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16356 if test $ac_cv_cflags__fshort_wchar = yes; then
16358 cat >>confdefs.h <<\_ACEOF
16359 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16364 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16365 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16366 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 ac_wine_try_cflags_saved=$CFLAGS
16370 CFLAGS="$CFLAGS -fno-strict-aliasing"
16371 cat >conftest.$ac_ext <<_ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16386 rm -f conftest.$ac_objext conftest$ac_exeext
16387 if { (ac_try="$ac_link"
16388 case "(($ac_try" in
16389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16390 *) ac_try_echo
=$ac_try;;
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_link") 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } && {
16400 test -z "$ac_c_werror_flag" ||
16401 test ! -s conftest.err
16402 } && test -s conftest
$ac_exeext &&
16403 $as_test_x conftest
$ac_exeext; then
16404 ac_cv_cflags__fno_strict_aliasing
=yes
16406 echo "$as_me: failed program was:" >&5
16407 sed 's/^/| /' conftest.
$ac_ext >&5
16409 ac_cv_cflags__fno_strict_aliasing
=no
16412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16413 conftest
$ac_exeext conftest.
$ac_ext
16414 CFLAGS
=$ac_wine_try_cflags_saved
16416 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16417 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16418 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16419 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16422 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16423 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16424 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 ac_wine_try_cflags_saved
=$CFLAGS
16428 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16444 rm -f conftest.
$ac_objext conftest
$ac_exeext
16445 if { (ac_try
="$ac_link"
16446 case "(($ac_try" in
16447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1 >conftest.err
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest$ac_exeext &&
16461 $as_test_x conftest$ac_exeext; then
16462 ac_cv_cflags__Wdeclaration_after_statement=yes
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16467 ac_cv_cflags__Wdeclaration_after_statement=no
16470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16471 conftest$ac_exeext conftest.$ac_ext
16472 CFLAGS=$ac_wine_try_cflags_saved
16474 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16475 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16476 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16477 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16480 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16481 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16482 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 ac_wine_try_cflags_saved=$CFLAGS
16486 CFLAGS="$CFLAGS -Wwrite-strings"
16487 cat >conftest.$ac_ext <<_ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16502 rm -f conftest.$ac_objext conftest$ac_exeext
16503 if { (ac_try="$ac_link"
16504 case "(($ac_try" in
16505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16506 *) ac_try_echo
=$ac_try;;
16508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16509 (eval "$ac_link") 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } && {
16516 test -z "$ac_c_werror_flag" ||
16517 test ! -s conftest.err
16518 } && test -s conftest
$ac_exeext &&
16519 $as_test_x conftest
$ac_exeext; then
16520 ac_cv_cflags__Wwrite_strings
=yes
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.
$ac_ext >&5
16525 ac_cv_cflags__Wwrite_strings
=no
16528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16529 conftest
$ac_exeext conftest.
$ac_ext
16530 CFLAGS
=$ac_wine_try_cflags_saved
16532 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16533 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16534 if test $ac_cv_cflags__Wwrite_strings = yes; then
16535 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16538 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16539 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16540 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 ac_wine_try_cflags_saved
=$CFLAGS
16544 CFLAGS
="$CFLAGS -Wtype-limits"
16545 cat >conftest.
$ac_ext <<_ACEOF
16548 cat confdefs.h
>>conftest.
$ac_ext
16549 cat >>conftest.
$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16560 rm -f conftest.
$ac_objext conftest
$ac_exeext
16561 if { (ac_try
="$ac_link"
16562 case "(($ac_try" in
16563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_link") 2>conftest.er1
16569 grep -v '^ *+' conftest.er1 >conftest.err
16571 cat conftest.err >&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest$ac_exeext &&
16577 $as_test_x conftest$ac_exeext; then
16578 ac_cv_cflags__Wtype_limits=yes
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16583 ac_cv_cflags__Wtype_limits=no
16586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16587 conftest$ac_exeext conftest.$ac_ext
16588 CFLAGS=$ac_wine_try_cflags_saved
16590 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16591 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16592 if test $ac_cv_cflags__Wtype_limits = yes; then
16593 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16597 saved_CFLAGS="$CFLAGS"
16598 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16599 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16600 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16601 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 cat >conftest.$ac_ext <<_ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #include <string.h>
16619 rm -f conftest.$ac_objext
16620 if { (ac_try="$ac_compile"
16621 case "(($ac_try" in
16622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16623 *) ac_try_echo
=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compile") 2>conftest.er1
16628 grep -v '^ *+' conftest.er1
>conftest.err
16630 cat conftest.err
>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } && {
16633 test -z "$ac_c_werror_flag" ||
16634 test ! -s conftest.err
16635 } && test -s conftest.
$ac_objext; then
16636 ac_cv_c_string_h_warnings
=no
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 ac_cv_c_string_h_warnings
=yes
16644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16646 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16647 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16648 CFLAGS
="$saved_CFLAGS"
16649 if test "$ac_cv_c_string_h_warnings" = "no"
16651 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16656 saved_CFLAGS
="$CFLAGS"
16657 CFLAGS
="$CFLAGS -Werror"
16658 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16659 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16660 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 cat >conftest.
$ac_ext <<_ACEOF
16666 cat confdefs.h
>>conftest.
$ac_ext
16667 cat >>conftest.
$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16673 int iswlower(unsigned short);
16678 rm -f conftest.
$ac_objext
16679 if { (ac_try
="$ac_compile"
16680 case "(($ac_try" in
16681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16682 *) ac_try_echo=$ac_try;;
16684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16685 (eval "$ac_compile") 2>conftest.er1
16687 grep -v '^ *+' conftest.er1 >conftest.err
16689 cat conftest.err >&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } && {
16692 test -z "$ac_c_werror_flag" ||
16693 test ! -s conftest.err
16694 } && test -s conftest.$ac_objext; then
16695 ac_cv_c_builtin_wchar_ctype=no
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.$ac_ext >&5
16700 ac_cv_c_builtin_wchar_ctype=yes
16703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16706 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16707 CFLAGS="$saved_CFLAGS"
16708 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16710 BUILTINFLAG="-fno-builtin"
16715 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16716 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16717 if test "${ac_cv_asm_func_def+set}" = set; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 cat >conftest.$ac_ext <<_ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16730 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16735 rm -f conftest.$ac_objext conftest$ac_exeext
16736 if { (ac_try="$ac_link"
16737 case "(($ac_try" in
16738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16739 *) ac_try_echo
=$ac_try;;
16741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16742 (eval "$ac_link") 2>conftest.er1
16744 grep -v '^ *+' conftest.er1
>conftest.err
16746 cat conftest.err
>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && {
16749 test -z "$ac_c_werror_flag" ||
16750 test ! -s conftest.err
16751 } && test -s conftest
$ac_exeext &&
16752 $as_test_x conftest
$ac_exeext; then
16753 ac_cv_asm_func_def
=".def"
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16768 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16773 rm -f conftest.
$ac_objext conftest
$ac_exeext
16774 if { (ac_try
="$ac_link"
16775 case "(($ac_try" in
16776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16777 *) ac_try_echo=$ac_try;;
16779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16780 (eval "$ac_link") 2>conftest.er1
16782 grep -v '^ *+' conftest.er1 >conftest.err
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } && {
16787 test -z "$ac_c_werror_flag" ||
16788 test ! -s conftest.err
16789 } && test -s conftest$ac_exeext &&
16790 $as_test_x conftest$ac_exeext; then
16791 ac_cv_asm_func_def=".type @function"
16793 echo "$as_me: failed program was:" >&5
16794 sed 's/^/| /' conftest.$ac_ext >&5
16796 cat >conftest.$ac_ext <<_ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16806 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16811 rm -f conftest.$ac_objext conftest$ac_exeext
16812 if { (ac_try="$ac_link"
16813 case "(($ac_try" in
16814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16815 *) ac_try_echo
=$ac_try;;
16817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16818 (eval "$ac_link") 2>conftest.er1
16820 grep -v '^ *+' conftest.er1
>conftest.err
16822 cat conftest.err
>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } && {
16825 test -z "$ac_c_werror_flag" ||
16826 test ! -s conftest.err
16827 } && test -s conftest
$ac_exeext &&
16828 $as_test_x conftest
$ac_exeext; then
16829 ac_cv_asm_func_def
=".type 2"
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 ac_cv_asm_func_def
="unknown"
16837 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16838 conftest
$ac_exeext conftest.
$ac_ext
16841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16842 conftest
$ac_exeext conftest.
$ac_ext
16845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16846 conftest
$ac_exeext conftest.
$ac_ext
16848 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16849 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16853 case "$ac_cv_asm_func_def" in
16855 cat >>confdefs.h
<<\_ACEOF
16856 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16860 cat >>confdefs.h
<<\_ACEOF
16861 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16865 cat >>confdefs.h
<<\_ACEOF
16866 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16870 cat >>confdefs.h
<<\_ACEOF
16871 #define __ASM_FUNC(name) ""
16877 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16878 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16879 if test "${ac_cv_c_extern_prefix+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 extern int ac_test;
16892 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16897 rm -f conftest.
$ac_objext conftest
$ac_exeext
16898 if { (ac_try
="$ac_link"
16899 case "(($ac_try" in
16900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_link") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1 >conftest.err
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } && {
16911 test -z "$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 } && test -s conftest$ac_exeext &&
16914 $as_test_x conftest$ac_exeext; then
16915 ac_cv_c_extern_prefix="yes"
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16920 ac_cv_c_extern_prefix="no"
16923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16924 conftest$ac_exeext conftest.$ac_ext
16926 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16927 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16931 if test "$ac_cv_c_extern_prefix" = "yes"
16933 cat >>confdefs.h <<\_ACEOF
16934 #define __ASM_NAME(name) "_" name
16938 cat >>confdefs.h <<\_ACEOF
16939 #define __ASM_NAME(name) name
16949 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16953 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16955 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16959 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16967 SOCKETLIBS="-lws2_32"
16972 MAIN_BINARY="wine-pthread"
16976 linux* | k*bsd*-gnu)
16977 MAIN_BINARY="wine-glibc"
16979 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16982 MAIN_BINARY="wine-freebsd"
16984 EXTRA_BINARIES="wine-pthread"
17132 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 cat >conftest.$ac_ext <<_ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17146 #define $ac_func innocuous_$ac_func
17148 /* System header to define __stub macros and hopefully few prototypes,
17149 which can conflict with char $ac_func (); below.
17150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17151 <limits.h> exists even on freestanding compilers. */
17154 # include <limits.h>
17156 # include <assert.h>
17161 /* Override any GCC internal prototype to avoid an error.
17162 Use char because int might match the return type of a GCC
17163 builtin and then its argument prototype would still apply. */
17168 /* The GNU C library defines this for functions which it implements
17169 to always fail with ENOSYS. Some functions are actually named
17170 something starting with __ and the normal name is an alias. */
17171 #if defined __stub_$ac_func || defined __stub___$ac_func
17178 return $ac_func ();
17183 rm -f conftest.$ac_objext conftest$ac_exeext
17184 if { (ac_try="$ac_link"
17185 case "(($ac_try" in
17186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17187 *) ac_try_echo
=$ac_try;;
17189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17190 (eval "$ac_link") 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } && {
17197 test -z "$ac_c_werror_flag" ||
17198 test ! -s conftest.err
17199 } && test -s conftest
$ac_exeext &&
17200 $as_test_x conftest
$ac_exeext; then
17201 eval "$as_ac_var=yes"
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.
$ac_ext >&5
17206 eval "$as_ac_var=no"
17209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17210 conftest
$ac_exeext conftest.
$ac_ext
17212 ac_res
=`eval echo '${'$as_ac_var'}'`
17213 { echo "$as_me:$LINENO: result: $ac_res" >&5
17214 echo "${ECHO_T}$ac_res" >&6; }
17215 if test `eval echo '${'$as_ac_var'}'` = yes; then
17216 cat >>confdefs.h
<<_ACEOF
17217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 if test "$ac_cv_func_dlopen" = no
17226 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17227 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17228 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 ac_check_lib_save_LIBS
=$LIBS
17233 cat >conftest.
$ac_ext <<_ACEOF
17236 cat confdefs.h
>>conftest.
$ac_ext
17237 cat >>conftest.
$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17240 /* Override any GCC internal prototype to avoid an error.
17241 Use char because int might match the return type of a GCC
17242 builtin and then its argument prototype would still apply. */
17255 rm -f conftest.
$ac_objext conftest
$ac_exeext
17256 if { (ac_try
="$ac_link"
17257 case "(($ac_try" in
17258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_link") 2>conftest.er1
17264 grep -v '^ *+' conftest.er1 >conftest.err
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest$ac_exeext &&
17272 $as_test_x conftest$ac_exeext; then
17273 ac_cv_lib_dl_dlopen=yes
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 ac_cv_lib_dl_dlopen=no
17281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17286 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17287 if test $ac_cv_lib_dl_dlopen = yes; then
17288 cat >>confdefs.h <<\_ACEOF
17289 #define HAVE_DLOPEN 1
17296 ac_wine_check_funcs_save_LIBS="$LIBS"
17297 LIBS="$LIBS $LIBDL"
17299 for ac_func in dladdr
17301 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17304 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 cat >conftest.$ac_ext <<_ACEOF
17310 cat confdefs.h >>conftest.$ac_ext
17311 cat >>conftest.$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17315 #define $ac_func innocuous_$ac_func
17317 /* System header to define __stub macros and hopefully few prototypes,
17318 which can conflict with char $ac_func (); below.
17319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17320 <limits.h> exists even on freestanding compilers. */
17323 # include <limits.h>
17325 # include <assert.h>
17330 /* Override any GCC internal prototype to avoid an error.
17331 Use char because int might match the return type of a GCC
17332 builtin and then its argument prototype would still apply. */
17337 /* The GNU C library defines this for functions which it implements
17338 to always fail with ENOSYS. Some functions are actually named
17339 something starting with __ and the normal name is an alias. */
17340 #if defined __stub_$ac_func || defined __stub___$ac_func
17347 return $ac_func ();
17352 rm -f conftest.$ac_objext conftest$ac_exeext
17353 if { (ac_try="$ac_link"
17354 case "(($ac_try" in
17355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17356 *) ac_try_echo
=$ac_try;;
17358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17359 (eval "$ac_link") 2>conftest.er1
17361 grep -v '^ *+' conftest.er1
>conftest.err
17363 cat conftest.err
>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } && {
17366 test -z "$ac_c_werror_flag" ||
17367 test ! -s conftest.err
17368 } && test -s conftest
$ac_exeext &&
17369 $as_test_x conftest
$ac_exeext; then
17370 eval "$as_ac_var=yes"
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.
$ac_ext >&5
17375 eval "$as_ac_var=no"
17378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17379 conftest
$ac_exeext conftest.
$ac_ext
17381 ac_res
=`eval echo '${'$as_ac_var'}'`
17382 { echo "$as_me:$LINENO: result: $ac_res" >&5
17383 echo "${ECHO_T}$ac_res" >&6; }
17384 if test `eval echo '${'$as_ac_var'}'` = yes; then
17385 cat >>confdefs.h
<<_ACEOF
17386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17392 LIBS
="$ac_wine_check_funcs_save_LIBS"
17394 if test "$ac_cv_func_poll" = no
17396 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17397 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17398 if test "${ac_cv_lib_poll_poll+set}" = set; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 ac_check_lib_save_LIBS
=$LIBS
17402 LIBS
="-lpoll $LIBS"
17403 cat >conftest.
$ac_ext <<_ACEOF
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17410 /* Override any GCC internal prototype to avoid an error.
17411 Use char because int might match the return type of a GCC
17412 builtin and then its argument prototype would still apply. */
17425 rm -f conftest.
$ac_objext conftest
$ac_exeext
17426 if { (ac_try
="$ac_link"
17427 case "(($ac_try" in
17428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_link") 2>conftest.er1
17434 grep -v '^ *+' conftest.er1 >conftest.err
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_c_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest$ac_exeext &&
17442 $as_test_x conftest$ac_exeext; then
17443 ac_cv_lib_poll_poll=yes
17445 echo "$as_me: failed program was:" >&5
17446 sed 's/^/| /' conftest.$ac_ext >&5
17448 ac_cv_lib_poll_poll=no
17451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17452 conftest$ac_exeext conftest.$ac_ext
17453 LIBS=$ac_check_lib_save_LIBS
17455 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17456 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17457 if test $ac_cv_lib_poll_poll = yes; then
17458 cat >>confdefs.h <<\_ACEOF
17459 #define HAVE_POLL 1
17467 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17468 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17469 if test "${ac_cv_search_gethostbyname+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 ac_func_search_save_LIBS=$LIBS
17473 cat >conftest.$ac_ext <<_ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17480 /* Override any GCC internal prototype to avoid an error.
17481 Use char because int might match the return type of a GCC
17482 builtin and then its argument prototype would still apply. */
17486 char gethostbyname ();
17490 return gethostbyname ();
17495 for ac_lib in '' nsl; do
17496 if test -z "$ac_lib"; then
17497 ac_res="none required"
17500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17502 rm -f conftest.$ac_objext conftest$ac_exeext
17503 if { (ac_try="$ac_link"
17504 case "(($ac_try" in
17505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17506 *) ac_try_echo
=$ac_try;;
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_link") 2>conftest.er1
17511 grep -v '^ *+' conftest.er1
>conftest.err
17513 cat conftest.err
>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest
$ac_exeext &&
17519 $as_test_x conftest
$ac_exeext; then
17520 ac_cv_search_gethostbyname
=$ac_res
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17530 if test "${ac_cv_search_gethostbyname+set}" = set; then
17534 if test "${ac_cv_search_gethostbyname+set}" = set; then
17537 ac_cv_search_gethostbyname
=no
17539 rm conftest.
$ac_ext
17540 LIBS
=$ac_func_search_save_LIBS
17542 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17543 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17544 ac_res
=$ac_cv_search_gethostbyname
17545 if test "$ac_res" != no
; then
17546 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17551 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17552 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17553 if test "${ac_cv_search_connect+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 ac_func_search_save_LIBS
=$LIBS
17557 cat >conftest.
$ac_ext <<_ACEOF
17560 cat confdefs.h
>>conftest.
$ac_ext
17561 cat >>conftest.
$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17564 /* Override any GCC internal prototype to avoid an error.
17565 Use char because int might match the return type of a GCC
17566 builtin and then its argument prototype would still apply. */
17579 for ac_lib
in '' socket
; do
17580 if test -z "$ac_lib"; then
17581 ac_res
="none required"
17584 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17586 rm -f conftest.
$ac_objext conftest
$ac_exeext
17587 if { (ac_try
="$ac_link"
17588 case "(($ac_try" in
17589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_link") 2>conftest.er1
17595 grep -v '^ *+' conftest.er1 >conftest.err
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest$ac_exeext &&
17603 $as_test_x conftest$ac_exeext; then
17604 ac_cv_search_connect=$ac_res
17606 echo "$as_me: failed program was:" >&5
17607 sed 's/^/| /' conftest.$ac_ext >&5
17612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17614 if test "${ac_cv_search_connect+set}" = set; then
17618 if test "${ac_cv_search_connect+set}" = set; then
17621 ac_cv_search_connect=no
17623 rm conftest.$ac_ext
17624 LIBS=$ac_func_search_save_LIBS
17626 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17627 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17628 ac_res=$ac_cv_search_connect
17629 if test "$ac_res" != no; then
17630 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17635 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17636 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17637 if test "${ac_cv_search_inet_aton+set}" = set; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 ac_func_search_save_LIBS=$LIBS
17641 cat >conftest.$ac_ext <<_ACEOF
17644 cat confdefs.h >>conftest.$ac_ext
17645 cat >>conftest.$ac_ext <<_ACEOF
17646 /* end confdefs.h. */
17648 /* Override any GCC internal prototype to avoid an error.
17649 Use char because int might match the return type of a GCC
17650 builtin and then its argument prototype would still apply. */
17658 return inet_aton ();
17663 for ac_lib in '' resolv; do
17664 if test -z "$ac_lib"; then
17665 ac_res="none required"
17668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17670 rm -f conftest.$ac_objext conftest$ac_exeext
17671 if { (ac_try="$ac_link"
17672 case "(($ac_try" in
17673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17674 *) ac_try_echo
=$ac_try;;
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_link") 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } && {
17684 test -z "$ac_c_werror_flag" ||
17685 test ! -s conftest.err
17686 } && test -s conftest
$ac_exeext &&
17687 $as_test_x conftest
$ac_exeext; then
17688 ac_cv_search_inet_aton
=$ac_res
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17696 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17698 if test "${ac_cv_search_inet_aton+set}" = set; then
17702 if test "${ac_cv_search_inet_aton+set}" = set; then
17705 ac_cv_search_inet_aton
=no
17707 rm conftest.
$ac_ext
17708 LIBS
=$ac_func_search_save_LIBS
17710 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17711 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17712 ac_res
=$ac_cv_search_inet_aton
17713 if test "$ac_res" != no
; then
17714 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17741 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17742 echo $ECHO_N "(cached) $ECHO_C" >&6
17744 cat >conftest.
$ac_ext <<_ACEOF
17747 cat confdefs.h
>>conftest.
$ac_ext
17748 cat >>conftest.
$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17752 #define $ac_func innocuous_$ac_func
17754 /* System header to define __stub macros and hopefully few prototypes,
17755 which can conflict with char $ac_func (); below.
17756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17757 <limits.h> exists even on freestanding compilers. */
17760 # include <limits.h>
17762 # include <assert.h>
17767 /* Override any GCC internal prototype to avoid an error.
17768 Use char because int might match the return type of a GCC
17769 builtin and then its argument prototype would still apply. */
17774 /* The GNU C library defines this for functions which it implements
17775 to always fail with ENOSYS. Some functions are actually named
17776 something starting with __ and the normal name is an alias. */
17777 #if defined __stub_$ac_func || defined __stub___$ac_func
17784 return $ac_func ();
17789 rm -f conftest.
$ac_objext conftest
$ac_exeext
17790 if { (ac_try
="$ac_link"
17791 case "(($ac_try" in
17792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_link") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest$ac_exeext &&
17806 $as_test_x conftest$ac_exeext; then
17807 eval "$as_ac_var=yes"
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17812 eval "$as_ac_var=no"
17815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17816 conftest$ac_exeext conftest.$ac_ext
17818 ac_res=`eval echo '${'$as_ac_var'}'`
17819 { echo "$as_me:$LINENO: result: $ac_res" >&5
17820 echo "${ECHO_T}$ac_res" >&6; }
17821 if test `eval echo '${'$as_ac_var'}'` = yes; then
17822 cat >>confdefs.h <<_ACEOF
17823 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17833 if test "${ac_cv_c_const+set}" = set; then
17834 echo $ECHO_N "(cached) $ECHO_C" >&6
17836 cat >conftest.$ac_ext <<_ACEOF
17839 cat confdefs.h >>conftest.$ac_ext
17840 cat >>conftest.$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17846 /* FIXME: Include the comments suggested by Paul. */
17847 #ifndef __cplusplus
17848 /* Ultrix mips cc rejects this. */
17849 typedef int charset[2];
17851 /* SunOS 4.1.1 cc rejects this. */
17852 char const *const *pcpcc;
17854 /* NEC SVR4.0.2 mips cc rejects this. */
17855 struct point {int x, y;};
17856 static struct point const zero = {0,0};
17857 /* AIX XL C 1.02.0.0 rejects this.
17858 It does not let you subtract one const X* pointer from another in
17859 an arm of an if-expression whose if-part is not a constant
17861 const char *g = "string";
17862 pcpcc = &g + (g ? g-g : 0);
17863 /* HPUX 7.0 cc rejects these. */
17865 ppc = (char**) pcpcc;
17866 pcpcc = (char const *const *) ppc;
17867 { /* SCO 3.2v4 cc rejects this. */
17869 char const *s = 0 ? (char *) 0 : (char const *) 0;
17874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17875 int x[] = {25, 17};
17876 const int *foo = &x[0];
17879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17880 typedef const int *iptr;
17884 { /* AIX XL C 1.02.0.0 rejects this saying
17885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17886 struct s { int j; const int *ap[3]; };
17887 struct s *b; b->j = 5;
17889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17890 const int foo = 10;
17891 if (!foo) return 0;
17893 return !cs[0] && !zero.x;
17900 rm -f conftest.$ac_objext
17901 if { (ac_try="$ac_compile"
17902 case "(($ac_try" in
17903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17904 *) ac_try_echo
=$ac_try;;
17906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17907 (eval "$ac_compile") 2>conftest.er1
17909 grep -v '^ *+' conftest.er1
>conftest.err
17911 cat conftest.err
>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } && {
17914 test -z "$ac_c_werror_flag" ||
17915 test ! -s conftest.err
17916 } && test -s conftest.
$ac_objext; then
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.
$ac_ext >&5
17925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17929 if test $ac_cv_c_const = no
; then
17931 cat >>confdefs.h
<<\_ACEOF
17937 { echo "$as_me:$LINENO: checking for inline" >&5
17938 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17939 if test "${ac_cv_c_inline+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 for ac_kw
in inline __inline__ __inline
; do
17944 cat >conftest.
$ac_ext <<_ACEOF
17947 cat confdefs.h
>>conftest.
$ac_ext
17948 cat >>conftest.
$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 #ifndef __cplusplus
17952 static $ac_kw foo_t static_foo () {return 0; }
17953 $ac_kw foo_t foo () {return 0; }
17957 rm -f conftest.
$ac_objext
17958 if { (ac_try
="$ac_compile"
17959 case "(($ac_try" in
17960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_compile") 2>conftest.er1
17966 grep -v '^ *+' conftest.er1 >conftest.err
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } && {
17971 test -z "$ac_c_werror_flag" ||
17972 test ! -s conftest.err
17973 } && test -s conftest.$ac_objext; then
17974 ac_cv_c_inline=$ac_kw
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.$ac_ext >&5
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 test "$ac_cv_c_inline" != no && break
17987 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17991 case $ac_cv_c_inline in
17994 case $ac_cv_c_inline in
17996 *) ac_val=$ac_cv_c_inline;;
17998 cat >>confdefs.h <<_ACEOF
17999 #ifndef __cplusplus
18000 #define inline $ac_val
18006 { echo "$as_me:$LINENO: checking for mode_t" >&5
18007 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18008 if test "${ac_cv_type_mode_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 mode_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_mode_t
=yes
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.
$ac_ext >&5
18052 ac_cv_type_mode_t
=no
18055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18057 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18058 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18059 if test $ac_cv_type_mode_t = yes; then
18061 cat >>confdefs.h
<<_ACEOF
18062 #define HAVE_MODE_T 1
18067 { echo "$as_me:$LINENO: checking for off_t" >&5
18068 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18069 if test "${ac_cv_type_off_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 off_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_off_t=yes
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 ac_cv_type_off_t=no
18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18118 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18119 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18120 if test $ac_cv_type_off_t = yes; then
18122 cat >>confdefs.h <<_ACEOF
18123 #define HAVE_OFF_T 1
18128 { echo "$as_me:$LINENO: checking for pid_t" >&5
18129 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_pid_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 pid_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_pid_t
=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.
$ac_ext >&5
18174 ac_cv_type_pid_t
=no
18177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18180 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18181 if test $ac_cv_type_pid_t = yes; then
18183 cat >>confdefs.h
<<_ACEOF
18184 #define HAVE_PID_T 1
18189 { echo "$as_me:$LINENO: checking for size_t" >&5
18190 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18191 if test "${ac_cv_type_size_t+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 size_t 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_size_t=yes
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 ac_cv_type_size_t=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18240 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18241 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18242 if test $ac_cv_type_size_t = yes; then
18244 cat >>confdefs.h <<_ACEOF
18245 #define HAVE_SIZE_T 1
18250 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18251 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18252 if test "${ac_cv_type_ssize_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 ssize_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_ssize_t
=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 ac_cv_type_ssize_t
=no
18299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18301 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18302 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18303 if test $ac_cv_type_ssize_t = yes; then
18305 cat >>confdefs.h
<<_ACEOF
18306 #define HAVE_SSIZE_T 1
18311 { echo "$as_me:$LINENO: checking for long long" >&5
18312 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18313 if test "${ac_cv_type_long_long+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 long long 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_long_long=yes
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 ac_cv_type_long_long=no
18360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18363 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18364 if test $ac_cv_type_long_long = yes; then
18366 cat >>confdefs.h <<_ACEOF
18367 #define HAVE_LONG_LONG 1
18372 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18373 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18374 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 cat >conftest.$ac_ext <<_ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 $ac_includes_default
18384 typedef fsblkcnt_t ac__type_new_;
18388 if ((ac__type_new_ *) 0)
18390 if (sizeof (ac__type_new_))
18396 rm -f conftest.$ac_objext
18397 if { (ac_try="$ac_compile"
18398 case "(($ac_try" in
18399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18400 *) ac_try_echo
=$ac_try;;
18402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18403 (eval "$ac_compile") 2>conftest.er1
18405 grep -v '^ *+' conftest.er1
>conftest.err
18407 cat conftest.err
>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } && {
18410 test -z "$ac_c_werror_flag" ||
18411 test ! -s conftest.err
18412 } && test -s conftest.
$ac_objext; then
18413 ac_cv_type_fsblkcnt_t
=yes
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.
$ac_ext >&5
18418 ac_cv_type_fsblkcnt_t
=no
18421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18423 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18424 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18425 if test $ac_cv_type_fsblkcnt_t = yes; then
18427 cat >>confdefs.h
<<_ACEOF
18428 #define HAVE_FSBLKCNT_T 1
18433 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18434 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18435 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 cat >conftest.
$ac_ext <<_ACEOF
18441 cat confdefs.h
>>conftest.
$ac_ext
18442 cat >>conftest.
$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 $ac_includes_default
18445 typedef fsfilcnt_t ac__type_new_;
18449 if ((ac__type_new_ *) 0)
18451 if (sizeof (ac__type_new_))
18457 rm -f conftest.
$ac_objext
18458 if { (ac_try
="$ac_compile"
18459 case "(($ac_try" in
18460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18461 *) ac_try_echo=$ac_try;;
18463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18464 (eval "$ac_compile") 2>conftest.er1
18466 grep -v '^ *+' conftest.er1 >conftest.err
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } && {
18471 test -z "$ac_c_werror_flag" ||
18472 test ! -s conftest.err
18473 } && test -s conftest.$ac_objext; then
18474 ac_cv_type_fsfilcnt_t=yes
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.$ac_ext >&5
18479 ac_cv_type_fsfilcnt_t=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18485 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18486 if test $ac_cv_type_fsfilcnt_t = yes; then
18488 cat >>confdefs.h <<_ACEOF
18489 #define HAVE_FSFILCNT_T 1
18495 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18496 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18497 if test "${ac_cv_type_sigset_t+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 cat >conftest.$ac_ext <<_ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 #include <signal.h>
18508 typedef sigset_t ac__type_new_;
18512 if ((ac__type_new_ *) 0)
18514 if (sizeof (ac__type_new_))
18520 rm -f conftest.$ac_objext
18521 if { (ac_try="$ac_compile"
18522 case "(($ac_try" in
18523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18524 *) ac_try_echo
=$ac_try;;
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_compile") 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && {
18534 test -z "$ac_c_werror_flag" ||
18535 test ! -s conftest.err
18536 } && test -s conftest.
$ac_objext; then
18537 ac_cv_type_sigset_t
=yes
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.
$ac_ext >&5
18542 ac_cv_type_sigset_t
=no
18545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18548 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18549 if test $ac_cv_type_sigset_t = yes; then
18551 cat >>confdefs.h
<<_ACEOF
18552 #define HAVE_SIGSET_T 1
18558 { echo "$as_me:$LINENO: checking for request_sense" >&5
18559 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18560 if test "${ac_cv_type_request_sense+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 cat >conftest.
$ac_ext <<_ACEOF
18566 cat confdefs.h
>>conftest.
$ac_ext
18567 cat >>conftest.
$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <linux/cdrom.h>
18571 typedef request_sense ac__type_new_;
18575 if ((ac__type_new_ *) 0)
18577 if (sizeof (ac__type_new_))
18583 rm -f conftest.
$ac_objext
18584 if { (ac_try
="$ac_compile"
18585 case "(($ac_try" in
18586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_compile") 2>conftest.er1
18592 grep -v '^ *+' conftest.er1 >conftest.err
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } && {
18597 test -z "$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18599 } && test -s conftest.$ac_objext; then
18600 ac_cv_type_request_sense=yes
18602 echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18605 ac_cv_type_request_sense=no
18608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18611 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18612 if test $ac_cv_type_request_sense = yes; then
18614 cat >>confdefs.h <<_ACEOF
18615 #define HAVE_REQUEST_SENSE 1
18622 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18623 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18624 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 cat >conftest.$ac_ext <<_ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 #ifdef HAVE_LINUX_INPUT_H
18634 #include <linux/input.h>
18640 static struct ff_effect ac_aggr;
18641 if (ac_aggr.direction)
18647 rm -f conftest.$ac_objext
18648 if { (ac_try="$ac_compile"
18649 case "(($ac_try" in
18650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18651 *) ac_try_echo
=$ac_try;;
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_compile") 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest.
$ac_objext; then
18664 ac_cv_member_struct_ff_effect_direction
=yes
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.
$ac_ext >&5
18669 cat >conftest.
$ac_ext <<_ACEOF
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 #ifdef HAVE_LINUX_INPUT_H
18676 #include <linux/input.h>
18682 static struct ff_effect ac_aggr;
18683 if (sizeof ac_aggr.direction)
18689 rm -f conftest.
$ac_objext
18690 if { (ac_try
="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18698 grep -v '^ *+' conftest.er1 >conftest.err
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 ac_cv_member_struct_ff_effect_direction=yes
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_ff_effect_direction=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18720 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18721 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18731 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18732 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18733 if test "${wine_cv_have_sigaddset+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 cat >conftest.$ac_ext <<_ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #include <signal.h>
18746 sigset_t set; sigaddset(&set,SIGTERM);
18751 rm -f conftest.$ac_objext conftest$ac_exeext
18752 if { (ac_try="$ac_link"
18753 case "(($ac_try" in
18754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18755 *) ac_try_echo
=$ac_try;;
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_link") 2>conftest.er1
18760 grep -v '^ *+' conftest.er1
>conftest.err
18762 cat conftest.err
>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } && {
18765 test -z "$ac_c_werror_flag" ||
18766 test ! -s conftest.err
18767 } && test -s conftest
$ac_exeext &&
18768 $as_test_x conftest
$ac_exeext; then
18769 wine_cv_have_sigaddset
=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 wine_cv_have_sigaddset
=no
18777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18778 conftest
$ac_exeext conftest.
$ac_ext
18780 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18781 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18782 if test "$wine_cv_have_sigaddset" = "yes"
18785 cat >>confdefs.h
<<\_ACEOF
18786 #define HAVE_SIGADDSET 1
18792 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18793 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18794 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 cat >conftest.
$ac_ext <<_ACEOF
18800 cat confdefs.h
>>conftest.
$ac_ext
18801 cat >>conftest.
$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18810 struct hostent *result;
18817 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18818 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18824 rm -f conftest.
$ac_objext conftest
$ac_exeext
18825 if { (ac_try
="$ac_link"
18826 case "(($ac_try" in
18827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18828 *) ac_try_echo=$ac_try;;
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_link") 2>conftest.er1
18833 grep -v '^ *+' conftest.er1 >conftest.err
18835 cat conftest.err >&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest$ac_exeext &&
18841 $as_test_x conftest$ac_exeext; then
18842 wine_cv_linux_gethostbyname_r_6=yes
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18847 wine_cv_linux_gethostbyname_r_6=no
18851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18852 conftest$ac_exeext conftest.$ac_ext
18855 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18856 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18857 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18860 cat >>confdefs.h <<\_ACEOF
18861 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18866 if test "$ac_cv_header_linux_joystick_h" = "yes"
18868 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18869 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18870 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 cat >conftest.$ac_ext <<_ACEOF
18876 cat confdefs.h >>conftest.$ac_ext
18877 cat >>conftest.$ac_ext <<_ACEOF
18878 /* end confdefs.h. */
18880 #include <sys/ioctl.h>
18881 #include <sys/types.h>
18882 #include <linux/joystick.h>
18884 struct js_event blub;
18885 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18886 #error "no 2.2 header"
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18901 *) ac_try_echo
=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1
>conftest.err
18908 cat conftest.err
>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.
$ac_objext; then
18914 wine_cv_linux_joystick_22_api
=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.
$ac_ext >&5
18919 wine_cv_linux_joystick_22_api
=no
18922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18925 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18926 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18927 if test "$wine_cv_linux_joystick_22_api" = "yes"
18930 cat >>confdefs.h
<<\_ACEOF
18931 #define HAVE_LINUX_22_JOYSTICK_API 1
18938 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18939 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18940 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 cat >conftest.
$ac_ext <<_ACEOF
18946 cat confdefs.h
>>conftest.
$ac_ext
18947 cat >>conftest.
$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 #include <sys/types.h>
18950 #ifdef HAVE_SYS_PARAM_H
18951 # include <sys/param.h>
18953 #ifdef HAVE_SYS_MOUNT_H
18954 # include <sys/mount.h>
18956 #ifdef HAVE_SYS_VFS_H
18957 # include <sys/vfs.h>
18959 #ifdef HAVE_SYS_STATFS_H
18960 # include <sys/statfs.h>
18966 static struct statfs ac_aggr;
18967 if (ac_aggr.f_bfree)
18973 rm -f conftest.
$ac_objext
18974 if { (ac_try
="$ac_compile"
18975 case "(($ac_try" in
18976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18977 *) ac_try_echo=$ac_try;;
18979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18980 (eval "$ac_compile") 2>conftest.er1
18982 grep -v '^ *+' conftest.er1 >conftest.err
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } && {
18987 test -z "$ac_c_werror_flag" ||
18988 test ! -s conftest.err
18989 } && test -s conftest.$ac_objext; then
18990 ac_cv_member_struct_statfs_f_bfree=yes
18992 echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.$ac_ext >&5
18995 cat >conftest.$ac_ext <<_ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <sys/types.h>
19002 #ifdef HAVE_SYS_PARAM_H
19003 # include <sys/param.h>
19005 #ifdef HAVE_SYS_MOUNT_H
19006 # include <sys/mount.h>
19008 #ifdef HAVE_SYS_VFS_H
19009 # include <sys/vfs.h>
19011 #ifdef HAVE_SYS_STATFS_H
19012 # include <sys/statfs.h>
19018 static struct statfs ac_aggr;
19019 if (sizeof ac_aggr.f_bfree)
19025 rm -f conftest.$ac_objext
19026 if { (ac_try="$ac_compile"
19027 case "(($ac_try" in
19028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19029 *) ac_try_echo
=$ac_try;;
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_compile") 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } && {
19039 test -z "$ac_c_werror_flag" ||
19040 test ! -s conftest.err
19041 } && test -s conftest.
$ac_objext; then
19042 ac_cv_member_struct_statfs_f_bfree
=yes
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.
$ac_ext >&5
19047 ac_cv_member_struct_statfs_f_bfree
=no
19050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19055 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19056 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19057 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19059 cat >>confdefs.h
<<_ACEOF
19060 #define HAVE_STRUCT_STATFS_F_BFREE 1
19065 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19066 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19067 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19076 #include <sys/types.h>
19077 #ifdef HAVE_SYS_PARAM_H
19078 # include <sys/param.h>
19080 #ifdef HAVE_SYS_MOUNT_H
19081 # include <sys/mount.h>
19083 #ifdef HAVE_SYS_VFS_H
19084 # include <sys/vfs.h>
19086 #ifdef HAVE_SYS_STATFS_H
19087 # include <sys/statfs.h>
19093 static struct statfs ac_aggr;
19094 if (ac_aggr.f_bavail)
19100 rm -f conftest.
$ac_objext
19101 if { (ac_try
="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19109 grep -v '^ *+' conftest.er1 >conftest.err
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.$ac_objext; then
19117 ac_cv_member_struct_statfs_f_bavail=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 cat >conftest.$ac_ext <<_ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <sys/types.h>
19129 #ifdef HAVE_SYS_PARAM_H
19130 # include <sys/param.h>
19132 #ifdef HAVE_SYS_MOUNT_H
19133 # include <sys/mount.h>
19135 #ifdef HAVE_SYS_VFS_H
19136 # include <sys/vfs.h>
19138 #ifdef HAVE_SYS_STATFS_H
19139 # include <sys/statfs.h>
19145 static struct statfs ac_aggr;
19146 if (sizeof ac_aggr.f_bavail)
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19156 *) ac_try_echo
=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.
$ac_objext; then
19169 ac_cv_member_struct_statfs_f_bavail
=yes
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_cv_member_struct_statfs_f_bavail
=no
19177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19182 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19183 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19184 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19186 cat >>confdefs.h
<<_ACEOF
19187 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19192 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19193 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19194 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 cat >conftest.
$ac_ext <<_ACEOF
19200 cat confdefs.h
>>conftest.
$ac_ext
19201 cat >>conftest.
$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 #include <sys/types.h>
19204 #ifdef HAVE_SYS_PARAM_H
19205 # include <sys/param.h>
19207 #ifdef HAVE_SYS_MOUNT_H
19208 # include <sys/mount.h>
19210 #ifdef HAVE_SYS_VFS_H
19211 # include <sys/vfs.h>
19213 #ifdef HAVE_SYS_STATFS_H
19214 # include <sys/statfs.h>
19220 static struct statfs ac_aggr;
19221 if (ac_aggr.f_frsize)
19227 rm -f conftest.
$ac_objext
19228 if { (ac_try
="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19236 grep -v '^ *+' conftest.er1 >conftest.err
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_c_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 ac_cv_member_struct_statfs_f_frsize=yes
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19249 cat >conftest.$ac_ext <<_ACEOF
19252 cat confdefs.h >>conftest.$ac_ext
19253 cat >>conftest.$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19255 #include <sys/types.h>
19256 #ifdef HAVE_SYS_PARAM_H
19257 # include <sys/param.h>
19259 #ifdef HAVE_SYS_MOUNT_H
19260 # include <sys/mount.h>
19262 #ifdef HAVE_SYS_VFS_H
19263 # include <sys/vfs.h>
19265 #ifdef HAVE_SYS_STATFS_H
19266 # include <sys/statfs.h>
19272 static struct statfs ac_aggr;
19273 if (sizeof ac_aggr.f_frsize)
19279 rm -f conftest.$ac_objext
19280 if { (ac_try="$ac_compile"
19281 case "(($ac_try" in
19282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19283 *) ac_try_echo
=$ac_try;;
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_compile") 2>conftest.er1
19288 grep -v '^ *+' conftest.er1
>conftest.err
19290 cat conftest.err
>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && {
19293 test -z "$ac_c_werror_flag" ||
19294 test ! -s conftest.err
19295 } && test -s conftest.
$ac_objext; then
19296 ac_cv_member_struct_statfs_f_frsize
=yes
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.
$ac_ext >&5
19301 ac_cv_member_struct_statfs_f_frsize
=no
19304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19309 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19310 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19311 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19313 cat >>confdefs.h
<<_ACEOF
19314 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19319 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19320 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19321 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 cat >conftest.
$ac_ext <<_ACEOF
19327 cat confdefs.h
>>conftest.
$ac_ext
19328 cat >>conftest.
$ac_ext <<_ACEOF
19329 /* end confdefs.h. */
19330 #include <sys/types.h>
19331 #ifdef HAVE_SYS_PARAM_H
19332 # include <sys/param.h>
19334 #ifdef HAVE_SYS_MOUNT_H
19335 # include <sys/mount.h>
19337 #ifdef HAVE_SYS_VFS_H
19338 # include <sys/vfs.h>
19340 #ifdef HAVE_SYS_STATFS_H
19341 # include <sys/statfs.h>
19347 static struct statfs ac_aggr;
19348 if (ac_aggr.f_ffree)
19354 rm -f conftest.
$ac_objext
19355 if { (ac_try
="$ac_compile"
19356 case "(($ac_try" in
19357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_compile") 2>conftest.er1
19363 grep -v '^ *+' conftest.er1 >conftest.err
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } && {
19368 test -z "$ac_c_werror_flag" ||
19369 test ! -s conftest.err
19370 } && test -s conftest.$ac_objext; then
19371 ac_cv_member_struct_statfs_f_ffree=yes
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 cat >conftest.$ac_ext <<_ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <sys/types.h>
19383 #ifdef HAVE_SYS_PARAM_H
19384 # include <sys/param.h>
19386 #ifdef HAVE_SYS_MOUNT_H
19387 # include <sys/mount.h>
19389 #ifdef HAVE_SYS_VFS_H
19390 # include <sys/vfs.h>
19392 #ifdef HAVE_SYS_STATFS_H
19393 # include <sys/statfs.h>
19399 static struct statfs ac_aggr;
19400 if (sizeof ac_aggr.f_ffree)
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19410 *) ac_try_echo
=$ac_try;;
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19415 grep -v '^ *+' conftest.er1
>conftest.err
19417 cat conftest.err
>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.
$ac_objext; then
19423 ac_cv_member_struct_statfs_f_ffree
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 ac_cv_member_struct_statfs_f_ffree
=no
19431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19436 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19437 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19438 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19440 cat >>confdefs.h
<<_ACEOF
19441 #define HAVE_STRUCT_STATFS_F_FFREE 1
19446 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19447 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19448 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 cat >conftest.
$ac_ext <<_ACEOF
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457 #include <sys/types.h>
19458 #ifdef HAVE_SYS_PARAM_H
19459 # include <sys/param.h>
19461 #ifdef HAVE_SYS_MOUNT_H
19462 # include <sys/mount.h>
19464 #ifdef HAVE_SYS_VFS_H
19465 # include <sys/vfs.h>
19467 #ifdef HAVE_SYS_STATFS_H
19468 # include <sys/statfs.h>
19474 static struct statfs ac_aggr;
19475 if (ac_aggr.f_favail)
19481 rm -f conftest.
$ac_objext
19482 if { (ac_try
="$ac_compile"
19483 case "(($ac_try" in
19484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19485 *) ac_try_echo=$ac_try;;
19487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488 (eval "$ac_compile") 2>conftest.er1
19490 grep -v '^ *+' conftest.er1 >conftest.err
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } && {
19495 test -z "$ac_c_werror_flag" ||
19496 test ! -s conftest.err
19497 } && test -s conftest.$ac_objext; then
19498 ac_cv_member_struct_statfs_f_favail=yes
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19503 cat >conftest.$ac_ext <<_ACEOF
19506 cat confdefs.h >>conftest.$ac_ext
19507 cat >>conftest.$ac_ext <<_ACEOF
19508 /* end confdefs.h. */
19509 #include <sys/types.h>
19510 #ifdef HAVE_SYS_PARAM_H
19511 # include <sys/param.h>
19513 #ifdef HAVE_SYS_MOUNT_H
19514 # include <sys/mount.h>
19516 #ifdef HAVE_SYS_VFS_H
19517 # include <sys/vfs.h>
19519 #ifdef HAVE_SYS_STATFS_H
19520 # include <sys/statfs.h>
19526 static struct statfs ac_aggr;
19527 if (sizeof ac_aggr.f_favail)
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19537 *) ac_try_echo
=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.
$ac_objext; then
19550 ac_cv_member_struct_statfs_f_favail
=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.
$ac_ext >&5
19555 ac_cv_member_struct_statfs_f_favail
=no
19558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19565 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19567 cat >>confdefs.h
<<_ACEOF
19568 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19573 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19574 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19575 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19576 echo $ECHO_N "(cached) $ECHO_C" >&6
19578 cat >conftest.
$ac_ext <<_ACEOF
19581 cat confdefs.h
>>conftest.
$ac_ext
19582 cat >>conftest.
$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #include <sys/types.h>
19585 #ifdef HAVE_SYS_PARAM_H
19586 # include <sys/param.h>
19588 #ifdef HAVE_SYS_MOUNT_H
19589 # include <sys/mount.h>
19591 #ifdef HAVE_SYS_VFS_H
19592 # include <sys/vfs.h>
19594 #ifdef HAVE_SYS_STATFS_H
19595 # include <sys/statfs.h>
19601 static struct statfs ac_aggr;
19602 if (ac_aggr.f_namelen)
19608 rm -f conftest.
$ac_objext
19609 if { (ac_try
="$ac_compile"
19610 case "(($ac_try" in
19611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19615 (eval "$ac_compile") 2>conftest.er1
19617 grep -v '^ *+' conftest.er1 >conftest.err
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && {
19622 test -z "$ac_c_werror_flag" ||
19623 test ! -s conftest.err
19624 } && test -s conftest.$ac_objext; then
19625 ac_cv_member_struct_statfs_f_namelen=yes
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19630 cat >conftest.$ac_ext <<_ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 #include <sys/types.h>
19637 #ifdef HAVE_SYS_PARAM_H
19638 # include <sys/param.h>
19640 #ifdef HAVE_SYS_MOUNT_H
19641 # include <sys/mount.h>
19643 #ifdef HAVE_SYS_VFS_H
19644 # include <sys/vfs.h>
19646 #ifdef HAVE_SYS_STATFS_H
19647 # include <sys/statfs.h>
19653 static struct statfs ac_aggr;
19654 if (sizeof ac_aggr.f_namelen)
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19664 *) ac_try_echo
=$ac_try;;
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1
>conftest.err
19671 cat conftest.err
>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.
$ac_objext; then
19677 ac_cv_member_struct_statfs_f_namelen
=yes
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 ac_cv_member_struct_statfs_f_namelen
=no
19685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19690 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19691 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19692 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19694 cat >>confdefs.h
<<_ACEOF
19695 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19702 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19703 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19704 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 cat >conftest.
$ac_ext <<_ACEOF
19710 cat confdefs.h
>>conftest.
$ac_ext
19711 cat >>conftest.
$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #ifdef HAVE_SYS_STATVFS_H
19714 #include <sys/statvfs.h>
19720 static struct statvfs ac_aggr;
19721 if (ac_aggr.f_blocks)
19727 rm -f conftest.
$ac_objext
19728 if { (ac_try
="$ac_compile"
19729 case "(($ac_try" in
19730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_compile") 2>conftest.er1
19736 grep -v '^ *+' conftest.er1 >conftest.err
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } && {
19741 test -z "$ac_c_werror_flag" ||
19742 test ! -s conftest.err
19743 } && test -s conftest.$ac_objext; then
19744 ac_cv_member_struct_statvfs_f_blocks=yes
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 cat >conftest.$ac_ext <<_ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 #ifdef HAVE_SYS_STATVFS_H
19756 #include <sys/statvfs.h>
19762 static struct statvfs ac_aggr;
19763 if (sizeof ac_aggr.f_blocks)
19769 rm -f conftest.$ac_objext
19770 if { (ac_try="$ac_compile"
19771 case "(($ac_try" in
19772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19773 *) ac_try_echo
=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_compile") 2>conftest.er1
19778 grep -v '^ *+' conftest.er1
>conftest.err
19780 cat conftest.err
>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } && {
19783 test -z "$ac_c_werror_flag" ||
19784 test ! -s conftest.err
19785 } && test -s conftest.
$ac_objext; then
19786 ac_cv_member_struct_statvfs_f_blocks
=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.
$ac_ext >&5
19791 ac_cv_member_struct_statvfs_f_blocks
=no
19794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19800 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19801 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19803 cat >>confdefs.h
<<_ACEOF
19804 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19811 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19812 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19813 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <sys/types.h>
19823 #ifdef HAVE_SYS_SOCKET_H
19824 # include <sys/socket.h>
19826 #ifdef HAVE_SYS_UN_H
19827 # include <sys/un.h>
19833 static struct msghdr ac_aggr;
19834 if (ac_aggr.msg_accrights)
19840 rm -f conftest.
$ac_objext
19841 if { (ac_try
="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_cv_member_struct_msghdr_msg_accrights=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 cat >conftest.$ac_ext <<_ACEOF
19865 cat confdefs.h >>conftest.$ac_ext
19866 cat >>conftest.$ac_ext <<_ACEOF
19867 /* end confdefs.h. */
19868 #include <sys/types.h>
19869 #ifdef HAVE_SYS_SOCKET_H
19870 # include <sys/socket.h>
19872 #ifdef HAVE_SYS_UN_H
19873 # include <sys/un.h>
19879 static struct msghdr ac_aggr;
19880 if (sizeof ac_aggr.msg_accrights)
19886 rm -f conftest.$ac_objext
19887 if { (ac_try="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19890 *) ac_try_echo
=$ac_try;;
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19895 grep -v '^ *+' conftest.er1
>conftest.err
19897 cat conftest.err
>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.
$ac_objext; then
19903 ac_cv_member_struct_msghdr_msg_accrights
=yes
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.
$ac_ext >&5
19908 ac_cv_member_struct_msghdr_msg_accrights
=no
19911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19917 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19918 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19920 cat >>confdefs.h
<<_ACEOF
19921 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19926 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19927 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19928 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 cat >conftest.
$ac_ext <<_ACEOF
19934 cat confdefs.h
>>conftest.
$ac_ext
19935 cat >>conftest.
$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #include <sys/types.h>
19938 #ifdef HAVE_SYS_SOCKET_H
19939 # include <sys/socket.h>
19941 #ifdef HAVE_SYS_UN_H
19942 # include <sys/un.h>
19948 static struct sockaddr ac_aggr;
19949 if (ac_aggr.sa_len)
19955 rm -f conftest.
$ac_objext
19956 if { (ac_try
="$ac_compile"
19957 case "(($ac_try" in
19958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19959 *) ac_try_echo=$ac_try;;
19961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19962 (eval "$ac_compile") 2>conftest.er1
19964 grep -v '^ *+' conftest.er1 >conftest.err
19966 cat conftest.err >&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); } && {
19969 test -z "$ac_c_werror_flag" ||
19970 test ! -s conftest.err
19971 } && test -s conftest.$ac_objext; then
19972 ac_cv_member_struct_sockaddr_sa_len=yes
19974 echo "$as_me: failed program was:" >&5
19975 sed 's/^/| /' conftest.$ac_ext >&5
19977 cat >conftest.$ac_ext <<_ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 #include <sys/types.h>
19984 #ifdef HAVE_SYS_SOCKET_H
19985 # include <sys/socket.h>
19987 #ifdef HAVE_SYS_UN_H
19988 # include <sys/un.h>
19994 static struct sockaddr ac_aggr;
19995 if (sizeof ac_aggr.sa_len)
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20005 *) ac_try_echo
=$ac_try;;
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20010 grep -v '^ *+' conftest.er1
>conftest.err
20012 cat conftest.err
>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.
$ac_objext; then
20018 ac_cv_member_struct_sockaddr_sa_len
=yes
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.
$ac_ext >&5
20023 ac_cv_member_struct_sockaddr_sa_len
=no
20026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20031 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20032 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20033 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20035 cat >>confdefs.h
<<_ACEOF
20036 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20041 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20042 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20043 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #include <sys/types.h>
20053 #ifdef HAVE_SYS_SOCKET_H
20054 # include <sys/socket.h>
20056 #ifdef HAVE_SYS_UN_H
20057 # include <sys/un.h>
20063 static struct sockaddr_un ac_aggr;
20064 if (ac_aggr.sun_len)
20070 rm -f conftest.
$ac_objext
20071 if { (ac_try
="$ac_compile"
20072 case "(($ac_try" in
20073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_compile") 2>conftest.er1
20079 grep -v '^ *+' conftest.er1 >conftest.err
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest.$ac_objext; then
20087 ac_cv_member_struct_sockaddr_un_sun_len=yes
20089 echo "$as_me: failed program was:" >&5
20090 sed 's/^/| /' conftest.$ac_ext >&5
20092 cat >conftest.$ac_ext <<_ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #include <sys/types.h>
20099 #ifdef HAVE_SYS_SOCKET_H
20100 # include <sys/socket.h>
20102 #ifdef HAVE_SYS_UN_H
20103 # include <sys/un.h>
20109 static struct sockaddr_un ac_aggr;
20110 if (sizeof ac_aggr.sun_len)
20116 rm -f conftest.$ac_objext
20117 if { (ac_try="$ac_compile"
20118 case "(($ac_try" in
20119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20120 *) ac_try_echo
=$ac_try;;
20122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20123 (eval "$ac_compile") 2>conftest.er1
20125 grep -v '^ *+' conftest.er1
>conftest.err
20127 cat conftest.err
>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && {
20130 test -z "$ac_c_werror_flag" ||
20131 test ! -s conftest.err
20132 } && test -s conftest.
$ac_objext; then
20133 ac_cv_member_struct_sockaddr_un_sun_len
=yes
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.
$ac_ext >&5
20138 ac_cv_member_struct_sockaddr_un_sun_len
=no
20141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20147 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20148 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20150 cat >>confdefs.h
<<_ACEOF
20151 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20158 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20159 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20160 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 #include <sys/types.h>
20170 #ifdef HAVE_SCSI_SG_H
20171 #include <scsi/sg.h>
20177 static scsireq_t ac_aggr;
20184 rm -f conftest.
$ac_objext
20185 if { (ac_try
="$ac_compile"
20186 case "(($ac_try" in
20187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20188 *) ac_try_echo=$ac_try;;
20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20191 (eval "$ac_compile") 2>conftest.er1
20193 grep -v '^ *+' conftest.er1 >conftest.err
20195 cat conftest.err >&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } && {
20198 test -z "$ac_c_werror_flag" ||
20199 test ! -s conftest.err
20200 } && test -s conftest.$ac_objext; then
20201 ac_cv_member_scsireq_t_cmd=yes
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20206 cat >conftest.$ac_ext <<_ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20212 #include <sys/types.h>
20213 #ifdef HAVE_SCSI_SG_H
20214 #include <scsi/sg.h>
20220 static scsireq_t ac_aggr;
20221 if (sizeof ac_aggr.cmd)
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20231 *) ac_try_echo
=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20236 grep -v '^ *+' conftest.er1
>conftest.err
20238 cat conftest.err
>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.
$ac_objext; then
20244 ac_cv_member_scsireq_t_cmd
=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.
$ac_ext >&5
20249 ac_cv_member_scsireq_t_cmd
=no
20252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20257 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20258 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20259 if test $ac_cv_member_scsireq_t_cmd = yes; then
20261 cat >>confdefs.h
<<_ACEOF
20262 #define HAVE_SCSIREQ_T_CMD 1
20267 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20268 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20269 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 cat >conftest.
$ac_ext <<_ACEOF
20275 cat confdefs.h
>>conftest.
$ac_ext
20276 cat >>conftest.
$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #include <sys/types.h>
20279 #ifdef HAVE_SCSI_SG_H
20280 #include <scsi/sg.h>
20286 static sg_io_hdr_t ac_aggr;
20287 if (ac_aggr.interface_id)
20293 rm -f conftest.
$ac_objext
20294 if { (ac_try
="$ac_compile"
20295 case "(($ac_try" in
20296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_compile") 2>conftest.er1
20302 grep -v '^ *+' conftest.er1 >conftest.err
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && {
20307 test -z "$ac_c_werror_flag" ||
20308 test ! -s conftest.err
20309 } && test -s conftest.$ac_objext; then
20310 ac_cv_member_sg_io_hdr_t_interface_id=yes
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 cat >conftest.$ac_ext <<_ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <sys/types.h>
20322 #ifdef HAVE_SCSI_SG_H
20323 #include <scsi/sg.h>
20329 static sg_io_hdr_t ac_aggr;
20330 if (sizeof ac_aggr.interface_id)
20336 rm -f conftest.$ac_objext
20337 if { (ac_try="$ac_compile"
20338 case "(($ac_try" in
20339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20340 *) ac_try_echo
=$ac_try;;
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_compile") 2>conftest.er1
20345 grep -v '^ *+' conftest.er1
>conftest.err
20347 cat conftest.err
>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } && {
20350 test -z "$ac_c_werror_flag" ||
20351 test ! -s conftest.err
20352 } && test -s conftest.
$ac_objext; then
20353 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 ac_cv_member_sg_io_hdr_t_interface_id
=no
20361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20366 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20367 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20368 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20370 cat >>confdefs.h
<<_ACEOF
20371 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20378 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20379 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20380 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 cat >conftest.
$ac_ext <<_ACEOF
20386 cat confdefs.h
>>conftest.
$ac_ext
20387 cat >>conftest.
$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 #include <signal.h>
20394 static siginfo_t ac_aggr;
20401 rm -f conftest.
$ac_objext
20402 if { (ac_try
="$ac_compile"
20403 case "(($ac_try" in
20404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_compile") 2>conftest.er1
20410 grep -v '^ *+' conftest.er1 >conftest.err
20412 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest.$ac_objext; then
20418 ac_cv_member_siginfo_t_si_fd=yes
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 cat >conftest.$ac_ext <<_ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <signal.h>
20434 static siginfo_t ac_aggr;
20435 if (sizeof ac_aggr.si_fd)
20441 rm -f conftest.$ac_objext
20442 if { (ac_try="$ac_compile"
20443 case "(($ac_try" in
20444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20445 *) ac_try_echo
=$ac_try;;
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_compile") 2>conftest.er1
20450 grep -v '^ *+' conftest.er1
>conftest.err
20452 cat conftest.err
>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } && {
20455 test -z "$ac_c_werror_flag" ||
20456 test ! -s conftest.err
20457 } && test -s conftest.
$ac_objext; then
20458 ac_cv_member_siginfo_t_si_fd
=yes
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.
$ac_ext >&5
20463 ac_cv_member_siginfo_t_si_fd
=no
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20471 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20472 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20473 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20475 cat >>confdefs.h
<<_ACEOF
20476 #define HAVE_SIGINFO_T_SI_FD 1
20483 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20484 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20485 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 cat >conftest.
$ac_ext <<_ACEOF
20491 cat confdefs.h
>>conftest.
$ac_ext
20492 cat >>conftest.
$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 #include <sys/types.h>
20495 #ifdef HAVE_SYS_MTIO_H
20496 #include <sys/mtio.h>
20502 static struct mtget ac_aggr;
20503 if (ac_aggr.mt_blksiz)
20509 rm -f conftest.
$ac_objext
20510 if { (ac_try
="$ac_compile"
20511 case "(($ac_try" in
20512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_compile") 2>conftest.er1
20518 grep -v '^ *+' conftest.er1 >conftest.err
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && {
20523 test -z "$ac_c_werror_flag" ||
20524 test ! -s conftest.err
20525 } && test -s conftest.$ac_objext; then
20526 ac_cv_member_struct_mtget_mt_blksiz=yes
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20531 cat >conftest.$ac_ext <<_ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 #include <sys/types.h>
20538 #ifdef HAVE_SYS_MTIO_H
20539 #include <sys/mtio.h>
20545 static struct mtget ac_aggr;
20546 if (sizeof ac_aggr.mt_blksiz)
20552 rm -f conftest.$ac_objext
20553 if { (ac_try="$ac_compile"
20554 case "(($ac_try" in
20555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20556 *) ac_try_echo
=$ac_try;;
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_compile") 2>conftest.er1
20561 grep -v '^ *+' conftest.er1
>conftest.err
20563 cat conftest.err
>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); } && {
20566 test -z "$ac_c_werror_flag" ||
20567 test ! -s conftest.err
20568 } && test -s conftest.
$ac_objext; then
20569 ac_cv_member_struct_mtget_mt_blksiz
=yes
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20574 ac_cv_member_struct_mtget_mt_blksiz
=no
20577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20582 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20583 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20584 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20586 cat >>confdefs.h
<<_ACEOF
20587 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20592 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20593 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20594 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 #include <sys/types.h>
20604 #ifdef HAVE_SYS_MTIO_H
20605 #include <sys/mtio.h>
20611 static struct mtget ac_aggr;
20612 if (ac_aggr.mt_gstat)
20618 rm -f conftest.
$ac_objext
20619 if { (ac_try
="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20627 grep -v '^ *+' conftest.er1 >conftest.err
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_cv_member_struct_mtget_mt_gstat=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 cat >conftest.$ac_ext <<_ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <sys/types.h>
20647 #ifdef HAVE_SYS_MTIO_H
20648 #include <sys/mtio.h>
20654 static struct mtget ac_aggr;
20655 if (sizeof ac_aggr.mt_gstat)
20661 rm -f conftest.$ac_objext
20662 if { (ac_try="$ac_compile"
20663 case "(($ac_try" in
20664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20665 *) ac_try_echo
=$ac_try;;
20667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20668 (eval "$ac_compile") 2>conftest.er1
20670 grep -v '^ *+' conftest.er1
>conftest.err
20672 cat conftest.err
>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } && {
20675 test -z "$ac_c_werror_flag" ||
20676 test ! -s conftest.err
20677 } && test -s conftest.
$ac_objext; then
20678 ac_cv_member_struct_mtget_mt_gstat
=yes
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.
$ac_ext >&5
20683 ac_cv_member_struct_mtget_mt_gstat
=no
20686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20692 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20693 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20695 cat >>confdefs.h
<<_ACEOF
20696 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20701 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20702 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20703 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 cat >conftest.
$ac_ext <<_ACEOF
20709 cat confdefs.h
>>conftest.
$ac_ext
20710 cat >>conftest.
$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 #include <sys/types.h>
20713 #ifdef HAVE_SYS_MTIO_H
20714 #include <sys/mtio.h>
20720 static struct mtget ac_aggr;
20721 if (ac_aggr.mt_blkno)
20727 rm -f conftest.
$ac_objext
20728 if { (ac_try
="$ac_compile"
20729 case "(($ac_try" in
20730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20731 *) ac_try_echo=$ac_try;;
20733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20734 (eval "$ac_compile") 2>conftest.er1
20736 grep -v '^ *+' conftest.er1 >conftest.err
20738 cat conftest.err >&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } && {
20741 test -z "$ac_c_werror_flag" ||
20742 test ! -s conftest.err
20743 } && test -s conftest.$ac_objext; then
20744 ac_cv_member_struct_mtget_mt_blkno=yes
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20749 cat >conftest.$ac_ext <<_ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755 #include <sys/types.h>
20756 #ifdef HAVE_SYS_MTIO_H
20757 #include <sys/mtio.h>
20763 static struct mtget ac_aggr;
20764 if (sizeof ac_aggr.mt_blkno)
20770 rm -f conftest.$ac_objext
20771 if { (ac_try="$ac_compile"
20772 case "(($ac_try" in
20773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20774 *) ac_try_echo
=$ac_try;;
20776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20777 (eval "$ac_compile") 2>conftest.er1
20779 grep -v '^ *+' conftest.er1
>conftest.err
20781 cat conftest.err
>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } && {
20784 test -z "$ac_c_werror_flag" ||
20785 test ! -s conftest.err
20786 } && test -s conftest.
$ac_objext; then
20787 ac_cv_member_struct_mtget_mt_blkno
=yes
20789 echo "$as_me: failed program was:" >&5
20790 sed 's/^/| /' conftest.
$ac_ext >&5
20792 ac_cv_member_struct_mtget_mt_blkno
=no
20795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20800 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20801 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20802 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20804 cat >>confdefs.h
<<_ACEOF
20805 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20812 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20813 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20814 if test "${ac_cv_member_struct_option_name+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.
$ac_ext <<_ACEOF
20820 cat confdefs.h
>>conftest.
$ac_ext
20821 cat >>conftest.
$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823 #ifdef HAVE_GETOPT_H
20824 #include <getopt.h>
20830 static struct option ac_aggr;
20837 rm -f conftest.
$ac_objext
20838 if { (ac_try
="$ac_compile"
20839 case "(($ac_try" in
20840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20841 *) ac_try_echo=$ac_try;;
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_compile") 2>conftest.er1
20846 grep -v '^ *+' conftest.er1 >conftest.err
20848 cat conftest.err >&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); } && {
20851 test -z "$ac_c_werror_flag" ||
20852 test ! -s conftest.err
20853 } && test -s conftest.$ac_objext; then
20854 ac_cv_member_struct_option_name=yes
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20859 cat >conftest.$ac_ext <<_ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 #ifdef HAVE_GETOPT_H
20866 #include <getopt.h>
20872 static struct option ac_aggr;
20873 if (sizeof ac_aggr.name)
20879 rm -f conftest.$ac_objext
20880 if { (ac_try="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20883 *) ac_try_echo
=$ac_try;;
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20888 grep -v '^ *+' conftest.er1
>conftest.err
20890 cat conftest.err
>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.
$ac_objext; then
20896 ac_cv_member_struct_option_name
=yes
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20901 ac_cv_member_struct_option_name
=no
20904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20909 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20910 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20911 if test $ac_cv_member_struct_option_name = yes; then
20913 cat >>confdefs.h
<<_ACEOF
20914 #define HAVE_STRUCT_OPTION_NAME 1
20921 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20922 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20923 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20924 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 cat >conftest.
$ac_ext <<_ACEOF
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 $ac_includes_default
20936 static struct stat ac_aggr;
20937 if (ac_aggr.st_blocks)
20943 rm -f conftest.
$ac_objext
20944 if { (ac_try
="$ac_compile"
20945 case "(($ac_try" in
20946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20947 *) ac_try_echo=$ac_try;;
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20950 (eval "$ac_compile") 2>conftest.er1
20952 grep -v '^ *+' conftest.er1 >conftest.err
20954 cat conftest.err >&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } && {
20957 test -z "$ac_c_werror_flag" ||
20958 test ! -s conftest.err
20959 } && test -s conftest.$ac_objext; then
20960 ac_cv_member_struct_stat_st_blocks=yes
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.$ac_ext >&5
20965 cat >conftest.$ac_ext <<_ACEOF
20968 cat confdefs.h >>conftest.$ac_ext
20969 cat >>conftest.$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 $ac_includes_default
20975 static struct stat ac_aggr;
20976 if (sizeof ac_aggr.st_blocks)
20982 rm -f conftest.$ac_objext
20983 if { (ac_try="$ac_compile"
20984 case "(($ac_try" in
20985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20986 *) ac_try_echo
=$ac_try;;
20988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20989 (eval "$ac_compile") 2>conftest.er1
20991 grep -v '^ *+' conftest.er1
>conftest.err
20993 cat conftest.err
>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } && {
20996 test -z "$ac_c_werror_flag" ||
20997 test ! -s conftest.err
20998 } && test -s conftest.
$ac_objext; then
20999 ac_cv_member_struct_stat_st_blocks
=yes
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.
$ac_ext >&5
21004 ac_cv_member_struct_stat_st_blocks
=no
21007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21012 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21013 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21014 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21016 cat >>confdefs.h
<<_ACEOF
21017 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21024 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21025 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21026 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 cat >conftest.
$ac_ext <<_ACEOF
21032 cat confdefs.h
>>conftest.
$ac_ext
21033 cat >>conftest.
$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21035 #ifdef HAVE_SYS_TYPES_H
21036 #include <sys/types.h>
21038 #ifdef HAVE_NETINET_IN_H
21039 #include <netinet/in.h>
21045 static struct sockaddr_in6 ac_aggr;
21046 if (ac_aggr.sin6_scope_id)
21052 rm -f conftest.
$ac_objext
21053 if { (ac_try
="$ac_compile"
21054 case "(($ac_try" in
21055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_compile") 2>conftest.er1
21061 grep -v '^ *+' conftest.er1 >conftest.err
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } && {
21066 test -z "$ac_c_werror_flag" ||
21067 test ! -s conftest.err
21068 } && test -s conftest.$ac_objext; then
21069 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 #ifdef HAVE_SYS_TYPES_H
21081 #include <sys/types.h>
21083 #ifdef HAVE_NETINET_IN_H
21084 #include <netinet/in.h>
21090 static struct sockaddr_in6 ac_aggr;
21091 if (sizeof ac_aggr.sin6_scope_id)
21097 rm -f conftest.$ac_objext
21098 if { (ac_try="$ac_compile"
21099 case "(($ac_try" in
21100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21101 *) ac_try_echo
=$ac_try;;
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21106 grep -v '^ *+' conftest.er1
>conftest.err
21108 cat conftest.err
>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && {
21111 test -z "$ac_c_werror_flag" ||
21112 test ! -s conftest.err
21113 } && test -s conftest.
$ac_objext; then
21114 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.
$ac_ext >&5
21119 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
21122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21127 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21128 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21129 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21131 cat >>confdefs.h
<<_ACEOF
21132 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21139 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21140 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21141 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21142 echo $ECHO_N "(cached) $ECHO_C" >&6
21144 cat >conftest.
$ac_ext <<_ACEOF
21147 cat confdefs.h
>>conftest.
$ac_ext
21148 cat >>conftest.
$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 #ifdef HAVE_SYS_TYPES_H
21151 #include <sys/types.h>
21153 #ifdef HAVE_NETINET_IN_H
21154 # include <netinet/in.h>
21156 #ifdef HAVE_ARPA_NAMESER_H
21157 # include <arpa/nameser.h>
21163 static ns_msg ac_aggr;
21164 if (ac_aggr._msg_ptr)
21170 rm -f conftest.
$ac_objext
21171 if { (ac_try
="$ac_compile"
21172 case "(($ac_try" in
21173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21174 *) ac_try_echo=$ac_try;;
21176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21177 (eval "$ac_compile") 2>conftest.er1
21179 grep -v '^ *+' conftest.er1 >conftest.err
21181 cat conftest.err >&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } && {
21184 test -z "$ac_c_werror_flag" ||
21185 test ! -s conftest.err
21186 } && test -s conftest.$ac_objext; then
21187 ac_cv_member_ns_msg__msg_ptr=yes
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 cat >conftest.$ac_ext <<_ACEOF
21195 cat confdefs.h >>conftest.$ac_ext
21196 cat >>conftest.$ac_ext <<_ACEOF
21197 /* end confdefs.h. */
21198 #ifdef HAVE_SYS_TYPES_H
21199 #include <sys/types.h>
21201 #ifdef HAVE_NETINET_IN_H
21202 # include <netinet/in.h>
21204 #ifdef HAVE_ARPA_NAMESER_H
21205 # include <arpa/nameser.h>
21211 static ns_msg ac_aggr;
21212 if (sizeof ac_aggr._msg_ptr)
21218 rm -f conftest.$ac_objext
21219 if { (ac_try="$ac_compile"
21220 case "(($ac_try" in
21221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21222 *) ac_try_echo
=$ac_try;;
21224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225 (eval "$ac_compile") 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } && {
21232 test -z "$ac_c_werror_flag" ||
21233 test ! -s conftest.err
21234 } && test -s conftest.
$ac_objext; then
21235 ac_cv_member_ns_msg__msg_ptr
=yes
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.
$ac_ext >&5
21240 ac_cv_member_ns_msg__msg_ptr
=no
21243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21248 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21249 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21250 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21252 cat >>confdefs.h
<<_ACEOF
21253 #define HAVE_NS_MSG__MSG_PTR 1
21260 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21261 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21262 if test "${ac_cv_have_timezone+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21280 rm -f conftest.
$ac_objext conftest
$ac_exeext
21281 if { (ac_try
="$ac_link"
21282 case "(($ac_try" in
21283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_link") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest$ac_exeext &&
21297 $as_test_x conftest$ac_exeext; then
21298 ac_cv_have_timezone="yes"
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21303 ac_cv_have_timezone="no"
21306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21307 conftest$ac_exeext conftest.$ac_ext
21309 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21310 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21311 if test "$ac_cv_have_timezone" = "yes"
21314 cat >>confdefs.h <<\_ACEOF
21315 #define HAVE_TIMEZONE 1
21319 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21320 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21321 if test "${ac_cv_have_daylight+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21324 cat >conftest.$ac_ext <<_ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21339 rm -f conftest.$ac_objext conftest$ac_exeext
21340 if { (ac_try="$ac_link"
21341 case "(($ac_try" in
21342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21343 *) ac_try_echo
=$ac_try;;
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_link") 2>conftest.er1
21348 grep -v '^ *+' conftest.er1
>conftest.err
21350 cat conftest.err
>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest
$ac_exeext &&
21356 $as_test_x conftest
$ac_exeext; then
21357 ac_cv_have_daylight
="yes"
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.
$ac_ext >&5
21362 ac_cv_have_daylight
="no"
21365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21366 conftest
$ac_exeext conftest.
$ac_ext
21368 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21369 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21370 if test "$ac_cv_have_daylight" = "yes"
21373 cat >>confdefs.h
<<\_ACEOF
21374 #define HAVE_DAYLIGHT 1
21379 { echo "$as_me:$LINENO: checking for isinf" >&5
21380 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21381 if test "${ac_cv_have_isinf+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 cat >conftest.
$ac_ext <<_ACEOF
21387 cat confdefs.h
>>conftest.
$ac_ext
21388 cat >>conftest.
$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21394 float f = 0.0; int i=isinf(f)
21399 rm -f conftest.
$ac_objext conftest
$ac_exeext
21400 if { (ac_try
="$ac_link"
21401 case "(($ac_try" in
21402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_link") 2>conftest.er1
21408 grep -v '^ *+' conftest.er1 >conftest.err
21410 cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && {
21413 test -z "$ac_c_werror_flag" ||
21414 test ! -s conftest.err
21415 } && test -s conftest$ac_exeext &&
21416 $as_test_x conftest$ac_exeext; then
21417 ac_cv_have_isinf="yes"
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21422 ac_cv_have_isinf="no"
21425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21426 conftest$ac_exeext conftest.$ac_ext
21428 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21429 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21430 if test "$ac_cv_have_isinf" = "yes"
21433 cat >>confdefs.h <<\_ACEOF
21434 #define HAVE_ISINF 1
21441 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21442 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21443 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 cat >conftest.$ac_ext <<_ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21457 $EGREP "yes" >/dev/null 2>&1; then
21458 ac_cv_cpp_def___i386__=yes
21460 ac_cv_cpp_def___i386__=no
21465 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21466 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21467 if test $ac_cv_cpp_def___i386__ = yes; then
21468 CFLAGS="$CFLAGS -D__i386__"
21469 LINTFLAGS="$LINTFLAGS -D__i386__"
21472 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21473 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21474 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 cat >conftest.$ac_ext <<_ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21488 $EGREP "yes" >/dev/null 2>&1; then
21489 ac_cv_cpp_def___x86_64__=yes
21491 ac_cv_cpp_def___x86_64__=no
21496 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21497 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21498 if test $ac_cv_cpp_def___x86_64__ = yes; then
21499 CFLAGS="$CFLAGS -D__x86_64__"
21500 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21503 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21504 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21505 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 cat >conftest.$ac_ext <<_ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21519 $EGREP "yes" >/dev/null 2>&1; then
21520 ac_cv_cpp_def___ALPHA__=yes
21522 ac_cv_cpp_def___ALPHA__=no
21527 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21528 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21529 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21530 CFLAGS="$CFLAGS -D__ALPHA__"
21531 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21534 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21535 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21536 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21537 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 cat >conftest.$ac_ext <<_ACEOF
21542 cat confdefs.h >>conftest.$ac_ext
21543 cat >>conftest.$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21550 $EGREP "yes" >/dev/null 2>&1; then
21551 ac_cv_cpp_def___sparc__=yes
21553 ac_cv_cpp_def___sparc__=no
21558 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21559 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21560 if test $ac_cv_cpp_def___sparc__ = yes; then
21561 CFLAGS="$CFLAGS -D__sparc__"
21562 LINTFLAGS="$LINTFLAGS -D__sparc__"
21565 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21566 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21567 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21568 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 cat >conftest.$ac_ext <<_ACEOF
21573 cat confdefs.h >>conftest.$ac_ext
21574 cat >>conftest.$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21576 #ifndef __powerpc__
21580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21581 $EGREP "yes" >/dev/null 2>&1; then
21582 ac_cv_cpp_def___powerpc__=yes
21584 ac_cv_cpp_def___powerpc__=no
21589 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21590 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21591 if test $ac_cv_cpp_def___powerpc__ = yes; then
21592 CFLAGS="$CFLAGS -D__powerpc__"
21593 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21598 case $host_vendor in
21599 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21600 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21601 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 cat >conftest.$ac_ext <<_ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21615 $EGREP "yes" >/dev/null 2>&1; then
21616 ac_cv_cpp_def___sun__=yes
21618 ac_cv_cpp_def___sun__=no
21623 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21624 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21625 if test $ac_cv_cpp_def___sun__ = yes; then
21626 CFLAGS="$CFLAGS -D__sun__"
21627 LINTFLAGS="$LINTFLAGS -D__sun__"
21633 DEPENDENCIES="### Dependencies:
21638 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21640 \$(OBJS): \$(IDL_GEN_HEADERS)
21641 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21642 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21643 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21644 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21650 ac_config_commands="$ac_config_commands include/stamp-h"
21653 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21655 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21657 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21659 ac_config_commands="$ac_config_commands dlls/user32/resources"
21661 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21663 ac_config_commands="$ac_config_commands include/wine"
21666 MAKE_RULES=Make.rules
21669 MAKE_DLL_RULES=dlls/Makedll.rules
21672 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21675 MAKE_TEST_RULES=dlls/Maketest.rules
21678 MAKE_PROG_RULES=programs/Makeprog.rules
21681 ac_config_files="$ac_config_files Make.rules"
21683 ac_config_files="$ac_config_files dlls/Makedll.rules"
21685 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21687 ac_config_files="$ac_config_files dlls/Maketest.rules"
21689 ac_config_files="$ac_config_files programs/Makeprog.rules"
21691 ac_config_files="$ac_config_files Makefile"
21693 ac_config_files="$ac_config_files dlls/Makefile"
21695 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21697 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21699 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21701 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21703 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21705 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21707 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21709 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21711 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21713 ac_config_files="$ac_config_files dlls/atl/Makefile"
21715 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21717 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21719 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21721 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21723 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21725 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21729 ac_config_files="$ac_config_files dlls/cards/Makefile"
21731 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21733 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21735 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21737 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21741 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21743 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21745 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21747 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21749 ac_config_files="$ac_config_files dlls/credui/Makefile"
21751 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21753 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21755 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21757 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21759 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21761 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21763 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21765 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21769 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21771 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21773 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21775 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21777 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21779 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21781 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21785 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21787 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21789 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21791 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21793 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21795 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21797 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21799 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21801 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21803 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21805 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21807 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21809 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21811 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21813 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21815 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21817 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21819 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21821 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21823 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21825 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21827 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21829 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21831 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21833 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21835 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21837 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21839 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21841 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21843 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21845 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21847 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21849 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21851 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21853 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21855 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21857 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21859 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21861 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21863 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21865 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21867 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21869 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21871 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21873 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21875 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21877 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21879 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21881 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21883 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21885 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21887 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21889 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21891 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21893 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21895 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21897 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21899 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21901 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21903 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21905 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21907 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21909 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21911 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21913 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21915 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21917 ac_config_files="$ac_config_files dlls/hal/Makefile"
21919 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21921 ac_config_files="$ac_config_files dlls/hid/Makefile"
21923 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21925 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21927 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21929 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21931 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21933 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21935 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21937 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21939 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21941 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21943 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21945 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21947 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21949 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21951 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21953 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21957 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21959 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21961 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21963 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21965 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21967 ac_config_files="$ac_config_files dlls/itss/Makefile"
21969 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21971 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21973 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21977 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21981 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21983 ac_config_files="$ac_config_files dlls/localui/Makefile"
21985 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21987 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21989 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21991 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21993 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21995 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21997 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21999 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22001 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22003 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22005 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22007 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22009 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22011 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22013 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22015 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22017 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22019 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22021 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22023 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22025 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22027 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22029 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22031 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22033 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22035 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22037 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22039 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22041 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22043 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22045 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22047 ac_config_files="$ac_config_files dlls/msi/Makefile"
22049 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22051 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22053 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22055 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22057 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22059 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22061 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22063 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22065 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22067 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22069 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22071 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22073 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22075 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22077 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22079 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22081 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22083 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22085 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22087 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22089 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22091 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22093 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22095 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22097 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22099 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22101 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22103 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22105 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22107 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22109 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22111 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22113 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22115 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22117 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22119 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22121 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22123 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22125 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22127 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22129 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22131 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22133 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22135 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22137 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22139 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22141 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22143 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22145 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22147 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22149 ac_config_files="$ac_config_files dlls/printui/Makefile"
22151 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22153 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22155 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22157 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22159 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22161 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22163 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22165 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22167 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22169 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22171 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22173 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22175 ac_config_files="$ac_config_files dlls/query/Makefile"
22177 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22179 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22181 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22183 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22185 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22187 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22189 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22191 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22195 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22197 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22199 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22201 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22203 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22205 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22207 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22209 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22211 ac_config_files="$ac_config_files dlls/security/Makefile"
22213 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22215 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22217 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22219 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22221 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22223 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22225 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22227 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22229 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22231 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22233 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22235 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22237 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22239 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22241 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22243 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22245 ac_config_files="$ac_config_files dlls/slc/Makefile"
22247 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22249 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22251 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22253 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22255 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22257 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22259 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22261 ac_config_files="$ac_config_files dlls/sti/Makefile"
22263 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22265 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22267 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22269 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22271 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22273 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22275 ac_config_files="$ac_config_files dlls/url/Makefile"
22277 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22279 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22281 ac_config_files="$ac_config_files dlls/user32/Makefile"
22283 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22285 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22287 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22289 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22291 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22293 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22295 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22297 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22299 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22301 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22303 ac_config_files="$ac_config_files dlls/version/Makefile"
22305 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22307 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22309 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22311 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22313 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22315 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22317 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22319 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22321 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22323 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22325 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22327 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22329 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22331 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22333 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22335 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22337 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22339 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22341 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22343 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22345 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22347 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22349 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22351 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22353 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22355 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22357 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22359 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22361 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22363 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22365 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22367 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22369 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22371 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22373 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22375 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22377 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22379 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22381 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22383 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22385 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22387 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22389 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22391 ac_config_files="$ac_config_files documentation/Makefile"
22393 ac_config_files="$ac_config_files fonts/Makefile"
22395 ac_config_files="$ac_config_files include/Makefile"
22397 ac_config_files="$ac_config_files libs/Makefile"
22399 ac_config_files="$ac_config_files libs/port/Makefile"
22401 ac_config_files="$ac_config_files libs/wine/Makefile"
22403 ac_config_files="$ac_config_files libs/wpp/Makefile"
22405 ac_config_files="$ac_config_files loader/Makefile"
22407 ac_config_files="$ac_config_files programs/Makefile"
22409 ac_config_files="$ac_config_files programs/clock/Makefile"
22411 ac_config_files="$ac_config_files programs/cmd/Makefile"
22413 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22415 ac_config_files="$ac_config_files programs/control/Makefile"
22417 ac_config_files="$ac_config_files programs/eject/Makefile"
22419 ac_config_files="$ac_config_files programs/expand/Makefile"
22421 ac_config_files="$ac_config_files programs/explorer/Makefile"
22423 ac_config_files="$ac_config_files programs/hh/Makefile"
22425 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22427 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22429 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22431 ac_config_files="$ac_config_files programs/net/Makefile"
22433 ac_config_files="$ac_config_files programs/notepad/Makefile"
22435 ac_config_files="$ac_config_files programs/oleview/Makefile"
22437 ac_config_files="$ac_config_files programs/progman/Makefile"
22439 ac_config_files="$ac_config_files programs/reg/Makefile"
22441 ac_config_files="$ac_config_files programs/regedit/Makefile"
22443 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22445 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22447 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22449 ac_config_files="$ac_config_files programs/secedit/Makefile"
22451 ac_config_files="$ac_config_files programs/services/Makefile"
22453 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22455 ac_config_files="$ac_config_files programs/start/Makefile"
22457 ac_config_files="$ac_config_files programs/svchost/Makefile"
22459 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22461 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22463 ac_config_files="$ac_config_files programs/view/Makefile"
22465 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22467 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22469 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22471 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22473 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22475 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22477 ac_config_files="$ac_config_files programs/winefile/Makefile"
22479 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22481 ac_config_files="$ac_config_files programs/winemine/Makefile"
22483 ac_config_files="$ac_config_files programs/winepath/Makefile"
22485 ac_config_files="$ac_config_files programs/winetest/Makefile"
22487 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22489 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22491 ac_config_files="$ac_config_files programs/winver/Makefile"
22493 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22495 ac_config_files="$ac_config_files programs/write/Makefile"
22497 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22499 ac_config_files="$ac_config_files server/Makefile"
22501 ac_config_files="$ac_config_files tools/Makefile"
22503 ac_config_files="$ac_config_files tools/widl/Makefile"
22505 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22507 ac_config_files="$ac_config_files tools/winedump/Makefile"
22509 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22511 ac_config_files="$ac_config_files tools/wmc/Makefile"
22513 ac_config_files="$ac_config_files tools/wrc/Makefile"
22516 cat >confcache <<\_ACEOF
22517 # This file is a shell script that caches the results of configure
22518 # tests run on this system so they can be shared between configure
22519 # scripts and configure runs, see configure's option --config-cache.
22520 # It is not useful on other systems. If it contains results you don't
22521 # want to keep, you may remove or edit it.
22523 # config.status only pays attention to the cache file if you give it
22524 # the --recheck option to rerun configure.
22526 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22528 # following values.
22532 # The following way of writing the cache mishandles newlines in values,
22533 # but we know of no workaround that is simple, portable, and efficient.
22534 # So, we kill variables containing newlines.
22535 # Ultrix sh set writes to stderr and can't be redirected directly,
22536 # and sets the high bit in the cache file unless we assign to the vars.
22538 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22539 eval ac_val
=\$
$ac_var
22543 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22544 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22547 _ | IFS | as_nl
) ;; #(
22548 *) $as_unset $ac_var ;;
22554 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22555 *${as_nl}ac_space
=\
*)
22556 # `set' does not quote correctly, so add quotes (double-quote
22557 # substitution turns \\\\ into \\, and sed turns \\ into \).
22560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22563 # `set' quotes correctly as required by POSIX, so do not add quotes.
22564 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22573 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22575 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22577 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22578 if test -w "$cache_file"; then
22579 test "x$cache_file" != "x/dev/null" &&
22580 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22581 echo "$as_me: updating cache $cache_file" >&6;}
22582 cat confcache
>$cache_file
22584 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22585 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22590 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22591 # Let make expand exec_prefix.
22592 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22594 DEFS
=-DHAVE_CONFIG_H
22598 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22599 # 1. Remove the extension, and $U if already installed.
22600 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22601 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22602 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22603 # will be set to the directory where LIBOBJS objects are built.
22604 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22605 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22607 LIBOBJS
=$ac_libobjs
22609 LTLIBOBJS
=$ac_ltlibobjs
22613 : ${CONFIG_STATUS=./config.status}
22614 ac_clean_files_save
=$ac_clean_files
22615 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22616 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22617 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22618 cat >$CONFIG_STATUS <<_ACEOF
22620 # Generated by $as_me.
22621 # Run this file to recreate the current configuration.
22622 # Compiler output produced by configure, useful for debugging
22623 # configure, is in config.log if it exists.
22626 ac_cs_recheck=false
22628 SHELL=\${CONFIG_SHELL-$SHELL}
22631 cat >>$CONFIG_STATUS <<\_ACEOF
22632 ## --------------------- ##
22633 ## M4sh Initialization. ##
22634 ## --------------------- ##
22636 # Be more Bourne compatible
22637 DUALCASE
=1; export DUALCASE
# for MKS sh
22638 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22641 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22642 # is contrary to our usage. Disable this feature.
22643 alias -g '${1+"$@"}'='"$@"'
22644 setopt NO_GLOB_SUBST
22646 case `(set -o) 2>/dev/null` in
22647 *posix
*) set -o posix
;;
22656 # Avoid depending upon Character Ranges.
22657 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22658 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22659 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22660 as_cr_digits
='0123456789'
22661 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22663 # The user is always right.
22664 if test "${PATH_SEPARATOR+set}" != set; then
22665 echo "#! /bin/sh" >conf$$.sh
22666 echo "exit 0" >>conf$$.sh
22668 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22676 # Support unset when possible.
22677 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22685 # We need space, tab and new line, in precisely that order. Quoting is
22686 # there to prevent editors from complaining about space-tab.
22687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22688 # splitting by setting IFS to empty value.)
22693 # Find who we are. Look in the path if we contain no directory separator.
22695 *[\\/]* ) as_myself
=$0 ;;
22696 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22697 for as_dir
in $PATH
22700 test -z "$as_dir" && as_dir
=.
22701 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22707 # We did not find ourselves, most probably we were run as `sh COMMAND'
22708 # in which case we are not to be found in the path.
22709 if test "x$as_myself" = x
; then
22712 if test ! -f "$as_myself"; then
22713 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22714 { (exit 1); exit 1; }
22717 # Work around bugs in pre-3.0 UWIN ksh.
22718 for as_var
in ENV MAIL MAILPATH
22719 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22727 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22728 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22729 LC_TELEPHONE LC_TIME
22731 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22732 eval $as_var=C
; export $as_var
22734 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22738 # Required to use basename.
22739 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22740 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22746 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22747 as_basename
=basename
22753 # Name of the executable.
22754 as_me
=`$as_basename -- "$0" ||
22755 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22756 X"$0" : 'X\(//\)$' \| \
22757 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22759 sed '/^.*\/\([^/][^/]*\)\/*$/{
22778 as_lineno_1
=$LINENO
22779 as_lineno_2
=$LINENO
22780 test "x$as_lineno_1" != "x$as_lineno_2" &&
22781 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22783 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22784 # uniformly replaced by the line number. The first 'sed' inserts a
22785 # line-number line after each line using $LINENO; the second 'sed'
22786 # does the real work. The second script uses 'N' to pair each
22787 # line-number line with the line containing $LINENO, and appends
22788 # trailing '-' during substitution so that $LINENO is not a special
22789 # case at line end.
22790 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22791 # scripts with optimization help from Paolo Bonzini. Blame Lee
22792 # E. McMahon (1931-1989) for sed's syntax. :-)
22804 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22807 ' >$as_me.lineno
&&
22808 chmod +x
"$as_me.lineno" ||
22809 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22810 { (exit 1); exit 1; }; }
22812 # Don't try to exec as it changes $[0], causing all sort of problems
22813 # (the dirname of $[0] is not the place where we might find the
22814 # original and so on. Autoconf is especially sensitive to this).
22815 .
"./$as_me.lineno"
22816 # Exit status is that of the last command.
22821 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22827 ECHO_C
= ECHO_N
= ECHO_T
=
22828 case `echo -n x` in
22830 case `echo 'x\c'` in
22831 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22838 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22839 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22845 rm -f conf$$ conf$$.exe conf$$.
file
22846 if test -d conf$$.dir
; then
22847 rm -f conf$$.dir
/conf$$.
file
22853 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22855 # ... but there are two gotchas:
22856 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22857 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22858 # In both cases, we have to default to `cp -p'.
22859 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22861 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22866 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22867 rmdir conf$$.dir
2>/dev
/null
22869 if mkdir
-p .
2>/dev
/null
; then
22872 test -d .
/-p && rmdir .
/-p
22876 if test -x / >/dev
/null
2>&1; then
22877 as_test_x
='test -x'
22879 if ls -dL / >/dev
/null
2>&1; then
22886 if test -d "$1"; then
22892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22893 ???[sx]*):;;*)false;;esac;fi
22897 as_executable_p
=$as_test_x
22899 # Sed expression to map a string onto a valid CPP name.
22900 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22902 # Sed expression to map a string onto a valid variable name.
22903 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22908 # Save the log message, to keep $[0] and so on meaningful, and to
22909 # report actual input values of CONFIG_FILES etc. instead of their
22910 # values after options handling.
22912 This file was extended by Wine $as_me 1.1.0, which was
22913 generated by GNU Autoconf 2.61. Invocation command line was
22915 CONFIG_FILES = $CONFIG_FILES
22916 CONFIG_HEADERS = $CONFIG_HEADERS
22917 CONFIG_LINKS = $CONFIG_LINKS
22918 CONFIG_COMMANDS = $CONFIG_COMMANDS
22921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22926 cat >>$CONFIG_STATUS <<_ACEOF
22927 # Files that config.status was made for.
22928 config_files="$ac_config_files"
22929 config_headers="$ac_config_headers"
22930 config_commands="$ac_config_commands"
22934 cat >>$CONFIG_STATUS <<\_ACEOF
22936 \`$as_me' instantiates files from templates according to the
22937 current configuration.
22939 Usage: $0 [OPTIONS] [FILE]...
22941 -h, --help print this help, then exit
22942 -V, --version print version number and configuration settings, then exit
22943 -q, --quiet do not print progress messages
22944 -d, --debug don't remove temporary files
22945 --recheck update $as_me by reconfiguring in the same conditions
22946 --file=FILE[:TEMPLATE]
22947 instantiate the configuration file FILE
22948 --header=FILE[:TEMPLATE]
22949 instantiate the configuration header FILE
22951 Configuration files:
22954 Configuration headers:
22957 Configuration commands:
22960 Report bugs to <bug-autoconf@gnu.org>."
22963 cat >>$CONFIG_STATUS <<_ACEOF
22965 Wine config.status 1.1.0
22966 configured by $0, generated by GNU Autoconf 2.61,
22967 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22969 Copyright (C) 2006 Free Software Foundation, Inc.
22970 This config.status script is free software; the Free Software Foundation
22971 gives unlimited permission to copy, distribute and modify it."
22978 cat >>$CONFIG_STATUS <<\_ACEOF
22979 # If no file are specified by the user, then we need to provide default
22980 # value. By we need to know if files were specified by the user.
22986 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22987 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22998 # Handling of the options.
22999 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23001 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23002 echo "$ac_cs_version"; exit ;;
23003 --debug |
--debu |
--deb |
--de |
--d |
-d )
23005 --file |
--fil |
--fi |
--f )
23007 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23008 ac_need_defaults
=false
;;
23009 --header |
--heade |
--head |
--hea )
23011 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23012 ac_need_defaults
=false
;;
23014 # Conflict between --help and --header
23015 { echo "$as_me: error: ambiguous option: $1
23016 Try \`$0 --help' for more information." >&2
23017 { (exit 1); exit 1; }; };;
23018 --help |
--hel |
-h )
23019 echo "$ac_cs_usage"; exit ;;
23020 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23021 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23024 # This is an error.
23025 -*) { echo "$as_me: error: unrecognized option: $1
23026 Try \`$0 --help' for more information." >&2
23027 { (exit 1); exit 1; }; } ;;
23029 *) ac_config_targets
="$ac_config_targets $1"
23030 ac_need_defaults
=false
;;
23036 ac_configure_extra_args
=
23038 if $ac_cs_silent; then
23040 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23044 cat >>$CONFIG_STATUS <<_ACEOF
23045 if \$ac_cs_recheck; then
23046 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23047 CONFIG_SHELL=$SHELL
23048 export CONFIG_SHELL
23049 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23053 cat >>$CONFIG_STATUS <<\_ACEOF
23057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23058 ## Running $as_me. ##
23064 cat >>$CONFIG_STATUS <<_ACEOF
23067 cat >>$CONFIG_STATUS <<\_ACEOF
23069 # Handling of arguments.
23070 for ac_config_target
in $ac_config_targets
23072 case $ac_config_target in
23073 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23074 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23075 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23076 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23077 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23078 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
23079 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23080 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
23081 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
23082 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
23083 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23084 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
23085 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
23086 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23087 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
23088 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
23089 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
23090 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23091 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23092 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23093 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23094 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
23095 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23096 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
23097 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
23098 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23099 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23100 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
23101 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23102 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23103 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23104 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23105 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
23106 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23107 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23108 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
23109 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23110 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23111 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23112 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23113 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23114 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
23115 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
23116 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23117 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23118 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23119 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23120 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23121 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23122 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23123 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23124 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23125 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23126 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23127 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23128 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23129 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23130 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23131 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23132 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23133 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23134 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23135 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23136 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23137 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23138 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23139 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23140 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23141 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23142 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23143 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23144 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23145 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23146 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23147 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23148 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23149 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23150 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23151 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23152 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23153 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23154 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23155 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23156 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23157 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23158 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23159 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23160 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23161 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23162 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23163 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23164 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23165 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23166 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23167 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23168 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23169 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23170 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23171 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23172 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23173 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23174 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23175 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23176 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23177 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23178 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23179 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23180 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23181 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23182 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23183 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23184 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23185 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23186 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23187 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23188 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23189 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23190 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23191 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23192 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23193 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23194 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23195 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23196 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23197 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23198 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23199 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23200 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23201 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23202 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23203 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23204 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23205 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23206 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23207 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23208 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23209 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23210 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23211 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23212 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23213 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23214 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23215 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23216 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23217 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23218 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23219 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23220 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23221 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23222 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23223 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23224 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23225 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23226 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23227 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23228 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23229 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23230 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23231 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23232 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23233 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23234 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23235 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23236 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23237 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23238 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23239 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23240 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23241 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23242 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23243 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23244 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23245 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23246 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23247 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23248 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23249 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23250 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23251 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23252 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23253 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23254 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23255 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23256 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23257 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23258 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23259 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23260 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23261 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23262 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23263 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23264 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23265 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23266 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23267 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23268 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23269 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23270 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23271 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23272 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23273 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23274 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23275 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23276 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23277 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23278 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23279 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23280 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23281 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23282 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23283 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23284 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23285 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23286 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23287 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23288 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23289 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23290 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23291 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23292 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23293 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23294 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23295 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23296 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23297 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23298 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23299 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23300 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23301 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23302 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23303 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23304 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23305 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23306 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23307 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23308 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23309 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23310 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23311 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23312 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23313 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23314 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23315 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23316 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23317 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23318 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23319 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23320 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23321 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23322 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23323 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23324 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23325 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23326 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23327 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23328 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23329 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23330 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23331 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23332 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23333 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23334 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23335 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23336 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23337 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23338 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23339 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23340 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23341 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23342 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23343 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23344 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23345 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23346 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23347 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23348 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23349 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23350 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23351 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23352 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23353 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23354 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23355 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23356 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23357 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23358 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23359 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23360 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23361 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23362 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23363 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23364 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23365 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23366 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23367 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23368 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23369 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23370 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23371 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23372 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23373 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23374 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23375 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23376 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23377 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23378 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23379 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23380 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23381 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23382 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23383 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23384 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23385 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23386 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23387 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23388 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23389 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23390 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23391 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23392 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23393 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23394 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23395 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23396 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23397 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23398 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23399 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23400 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23401 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23402 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23403 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23404 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23405 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23406 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23407 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23408 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23409 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23410 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23411 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23412 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23413 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23414 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23415 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23416 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23417 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23418 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23419 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23420 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23421 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23422 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23423 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23424 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23425 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23426 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23427 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23428 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23429 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23430 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23431 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23432 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23433 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23434 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23435 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23436 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23437 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23438 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23439 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23440 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23441 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23442 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23443 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23444 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23445 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23446 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23447 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23448 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23449 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23450 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23451 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23452 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23453 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23454 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23455 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23456 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23457 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23458 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23459 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23460 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23461 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23462 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23463 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23464 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23465 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23466 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23467 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23468 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23469 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23470 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23471 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23472 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23473 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23474 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23475 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23476 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23477 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23478 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23479 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23480 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23481 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23482 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23483 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23484 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23485 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23486 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23487 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23488 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23489 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23490 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23491 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23492 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23493 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23494 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23495 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23496 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23497 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23499 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23500 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23501 { (exit 1); exit 1; }; };;
23506 # If the user did not use the arguments to specify the items to instantiate,
23507 # then the envvar interface is used. Set only those that are not.
23508 # We use the long form for the default assignment because of an extremely
23509 # bizarre bug on SunOS 4.1.3.
23510 if $ac_need_defaults; then
23511 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23512 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23513 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23516 # Have a temporary directory for convenience. Make it in the build tree
23517 # simply because there is no reason against having it here, and in addition,
23518 # creating and moving files from /tmp can sometimes cause problems.
23519 # Hook for its removal unless debugging.
23520 # Note that there is a small window in which the directory will not be cleaned:
23521 # after its creation but before its name has been assigned to `$tmp'.
23525 trap 'exit_status=$?
23526 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23528 trap '{ (exit 1); exit 1; }' 1 2 13 15
23530 # Create a (secure) tmp directory for tmp files.
23533 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23534 test -n "$tmp" && test -d "$tmp"
23537 tmp
=.
/conf$$
-$RANDOM
23538 (umask 077 && mkdir
"$tmp")
23541 echo "$me: cannot create a temporary directory in ." >&2
23542 { (exit 1); exit 1; }
23546 # Set up the sed scripts for CONFIG_FILES section.
23549 # No need to generate the scripts if there are no CONFIG_FILES.
23550 # This happens for instance when ./config.status config.h
23551 if test -n "$CONFIG_FILES"; then
23555 # Create sed commands to just substitute file output variables.
23557 # Remaining file output variables are in a fragment that also has non-file
23563 for ac_last_try
in false false false false false
:; do
23564 cat >conf$
$subs.
sed <<_ACEOF
23565 SHELL!$SHELL$ac_delim
23566 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23567 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23568 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23569 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23570 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23571 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23572 exec_prefix!$exec_prefix$ac_delim
23573 prefix!$prefix$ac_delim
23574 program_transform_name!$program_transform_name$ac_delim
23575 bindir!$bindir$ac_delim
23576 sbindir!$sbindir$ac_delim
23577 libexecdir!$libexecdir$ac_delim
23578 datarootdir!$datarootdir$ac_delim
23579 datadir!$datadir$ac_delim
23580 sysconfdir!$sysconfdir$ac_delim
23581 sharedstatedir!$sharedstatedir$ac_delim
23582 localstatedir!$localstatedir$ac_delim
23583 includedir!$includedir$ac_delim
23584 oldincludedir!$oldincludedir$ac_delim
23585 docdir!$docdir$ac_delim
23586 infodir!$infodir$ac_delim
23587 htmldir!$htmldir$ac_delim
23588 dvidir!$dvidir$ac_delim
23589 pdfdir!$pdfdir$ac_delim
23590 psdir!$psdir$ac_delim
23591 libdir!$libdir$ac_delim
23592 localedir!$localedir$ac_delim
23593 mandir!$mandir$ac_delim
23594 DEFS!$DEFS$ac_delim
23595 ECHO_C!$ECHO_C$ac_delim
23596 ECHO_N!$ECHO_N$ac_delim
23597 ECHO_T!$ECHO_T$ac_delim
23598 LIBS!$LIBS$ac_delim
23599 build_alias!$build_alias$ac_delim
23600 host_alias!$host_alias$ac_delim
23601 target_alias!$target_alias$ac_delim
23602 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23603 build!$build$ac_delim
23604 build_cpu!$build_cpu$ac_delim
23605 build_vendor!$build_vendor$ac_delim
23606 build_os!$build_os$ac_delim
23607 host!$host$ac_delim
23608 host_cpu!$host_cpu$ac_delim
23609 host_vendor!$host_vendor$ac_delim
23610 host_os!$host_os$ac_delim
23611 WIN16_FILES!$WIN16_FILES$ac_delim
23612 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23613 SET_MAKE!$SET_MAKE$ac_delim
23615 CFLAGS!$CFLAGS$ac_delim
23616 LDFLAGS!$LDFLAGS$ac_delim
23617 CPPFLAGS!$CPPFLAGS$ac_delim
23618 ac_ct_CC!$ac_ct_CC$ac_delim
23619 EXEEXT!$EXEEXT$ac_delim
23620 OBJEXT!$OBJEXT$ac_delim
23622 CXXFLAGS!$CXXFLAGS$ac_delim
23623 ac_ct_CXX!$ac_ct_CXX$ac_delim
23624 CPPBIN!$CPPBIN$ac_delim
23625 TOOLSDIR!$TOOLSDIR$ac_delim
23626 XMKMF!$XMKMF$ac_delim
23628 X_CFLAGS!$X_CFLAGS$ac_delim
23629 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23630 X_LIBS!$X_LIBS$ac_delim
23631 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23632 FLEX!$FLEX$ac_delim
23633 BISON!$BISON$ac_delim
23635 ac_ct_AS!$ac_ct_AS$ac_delim
23637 ac_ct_LD!$ac_ct_LD$ac_delim
23639 ac_ct_NM!$ac_ct_NM$ac_delim
23641 ac_ct_AR!$ac_ct_AR$ac_delim
23642 ARFLAGS!$ARFLAGS$ac_delim
23643 RANLIB!$RANLIB$ac_delim
23644 STRIP!$STRIP$ac_delim
23645 WINDRES!$WINDRES$ac_delim
23646 LN_S!$LN_S$ac_delim
23649 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23651 elif $ac_last_try; then
23652 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23653 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23654 { (exit 1); exit 1; }; }
23656 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23660 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23661 if test -n "$ac_eof"; then
23662 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23663 ac_eof
=`expr $ac_eof + 1`
23666 cat >>$CONFIG_STATUS <<_ACEOF
23667 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23669 /^[ ]*@MAKE_RULES@[ ]*$/{
23673 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23677 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23678 r $MAKE_IMPLIB_RULES
23681 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23685 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23691 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23692 s/^/s,@/; s/!/@,|#_!!_#|/
23695 s/'"$ac_delim"'$/,g/; t
23697 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23698 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23699 rm -f conf$
$subs.
sed
23700 cat >>$CONFIG_STATUS <<_ACEOF
23706 for ac_last_try
in false false false false false
:; do
23707 cat >conf$
$subs.
sed <<_ACEOF
23709 GREP!$GREP$ac_delim
23710 EGREP!$EGREP$ac_delim
23711 LDCONFIG!$LDCONFIG$ac_delim
23712 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23713 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23714 INSTALL_DATA!$INSTALL_DATA$ac_delim
23715 LINT!$LINT$ac_delim
23716 LINTFLAGS!$LINTFLAGS$ac_delim
23717 FONTFORGE!$FONTFORGE$ac_delim
23718 PKG_CONFIG!$PKG_CONFIG$ac_delim
23719 RSVG!$RSVG$ac_delim
23720 ICOTOOL!$ICOTOOL$ac_delim
23721 PRELINK!$PRELINK$ac_delim
23722 LIBPTHREAD!$LIBPTHREAD$ac_delim
23723 XLIB!$XLIB$ac_delim
23724 XFILES!$XFILES$ac_delim
23725 OPENGLFILES!$OPENGLFILES$ac_delim
23726 GLU32FILES!$GLU32FILES$ac_delim
23727 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23728 QUARTZFILES!$QUARTZFILES$ac_delim
23729 DLLEXT!$DLLEXT$ac_delim
23730 DLLFLAGS!$DLLFLAGS$ac_delim
23731 LDSHARED!$LDSHARED$ac_delim
23732 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23733 LIBEXT!$LIBEXT$ac_delim
23734 IMPLIBEXT!$IMPLIBEXT$ac_delim
23735 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23736 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23738 DLLTOOL!$DLLTOOL$ac_delim
23739 DLLWRAP!$DLLWRAP$ac_delim
23740 MINGWAR!$MINGWAR$ac_delim
23741 SECURITYLIB!$SECURITYLIB$ac_delim
23742 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23743 IOKITLIB!$IOKITLIB$ac_delim
23744 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23745 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23746 COREAUDIO!$COREAUDIO$ac_delim
23747 CARBONLIB!$CARBONLIB$ac_delim
23748 CROSSTEST!$CROSSTEST$ac_delim
23749 CROSSCC!$CROSSCC$ac_delim
23750 CROSSWINDRES!$CROSSWINDRES$ac_delim
23751 NASLIBS!$NASLIBS$ac_delim
23752 XML2LIBS!$XML2LIBS$ac_delim
23753 XML2INCL!$XML2INCL$ac_delim
23754 XSLTLIBS!$XSLTLIBS$ac_delim
23755 XSLTINCL!$XSLTINCL$ac_delim
23756 HALINCL!$HALINCL$ac_delim
23757 sane_devel!$sane_devel$ac_delim
23758 SANEINCL!$SANEINCL$ac_delim
23759 gphoto2_devel!$gphoto2_devel$ac_delim
23760 gphoto2port_devel!$gphoto2port_devel$ac_delim
23761 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23762 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23763 RESOLVLIBS!$RESOLVLIBS$ac_delim
23764 LCMSLIBS!$LCMSLIBS$ac_delim
23765 LDAPLIBS!$LDAPLIBS$ac_delim
23766 ft_devel!$ft_devel$ac_delim
23767 FREETYPELIBS!$FREETYPELIBS$ac_delim
23768 FREETYPEINCL!$FREETYPEINCL$ac_delim
23769 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23770 ESDCONFIG!$ESDCONFIG$ac_delim
23771 ESDLIBS!$ESDLIBS$ac_delim
23772 ESDINCL!$ESDINCL$ac_delim
23773 ALSALIBS!$ALSALIBS$ac_delim
23774 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23775 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23776 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23777 BUILTINFLAG!$BUILTINFLAG$ac_delim
23778 LDPATH!$LDPATH$ac_delim
23779 CRTLIBS!$CRTLIBS$ac_delim
23780 SOCKETLIBS!$SOCKETLIBS$ac_delim
23781 MAIN_BINARY!$MAIN_BINARY$ac_delim
23782 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23783 LIBDL!$LIBDL$ac_delim
23784 LIBPOLL!$LIBPOLL$ac_delim
23785 DEPENDENCIES!$DEPENDENCIES$ac_delim
23786 LIBOBJS!$LIBOBJS$ac_delim
23787 LTLIBOBJS!$LTLIBOBJS$ac_delim
23790 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
23792 elif $ac_last_try; then
23793 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23794 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23795 { (exit 1); exit 1; }; }
23797 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23801 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23802 if test -n "$ac_eof"; then
23803 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23804 ac_eof
=`expr $ac_eof + 1`
23807 cat >>$CONFIG_STATUS <<_ACEOF
23808 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23812 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23813 s/^/s,@/; s/!/@,|#_!!_#|/
23816 s/'"$ac_delim"'$/,g/; t
23818 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23819 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23820 rm -f conf$
$subs.
sed
23821 cat >>$CONFIG_STATUS <<_ACEOF
23828 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23829 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23830 # trailing colons and then remove the whole line if VPATH becomes empty
23831 # (actually we leave an empty line to preserve line numbers).
23832 if test "x$srcdir" = x.
; then
23833 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23834 s/:*\$(srcdir):*/:/
23835 s/:*\${srcdir}:*/:/
23837 s/^\([^=]*=[ ]*\):*/\1/
23843 cat >>$CONFIG_STATUS <<\_ACEOF
23844 fi # test -n "$CONFIG_FILES"
23847 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23850 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23852 case $ac_mode$ac_tag in
23854 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23855 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23856 { (exit 1); exit 1; }; };;
23857 :[FH
]-) ac_tag
=-:-;;
23858 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23875 -) ac_f
="$tmp/stdin";;
23876 *) # Look for the file first in the build tree, then in the source tree
23877 # (if the path is not absolute). The absolute path cannot be DOS-style,
23878 # because $ac_f cannot contain `:'.
23882 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23884 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23885 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23886 { (exit 1); exit 1; }; };;
23888 ac_file_inputs
="$ac_file_inputs $ac_f"
23891 # Let's still pretend it is `configure' which instantiates (i.e., don't
23892 # use $as_me), people would be surprised to read:
23893 # /* config.h. Generated by config.status. */
23894 configure_input
="Generated from "`IFS=:
23895 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23896 if test x
"$ac_file" != x-
; then
23897 configure_input
="$ac_file. $configure_input"
23898 { echo "$as_me:$LINENO: creating $ac_file" >&5
23899 echo "$as_me: creating $ac_file" >&6;}
23903 *:-:* |
*:-) cat >"$tmp/stdin";;
23908 ac_dir
=`$as_dirname -- "$ac_file" ||
23909 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23910 X"$ac_file" : 'X\(//\)[^/]' \| \
23911 X"$ac_file" : 'X\(//\)$' \| \
23912 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23918 /^X\(\/\/\)[^/].*/{
23933 -*) as_dir
=.
/$as_dir;;
23935 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23939 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23940 *) as_qdir
=$as_dir;;
23942 as_dirs
="'$as_qdir' $as_dirs"
23943 as_dir
=`$as_dirname -- "$as_dir" ||
23944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23945 X"$as_dir" : 'X\(//\)[^/]' \| \
23946 X"$as_dir" : 'X\(//\)$' \| \
23947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23953 /^X\(\/\/\)[^/].*/{
23966 test -d "$as_dir" && break
23968 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23969 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23970 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23971 { (exit 1); exit 1; }; }; }
23975 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23977 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23978 # A ".." for each directory in $ac_dir_suffix.
23979 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23980 case $ac_top_builddir_sub in
23981 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23982 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23985 ac_abs_top_builddir
=$ac_pwd
23986 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23987 # for backward compatibility:
23988 ac_top_builddir
=$ac_top_build_prefix
23991 .
) # We are building in place.
23993 ac_top_srcdir
=$ac_top_builddir_sub
23994 ac_abs_top_srcdir
=$ac_pwd ;;
23995 [\\/]* | ?
:[\\/]* ) # Absolute name.
23996 ac_srcdir
=$srcdir$ac_dir_suffix;
23997 ac_top_srcdir
=$srcdir
23998 ac_abs_top_srcdir
=$srcdir ;;
23999 *) # Relative name.
24000 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24001 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24002 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24004 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24014 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24015 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24019 cat >>$CONFIG_STATUS <<\_ACEOF
24020 # If the template does not know about datarootdir, expand it.
24021 # FIXME: This hack should be removed a few years after 2.60.
24022 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24024 case `sed -n '/datarootdir/ {
24033 ' $ac_file_inputs` in
24034 *datarootdir
*) ac_datarootdir_seen
=yes;;
24035 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24036 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24037 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24039 cat >>$CONFIG_STATUS <<_ACEOF
24040 ac_datarootdir_hack='
24041 s&@datadir@&$datadir&g
24042 s&@docdir@&$docdir&g
24043 s&@infodir@&$infodir&g
24044 s&@localedir@&$localedir&g
24045 s&@mandir@&$mandir&g
24046 s&\\\${datarootdir}&$datarootdir&g' ;;
24050 # Neutralize VPATH when `$srcdir' = `.'.
24051 # Shell code in configure.ac might set extrasub.
24052 # FIXME: do we really want to maintain this feature?
24053 cat >>$CONFIG_STATUS <<_ACEOF
24057 cat >>$CONFIG_STATUS <<\_ACEOF
24059 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24060 s
&@configure_input@
&$configure_input&;t t
24061 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24062 s
&@srcdir@
&$ac_srcdir&;t t
24063 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24064 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24065 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24066 s
&@builddir@
&$ac_builddir&;t t
24067 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24068 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24069 s
&@INSTALL@
&$ac_INSTALL&;t t
24070 $ac_datarootdir_hack
24071 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24073 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24074 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24075 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24076 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24077 which seems to be undefined. Please make sure it is defined." >&5
24078 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24079 which seems to be undefined. Please make sure it is defined." >&2;}
24083 -) cat "$tmp/out"; rm -f "$tmp/out";;
24084 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24093 # Transform confdefs.h into a sed script `conftest.defines', that
24094 # substitutes the proper values into config.h.in to produce config.h.
24095 rm -f conftest.defines conftest.
tail
24096 # First, append a space to every undef/define line, to ease matching.
24097 echo 's/$/ /' >conftest.defines
24098 # Then, protect against being on the right side of a sed subst, or in
24099 # an unquoted here document, in config.status. If some macros were
24100 # called several times there might be several #defines for the same
24101 # symbol, which is useless. But do not sort them, since the last
24102 # AC_DEFINE must be honored.
24103 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24104 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24105 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24106 # PARAMS is the parameter list in the macro definition--in most cases, it's
24107 # just an empty string.
24108 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24109 ac_dB
='\\)[ (].*,\\1define\\2'
24117 s/^[ ]*#[ ]*define[ ][ ]*//
24122 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24123 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24124 ' >>conftest.defines
24126 # Remove the space that was appended to ease matching.
24127 # Then replace #undef with comments. This is necessary, for
24128 # example, in the case of _POSIX_SOURCE, which is predefined and required
24129 # on some systems where configure will not decide to define it.
24130 # (The regexp can be short, since the line contains either #define or #undef.)
24132 s,^[ #]*u.*,/* & */,' >>conftest.defines
24134 # Break up conftest.defines:
24135 ac_max_sed_lines
=50
24137 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24138 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24139 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24141 ac_in
='$ac_file_inputs'
24142 ac_out
='"$tmp/out1"'
24143 ac_nxt
='"$tmp/out2"'
24147 # Write a here document:
24148 cat >>$CONFIG_STATUS <<_ACEOF
24149 # First, check the format of the line:
24150 cat >"\$tmp/defines.sed" <<\\CEOF
24151 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24152 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24156 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24158 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24159 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24160 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24161 grep . conftest.
tail >/dev
/null ||
break
24162 rm -f conftest.defines
24163 mv conftest.
tail conftest.defines
24165 rm -f conftest.defines conftest.
tail
24167 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24168 cat >>$CONFIG_STATUS <<\_ACEOF
24169 if test x
"$ac_file" != x-
; then
24170 echo "/* $configure_input */" >"$tmp/config.h"
24171 cat "$ac_result" >>"$tmp/config.h"
24172 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24173 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24174 echo "$as_me: $ac_file is unchanged" >&6;}
24177 mv "$tmp/config.h" $ac_file
24180 echo "/* $configure_input */"
24186 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24187 echo "$as_me: executing $ac_file commands" >&6;}
24192 case $ac_file$ac_mode in
24193 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24194 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24195 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24196 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24197 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24198 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24199 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24200 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24201 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24202 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24203 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24204 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24205 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24211 { (exit 0); exit 0; }
24213 chmod +x
$CONFIG_STATUS
24214 ac_clean_files
=$ac_clean_files_save
24217 # configure is writing to config.log, and then calls config.status.
24218 # config.status does its own redirection, appending to config.log.
24219 # Unfortunately, on DOS this fails, as config.log is still kept open
24220 # by configure, so config.status won't be able to write to it; its
24221 # output is simply discarded. So we exec the FD to /dev/null,
24222 # effectively closing config.log, so it can be properly (re)opened and
24223 # appended to by config.status. When coming back to configure, we
24224 # need to make the FD available again.
24225 if test "$no_create" != yes; then
24227 ac_config_status_args
=
24228 test "$silent" = yes &&
24229 ac_config_status_args
="$ac_config_status_args --quiet"
24231 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24233 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24234 # would make configure fail if this is the last instruction.
24235 $ac_cs_success ||
{ (exit 1); exit 1; }
24239 if test "$no_create" = "yes"
24246 if test "x$wine_notices != "x
; then
24248 for msg
in $wine_notices; do
24249 if test -n "$msg"; then
24250 { echo "$as_me:$LINENO: $msg" >&5
24251 echo "$as_me: $msg" >&6;}
24255 for msg
in $wine_warnings; do
24256 if test -n "$msg"; then
24258 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24259 echo "$as_me: WARNING: $msg" >&2;}
24265 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.