2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.3'
584 PACKAGE_STRING
='Wine 1.7.3'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
703 APPLICATIONSERVICESLIB
795 program_transform_name
806 ac_subst_files
='MAKE_RULES
812 enable_option_checking
816 enable_maintainer_mode
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_winrt_error_l1_1_0
874 enable_api_ms_win_core_winrt_string_l1_1_0
875 enable_api_ms_win_downlevel_advapi32_l1_1_0
876 enable_api_ms_win_downlevel_advapi32_l2_1_0
877 enable_api_ms_win_downlevel_normaliz_l1_1_0
878 enable_api_ms_win_downlevel_ole32_l1_1_0
879 enable_api_ms_win_downlevel_shell32_l1_1_0
880 enable_api_ms_win_downlevel_shlwapi_l1_1_0
881 enable_api_ms_win_downlevel_shlwapi_l2_1_0
882 enable_api_ms_win_downlevel_user32_l1_1_0
883 enable_api_ms_win_downlevel_version_l1_1_0
884 enable_api_ms_win_security_base_l1_1_0
921 enable_d3dcompiler_33
922 enable_d3dcompiler_34
923 enable_d3dcompiler_35
924 enable_d3dcompiler_36
925 enable_d3dcompiler_37
926 enable_d3dcompiler_38
927 enable_d3dcompiler_39
928 enable_d3dcompiler_40
929 enable_d3dcompiler_41
930 enable_d3dcompiler_42
931 enable_d3dcompiler_43
1004 enable_explorerframe
1143 enable_photometadatahandler
1221 enable_windowscodecs
1222 enable_windowscodecsext
1224 enable_winecoreaudio_drv
1226 enable_winegstreamer
1227 enable_winejoystick_drv
1233 enable_wineqtdecoder
1268 enable_documentation
1275 enable_aspnet_regiis
1307 enable_presentationfontcache
1319 enable_servicemodelreg
1338 enable_winemenubuilder
1340 enable_winemsibuilder
1354 ac_precious_vars
='build_alias
1401 # Initialize some variables set by options.
1403 ac_init_version
=false
1404 ac_unrecognized_opts
=
1405 ac_unrecognized_sep
=
1406 # The variables have the same names as the options, with
1407 # dashes changed to underlines.
1408 cache_file
=/dev
/null
1415 program_transform_name
=s
,x
,x
,
1423 # Installation directory options.
1424 # These are left unexpanded so users can "make install exec_prefix=/foo"
1425 # and all the variables that are supposed to be based on exec_prefix
1426 # by default will actually change.
1427 # Use braces instead of parens because sh, perl, etc. also accept them.
1428 # (The list follows the same order as the GNU Coding Standards.)
1429 bindir
='${exec_prefix}/bin'
1430 sbindir
='${exec_prefix}/sbin'
1431 libexecdir
='${exec_prefix}/libexec'
1432 datarootdir
='${prefix}/share'
1433 datadir
='${datarootdir}'
1434 sysconfdir
='${prefix}/etc'
1435 sharedstatedir
='${prefix}/com'
1436 localstatedir
='${prefix}/var'
1437 includedir
='${prefix}/include'
1438 oldincludedir
='/usr/include'
1439 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1440 infodir
='${datarootdir}/info'
1445 libdir
='${exec_prefix}/lib'
1446 localedir
='${datarootdir}/locale'
1447 mandir
='${datarootdir}/man'
1453 # If the previous option needs an argument, assign it.
1454 if test -n "$ac_prev"; then
1455 eval $ac_prev=\
$ac_option
1461 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1466 # Accept the important Cygnus configure options, so we can diagnose typos.
1468 case $ac_dashdash$ac_option in
1472 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1474 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1475 bindir
=$ac_optarg ;;
1477 -build |
--build |
--buil |
--bui |
--bu)
1478 ac_prev
=build_alias
;;
1479 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1480 build_alias
=$ac_optarg ;;
1482 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1483 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1484 ac_prev
=cache_file
;;
1485 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1486 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1487 cache_file
=$ac_optarg ;;
1489 --config-cache |
-C)
1490 cache_file
=config.cache
;;
1492 -datadir |
--datadir |
--datadi |
--datad)
1494 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1495 datadir
=$ac_optarg ;;
1497 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1498 |
--dataroo |
--dataro |
--datar)
1499 ac_prev
=datarootdir
;;
1500 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1501 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1502 datarootdir
=$ac_optarg ;;
1504 -disable-* |
--disable-*)
1505 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1506 # Reject names that are not valid shell variable names.
1507 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1508 as_fn_error $?
"invalid feature name: $ac_useropt"
1509 ac_useropt_orig
=$ac_useropt
1510 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1511 case $ac_user_opts in
1513 "enable_
$ac_useropt"
1515 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1516 ac_unrecognized_sep
=', ';;
1518 eval enable_
$ac_useropt=no
;;
1520 -docdir |
--docdir |
--docdi |
--doc |
--do)
1522 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1523 docdir
=$ac_optarg ;;
1525 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1527 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1528 dvidir
=$ac_optarg ;;
1530 -enable-* |
--enable-*)
1531 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1532 # Reject names that are not valid shell variable names.
1533 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1534 as_fn_error $?
"invalid feature name: $ac_useropt"
1535 ac_useropt_orig
=$ac_useropt
1536 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1537 case $ac_user_opts in
1539 "enable_
$ac_useropt"
1541 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1542 ac_unrecognized_sep
=', ';;
1544 eval enable_
$ac_useropt=\
$ac_optarg ;;
1546 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1547 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1548 |
--exec |
--exe |
--ex)
1549 ac_prev
=exec_prefix
;;
1550 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1551 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1552 |
--exec=* |
--exe=* |
--ex=*)
1553 exec_prefix
=$ac_optarg ;;
1555 -gas |
--gas |
--ga |
--g)
1556 # Obsolete; use --with-gas.
1559 -help |
--help |
--hel |
--he |
-h)
1560 ac_init_help
=long
;;
1561 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1562 ac_init_help
=recursive
;;
1563 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1564 ac_init_help
=short
;;
1566 -host |
--host |
--hos |
--ho)
1567 ac_prev
=host_alias
;;
1568 -host=* |
--host=* |
--hos=* |
--ho=*)
1569 host_alias
=$ac_optarg ;;
1571 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1573 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1575 htmldir
=$ac_optarg ;;
1577 -includedir |
--includedir |
--includedi |
--included |
--include \
1578 |
--includ |
--inclu |
--incl |
--inc)
1579 ac_prev
=includedir
;;
1580 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1581 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1582 includedir
=$ac_optarg ;;
1584 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1586 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1587 infodir
=$ac_optarg ;;
1589 -libdir |
--libdir |
--libdi |
--libd)
1591 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1592 libdir
=$ac_optarg ;;
1594 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1595 |
--libexe |
--libex |
--libe)
1596 ac_prev
=libexecdir
;;
1597 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1598 |
--libexe=* |
--libex=* |
--libe=*)
1599 libexecdir
=$ac_optarg ;;
1601 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1602 ac_prev
=localedir
;;
1603 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1604 localedir
=$ac_optarg ;;
1606 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1607 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1608 ac_prev
=localstatedir
;;
1609 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1610 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1611 localstatedir
=$ac_optarg ;;
1613 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1615 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1616 mandir
=$ac_optarg ;;
1618 -nfp |
--nfp |
--nf)
1619 # Obsolete; use --without-fp.
1622 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1623 |
--no-cr |
--no-c |
-n)
1626 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1627 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1630 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1631 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1632 |
--oldin |
--oldi |
--old |
--ol |
--o)
1633 ac_prev
=oldincludedir
;;
1634 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1635 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1636 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1637 oldincludedir
=$ac_optarg ;;
1639 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1641 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1642 prefix
=$ac_optarg ;;
1644 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1645 |
--program-pre |
--program-pr |
--program-p)
1646 ac_prev
=program_prefix
;;
1647 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1648 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1649 program_prefix
=$ac_optarg ;;
1651 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1652 |
--program-suf |
--program-su |
--program-s)
1653 ac_prev
=program_suffix
;;
1654 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1655 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1656 program_suffix
=$ac_optarg ;;
1658 -program-transform-name |
--program-transform-name \
1659 |
--program-transform-nam |
--program-transform-na \
1660 |
--program-transform-n |
--program-transform- \
1661 |
--program-transform |
--program-transfor \
1662 |
--program-transfo |
--program-transf \
1663 |
--program-trans |
--program-tran \
1664 |
--progr-tra |
--program-tr |
--program-t)
1665 ac_prev
=program_transform_name
;;
1666 -program-transform-name=* |
--program-transform-name=* \
1667 |
--program-transform-nam=* |
--program-transform-na=* \
1668 |
--program-transform-n=* |
--program-transform-=* \
1669 |
--program-transform=* |
--program-transfor=* \
1670 |
--program-transfo=* |
--program-transf=* \
1671 |
--program-trans=* |
--program-tran=* \
1672 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1673 program_transform_name
=$ac_optarg ;;
1675 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1677 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1678 pdfdir
=$ac_optarg ;;
1680 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1682 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1685 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1686 |
-silent |
--silent |
--silen |
--sile |
--sil)
1689 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1691 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1693 sbindir
=$ac_optarg ;;
1695 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1696 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1697 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1699 ac_prev
=sharedstatedir
;;
1700 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1701 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1702 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1704 sharedstatedir
=$ac_optarg ;;
1706 -site |
--site |
--sit)
1708 -site=* |
--site=* |
--sit=*)
1711 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1713 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1714 srcdir
=$ac_optarg ;;
1716 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1717 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1718 ac_prev
=sysconfdir
;;
1719 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1720 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1721 sysconfdir
=$ac_optarg ;;
1723 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1724 ac_prev
=target_alias
;;
1725 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1726 target_alias
=$ac_optarg ;;
1728 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1731 -version |
--version |
--versio |
--versi |
--vers |
-V)
1732 ac_init_version
=: ;;
1735 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1738 as_fn_error $?
"invalid package name: $ac_useropt"
1739 ac_useropt_orig
=$ac_useropt
1740 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1741 case $ac_user_opts in
1745 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1746 ac_unrecognized_sep
=', ';;
1748 eval with_
$ac_useropt=\
$ac_optarg ;;
1750 -without-* |
--without-*)
1751 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid package name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval with_
$ac_useropt=no
;;
1767 # Obsolete; use --with-x.
1770 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1771 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1772 ac_prev
=x_includes
;;
1773 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1774 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1775 x_includes
=$ac_optarg ;;
1777 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1778 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1779 ac_prev
=x_libraries
;;
1780 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1781 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1782 x_libraries
=$ac_optarg ;;
1784 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1785 Try \`$0 --help' for more information"
1789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1790 # Reject names that are not valid shell variable names.
1791 case $ac_envvar in #(
1792 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1793 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1795 eval $ac_envvar=\
$ac_optarg
1796 export $ac_envvar ;;
1799 # FIXME: should be removed in autoconf 3.0.
1800 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1802 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1803 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1809 if test -n "$ac_prev"; then
1810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1811 as_fn_error $?
"missing argument to $ac_option"
1814 if test -n "$ac_unrecognized_opts"; then
1815 case $enable_option_checking in
1817 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1818 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1822 # Check all directory arguments for consistency.
1823 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1824 datadir sysconfdir sharedstatedir localstatedir includedir \
1825 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1826 libdir localedir mandir
1828 eval ac_val
=\$
$ac_var
1829 # Remove trailing slashes.
1832 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1833 eval $ac_var=\
$ac_val;;
1835 # Be sure to have absolute directory names.
1837 [\\/$
]* | ?
:[\\/]* ) continue;;
1838 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1840 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1843 # There might be people who depend on the old broken behavior: `$host'
1844 # used to hold the argument of --host etc.
1845 # FIXME: To remove some day.
1848 target
=$target_alias
1850 # FIXME: To remove some day.
1851 if test "x$host_alias" != x
; then
1852 if test "x$build_alias" = x
; then
1853 cross_compiling
=maybe
1854 elif test "x$build_alias" != "x$host_alias"; then
1860 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1862 test "$silent" = yes && exec 6>/dev
/null
1865 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1866 ac_ls_di
=`ls -di .` &&
1867 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1868 as_fn_error $?
"working directory cannot be determined"
1869 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1870 as_fn_error $?
"pwd does not report name of working directory"
1873 # Find the source files, if location was not specified.
1874 if test -z "$srcdir"; then
1875 ac_srcdir_defaulted
=yes
1876 # Try the directory containing this script, then the parent directory.
1877 ac_confdir
=`$as_dirname -- "$as_myself" ||
1878 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1879 X"$as_myself" : 'X\(//\)[^/]' \| \
1880 X"$as_myself" : 'X\(//\)$' \| \
1881 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1882 $as_echo X"$as_myself" |
1883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1905 ac_srcdir_defaulted
=no
1907 if test ! -r "$srcdir/$ac_unique_file"; then
1908 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1909 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1911 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1913 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1915 # When building in place, set srcdir=.
1916 if test "$ac_abs_confdir" = "$ac_pwd"; then
1919 # Remove unnecessary trailing slashes from srcdir.
1920 # Double slashes in file names in object file debugging info
1921 # mess up M-x gdb in Emacs.
1923 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1925 for ac_var
in $ac_precious_vars; do
1926 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1927 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1928 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1929 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1933 # Report the --help message.
1935 if test "$ac_init_help" = "long"; then
1936 # Omit some internal or obsolete options to make the list less imposing.
1937 # This message is too long to be a string in the A/UX 3.1 sh.
1939 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1941 Usage: $0 [OPTION]... [VAR=VALUE]...
1943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1944 VAR=VALUE. See below for descriptions of some of the useful variables.
1946 Defaults for the options are specified in brackets.
1949 -h, --help display this help and exit
1950 --help=short display options specific to this package
1951 --help=recursive display the short help of all the included packages
1952 -V, --version display version information and exit
1953 -q, --quiet, --silent do not print \`checking ...' messages
1954 --cache-file=FILE cache test results in FILE [disabled]
1955 -C, --config-cache alias for \`--cache-file=config.cache'
1956 -n, --no-create do not create output files
1957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1959 Installation directories:
1960 --prefix=PREFIX install architecture-independent files in PREFIX
1961 [$ac_default_prefix]
1962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1965 By default, \`make install' will install all the files in
1966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1968 for instance \`--prefix=\$HOME'.
1970 For better control, use the options below.
1972 Fine tuning of the installation directories:
1973 --bindir=DIR user executables [EPREFIX/bin]
1974 --sbindir=DIR system admin executables [EPREFIX/sbin]
1975 --libexecdir=DIR program executables [EPREFIX/libexec]
1976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1979 --libdir=DIR object code libraries [EPREFIX/lib]
1980 --includedir=DIR C header files [PREFIX/include]
1981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1982 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1983 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1984 --infodir=DIR info documentation [DATAROOTDIR/info]
1985 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1986 --mandir=DIR man documentation [DATAROOTDIR/man]
1987 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1988 --htmldir=DIR html documentation [DOCDIR]
1989 --dvidir=DIR dvi documentation [DOCDIR]
1990 --pdfdir=DIR pdf documentation [DOCDIR]
1991 --psdir=DIR ps documentation [DOCDIR]
1997 --x-includes=DIR X include files are
in DIR
1998 --x-libraries=DIR X library files are
in DIR
2001 --build=BUILD configure
for building on BUILD
[guessed
]
2002 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2006 if test -n "$ac_init_help"; then
2007 case $ac_init_help in
2008 short | recursive
) echo "Configuration of Wine 1.7.3:";;
2013 --disable-option-checking ignore unrecognized
--enable/--with options
2014 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2015 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2016 --disable-win16 do not include Win16 support
2017 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2019 --disable-tests do not build the regression tests
2020 --enable-maintainer-mode
2021 enable maintainer-specific build rules
2022 --disable-largefile omit support for large files
2025 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2026 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2027 --without-alsa do not use the Alsa sound support
2028 --without-capi do not use CAPI (ISDN support)
2029 --without-cms do not use CMS (color management support)
2030 --without-coreaudio do not use the CoreAudio sound support
2031 --without-cups do not use CUPS
2032 --without-curses do not use (n)curses
2033 --without-dbus do not use DBus (dynamic device support)
2034 --without-fontconfig do not use fontconfig
2035 --without-freetype do not use the FreeType library
2036 --without-gettext do not use gettext
2037 --with-gettextpo use the GetTextPO library to rebuild po files
2038 --without-gphoto do not use gphoto (Digital Camera support)
2039 --without-glu do not use the GLU library
2040 --without-gnutls do not use GnuTLS (schannel support)
2041 --without-gsm do not use libgsm (GSM 06.10 codec support)
2042 --without-gstreamer do not use GStreamer (codecs support)
2043 --without-hal do not use HAL (dynamic device support)
2044 --without-jpeg do not use JPEG
2045 --without-ldap do not use LDAP
2046 --without-mpg123 do not use the mpg123 library
2047 --without-openal do not use OpenAL
2048 --without-opencl do not use OpenCL
2049 --without-opengl do not use OpenGL
2050 --without-osmesa do not use the OSMesa library
2051 --without-oss do not use the OSS sound support
2052 --without-png do not use PNG
2053 --without-pthread do not use the pthread library
2054 --without-sane do not use SANE (scanner support)
2055 --without-tiff do not use TIFF
2056 --without-v4l do not use v4l1 (v4l support)
2057 --without-xcomposite do not use the Xcomposite extension
2058 --without-xcursor do not use the Xcursor extension
2059 --without-xinerama do not use Xinerama (multi-monitor support)
2060 --without-xinput do not use the Xinput extension
2061 --without-xinput2 do not use the Xinput 2 extension
2062 --without-xml do not use XML
2063 --without-xrandr do not use Xrandr (resolution changes)
2064 --without-xrender do not use the Xrender extension
2065 --without-xshape do not use the Xshape extension
2066 --without-xshm do not use XShm (shared memory extension)
2067 --without-xslt do not use XSLT
2068 --without-xxf86vm do not use XFree video mode extension
2069 --without-zlib do not use Zlib (data compression)
2070 --with-wine-tools=DIR use Wine tools from directory DIR
2071 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2072 --with-x use the X Window System
2074 Some influential environment variables:
2075 CC C compiler command
2076 CFLAGS C compiler flags
2077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2078 nonstandard directory <lib dir>
2079 LIBS libraries to pass to the linker, e.g. -l<library>
2080 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2081 you have headers in a nonstandard directory <include dir>
2082 CXX C++ compiler command
2083 CXXFLAGS C++ compiler flags
2085 XMKMF Path to xmkmf, Makefile generator for X Window System
2086 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2087 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2088 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2089 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2090 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2091 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2092 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2093 HAL_LIBS Linker flags for hal, overriding pkg-config
2095 C compiler flags for gnutls, overriding pkg-config
2096 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2097 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2098 SANE_LIBS Linker flags for libsane, overriding pkg-config
2100 C compiler flags for libgphoto2, overriding pkg-config
2102 Linker flags for libgphoto2, overriding pkg-config
2104 C compiler flags for libgphoto2_port, overriding pkg-config
2106 Linker flags for libgphoto2_port, overriding pkg-config
2108 C compiler flags for lcms2, overriding pkg-config
2109 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2111 C compiler flags for freetype2, overriding pkg-config
2113 Linker flags for freetype2, overriding pkg-config
2115 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2117 Linker flags for gstreamer-app-0.10, overriding pkg-config
2119 C compiler flags for capi20, overriding pkg-config
2120 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2121 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2122 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2123 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2124 PNG_LIBS Linker flags for libpng, overriding pkg-config
2125 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2126 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2128 C compiler flags for libmpg123, overriding pkg-config
2129 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2131 Use these variables to override the choices made by `configure' or to
help
2132 it to
find libraries and programs with nonstandard names
/locations.
2134 Report bugs to
<wine-devel@winehq.org
>.
2135 Wine home page
: <http
://www.winehq.org
>.
2140 if test "$ac_init_help" = "recursive"; then
2141 # If there are subdirs, report their specific --help.
2142 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2143 test -d "$ac_dir" ||
2144 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2149 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2151 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2152 # A ".." for each directory in $ac_dir_suffix.
2153 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2154 case $ac_top_builddir_sub in
2155 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2156 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2159 ac_abs_top_builddir
=$ac_pwd
2160 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2161 # for backward compatibility:
2162 ac_top_builddir
=$ac_top_build_prefix
2165 .
) # We are building in place.
2167 ac_top_srcdir
=$ac_top_builddir_sub
2168 ac_abs_top_srcdir
=$ac_pwd ;;
2169 [\\/]* | ?
:[\\/]* ) # Absolute name.
2170 ac_srcdir
=$srcdir$ac_dir_suffix;
2171 ac_top_srcdir
=$srcdir
2172 ac_abs_top_srcdir
=$srcdir ;;
2174 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2175 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2176 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2178 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2180 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2181 # Check for guested configure.
2182 if test -f "$ac_srcdir/configure.gnu"; then
2184 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2185 elif test -f "$ac_srcdir/configure"; then
2187 $SHELL "$ac_srcdir/configure" --help=recursive
2189 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2191 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2195 test -n "$ac_init_help" && exit $ac_status
2196 if $ac_init_version; then
2198 Wine configure
1.7.3
2199 generated by GNU Autoconf
2.69
2201 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2202 This configure
script is free software
; the Free Software Foundation
2203 gives unlimited permission to copy
, distribute and modify it.
2208 ## ------------------------ ##
2209 ## Autoconf initialization. ##
2210 ## ------------------------ ##
2212 # ac_fn_c_try_compile LINENO
2213 # --------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_c_try_compile
()
2217 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2218 rm -f conftest.
$ac_objext
2219 if { { ac_try
="$ac_compile"
2221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_compile") 2>conftest.err
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_c_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest.$ac_objext; then :
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status $ac_retval
2248 } # ac_fn_c_try_compile
2250 # ac_fn_cxx_try_compile LINENO
2251 # ----------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_compile ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 rm -f conftest.$ac_objext
2257 if { { ac_try="$ac_compile"
2259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2260 *) ac_try_echo
=$ac_try;;
2262 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2266 if test -s conftest.err
; then
2267 grep -v '^ *+' conftest.err
>conftest.er1
2268 cat conftest.er1
>&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_cxx_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.
$ac_objext; then :
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.
$ac_ext >&5
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status
$ac_retval
2286 } # ac_fn_cxx_try_compile
2288 # ac_fn_c_try_link LINENO
2289 # -----------------------
2290 # Try to link conftest.$ac_ext, and return whether this succeeded.
2293 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2294 rm -f conftest.
$ac_objext conftest
$ac_exeext
2295 if { { ac_try
="$ac_link"
2297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_link") 2>conftest.err
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest$ac_exeext && {
2314 test "$cross_compiling" = yes ||
2315 test -x conftest$ac_exeext
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2324 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2325 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2326 # interfere with the next link command; also delete a directory that is
2327 # left behind by Apple's compiler. We do this before executing the actions.
2328 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_link
2334 # ac_fn_c_try_cpp LINENO
2335 # ----------------------
2336 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 if { { ac_try="$ac_cpp conftest.$ac_ext"
2342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2343 *) ac_try_echo
=$ac_try;;
2345 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2349 if test -s conftest.err
; then
2350 grep -v '^ *+' conftest.err
>conftest.er1
2351 cat conftest.er1
>&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } > conftest.i
&& {
2356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.
$ac_ext >&5
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status
$ac_retval
2371 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2372 # -------------------------------------------------------
2373 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2374 # the include files in INCLUDES and setting the cache variable VAR
2376 ac_fn_c_check_header_mongrel
()
2378 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2379 if eval \
${$3+:} false
; then :
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2381 $as_echo_n "checking for $2... " >&6; }
2382 if eval \
${$3+:} false
; then :
2383 $as_echo_n "(cached) " >&6
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2389 # Is the header compilable?
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2391 $as_echo_n "checking $2 usability... " >&6; }
2392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2397 if ac_fn_c_try_compile
"$LINENO"; then :
2398 ac_header_compiler
=yes
2400 ac_header_compiler
=no
2402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2404 $as_echo "$ac_header_compiler" >&6; }
2406 # Is the header present?
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2408 $as_echo_n "checking $2 presence... " >&6; }
2409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2413 if ac_fn_c_try_cpp
"$LINENO"; then :
2414 ac_header_preproc
=yes
2416 ac_header_preproc
=no
2418 rm -f conftest.err conftest.i conftest.
$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2420 $as_echo "$ac_header_preproc" >&6; }
2422 # So? What about this header?
2423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2426 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2428 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2432 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2434 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2436 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2438 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2440 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2441 ( $as_echo "## ------------------------------------ ##
2442 ## Report this to wine-devel@winehq.org ##
2443 ## ------------------------------------ ##"
2444 ) |
sed "s/^/$as_me: WARNING: /" >&2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if eval \
${$3+:} false
; then :
2450 $as_echo_n "(cached) " >&6
2452 eval "$3=\$ac_header_compiler"
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 } # ac_fn_c_check_header_mongrel
2462 # ac_fn_c_try_run LINENO
2463 # ----------------------
2464 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2465 # that executables *can* be run.
2468 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2469 if { { ac_try
="$ac_link"
2471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_link") 2>&5
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2480 { { case "(($ac_try" in
2481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2482 *) ac_try_echo
=$ac_try;;
2484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_try") 2>&5
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; }; then :
2492 $as_echo "$as_me: program exited with status $ac_status" >&5
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2496 ac_retval
=$ac_status
2498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 as_fn_set_status
$ac_retval
2504 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2505 # -------------------------------------------------------
2506 # Tests whether HEADER exists and can be compiled using the include files in
2507 # INCLUDES, setting the cache variable VAR accordingly.
2508 ac_fn_c_check_header_compile
()
2510 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2512 $as_echo_n "checking for $2... " >&6; }
2513 if eval \
${$3+:} false
; then :
2514 $as_echo_n "(cached) " >&6
2516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2521 if ac_fn_c_try_compile
"$LINENO"; then :
2526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_compile
2535 # ac_fn_c_check_func LINENO FUNC VAR
2536 # ----------------------------------
2537 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2538 ac_fn_c_check_func
()
2540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2542 $as_echo_n "checking for $2... " >&6; }
2543 if eval \
${$3+:} false
; then :
2544 $as_echo_n "(cached) " >&6
2546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2548 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2550 #define $2 innocuous_$2
2552 /* System header to define __stub macros and hopefully few prototypes,
2553 which can conflict with char $2 (); below.
2554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 <limits.h> exists even on freestanding compilers. */
2558 # include <limits.h>
2560 # include <assert.h>
2565 /* Override any GCC internal prototype to avoid an error.
2566 Use char because int might match the return type of a GCC
2567 builtin and then its argument prototype would still apply. */
2572 /* The GNU C library defines this for functions which it implements
2573 to always fail with ENOSYS. Some functions are actually named
2574 something starting with __ and the normal name is an alias. */
2575 #if defined __stub_$2 || defined __stub___$2
2587 if ac_fn_c_try_link
"$LINENO"; then :
2592 rm -f core conftest.err conftest.
$ac_objext \
2593 conftest
$ac_exeext conftest.
$ac_ext
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 } # ac_fn_c_check_func
2602 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2603 # ----------------------------------------------------
2604 # Tries to find if the field MEMBER exists in type AGGR, after including
2605 # INCLUDES, setting cache variable VAR accordingly.
2606 ac_fn_c_check_member
()
2608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2610 $as_echo_n "checking for $2.$3... " >&6; }
2611 if eval \
${$4+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2627 if ac_fn_c_try_compile
"$LINENO"; then :
2630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2637 if (sizeof ac_aggr.$3)
2643 if ac_fn_c_try_compile
"$LINENO"; then :
2648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2654 $as_echo "$ac_res" >&6; }
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 } # ac_fn_c_check_member
2659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2660 # -------------------------------------------
2661 # Tests whether TYPE exists after having included INCLUDES, setting cache
2662 # variable VAR accordingly.
2663 ac_fn_c_check_type
()
2665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \
${$3+:} false
; then :
2669 $as_echo_n "(cached) " >&6
2672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2684 if ac_fn_c_try_compile
"$LINENO"; then :
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2697 if ac_fn_c_try_compile
"$LINENO"; then :
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_type
2712 cat >config.log
<<_ACEOF
2713 This file contains any messages produced by compilers while
2714 running configure, to aid debugging if configure makes a mistake.
2716 It was created by Wine $as_me 1.7.3, which was
2717 generated by GNU Autoconf 2.69. Invocation command line was
2729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 $as_echo "PATH: $as_dir"
2769 # Keep a trace of the command line.
2770 # Strip out --no-create and --no-recursion so they do not pile up.
2771 # Strip out --silent because we don't want to record it for future runs.
2772 # Also quote any args containing shell meta-characters.
2773 # Make two passes to allow for proper duplicate-argument suppression.
2777 ac_must_keep_next
=false
2783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2785 |
-silent |
--silent |
--silen |
--sile |
--sil)
2788 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2791 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2793 as_fn_append ac_configure_args1
" '$ac_arg'"
2794 if test $ac_must_keep_next = true
; then
2795 ac_must_keep_next
=false
# Got value, back to normal.
2798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2802 case "$ac_configure_args0 " in
2803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2806 -* ) ac_must_keep_next
=true
;;
2809 as_fn_append ac_configure_args
" '$ac_arg'"
2814 { ac_configure_args0
=; unset ac_configure_args0
;}
2815 { ac_configure_args1
=; unset ac_configure_args1
;}
2817 # When interrupted or exit'd, cleanup temporary files, and complete
2818 # config.log. We remove comments because anyway the quotes in there
2819 # would cause problems or look ugly.
2820 # WARNING: Use '\'' to represent an apostrophe within the trap.
2821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2822 trap 'exit_status=$?
2823 # Save into config.log some information that might help in debugging.
2827 $as_echo "## ---------------- ##
2828 ## Cache variables. ##
2829 ## ---------------- ##"
2831 # The following way of writing the cache mishandles newlines in values,
2833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2834 eval ac_val=\$$ac_var
2838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2842 _ | IFS | as_nl) ;; #(
2843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2844 *) { eval $ac_var=; unset $ac_var;} ;;
2849 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2850 *${as_nl}ac_space=\ *)
2852 "s/'\''/'\''\\\\'\'''\''/g;
2853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2863 $as_echo "## ----------------- ##
2864 ## Output variables. ##
2865 ## ----------------- ##"
2867 for ac_var in $ac_subst_vars
2869 eval ac_val=\$$ac_var
2871 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2873 $as_echo "$ac_var='\''$ac_val'\''"
2877 if test -n "$ac_subst_files"; then
2878 $as_echo "## ------------------- ##
2879 ## File substitutions. ##
2880 ## ------------------- ##"
2882 for ac_var
in $ac_subst_files
2884 eval ac_val
=\$
$ac_var
2886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2888 $as_echo "$ac_var='\''$ac_val'\''"
2893 if test -s confdefs.h; then
2894 $as_echo "## ----------- ##
2901 test "$ac_signal" != 0 &&
2902 $as_echo "$as_me: caught signal $ac_signal"
2903 $as_echo "$as_me: exit $exit_status"
2905 rm -f core *.core core.conftest.* &&
2906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2909 for ac_signal
in 1 2 13 15; do
2910 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2915 rm -f -r conftest
* confdefs.h
2917 $as_echo "/* confdefs.h */" > confdefs.h
2919 # Predefined preprocessor variables.
2921 cat >>confdefs.h
<<_ACEOF
2922 #define PACKAGE_NAME "$PACKAGE_NAME"
2925 cat >>confdefs.h
<<_ACEOF
2926 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2929 cat >>confdefs.h
<<_ACEOF
2930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2933 cat >>confdefs.h
<<_ACEOF
2934 #define PACKAGE_STRING "$PACKAGE_STRING"
2937 cat >>confdefs.h
<<_ACEOF
2938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2941 cat >>confdefs.h
<<_ACEOF
2942 #define PACKAGE_URL "$PACKAGE_URL"
2946 # Let the site file select an alternate cache file if it wants to.
2947 # Prefer an explicitly selected file to automatically selected ones.
2950 if test -n "$CONFIG_SITE"; then
2951 # We do not want a PATH search for config.site.
2952 case $CONFIG_SITE in #((
2953 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2954 */*) ac_site_file1
=$CONFIG_SITE;;
2955 *) ac_site_file1
=.
/$CONFIG_SITE;;
2957 elif test "x$prefix" != xNONE
; then
2958 ac_site_file1
=$prefix/share
/config.site
2959 ac_site_file2
=$prefix/etc
/config.site
2961 ac_site_file1
=$ac_default_prefix/share
/config.site
2962 ac_site_file2
=$ac_default_prefix/etc
/config.site
2964 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2966 test "x$ac_site_file" = xNONE
&& continue
2967 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2970 sed 's/^/| /' "$ac_site_file" >&5
2972 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $?
"failed to load site script $ac_site_file
2975 See \`config.log' for more details" "$LINENO" 5; }
2979 if test -r "$cache_file"; then
2980 # Some versions of bash will fail to source /dev/null (special files
2981 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2982 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2984 $as_echo "$as_me: loading cache $cache_file" >&6;}
2986 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2987 *) .
"./$cache_file";;
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2992 $as_echo "$as_me: creating cache $cache_file" >&6;}
2996 # Check that the precious variables saved in the cache have kept the same
2998 ac_cache_corrupted
=false
2999 for ac_var
in $ac_precious_vars; do
3000 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3001 eval ac_new_set
=\
$ac_env_${ac_var}_set
3002 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3003 eval ac_new_val
=\
$ac_env_${ac_var}_value
3004 case $ac_old_set,$ac_new_set in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3007 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3008 ac_cache_corrupted
=: ;;
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3011 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3012 ac_cache_corrupted
=: ;;
3015 if test "x$ac_old_val" != "x$ac_new_val"; then
3016 # differences in whitespace do not lead to failure.
3017 ac_old_val_w
=`echo x $ac_old_val`
3018 ac_new_val_w
=`echo x $ac_new_val`
3019 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3021 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3022 ac_cache_corrupted
=:
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3025 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3026 eval $ac_var=\
$ac_old_val
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3029 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3031 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3034 # Pass precious variables to config.status.
3035 if test "$ac_new_set" = set; then
3037 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3038 *) ac_arg
=$ac_var=$ac_new_val ;;
3040 case " $ac_configure_args " in
3041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3042 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3046 if $ac_cache_corrupted; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3050 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3051 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3053 ## -------------------- ##
3054 ## Main body of script. ##
3055 ## -------------------- ##
3058 ac_cpp
='$CPP $CPPFLAGS'
3059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3065 ac_config_headers
="$ac_config_headers include/config.h"
3068 for ac_dir
in tools
"$srcdir"/tools
; do
3069 if test -f "$ac_dir/install-sh"; then
3071 ac_install_sh
="$ac_aux_dir/install-sh -c"
3073 elif test -f "$ac_dir/install.sh"; then
3075 ac_install_sh
="$ac_aux_dir/install.sh -c"
3077 elif test -f "$ac_dir/shtool"; then
3079 ac_install_sh
="$ac_aux_dir/shtool install -c"
3083 if test -z "$ac_aux_dir"; then
3084 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3087 # These three variables are undocumented and unsupported,
3088 # and are intended to be withdrawn in a future Autoconf release.
3089 # They can cause serious problems if a builder's source tree is in a directory
3090 # whose full name contains unusual characters.
3091 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3092 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3093 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3099 # Check whether --enable-win16 was given.
3100 if test "${enable_win16+set}" = set; then :
3101 enableval
=$enable_win16;
3104 # Check whether --enable-win64 was given.
3105 if test "${enable_win64+set}" = set; then :
3106 enableval
=$enable_win64;
3109 # Check whether --enable-tests was given.
3110 if test "${enable_tests+set}" = set; then :
3111 enableval
=$enable_tests;
3114 # Check whether --enable-maintainer-mode was given.
3115 if test "${enable_maintainer_mode+set}" = set; then :
3116 enableval
=$enable_maintainer_mode;
3121 # Check whether --with-alsa was given.
3122 if test "${with_alsa+set}" = set; then :
3123 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3127 # Check whether --with-capi was given.
3128 if test "${with_capi+set}" = set; then :
3133 # Check whether --with-cms was given.
3134 if test "${with_cms+set}" = set; then :
3139 # Check whether --with-coreaudio was given.
3140 if test "${with_coreaudio+set}" = set; then :
3141 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3145 # Check whether --with-cups was given.
3146 if test "${with_cups+set}" = set; then :
3151 # Check whether --with-curses was given.
3152 if test "${with_curses+set}" = set; then :
3153 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3157 # Check whether --with-dbus was given.
3158 if test "${with_dbus+set}" = set; then :
3163 # Check whether --with-fontconfig was given.
3164 if test "${with_fontconfig+set}" = set; then :
3165 withval
=$with_fontconfig;
3169 # Check whether --with-freetype was given.
3170 if test "${with_freetype+set}" = set; then :
3171 withval
=$with_freetype;
3175 # Check whether --with-gettext was given.
3176 if test "${with_gettext+set}" = set; then :
3177 withval
=$with_gettext;
3181 # Check whether --with-gettextpo was given.
3182 if test "${with_gettextpo+set}" = set; then :
3183 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3187 # Check whether --with-gphoto was given.
3188 if test "${with_gphoto+set}" = set; then :
3189 withval
=$with_gphoto;
3193 # Check whether --with-glu was given.
3194 if test "${with_glu+set}" = set; then :
3199 # Check whether --with-gnutls was given.
3200 if test "${with_gnutls+set}" = set; then :
3201 withval
=$with_gnutls;
3205 # Check whether --with-gsm was given.
3206 if test "${with_gsm+set}" = set; then :
3207 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3211 # Check whether --with-gstreamer was given.
3212 if test "${with_gstreamer+set}" = set; then :
3213 withval
=$with_gstreamer;
3217 # Check whether --with-hal was given.
3218 if test "${with_hal+set}" = set; then :
3223 # Check whether --with-jpeg was given.
3224 if test "${with_jpeg+set}" = set; then :
3229 # Check whether --with-ldap was given.
3230 if test "${with_ldap+set}" = set; then :
3231 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3235 # Check whether --with-mpg123 was given.
3236 if test "${with_mpg123+set}" = set; then :
3237 withval
=$with_mpg123;
3241 # Check whether --with-openal was given.
3242 if test "${with_openal+set}" = set; then :
3243 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3247 # Check whether --with-opencl was given.
3248 if test "${with_opencl+set}" = set; then :
3249 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3253 # Check whether --with-opengl was given.
3254 if test "${with_opengl+set}" = set; then :
3255 withval
=$with_opengl;
3259 # Check whether --with-osmesa was given.
3260 if test "${with_osmesa+set}" = set; then :
3261 withval
=$with_osmesa;
3265 # Check whether --with-oss was given.
3266 if test "${with_oss+set}" = set; then :
3271 # Check whether --with-png was given.
3272 if test "${with_png+set}" = set; then :
3277 # Check whether --with-pthread was given.
3278 if test "${with_pthread+set}" = set; then :
3279 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3283 # Check whether --with-sane was given.
3284 if test "${with_sane+set}" = set; then :
3289 # Check whether --with-tiff was given.
3290 if test "${with_tiff+set}" = set; then :
3295 # Check whether --with-v4l was given.
3296 if test "${with_v4l+set}" = set; then :
3301 # Check whether --with-xcomposite was given.
3302 if test "${with_xcomposite+set}" = set; then :
3303 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3307 # Check whether --with-xcursor was given.
3308 if test "${with_xcursor+set}" = set; then :
3309 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3313 # Check whether --with-xinerama was given.
3314 if test "${with_xinerama+set}" = set; then :
3315 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3319 # Check whether --with-xinput was given.
3320 if test "${with_xinput+set}" = set; then :
3321 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3325 # Check whether --with-xinput2 was given.
3326 if test "${with_xinput2+set}" = set; then :
3327 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3331 # Check whether --with-xml was given.
3332 if test "${with_xml+set}" = set; then :
3337 # Check whether --with-xrandr was given.
3338 if test "${with_xrandr+set}" = set; then :
3339 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3343 # Check whether --with-xrender was given.
3344 if test "${with_xrender+set}" = set; then :
3345 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3349 # Check whether --with-xshape was given.
3350 if test "${with_xshape+set}" = set; then :
3351 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3355 # Check whether --with-xshm was given.
3356 if test "${with_xshm+set}" = set; then :
3357 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3361 # Check whether --with-xslt was given.
3362 if test "${with_xslt+set}" = set; then :
3367 # Check whether --with-xxf86vm was given.
3368 if test "${with_xxf86vm+set}" = set; then :
3369 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
3373 # Check whether --with-zlib was given.
3374 if test "${with_zlib+set}" = set; then :
3375 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3380 # Check whether --with-wine-tools was given.
3381 if test "${with_wine_tools+set}" = set; then :
3382 withval
=$with_wine_tools;
3386 # Check whether --with-wine64 was given.
3387 if test "${with_wine64+set}" = set; then :
3388 withval
=$with_wine64;
3392 # Make sure we can run config.sub.
3393 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3394 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3397 $as_echo_n "checking build system type... " >&6; }
3398 if ${ac_cv_build+:} false
; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_build_alias
=$build_alias
3402 test "x$ac_build_alias" = x
&&
3403 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3404 test "x$ac_build_alias" = x
&&
3405 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3406 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3407 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3411 $as_echo "$ac_cv_build" >&6; }
3412 case $ac_cv_build in
3414 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3417 ac_save_IFS
=$IFS; IFS
='-'
3423 # Remember, the first character of IFS is used to create $*,
3424 # except with old shells:
3427 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3431 $as_echo_n "checking host system type... " >&6; }
3432 if ${ac_cv_host+:} false
; then :
3433 $as_echo_n "(cached) " >&6
3435 if test "x$host_alias" = x
; then
3436 ac_cv_host
=$ac_cv_build
3438 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3439 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3444 $as_echo "$ac_cv_host" >&6; }
3447 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3450 ac_save_IFS
=$IFS; IFS
='-'
3456 # Remember, the first character of IFS is used to create $*,
3457 # except with old shells:
3460 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3466 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3467 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3468 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3474 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3476 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3477 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3478 $as_echo_n "(cached) " >&6
3480 cat >conftest.
make <<\_ACEOF
3483 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3485 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3488 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3490 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3494 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 $as_echo "yes" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3501 SET_MAKE
="MAKE=${MAKE-make}"
3505 ac_cpp
='$CPP $CPPFLAGS'
3506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3509 if test -n "$ac_tool_prefix"; then
3510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3511 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if ${ac_cv_prog_CC+:} false
; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC
="$CC" # Let the user override the test.
3520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir
=.
3525 for ac_exec_ext
in '' $ac_executable_extensions; do
3526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$ac_cv_prog_CC"; then
3550 # Extract the first word of "gcc", so it can be a program name with args.
3551 set dummy gcc
; ac_word
=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -n "$ac_ct_CC"; then
3558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir
=.
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_CC
="gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3578 if test -n "$ac_ct_CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3580 $as_echo "$ac_ct_CC" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3586 if test "x$ac_ct_CC" = x
; then
3589 case $cross_compiling:$ac_tool_warned in
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3593 ac_tool_warned
=yes ;;
3601 if test -z "$CC"; then
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3604 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC
="$CC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3642 if test -z "$CC"; then
3643 # Extract the first word of "cc", so it can be a program name with args.
3644 set dummy cc
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC
="$CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3662 ac_prog_rejected
=yes
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 if test $ac_prog_rejected = yes; then
3674 # We found a bogon in the path, so make sure we never use it.
3675 set dummy
$ac_cv_prog_CC
3677 if test $# != 0; then
3678 # We chose a different compiler from the bogus one.
3679 # However, it has the same basename, so the bogon will be chosen
3680 # first if we set CC to just the basename; use the full file name.
3682 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3688 if test -n "$CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3690 $as_echo "$CC" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 for ac_prog
in cl.exe
3702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false
; then :
3707 $as_echo_n "(cached) " >&6
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC
="$CC" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$CC" && break
3742 if test -z "$CC"; then
3744 for ac_prog
in cl.exe
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy
$ac_prog; ac_word
=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$ac_ct_CC"; then
3754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_ac_ct_CC
="$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3774 if test -n "$ac_ct_CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3776 $as_echo "$ac_ct_CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$ac_ct_CC" && break
3786 if test "x$ac_ct_CC" = x
; then
3789 case $cross_compiling:$ac_tool_warned in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned
=yes ;;
3802 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $?
"no acceptable C compiler found in \$PATH
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 # Provide some information about the compiler.
3808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3811 for ac_option
in --version -v -V -qversion; do
3812 { { ac_try
="$ac_compiler $ac_option >&5"
3814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3821 if test -s conftest.err; then
3823 ... rest of stderr output deleted ...
3824 10q' conftest.err >conftest.er1
3825 cat conftest.er1 >&5
3827 rm -f conftest.er1 conftest.err
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3843 ac_clean_files_save=$ac_clean_files
3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3845 # Try to create an executable without -o first, disregard a.out.
3846 # It will help us diagnose broken compilers, and finding out an intuition
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3849 $as_echo_n "checking whether the C compiler works... " >&6; }
3850 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3852 # The possible output files:
3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3856 for ac_file in $ac_files
3859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3860 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3865 if { { ac_try="$ac_link_default"
3867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3868 *) ac_try_echo
=$ac_try;;
3870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link_default") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3877 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3878 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3879 # so that the user can short-circuit this test for compilers unknown to
3881 for ac_file
in $ac_files ''
3883 test -f "$ac_file" ||
continue
3885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3888 # We found the default executable, but exeext='' is most
3892 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3894 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3896 # We set ac_cv_exeext here because the later test for it is not
3897 # safe: cross compilers may not add the suffix if given an `-o'
3898 # argument, so we may need to know it at that point already.
3899 # Even if this section looks crufty: it has the advantage of
3906 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3911 if test -z "$ac_file"; then :
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3919 as_fn_error
77 "C compiler cannot create executables
3920 See \`config.log' for more details" "$LINENO" 5; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3928 $as_echo "$ac_file" >&6; }
3929 ac_exeext
=$ac_cv_exeext
3931 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3932 ac_clean_files
=$ac_clean_files_save
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3934 $as_echo_n "checking for suffix of executables... " >&6; }
3935 if { { ac_try
="$ac_link"
3937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3947 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3948 # work properly (i.e., refer to `conftest.exe'), while it won't with
3950 for ac_file
in conftest.exe conftest conftest.
*; do
3951 test -f "$ac_file" ||
continue
3953 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3954 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 rm -f conftest conftest
$ac_cv_exeext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3967 $as_echo "$ac_cv_exeext" >&6; }
3969 rm -f conftest.
$ac_ext
3970 EXEEXT
=$ac_cv_exeext
3972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3978 FILE *f = fopen ("conftest.out", "w");
3979 return ferror (f) || fclose (f) != 0;
3985 ac_clean_files
="$ac_clean_files conftest.out"
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
3990 if test "$cross_compiling" != yes; then
3991 { { ac_try
="$ac_link"
3993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 if { ac_try='./conftest$ac_cv_exeext'
4003 { { case "(($ac_try" in
4004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4005 *) ac_try_echo
=$ac_try;;
4007 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4015 if test "$cross_compiling" = maybe
; then
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error $?
"cannot run C compiled programs.
4021 If you meant to cross compile, use \`--host'.
4022 See \`config.log' for more details" "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4030 ac_clean_files
=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if ${ac_cv_objext+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try
="$ac_compile"
4050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_compile") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 for ac_file in conftest.o conftest.obj conftest.*; do
4060 test -f "$ac_file" || continue;
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4068 $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4074 See \
`config.log' for more details" "$LINENO" 5; }
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if ${ac_cv_c_compiler_gnu+:} false; then :
4085 $as_echo_n "(cached) " >&6
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4101 if ac_fn_c_try_compile "$LINENO"; then :
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if ${ac_cv_prog_cc_g+:} false; then :
4122 $as_echo_n "(cached) " >&6
4124 ac_save_c_werror_flag=$ac_c_werror_flag
4125 ac_c_werror_flag=yes
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 if ac_fn_c_try_compile "$LINENO"; then :
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4154 if ac_fn_c_try_compile "$LINENO"; then :
4157 ac_c_werror_flag=$ac_save_c_werror_flag
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_c_werror_flag=$ac_save_c_werror_flag
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183 CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185 if test "$GCC" = yes; then
4191 if test "$GCC" = yes; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if ${ac_cv_prog_cc_c89+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 ac_cv_prog_cc_c89=no
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4210 struct buf { int x; };
4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4212 static char *e (p, i)
4218 static char *f (char * (*g) (char **, int), char **p, ...)
4223 s = g (p, va_arg (v,int));
4228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4229 function prototypes and stuff, but not '\xHH' hex character constants.
4230 These don't provoke an error unfortunately, instead are silently treated
4231 as 'x'. The following induces an error, until -std is added to get
4232 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4233 array size at least. It's necessary to write '\x00'==0 to get something
4234 that's true only with -std. */
4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4238 inside strings and character constants. */
4240 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242 int test (int i, double x);
4243 struct s1 {int (*f) (int a);};
4244 struct s2 {int (*f) (double a);};
4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4257 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 CC="$ac_save_CC $ac_arg"
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 ac_cv_prog_cc_c89=$ac_arg
4263 rm -f core conftest.err conftest.$ac_objext
4264 test "x$ac_cv_prog_cc_c89" != "xno" && break
4266 rm -f conftest.$ac_ext
4271 case "x$ac_cv_prog_cc_c89" in
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4274 $as_echo "none needed" >&6; } ;;
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4277 $as_echo "unsupported" >&6; } ;;
4279 CC="$CC $ac_cv_prog_cc_c89"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4281 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4283 if test "x$ac_cv_prog_cc_c89" != xno; then :
4288 ac_cpp='$CPP $CPPFLAGS'
4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294 ac_cpp='$CXXCPP $CPPFLAGS'
4295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4298 if test -z "$CXX"; then
4299 if test -n "$CCC"; then
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CXX+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$CXX"; then
4313 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$CXX"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4335 $as_echo "$CXX" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$CXX" && break
4345 if test -z "$CXX"; then
4347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy $ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_CXX"; then
4357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CXX="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4377 if test -n "$ac_ct_CXX"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4379 $as_echo "$ac_ct_CXX" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_CXX" && break
4389 if test "x$ac_ct_CXX" = x; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned=yes ;;
4404 # Provide some information about the compiler.
4405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4408 for ac_option in --version -v -V -qversion; do
4409 { { ac_try="$ac_compiler $ac_option >&5"
4411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4412 *) ac_try_echo
=$ac_try;;
4414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4418 if test -s conftest.err
; then
4420 ... rest of stderr output deleted ...
4421 10q' conftest.err
>conftest.er1
4422 cat conftest.er1
>&5
4424 rm -f conftest.er1 conftest.err
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4431 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4432 $as_echo_n "(cached) " >&6
4434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4448 if ac_fn_cxx_try_compile
"$LINENO"; then :
4453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4454 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4458 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4464 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4465 ac_save_CXXFLAGS
=$CXXFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4467 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4468 if ${ac_cv_prog_cxx_g+:} false
; then :
4469 $as_echo_n "(cached) " >&6
4471 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4472 ac_cxx_werror_flag
=yes
4475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4486 if ac_fn_cxx_try_compile
"$LINENO"; then :
4487 ac_cv_prog_cxx_g
=yes
4490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4501 if ac_fn_cxx_try_compile
"$LINENO"; then :
4504 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4517 if ac_fn_cxx_try_compile
"$LINENO"; then :
4518 ac_cv_prog_cxx_g
=yes
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4528 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4529 if test "$ac_test_CXXFLAGS" = set; then
4530 CXXFLAGS
=$ac_save_CXXFLAGS
4531 elif test $ac_cv_prog_cxx_g = yes; then
4532 if test "$GXX" = yes; then
4538 if test "$GXX" = yes; then
4545 ac_cpp
='$CPP $CPPFLAGS'
4546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4550 if test -n "$ac_tool_prefix"; then
4551 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4552 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_CPPBIN+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$CPPBIN"; then
4559 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 CPPBIN
=$ac_cv_prog_CPPBIN
4579 if test -n "$CPPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4581 $as_echo "$CPPBIN" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$ac_cv_prog_CPPBIN"; then
4590 ac_ct_CPPBIN
=$CPPBIN
4591 # Extract the first word of "cpp", so it can be a program name with args.
4592 set dummy cpp
; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$ac_ct_CPPBIN"; then
4599 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4619 if test -n "$ac_ct_CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4621 $as_echo "$ac_ct_CPPBIN" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4627 if test "x$ac_ct_CPPBIN" = x
; then
4630 case $cross_compiling:$ac_tool_warned in
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned
=yes ;;
4636 CPPBIN
=$ac_ct_CPPBIN
4639 CPPBIN
="$ac_cv_prog_CPPBIN"
4643 cat >>confdefs.h
<<_ACEOF
4644 #define EXEEXT "$ac_exeext"
4650 if test "x$enable_win64" = "xyes"
4655 notice_platform
="64-bit "
4662 notice_platform
="32-bit "
4665 enable_win16
=${enable_win16:-yes}
4667 with_fontconfig
=${with_fontconfig:-no}
4670 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4675 $as_echo_n "checking whether $CC works... " >&6; }
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4688 if ac_fn_c_try_link
"$LINENO"; then :
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4694 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4696 rm -f core conftest.err conftest.
$ac_objext \
4697 conftest
$ac_exeext conftest.
$ac_ext
4699 notice_platform
="32-bit "
4702 enable_win16
=${enable_win16:-yes}
4704 if test "x${GCC}" = "xyes"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4707 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4714 void func(__builtin_ms_va_list *args);
4719 if ac_fn_c_try_compile
"$LINENO"; then :
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4725 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4735 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 int ac_test(int i) { return i; }
4742 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4747 if ac_fn_c_try_link
"$LINENO"; then :
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4755 rm -f core conftest.err conftest.
$ac_objext \
4756 conftest
$ac_exeext conftest.
$ac_ext
4757 CFLAGS
="$CFLAGS -marm"
4759 *-mingw32*|
*-cygwin*)
4760 enable_win16
=${enable_win16:-no}
4761 CFLAGS
="$CFLAGS -D_WIN32"
4764 enable_win16
=${enable_win16:-yes}
4768 enable_win16
=${enable_win16:-no}
4769 enable_win64
=${enable_win64:-no}
4771 enable_winetest
=${enable_winetest:-$enable_tests}
4773 if test -n "$with_wine64"
4775 if test "x$enable_win64" = "xyes"
4777 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4782 enable_fonts
=${enable_fonts:-no}
4783 enable_server
=${enable_server:-no}
4784 elif test "x$enable_win64" = "xyes"
4786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4791 if ${wine_cv_toolsdir+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 wine_cv_toolsdir
="$with_wine_tools"
4795 if test -z "$with_wine_tools"; then
4796 if test "$cross_compiling" = "yes"; then
4797 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4798 elif test -n "$with_wine64"; then
4799 wine_cv_toolsdir
="$with_wine64"
4802 if test -z "$wine_cv_toolsdir"; then
4803 wine_cv_toolsdir
="\$(top_builddir)"
4804 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4805 case "$wine_cv_toolsdir" in
4807 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4809 enable_tools
=${enable_tools:-no}
4811 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4815 $as_echo "$wine_cv_toolsdir" >&6; }
4816 TOOLSDIR
=$wine_cv_toolsdir
4818 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4820 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy
$ac_prog; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FLEX+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$FLEX"; then
4834 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_FLEX
="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 FLEX
=$ac_cv_prog_FLEX
4854 if test -n "$FLEX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4856 $as_echo "$FLEX" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FLEX" && break
4865 test -n "$FLEX" || FLEX
="none"
4867 if test "$FLEX" = "none"
4869 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4872 $as_echo_n "checking whether flex is recent enough... " >&6; }
4873 cat >conftest.l
<<EOF
4875 #include "prediluvian.h"
4879 if $FLEX -t conftest.l
>/dev
/null
2>&5
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4889 for ac_prog
in bison
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy
$ac_prog; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_BISON+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$BISON"; then
4899 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_BISON
="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 BISON
=$ac_cv_prog_BISON
4919 if test -n "$BISON"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4921 $as_echo "$BISON" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$BISON" && break
4930 test -n "$BISON" || BISON
="none"
4932 if test "$BISON" = "none"
4934 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog
in ar gar
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_AR+:} false
; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$AR"; then
4948 ac_cv_prog_AR
="$AR" # Let the user override the test.
4950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir
=.
4955 for ac_exec_ext
in '' $ac_executable_extensions; do
4956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 if test -n "$AR"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4970 $as_echo "$AR" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$AR" && break
4980 if test -z "$AR"; then
4982 for ac_prog
in ar gar
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$ac_ct_AR"; then
4992 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_AR
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5012 if test -n "$ac_ct_AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5014 $as_echo "$ac_ct_AR" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$ac_ct_AR" && break
5024 if test "x$ac_ct_AR" = x
; then
5027 case $cross_compiling:$ac_tool_warned in
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned
=yes ;;
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5039 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_STRIP+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$STRIP"; then
5046 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 STRIP
=$ac_cv_prog_STRIP
5066 if test -n "$STRIP"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5068 $as_echo "$STRIP" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_STRIP"; then
5078 # Extract the first word of "strip", so it can be a program name with args.
5079 set dummy strip
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_STRIP"; then
5086 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_STRIP
="strip"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5106 if test -n "$ac_ct_STRIP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5108 $as_echo "$ac_ct_STRIP" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_STRIP" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5126 STRIP
="$ac_cv_prog_STRIP"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_RANLIB+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 RANLIB
=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB
=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 RANLIB
=$ac_ct_RANLIB
5220 RANLIB
="$ac_cv_prog_RANLIB"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5224 $as_echo_n "checking whether ln -s works... " >&6; }
5226 if test "$LN_S" = "ln -s"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5231 $as_echo "no, using $LN_S" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5236 if ${ac_cv_path_GREP+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if test -z "$GREP"; then
5240 ac_path_GREP_found
=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_prog
in grep ggrep
; do
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5250 as_fn_executable_p
"$ac_path_GREP" ||
continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5255 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5258 $as_echo_n 0123456789 >"conftest.in"
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5267 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP
="$ac_path_GREP"
5271 ac_path_GREP_max
=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5279 $ac_path_GREP_found && break 3
5284 if test -z "$ac_cv_path_GREP"; then
5285 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5288 ac_cv_path_GREP
=$GREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5293 $as_echo "$ac_cv_path_GREP" >&6; }
5294 GREP
="$ac_cv_path_GREP"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5298 $as_echo_n "checking for egrep... " >&6; }
5299 if ${ac_cv_path_EGREP+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5303 then ac_cv_path_EGREP
="$GREP -E"
5305 if test -z "$EGREP"; then
5306 ac_path_EGREP_found
=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_prog
in egrep; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5317 # Check for GNU ac_path_EGREP and select it if it is found.
5318 # Check for GNU $ac_path_EGREP
5319 case `"$ac_path_EGREP" --version 2>&1` in
5321 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5324 $as_echo_n 0123456789 >"conftest.in"
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'EGREP' >> "conftest.nl"
5331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_EGREP
="$ac_path_EGREP"
5337 ac_path_EGREP_max
=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5345 $ac_path_EGREP_found && break 3
5350 if test -z "$ac_cv_path_EGREP"; then
5351 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 ac_cv_path_EGREP
=$EGREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5360 $as_echo "$ac_cv_path_EGREP" >&6; }
5361 EGREP
="$ac_cv_path_EGREP"
5364 # Extract the first word of "ldconfig", so it can be a program name with args.
5365 set dummy ldconfig
; ac_word
=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_path_LDCONFIG+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5373 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 for as_dir
in /sbin
/usr
/sbin
$PATH
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5395 LDCONFIG
=$ac_cv_path_LDCONFIG
5396 if test -n "$LDCONFIG"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5398 $as_echo "$LDCONFIG" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5406 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="env STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5407 # Find a good install program. We prefer a C program (faster),
5408 # so one script is as good as another. But avoid the broken or
5409 # incompatible versions:
5410 # SysV /etc/install, /usr/sbin/install
5411 # SunOS /usr/etc/install
5412 # IRIX /sbin/install
5414 # AmigaOS /C/install, which installs bootblocks on floppy discs
5415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5418 # OS/2's system install, which has a completely different semantic
5419 # ./install, which can be erroneously created by make from ./install.sh.
5420 # Reject install programs that cannot install multiple files.
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5423 if test -z "$INSTALL"; then
5424 if ${ac_cv_path_install+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir
=.
5432 # Account for people who put trailing slashes in PATH elements.
5433 case $as_dir/ in #((
5434 .
/ | .
// |
/[cC
]/* | \
5435 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5436 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5439 # OSF1 and SCO ODT 3.0 have their own names for install.
5440 # Don't use installbsd from OSF since it installs stuff as root
5442 for ac_prog
in ginstall scoinst
install; do
5443 for ac_exec_ext
in '' $ac_executable_extensions; do
5444 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5445 if test $ac_prog = install &&
5446 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5447 # AIX install. It has an incompatible calling convention.
5449 elif test $ac_prog = install &&
5450 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5451 # program-specific install script used by HP pwplus--don't use.
5454 rm -rf conftest.one conftest.two conftest.dir
5455 echo one
> conftest.one
5456 echo two
> conftest.two
5458 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5459 test -s conftest.one
&& test -s conftest.two
&&
5460 test -s conftest.dir
/conftest.one
&&
5461 test -s conftest.dir
/conftest.two
5463 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5476 rm -rf conftest.one conftest.two conftest.dir
5479 if test "${ac_cv_path_install+set}" = set; then
5480 INSTALL
=$ac_cv_path_install
5482 # As a last resort, use the slow shell script. Don't cache a
5483 # value for INSTALL within a source directory, because that will
5484 # break other packages using the cache if that directory is
5485 # removed, or if the value is a relative name.
5486 INSTALL
=$ac_install_sh
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5490 $as_echo "$INSTALL" >&6; }
5492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5493 # It thinks the first close brace ends the variable substitution.
5494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5498 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5501 [\\/$
]* | ?
:[\\/]* ) ;;
5502 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
5505 for ac_prog
in lclint lint
5507 # Extract the first word of "$ac_prog", so it can be a program name with args.
5508 set dummy
$ac_prog; ac_word
=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_LINT+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -n "$LINT"; then
5515 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_exec_ext
in '' $ac_executable_extensions; do
5523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_LINT
="$ac_prog"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 LINT
=$ac_cv_prog_LINT
5535 if test -n "$LINT"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5537 $as_echo "$LINT" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5544 test -n "$LINT" && break
5547 if test "$LINT" = "lint"
5549 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5553 for ac_prog
in fontforge
5555 # Extract the first word of "$ac_prog", so it can be a program name with args.
5556 set dummy
$ac_prog; ac_word
=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5560 $as_echo_n "(cached) " >&6
5562 if test -n "$FONTFORGE"; then
5563 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_FONTFORGE
="$ac_prog"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 FONTFORGE
=$ac_cv_prog_FONTFORGE
5583 if test -n "$FONTFORGE"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5585 $as_echo "$FONTFORGE" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5592 test -n "$FONTFORGE" && break
5594 test -n "$FONTFORGE" || FONTFORGE
="false"
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy
$ac_prog; ac_word
=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_RSVG+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$RSVG"; then
5606 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir
=.
5613 for ac_exec_ext
in '' $ac_executable_extensions; do
5614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_RSVG
="$ac_prog"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 RSVG
=$ac_cv_prog_RSVG
5626 if test -n "$RSVG"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5628 $as_echo "$RSVG" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5635 test -n "$RSVG" && break
5637 test -n "$RSVG" || RSVG
="false"
5639 for ac_prog
in convert
5641 # Extract the first word of "$ac_prog", so it can be a program name with args.
5642 set dummy
$ac_prog; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_CONVERT+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$CONVERT"; then
5649 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_CONVERT
="$ac_prog"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 CONVERT
=$ac_cv_prog_CONVERT
5669 if test -n "$CONVERT"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5671 $as_echo "$CONVERT" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 test -n "$CONVERT" && break
5680 test -n "$CONVERT" || CONVERT
="false"
5682 for ac_prog
in icotool
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_prog; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$ICOTOOL"; then
5692 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ICOTOOL
="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ICOTOOL
=$ac_cv_prog_ICOTOOL
5712 if test -n "$ICOTOOL"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5714 $as_echo "$ICOTOOL" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$ICOTOOL" && break
5723 test -n "$ICOTOOL" || ICOTOOL
="false"
5725 for ac_prog
in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy
$ac_prog; ac_word
=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false
; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT
="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 MSGFMT
=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5766 test -n "$MSGFMT" || MSGFMT
="false"
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5808 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5809 elif test "$cross_compiling" != yes; then
5810 unset ac_cv_prog_PKG_CONFIG
5811 # Extract the first word of "pkg-config", so it can be a program name with args.
5812 set dummy pkg-config
; ac_word
=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$PKG_CONFIG"; then
5819 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_exec_ext
in '' $ac_executable_extensions; do
5827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_PKG_CONFIG
="pkg-config"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5839 if test -n "$PKG_CONFIG"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5841 $as_echo "$PKG_CONFIG" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5850 if test "x$enable_maintainer_mode" != "xyes"
5855 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5856 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5858 if test "$CONVERT" = false
5860 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5863 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5864 convert_version
=`convert --version | head -n1`
5865 if test "x$convert_version" != "x"
5867 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5868 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5869 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5874 if test "$CONVERT" = false
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5877 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5878 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5881 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5885 if test "$ICOTOOL" = false
5887 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5890 $as_echo_n "checking for recent enough icotool... " >&6; }
5891 icotool_version
=`icotool --version | head -n1`
5892 if test "x$icotool_version" != "x"
5894 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5895 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5896 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5899 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5902 if test "$ICOTOOL" = false
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5905 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5906 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5909 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5915 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5918 test "x$with_gettext" != xno || MSGFMT
=false
5919 if test "$MSGFMT" != "false"
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5922 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5923 cat >conftest.po
<<EOF
5929 if $MSGFMT -o /dev
/null conftest.po
2>&5
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5932 $as_echo "yes" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5939 if test "$MSGFMT" = false
; then :
5940 case "x$with_gettext" in
5941 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5943 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5944 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5950 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5951 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 ac_check_lib_save_LIBS
=$LIBS
5956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5959 /* Override any GCC internal prototype to avoid an error.
5960 Use char because int might match the return type of a GCC
5961 builtin and then its argument prototype would still apply. */
5965 char i386_set_ldt ();
5969 return i386_set_ldt ();
5974 if ac_fn_c_try_link
"$LINENO"; then :
5975 ac_cv_lib_i386_i386_set_ldt
=yes
5977 ac_cv_lib_i386_i386_set_ldt
=no
5979 rm -f core conftest.err conftest.
$ac_objext \
5980 conftest
$ac_exeext conftest.
$ac_ext
5981 LIBS
=$ac_check_lib_save_LIBS
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5984 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5985 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5986 cat >>confdefs.h
<<_ACEOF
5987 #define HAVE_LIBI386 1
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5995 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5996 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5997 $as_echo_n "(cached) " >&6
5999 ac_check_lib_save_LIBS
=$LIBS
6000 LIBS
="-lossaudio $LIBS"
6001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6004 /* Override any GCC internal prototype to avoid an error.
6005 Use char because int might match the return type of a GCC
6006 builtin and then its argument prototype would still apply. */
6014 return _oss_ioctl ();
6019 if ac_fn_c_try_link
"$LINENO"; then :
6020 ac_cv_lib_ossaudio__oss_ioctl
=yes
6022 ac_cv_lib_ossaudio__oss_ioctl
=no
6024 rm -f core conftest.err conftest.
$ac_objext \
6025 conftest
$ac_exeext conftest.
$ac_ext
6026 LIBS
=$ac_check_lib_save_LIBS
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6029 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6030 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6031 cat >>confdefs.h
<<_ACEOF
6032 #define HAVE_LIBOSSAUDIO 1
6035 LIBS
="-lossaudio $LIBS"
6046 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6048 # Check whether --enable-largefile was given.
6049 if test "${enable_largefile+set}" = set; then :
6050 enableval
=$enable_largefile;
6053 if test "$enable_largefile" != no
; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6056 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6057 if ${ac_cv_sys_largefile_CC+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6060 ac_cv_sys_largefile_CC
=no
6061 if test "$GCC" != yes; then
6064 # IRIX 6.2 and later do not support large files by default,
6065 # so use the C compiler's -n32 option if that helps.
6066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068 #include <sys/types.h>
6069 /* Check that off_t can represent 2**63 - 1 correctly.
6070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6071 since some C++ compilers masquerading as C compilers
6072 incorrectly reject 9223372036854775807. */
6073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6075 && LARGE_OFF_T % 2147483647 == 1)
6085 if ac_fn_c_try_compile
"$LINENO"; then :
6088 rm -f core conftest.err conftest.
$ac_objext
6090 if ac_fn_c_try_compile
"$LINENO"; then :
6091 ac_cv_sys_largefile_CC
=' -n32'; break
6093 rm -f core conftest.err conftest.
$ac_objext
6097 rm -f conftest.
$ac_ext
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6101 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6102 if test "$ac_cv_sys_largefile_CC" != no
; then
6103 CC
=$CC$ac_cv_sys_largefile_CC
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6107 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6108 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6131 if ac_fn_c_try_compile
"$LINENO"; then :
6132 ac_cv_sys_file_offset_bits
=no
; break
6134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #define _FILE_OFFSET_BITS 64
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6155 if ac_fn_c_try_compile
"$LINENO"; then :
6156 ac_cv_sys_file_offset_bits
=64; break
6158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6159 ac_cv_sys_file_offset_bits
=unknown
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6164 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6165 case $ac_cv_sys_file_offset_bits in #(
6168 cat >>confdefs.h
<<_ACEOF
6169 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6174 if test $ac_cv_sys_file_offset_bits = unknown
; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6176 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6177 if ${ac_cv_sys_large_files+:} false
; then :
6178 $as_echo_n "(cached) " >&6
6181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6200 if ac_fn_c_try_compile
"$LINENO"; then :
6201 ac_cv_sys_large_files
=no
; break
6203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #define _LARGE_FILES 1
6207 #include <sys/types.h>
6208 /* Check that off_t can represent 2**63 - 1 correctly.
6209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6210 since some C++ compilers masquerading as C compilers
6211 incorrectly reject 9223372036854775807. */
6212 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6214 && LARGE_OFF_T % 2147483647 == 1)
6224 if ac_fn_c_try_compile
"$LINENO"; then :
6225 ac_cv_sys_large_files
=1; break
6227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6228 ac_cv_sys_large_files
=unknown
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6233 $as_echo "$ac_cv_sys_large_files" >&6; }
6234 case $ac_cv_sys_large_files in #(
6237 cat >>confdefs.h
<<_ACEOF
6238 #define _LARGE_FILES $ac_cv_sys_large_files
6250 ac_cpp
='$CPP $CPPFLAGS'
6251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6255 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6256 # On Suns, sometimes $CPP names a directory.
6257 if test -n "$CPP" && test -d "$CPP"; then
6260 if test -z "$CPP"; then
6261 if ${ac_cv_prog_CPP+:} false
; then :
6262 $as_echo_n "(cached) " >&6
6264 # Double quotes because CPP needs to be expanded
6265 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6268 for ac_c_preproc_warn_flag
in '' yes
6270 # Use a header file that comes with gcc, so configuring glibc
6271 # with a fresh cross-compiler works.
6272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 # <limits.h> exists even on freestanding compilers.
6274 # On the NeXT, cc -E runs the code through the compiler's parser,
6275 # not just through cpp. "Syntax error" is here to catch this case.
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6279 # include <limits.h>
6281 # include <assert.h>
6285 if ac_fn_c_try_cpp
"$LINENO"; then :
6288 # Broken: fails on valid input.
6291 rm -f conftest.err conftest.i conftest.
$ac_ext
6293 # OK, works on sane cases. Now check whether nonexistent headers
6294 # can be detected and how.
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <ac_nonexistent.h>
6299 if ac_fn_c_try_cpp
"$LINENO"; then :
6300 # Broken: success on invalid input.
6303 # Passes both tests.
6307 rm -f conftest.err conftest.i conftest.
$ac_ext
6310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6311 rm -f conftest.i conftest.err conftest.
$ac_ext
6312 if $ac_preproc_ok; then :
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6325 $as_echo "$CPP" >&6; }
6327 for ac_c_preproc_warn_flag
in '' yes
6329 # Use a header file that comes with gcc, so configuring glibc
6330 # with a fresh cross-compiler works.
6331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6332 # <limits.h> exists even on freestanding compilers.
6333 # On the NeXT, cc -E runs the code through the compiler's parser,
6334 # not just through cpp. "Syntax error" is here to catch this case.
6335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6338 # include <limits.h>
6340 # include <assert.h>
6344 if ac_fn_c_try_cpp
"$LINENO"; then :
6347 # Broken: fails on valid input.
6350 rm -f conftest.err conftest.i conftest.
$ac_ext
6352 # OK, works on sane cases. Now check whether nonexistent headers
6353 # can be detected and how.
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <ac_nonexistent.h>
6358 if ac_fn_c_try_cpp
"$LINENO"; then :
6359 # Broken: success on invalid input.
6362 # Passes both tests.
6366 rm -f conftest.err conftest.i conftest.
$ac_ext
6369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6370 rm -f conftest.i conftest.err conftest.
$ac_ext
6371 if $ac_preproc_ok; then :
6374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6376 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6377 See \`config.log' for more details" "$LINENO" 5; }
6381 ac_cpp
='$CPP $CPPFLAGS'
6382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6388 $as_echo_n "checking for ANSI C header files... " >&6; }
6389 if ${ac_cv_header_stdc+:} false
; then :
6390 $as_echo_n "(cached) " >&6
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6407 if ac_fn_c_try_compile
"$LINENO"; then :
6408 ac_cv_header_stdc
=yes
6410 ac_cv_header_stdc
=no
6412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6414 if test $ac_cv_header_stdc = yes; then
6415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "memchr" >/dev
/null
2>&1; then :
6425 ac_cv_header_stdc
=no
6431 if test $ac_cv_header_stdc = yes; then
6432 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6439 $EGREP "free" >/dev
/null
2>&1; then :
6442 ac_cv_header_stdc
=no
6448 if test $ac_cv_header_stdc = yes; then
6449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6450 if test "$cross_compiling" = yes; then :
6453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6457 #if ((' ' & 0x0FF) == 0x020)
6458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6461 # define ISLOWER(c) \
6462 (('a' <= (c) && (c) <= 'i') \
6463 || ('j' <= (c) && (c) <= 'r') \
6464 || ('s' <= (c) && (c) <= 'z'))
6465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6473 for (i = 0; i < 256; i++)
6474 if (XOR (islower (i), ISLOWER (i))
6475 || toupper (i) != TOUPPER (i))
6480 if ac_fn_c_try_run
"$LINENO"; then :
6483 ac_cv_header_stdc
=no
6485 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6486 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6492 $as_echo "$ac_cv_header_stdc" >&6; }
6493 if test $ac_cv_header_stdc = yes; then
6495 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6499 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6500 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6501 inttypes.h stdint.h unistd.h
6503 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6504 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6506 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6507 cat >>confdefs.h
<<_ACEOF
6508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6518 ApplicationServices
/ApplicationServices.h \
6519 AudioToolbox
/AudioConverter.h \
6520 AudioUnit
/AudioUnit.h \
6521 AudioUnit
/AudioComponent.h \
6524 CoreAudio
/CoreAudio.h \
6525 CoreServices
/CoreServices.h \
6526 DiskArbitration
/DiskArbitration.h \
6528 IOKit
/hid
/IOHIDLib.h \
6531 QuickTime
/ImageCompression.h \
6532 Security
/Security.h \
6546 fontconfig
/fontconfig.h \
6584 netinet
/in_systm.h \
6645 valgrind
/memcheck.h \
6646 valgrind
/valgrind.h \
6650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6651 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6652 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6653 cat >>confdefs.h
<<_ACEOF
6654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6662 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6663 if ${ac_cv_header_stat_broken+:} false
; then :
6664 $as_echo_n "(cached) " >&6
6666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6668 #include <sys/types.h>
6669 #include <sys/stat.h>
6671 #if defined S_ISBLK && defined S_IFDIR
6672 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6675 #if defined S_ISBLK && defined S_IFCHR
6676 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6679 #if defined S_ISLNK && defined S_IFREG
6680 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6683 #if defined S_ISSOCK && defined S_IFREG
6684 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6688 if ac_fn_c_try_compile
"$LINENO"; then :
6689 ac_cv_header_stat_broken
=no
6691 ac_cv_header_stat_broken
=yes
6693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6696 $as_echo "$ac_cv_header_stat_broken" >&6; }
6697 if test $ac_cv_header_stat_broken = yes; then
6699 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6705 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6709 #ifdef HAVE_SYS_PARAM_H
6710 # include <sys/param.h>
6713 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6714 cat >>confdefs.h
<<_ACEOF
6715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 netinet
/if_ether.h \
6731 netinet
/if_inarp.h \
6740 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6741 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6742 #ifdef HAVE_SYS_SOCKET_H
6743 # include <sys/socket.h>
6745 #ifdef HAVE_SYS_SOCKETVAR_H
6746 # include <sys/socketvar.h>
6748 #ifdef HAVE_NET_ROUTE_H
6749 # include <net/route.h>
6751 #ifdef HAVE_NETINET_IN_H
6752 # include <netinet/in.h>
6754 #ifdef HAVE_NETINET_IN_SYSTM_H
6755 # include <netinet/in_systm.h>
6757 #ifdef HAVE_NET_IF_H
6758 # include <net/if.h>
6760 #ifdef HAVE_NETINET_IP_H
6761 # include <netinet/ip.h>
6764 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6781 #ifdef HAVE_SYS_SOCKET_H
6782 # include <sys/socket.h>
6784 #ifdef HAVE_SYS_SOCKETVAR_H
6785 # include <sys/socketvar.h>
6787 #ifdef HAVE_SYS_TIMEOUT_H
6788 # include <sys/timeout.h>
6790 #ifdef HAVE_NETINET_IN_H
6791 # include <netinet/in.h>
6793 #ifdef HAVE_NETINET_IN_SYSTM_H
6794 # include <netinet/in_systm.h>
6796 #ifdef HAVE_NETINET_IP_H
6797 # include <netinet/ip.h>
6799 #ifdef HAVE_NETINET_IP_VAR_H
6800 # include <netinet/ip_var.h>
6802 #ifdef HAVE_NETINET_IP_ICMP_H
6803 # include <netinet/ip_icmp.h>
6805 #ifdef HAVE_NETINET_UDP_H
6806 # include <netinet/udp.h>
6808 #ifdef HAVE_NETINET_TCP_H
6809 # include <netinet/tcp.h>
6811 #ifdef HAVE_NETINET_TCP_TIMER_H
6812 #include <netinet/tcp_timer.h>
6815 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6827 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_ASM_TYPES_H
6830 # include <asm/types.h>
6832 #ifdef HAVE_SYS_SOCKET_H
6833 # include <sys/socket.h>
6835 #ifdef HAVE_LINUX_TYPES_H
6836 # include <linux/types.h>
6839 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6840 cat >>confdefs.h
<<_ACEOF
6841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6849 for ac_header
in mach-o
/dyld_images.h
6851 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6852 # include <stdbool.h>
6854 #ifdef HAVE_STDINT_H
6855 # include <stdint.h>
6858 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6859 cat >>confdefs.h
<<_ACEOF
6860 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6868 for ac_header
in resolv.h
6870 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6871 #ifdef HAVE_SYS_SOCKET_H
6872 # include <sys/socket.h>
6874 #ifdef HAVE_NETINET_IN_H
6875 # include <netinet/in.h>
6877 #ifdef HAVE_ARPA_NAMESER_H
6878 # include <arpa/nameser.h>
6881 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6882 cat >>confdefs.h
<<_ACEOF
6883 #define HAVE_RESOLV_H 1
6891 for ac_header
in ifaddrs.h
6893 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6895 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6896 cat >>confdefs.h
<<_ACEOF
6897 #define HAVE_IFADDRS_H 1
6905 for ac_header
in ucontext.h
6907 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6909 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_UCONTEXT_H 1
6919 for ac_header
in sys
/thr.h
6921 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6922 #ifdef HAVE_UCONTEXT_H
6923 #include <ucontext.h>
6926 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_SYS_THR_H 1
6936 for ac_header
in pthread_np.h
6938 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6939 #include <pthread.h>
6942 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define HAVE_PTHREAD_NP_H 1
6952 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6954 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6956 #include <sys/time.h>
6958 #include <sys/types.h>
6959 #ifdef HAVE_ASM_TYPES_H
6960 #include <asm/types.h>
6963 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6964 cat >>confdefs.h
<<_ACEOF
6965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6973 for ac_header
in libprocstat.h
6975 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6976 #include <sys/param.h>
6978 #ifdef HAVE_SYS_QUEUE_H
6979 #include <sys/queue.h>
6981 #ifdef HAVE_SYS_SOCKET_H
6982 #include <sys/socket.h>
6985 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6986 cat >>confdefs.h
<<_ACEOF
6987 #define HAVE_LIBPROCSTAT_H 1
6996 dlldir
="\${libdir}/wine"
7002 DLLFLAGS
="-D_REENTRANT"
7011 STATIC_IMPLIBEXT
="def.a"
7012 # Extract the first word of "ldd", so it can be a program name with args.
7013 set dummy ldd
; ac_word
=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_path_LDD+:} false
; then :
7017 $as_echo_n "(cached) " >&6
7021 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7025 as_dummy
="/sbin:/usr/sbin:$PATH"
7026 for as_dir
in $as_dummy
7029 test -z "$as_dir" && as_dir
=.
7030 for ac_exec_ext
in '' $ac_executable_extensions; do
7031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7045 if test -n "$LDD"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7047 $as_echo "$LDD" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7054 if test -n "$ac_tool_prefix"; then
7055 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7056 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_prog_READELF+:} false
; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -n "$READELF"; then
7063 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir
=.
7070 for ac_exec_ext
in '' $ac_executable_extensions; do
7071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7072 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 READELF
=$ac_cv_prog_READELF
7083 if test -n "$READELF"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7085 $as_echo "$READELF" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7093 if test -z "$ac_cv_prog_READELF"; then
7094 ac_ct_READELF
=$READELF
7095 # Extract the first word of "readelf", so it can be a program name with args.
7096 set dummy readelf
; ac_word
=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 if test -n "$ac_ct_READELF"; then
7103 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_ac_ct_READELF
="readelf"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7123 if test -n "$ac_ct_READELF"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7125 $as_echo "$ac_ct_READELF" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7131 if test "x$ac_ct_READELF" = x
; then
7134 case $cross_compiling:$ac_tool_warned in
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7138 ac_tool_warned
=yes ;;
7140 READELF
=$ac_ct_READELF
7143 READELF
="$ac_cv_prog_READELF"
7149 if test -n "$ac_tool_prefix"; then
7150 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7151 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$DLLTOOL"; then
7158 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir
=.
7165 for ac_exec_ext
in '' $ac_executable_extensions; do
7166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 DLLTOOL
=$ac_cv_prog_DLLTOOL
7178 if test -n "$DLLTOOL"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7180 $as_echo "$DLLTOOL" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7188 if test -z "$ac_cv_prog_DLLTOOL"; then
7189 ac_ct_DLLTOOL
=$DLLTOOL
7190 # Extract the first word of "dlltool", so it can be a program name with args.
7191 set dummy dlltool
; ac_word
=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7195 $as_echo_n "(cached) " >&6
7197 if test -n "$ac_ct_DLLTOOL"; then
7198 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir
=.
7205 for ac_exec_ext
in '' $ac_executable_extensions; do
7206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7218 if test -n "$ac_ct_DLLTOOL"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7220 $as_echo "$ac_ct_DLLTOOL" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 $as_echo "no" >&6; }
7226 if test "x$ac_ct_DLLTOOL" = x
; then
7229 case $cross_compiling:$ac_tool_warned in
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7233 ac_tool_warned
=yes ;;
7235 DLLTOOL
=$ac_ct_DLLTOOL
7238 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7243 STATIC_IMPLIBEXT
="a"
7244 enable_iphlpapi
=${enable_iphlpapi:-no}
7245 enable_kernel32
=${enable_kernel32:-no}
7246 enable_msvcrt
=${enable_msvcrt:-no}
7247 enable_ntdll
=${enable_ntdll:-no}
7248 enable_ws2_32
=${enable_ws2_32:-no}
7249 enable_loader
=${enable_loader:-no}
7250 enable_server
=${enable_server:-no}
7251 with_x
=${with_x:-no}
7252 with_pthread
=${with_pthread:-no}
7258 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7263 all: libwine.dll libwine.a
7266 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7268 libwine.dll: \$(OBJS) wine.def Makefile.in
7269 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7271 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7272 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7274 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7275 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7278 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7281 \$(RM) libwine.dll version.c
7289 DLLFLAGS
="$DLLFLAGS -fPIC"
7290 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7291 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7292 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7293 COREFOUNDATIONLIB
="-framework CoreFoundation"
7295 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7297 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7299 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7301 CORESERVICESLIB
="-framework CoreServices"
7303 APPKITLIB
="-framework AppKit"
7307 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7310 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7313 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7315 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7318 if test "$ac_cv_header_Security_Security_h" = "yes"
7320 SECURITYLIB
="-framework Security -framework CoreFoundation"
7322 ac_save_LIBS
="$LIBS"
7323 LIBS
="$LIBS $SECURITYLIB"
7324 for ac_func
in SSLCopyPeerCertificates
7326 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7327 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7328 cat >>confdefs.h
<<_ACEOF
7329 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7335 LIBS
="$ac_save_LIBS"
7336 with_gnutls
=${with_gnutls:-no}
7338 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7340 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7342 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7345 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7348 ac_save_LIBS
="$LIBS"
7349 LIBS
="$LIBS $COREAUDIO"
7350 for ac_func
in AUGraphAddNode
7352 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7353 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7354 cat >>confdefs.h
<<_ACEOF
7355 #define HAVE_AUGRAPHADDNODE 1
7361 LIBS
="$ac_save_LIBS"
7363 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7365 FRAMEWORK_OPENAL
="-framework OpenAL"
7368 cat >>confdefs.h
<<_ACEOF
7369 #define HAVE_OPENAL 1
7372 ac_cv_lib_openal
=yes
7374 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7376 LIBOPENCL
="-framework OpenCL"
7378 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7380 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7382 ac_save_LIBS
="$LIBS"
7383 LIBS
="$LIBS $IOKITLIB"
7384 for ac_func
in IOHIDManagerCreate
7386 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7387 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7388 cat >>confdefs.h
<<_ACEOF
7389 #define HAVE_IOHIDMANAGERCREATE 1
7395 LIBS
="$ac_save_LIBS"
7397 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7399 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7401 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7403 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7405 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7407 CARBONLIB
="-framework Carbon"
7411 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7413 ac_save_LIBS
="$LIBS"
7414 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7415 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7416 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7417 enable_winemac_drv
=${enable_winemac_drv:-yes}
7420 LIBS
="$ac_save_LIBS"
7423 if test "x$enable_win16" = "xyes"
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7426 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7427 if test "$cross_compiling" = yes; then :
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7429 $as_echo "cross-compiling, assuming yes" >&6; }
7431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7435 "good:\tnop;nop\n\t"
7436 ".globl _testfunc\n"
7437 "_testfunc:\tcallw good");
7438 extern void testfunc();
7442 unsigned short *p = (unsigned short *)testfunc;
7443 return p[0] != 0xe866 || p[1] != 0xfffa
7448 if ac_fn_c_try_run
"$LINENO"; then :
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7450 $as_echo "yes" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7454 as_fn_error $?
"Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
7456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7465 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7466 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7468 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7469 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7471 libwine.dylib: libwine.\$(SOVERSION).dylib
7472 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7474 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7475 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7476 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7478 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7479 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7482 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7485 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7491 DLLFLAGS
="$DLLFLAGS -fPIC"
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7498 $as_echo_n "(cached) " >&6
7500 ac_wine_try_cflags_saved
=$CFLAGS
7501 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504 int main(int argc, char **argv) { return 0; }
7506 if ac_fn_c_try_link
"$LINENO"; then :
7507 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7509 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7511 rm -f core conftest.err conftest.
$ac_objext \
7512 conftest
$ac_exeext conftest.
$ac_ext
7513 CFLAGS
=$ac_wine_try_cflags_saved
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7517 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7518 LDEXECFLAGS
="-Wl,--export-dynamic"
7521 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7524 if eval \
${$as_ac_var+:} false
; then :
7525 $as_echo_n "(cached) " >&6
7527 ac_wine_try_cflags_saved
=$CFLAGS
7528 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7531 int main(int argc, char **argv) { return 0; }
7533 if ac_fn_c_try_link
"$LINENO"; then :
7534 eval "$as_ac_var=yes"
7536 eval "$as_ac_var=no"
7538 rm -f core conftest.err conftest.
$ac_objext \
7539 conftest
$ac_exeext conftest.
$ac_ext
7540 CFLAGS
=$ac_wine_try_cflags_saved
7542 eval ac_res
=\$
$as_ac_var
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7544 $as_echo "$ac_res" >&6; }
7545 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7546 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7547 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7549 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7552 if eval \
${$as_ac_var+:} false
; then :
7553 $as_echo_n "(cached) " >&6
7555 ac_wine_try_cflags_saved
=$CFLAGS
7556 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 int main(int argc, char **argv) { return 0; }
7561 if ac_fn_c_try_link
"$LINENO"; then :
7562 eval "$as_ac_var=yes"
7564 eval "$as_ac_var=no"
7566 rm -f core conftest.err conftest.
$ac_objext \
7567 conftest
$ac_exeext conftest.
$ac_ext
7568 CFLAGS
=$ac_wine_try_cflags_saved
7570 eval ac_res
=\$
$as_ac_var
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7572 $as_echo "$ac_res" >&6; }
7573 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7574 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7575 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_wine_try_cflags_saved
=$CFLAGS
7585 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 int main(int argc, char **argv) { return 0; }
7590 if ac_fn_c_try_link
"$LINENO"; then :
7591 ac_cv_cflags__Wl___enable_new_dtags
=yes
7593 ac_cv_cflags__Wl___enable_new_dtags
=no
7595 rm -f core conftest.err conftest.
$ac_objext \
7596 conftest
$ac_exeext conftest.
$ac_ext
7597 CFLAGS
=$ac_wine_try_cflags_saved
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7601 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7602 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7606 *i
[3456789]86* | x86_64
)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 ac_wine_try_cflags_saved
=$CFLAGS
7613 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 int main(int argc, char **argv) { return 0; }
7618 if ac_fn_c_try_link
"$LINENO"; then :
7619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7623 rm -f core conftest.err conftest.
$ac_objext \
7624 conftest
$ac_exeext conftest.
$ac_ext
7625 CFLAGS
=$ac_wine_try_cflags_saved
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7629 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7630 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7638 libwine.so: \$(OBJS) Makefile.in
7639 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7641 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7642 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7645 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7648 \$(RM) libwine.so version.c
7654 DLLFLAGS
="$DLLFLAGS -fPIC"
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7657 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7658 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7659 $as_echo_n "(cached) " >&6
7661 ac_wine_try_cflags_saved
=$CFLAGS
7662 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h. */
7667 if ac_fn_c_try_link
"$LINENO"; then :
7668 ac_cv_c_dll_gnuelf
="yes"
7670 ac_cv_c_dll_gnuelf
="no"
7672 rm -f core conftest.err conftest.
$ac_objext \
7673 conftest
$ac_exeext conftest.
$ac_ext
7674 CFLAGS
=$ac_wine_try_cflags_saved
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7677 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7678 if test "$ac_cv_c_dll_gnuelf" = "yes"
7680 LDSHARED
="\$(CC) -shared"
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7683 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7684 $as_echo_n "(cached) " >&6
7686 ac_wine_try_cflags_saved
=$CFLAGS
7687 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7690 int main(int argc, char **argv) { return 0; }
7692 if ac_fn_c_try_link
"$LINENO"; then :
7693 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7695 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7697 rm -f core conftest.err conftest.
$ac_objext \
7698 conftest
$ac_exeext conftest.
$ac_ext
7699 CFLAGS
=$ac_wine_try_cflags_saved
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7703 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7704 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7707 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7708 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7711 ac_wine_try_cflags_saved
=$CFLAGS
7712 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 int main(int argc, char **argv) { return 0; }
7717 if ac_fn_c_try_link
"$LINENO"; then :
7718 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7720 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7722 rm -f core conftest.err conftest.
$ac_objext \
7723 conftest
$ac_exeext conftest.
$ac_ext
7724 CFLAGS
=$ac_wine_try_cflags_saved
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7727 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7728 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7729 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7733 echo '{ global: *; };' >conftest.map
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7735 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7736 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7737 $as_echo_n "(cached) " >&6
7739 ac_wine_try_cflags_saved
=$CFLAGS
7740 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 int main(int argc, char **argv) { return 0; }
7745 if ac_fn_c_try_link
"$LINENO"; then :
7746 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7748 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7750 rm -f core conftest.err conftest.
$ac_objext \
7751 conftest
$ac_exeext conftest.
$ac_ext
7752 CFLAGS
=$ac_wine_try_cflags_saved
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7755 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7756 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7757 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7762 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7763 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7764 $as_echo_n "(cached) " >&6
7766 ac_wine_try_cflags_saved
=$CFLAGS
7767 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 int main(int argc, char **argv) { return 0; }
7772 if ac_fn_c_try_link
"$LINENO"; then :
7773 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7775 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7777 rm -f core conftest.err conftest.
$ac_objext \
7778 conftest
$ac_exeext conftest.
$ac_ext
7779 CFLAGS
=$ac_wine_try_cflags_saved
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7782 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7783 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7784 LDEXECFLAGS
="-Wl,--export-dynamic"
7788 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7790 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7791 if eval \
${$as_ac_var+:} false
; then :
7792 $as_echo_n "(cached) " >&6
7794 ac_wine_try_cflags_saved
=$CFLAGS
7795 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7798 int main(int argc, char **argv) { return 0; }
7800 if ac_fn_c_try_link
"$LINENO"; then :
7801 eval "$as_ac_var=yes"
7803 eval "$as_ac_var=no"
7805 rm -f core conftest.err conftest.
$ac_objext \
7806 conftest
$ac_exeext conftest.
$ac_ext
7807 CFLAGS
=$ac_wine_try_cflags_saved
7809 eval ac_res
=\$
$as_ac_var
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7811 $as_echo "$ac_res" >&6; }
7812 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7813 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7814 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7816 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7818 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7819 if eval \
${$as_ac_var+:} false
; then :
7820 $as_echo_n "(cached) " >&6
7822 ac_wine_try_cflags_saved
=$CFLAGS
7823 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7826 int main(int argc, char **argv) { return 0; }
7828 if ac_fn_c_try_link
"$LINENO"; then :
7829 eval "$as_ac_var=yes"
7831 eval "$as_ac_var=no"
7833 rm -f core conftest.err conftest.
$ac_objext \
7834 conftest
$ac_exeext conftest.
$ac_ext
7835 CFLAGS
=$ac_wine_try_cflags_saved
7837 eval ac_res
=\$
$as_ac_var
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7839 $as_echo "$ac_res" >&6; }
7840 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7841 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7842 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7847 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7848 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7849 $as_echo_n "(cached) " >&6
7851 ac_wine_try_cflags_saved
=$CFLAGS
7852 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7855 int main(int argc, char **argv) { return 0; }
7857 if ac_fn_c_try_link
"$LINENO"; then :
7858 ac_cv_cflags__Wl___enable_new_dtags
=yes
7860 ac_cv_cflags__Wl___enable_new_dtags
=no
7862 rm -f core conftest.err conftest.
$ac_objext \
7863 conftest
$ac_exeext conftest.
$ac_ext
7864 CFLAGS
=$ac_wine_try_cflags_saved
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7867 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7868 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7869 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7873 *i
[3456789]86* | x86_64
)
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7875 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7876 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7877 $as_echo_n "(cached) " >&6
7879 ac_wine_try_cflags_saved
=$CFLAGS
7880 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 int main(int argc, char **argv) { return 0; }
7885 if ac_fn_c_try_link
"$LINENO"; then :
7886 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7888 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7890 rm -f core conftest.err conftest.
$ac_objext \
7891 conftest
$ac_exeext conftest.
$ac_ext
7892 CFLAGS
=$ac_wine_try_cflags_saved
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7895 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7896 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7898 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7899 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7903 # Extract the first word of "prelink", so it can be a program name with args.
7904 set dummy prelink
; ac_word
=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_path_PRELINK+:} false
; then :
7908 $as_echo_n "(cached) " >&6
7912 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7916 for as_dir
in /sbin
/usr
/sbin
$PATH
7919 test -z "$as_dir" && as_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7934 PRELINK
=$ac_cv_path_PRELINK
7935 if test -n "$PRELINK"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7937 $as_echo "$PRELINK" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 $as_echo "no" >&6; }
7944 if test "x$PRELINK" = xfalse
7946 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7953 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7954 if ${ac_cv_c_dll_unixware+:} false
; then :
7955 $as_echo_n "(cached) " >&6
7957 ac_wine_try_cflags_saved
=$CFLAGS
7958 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7963 if ac_fn_c_try_link
"$LINENO"; then :
7964 ac_cv_c_dll_unixware
="yes"
7966 ac_cv_c_dll_unixware
="no"
7968 rm -f core conftest.err conftest.
$ac_objext \
7969 conftest
$ac_exeext conftest.
$ac_ext
7970 CFLAGS
=$ac_wine_try_cflags_saved
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7973 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7974 if test "$ac_cv_c_dll_unixware" = "yes"
7976 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7982 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7983 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7985 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7986 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7988 libwine.so: libwine.so.\$(SOVERSION)
7989 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7991 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7992 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7993 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7995 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7996 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7999 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8002 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8008 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8009 enable_winemac_drv
=${enable_winemac_drv:-no}
8011 CROSSTEST_DISABLE
=\
#
8013 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8017 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
8020 ac_prefix_list
="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc " ;;
8022 ac_prefix_list
="" ;;
8024 for ac_prog
in $ac_prefix_list
8026 # Extract the first word of "$ac_prog", so it can be a program name with args.
8027 set dummy
$ac_prog; ac_word
=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_CROSSCC+:} false
; then :
8031 $as_echo_n "(cached) " >&6
8033 if test -n "$CROSSCC"; then
8034 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir
=.
8041 for ac_exec_ext
in '' $ac_executable_extensions; do
8042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_CROSSCC
="$ac_prog"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 CROSSCC
=$ac_cv_prog_CROSSCC
8054 if test -n "$CROSSCC"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8056 $as_echo "$CROSSCC" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8063 test -n "$CROSSCC" && break
8065 test -n "$CROSSCC" || CROSSCC
="false"
8067 if test "$CROSSCC" != "false"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8072 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8084 if ac_fn_c_try_compile
"$LINENO"; then :
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8086 $as_echo "yes" >&6; }
8093 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
8097 if test -n "$target"
8099 CROSSTEST_DISABLE
=""
8100 CROSSTARGET
="$target"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8113 if test "$ac_cv_header_pthread_h" = "yes"
8115 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8116 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8120 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8121 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8122 $as_echo_n "(cached) " >&6
8124 ac_check_lib_save_LIBS
=$LIBS
8125 LIBS
="-lpthread $LIBS"
8126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8129 /* Override any GCC internal prototype to avoid an error.
8130 Use char because int might match the return type of a GCC
8131 builtin and then its argument prototype would still apply. */
8135 char pthread_create ();
8139 return pthread_create ();
8144 if ac_fn_c_try_link
"$LINENO"; then :
8145 ac_cv_lib_pthread_pthread_create
=yes
8147 ac_cv_lib_pthread_pthread_create
=no
8149 rm -f core conftest.err conftest.
$ac_objext \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 LIBS
=$ac_check_lib_save_LIBS
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8154 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8155 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8156 LIBPTHREAD
="-lpthread"
8163 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8164 case "x$with_pthread" in
8166 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8167 Wine cannot support threads without libpthread.
8168 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8174 $as_echo_n "checking for X... " >&6; }
8177 # Check whether --with-x was given.
8178 if test "${with_x+set}" = set; then :
8182 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8183 if test "x$with_x" = xno
; then
8184 # The user explicitly disabled X.
8187 case $x_includes,$x_libraries in #(
8188 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8189 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 # One or both of the vars are not set, and there is no cached value.
8193 ac_x_includes
=no ac_x_libraries
=no
8194 rm -f -r conftest.dir
8195 if mkdir conftest.dir
; then
8197 cat >Imakefile
<<'_ACEOF'
8199 @echo incroot='${INCROOT}'
8201 @echo usrlibdir='${USRLIBDIR}'
8203 @echo libdir='${LIBDIR}'
8205 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8207 for ac_var
in incroot usrlibdir libdir
; do
8208 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8210 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8211 for ac_extension
in a so sl dylib la dll
; do
8212 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8213 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8214 ac_im_usrlibdir
=$ac_im_libdir; break
8217 # Screen out bogus values from the imake configuration. They are
8218 # bogus both because they are the default anyway, and because
8219 # using them would break gcc on systems where it needs fixed includes.
8220 case $ac_im_incroot in
8221 /usr
/include
) ac_x_includes
= ;;
8222 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8224 case $ac_im_usrlibdir in
8225 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8226 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8230 rm -f -r conftest.dir
8233 # Standard set of common directories for X headers.
8234 # Check X11 before X11Rn because it is often a symlink to the current release.
8248 /usr/local/X11/include
8249 /usr/local/X11R7/include
8250 /usr/local/X11R6/include
8251 /usr/local/X11R5/include
8252 /usr/local/X11R4/include
8254 /usr/local/include/X11
8255 /usr/local/include/X11R7
8256 /usr/local/include/X11R6
8257 /usr/local/include/X11R5
8258 /usr/local/include/X11R4
8262 /usr/XFree86/include/X11
8266 /usr/unsupported/include
8268 /usr/local/x11r5/include
8269 /usr/lpp/Xamples/include
8271 /usr/openwin/include
8272 /usr/openwin/share/include'
8274 if test "$ac_x_includes" = no
; then
8275 # Guess where to find include files, by looking for Xlib.h.
8276 # First, try using that file with no special directory specified.
8277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 #include <X11/Xlib.h>
8281 if ac_fn_c_try_cpp
"$LINENO"; then :
8282 # We can compile using X headers with no special include directory.
8285 for ac_dir
in $ac_x_header_dirs; do
8286 if test -r "$ac_dir/X11/Xlib.h"; then
8287 ac_x_includes
=$ac_dir
8292 rm -f conftest.err conftest.i conftest.
$ac_ext
8293 fi # $ac_x_includes = no
8295 if test "$ac_x_libraries" = no
; then
8296 # Check for the libraries.
8297 # See if we find them without any special options.
8298 # Don't add to $LIBS permanently.
8301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 #include <X11/Xlib.h>
8312 if ac_fn_c_try_link
"$LINENO"; then :
8314 # We can link X programs with no special library path.
8318 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8320 # Don't even attempt the hair of trying to link an X program!
8321 for ac_extension
in a so sl dylib la dll
; do
8322 if test -r "$ac_dir/libX11.$ac_extension"; then
8323 ac_x_libraries
=$ac_dir
8329 rm -f core conftest.err conftest.
$ac_objext \
8330 conftest
$ac_exeext conftest.
$ac_ext
8331 fi # $ac_x_libraries = no
8333 case $ac_x_includes,$ac_x_libraries in #(
8335 # Didn't find X, or a directory has "'" in its name.
8336 ac_cv_have_x
="have_x=no";; #(
8338 # Record where we found X for the cache.
8339 ac_cv_have_x
="have_x=yes\
8340 ac_x_includes='$ac_x_includes'\
8341 ac_x_libraries='$ac_x_libraries'"
8347 eval "$ac_cv_have_x"
8350 if test "$have_x" != yes; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8352 $as_echo "$have_x" >&6; }
8355 # If each of the values was on the command line, it overrides each guess.
8356 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8357 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8358 # Update the cache value to reflect the command line values.
8359 ac_cv_have_x
="have_x=yes\
8360 ac_x_includes='$x_includes'\
8361 ac_x_libraries='$x_libraries'"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8363 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8366 if test "$no_x" = yes; then
8367 # Not all programs may use this symbol, but it does not hurt to define it.
8369 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8371 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8373 if test -n "$x_includes"; then
8374 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8377 # It would also be nice to do this for all -L options, not just this one.
8378 if test -n "$x_libraries"; then
8379 X_LIBS
="$X_LIBS -L$x_libraries"
8380 # For Solaris; some versions of Sun CC require a space after -R and
8381 # others require no space. Words are not sufficient . . . .
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8383 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8384 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8385 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8386 ac_c_werror_flag
=yes
8387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8398 if ac_fn_c_try_link
"$LINENO"; then :
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 $as_echo "no" >&6; }
8401 X_LIBS
="$X_LIBS -R$x_libraries"
8403 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8415 if ac_fn_c_try_link
"$LINENO"; then :
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8417 $as_echo "yes" >&6; }
8418 X_LIBS
="$X_LIBS -R $x_libraries"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8421 $as_echo "neither works" >&6; }
8423 rm -f core conftest.err conftest.
$ac_objext \
8424 conftest
$ac_exeext conftest.
$ac_ext
8426 rm -f core conftest.err conftest.
$ac_objext \
8427 conftest
$ac_exeext conftest.
$ac_ext
8428 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8432 # Check for system-dependent libraries X programs must link with.
8433 # Do this before checking for the system-independent R6 libraries
8434 # (-lICE), since we may need -lsocket or whatever for X linking.
8436 if test "$ISC" = yes; then
8437 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8439 # Martyn Johnson says this is needed for Ultrix, if the X
8440 # libraries were built with DECnet support. And Karl Berry says
8441 # the Alpha needs dnet_stub (dnet does not exist).
8442 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8446 /* Override any GCC internal prototype to avoid an error.
8447 Use char because int might match the return type of a GCC
8448 builtin and then its argument prototype would still apply. */
8452 char XOpenDisplay ();
8456 return XOpenDisplay ();
8461 if ac_fn_c_try_link
"$LINENO"; then :
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8465 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8466 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8467 $as_echo_n "(cached) " >&6
8469 ac_check_lib_save_LIBS
=$LIBS
8471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8474 /* Override any GCC internal prototype to avoid an error.
8475 Use char because int might match the return type of a GCC
8476 builtin and then its argument prototype would still apply. */
8484 return dnet_ntoa ();
8489 if ac_fn_c_try_link
"$LINENO"; then :
8490 ac_cv_lib_dnet_dnet_ntoa
=yes
8492 ac_cv_lib_dnet_dnet_ntoa
=no
8494 rm -f core conftest.err conftest.
$ac_objext \
8495 conftest
$ac_exeext conftest.
$ac_ext
8496 LIBS
=$ac_check_lib_save_LIBS
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8499 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8500 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8504 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8506 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8507 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8508 $as_echo_n "(cached) " >&6
8510 ac_check_lib_save_LIBS
=$LIBS
8511 LIBS
="-ldnet_stub $LIBS"
8512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8525 return dnet_ntoa ();
8530 if ac_fn_c_try_link
"$LINENO"; then :
8531 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8533 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8535 rm -f core conftest.err conftest.
$ac_objext \
8536 conftest
$ac_exeext conftest.
$ac_ext
8537 LIBS
=$ac_check_lib_save_LIBS
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8540 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8541 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8547 rm -f core conftest.err conftest.
$ac_objext \
8548 conftest
$ac_exeext conftest.
$ac_ext
8549 LIBS
="$ac_xsave_LIBS"
8551 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8552 # to get the SysV transport functions.
8553 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8555 # The nsl library prevents programs from opening the X display
8556 # on Irix 5.2, according to T.E. Dickey.
8557 # The functions gethostbyname, getservbyname, and inet_addr are
8558 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8559 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8560 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8564 if test $ac_cv_func_gethostbyname = no
; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8566 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8567 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 ac_check_lib_save_LIBS
=$LIBS
8572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8575 /* Override any GCC internal prototype to avoid an error.
8576 Use char because int might match the return type of a GCC
8577 builtin and then its argument prototype would still apply. */
8581 char gethostbyname ();
8585 return gethostbyname ();
8590 if ac_fn_c_try_link
"$LINENO"; then :
8591 ac_cv_lib_nsl_gethostbyname
=yes
8593 ac_cv_lib_nsl_gethostbyname
=no
8595 rm -f core conftest.err conftest.
$ac_objext \
8596 conftest
$ac_exeext conftest.
$ac_ext
8597 LIBS
=$ac_check_lib_save_LIBS
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8600 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8601 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8602 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8605 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8607 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8608 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8609 $as_echo_n "(cached) " >&6
8611 ac_check_lib_save_LIBS
=$LIBS
8613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8616 /* Override any GCC internal prototype to avoid an error.
8617 Use char because int might match the return type of a GCC
8618 builtin and then its argument prototype would still apply. */
8622 char gethostbyname ();
8626 return gethostbyname ();
8631 if ac_fn_c_try_link
"$LINENO"; then :
8632 ac_cv_lib_bsd_gethostbyname
=yes
8634 ac_cv_lib_bsd_gethostbyname
=no
8636 rm -f core conftest.err conftest.
$ac_objext \
8637 conftest
$ac_exeext conftest.
$ac_ext
8638 LIBS
=$ac_check_lib_save_LIBS
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8641 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8642 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8643 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8649 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8650 # socket/setsockopt and other routines are undefined under SCO ODT
8651 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8652 # on later versions), says Simon Leinen: it contains gethostby*
8653 # variants that don't use the name server (or something). -lsocket
8654 # must be given before -lnsl if both are needed. We assume that
8655 # if connect needs -lnsl, so does gethostbyname.
8656 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8657 if test "x$ac_cv_func_connect" = xyes
; then :
8661 if test $ac_cv_func_connect = no
; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8663 $as_echo_n "checking for connect in -lsocket... " >&6; }
8664 if ${ac_cv_lib_socket_connect+:} false
; then :
8665 $as_echo_n "(cached) " >&6
8667 ac_check_lib_save_LIBS
=$LIBS
8668 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8672 /* Override any GCC internal prototype to avoid an error.
8673 Use char because int might match the return type of a GCC
8674 builtin and then its argument prototype would still apply. */
8687 if ac_fn_c_try_link
"$LINENO"; then :
8688 ac_cv_lib_socket_connect
=yes
8690 ac_cv_lib_socket_connect
=no
8692 rm -f core conftest.err conftest.
$ac_objext \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 LIBS
=$ac_check_lib_save_LIBS
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8697 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8698 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8699 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8704 # Guillermo Gomez says -lposix is necessary on A/UX.
8705 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8706 if test "x$ac_cv_func_remove" = xyes
; then :
8710 if test $ac_cv_func_remove = no
; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8712 $as_echo_n "checking for remove in -lposix... " >&6; }
8713 if ${ac_cv_lib_posix_remove+:} false
; then :
8714 $as_echo_n "(cached) " >&6
8716 ac_check_lib_save_LIBS
=$LIBS
8717 LIBS
="-lposix $LIBS"
8718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8721 /* Override any GCC internal prototype to avoid an error.
8722 Use char because int might match the return type of a GCC
8723 builtin and then its argument prototype would still apply. */
8736 if ac_fn_c_try_link
"$LINENO"; then :
8737 ac_cv_lib_posix_remove
=yes
8739 ac_cv_lib_posix_remove
=no
8741 rm -f core conftest.err conftest.
$ac_objext \
8742 conftest
$ac_exeext conftest.
$ac_ext
8743 LIBS
=$ac_check_lib_save_LIBS
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8746 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8747 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8748 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8753 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8754 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8755 if test "x$ac_cv_func_shmat" = xyes
; then :
8759 if test $ac_cv_func_shmat = no
; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8761 $as_echo_n "checking for shmat in -lipc... " >&6; }
8762 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8763 $as_echo_n "(cached) " >&6
8765 ac_check_lib_save_LIBS
=$LIBS
8767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8770 /* Override any GCC internal prototype to avoid an error.
8771 Use char because int might match the return type of a GCC
8772 builtin and then its argument prototype would still apply. */
8785 if ac_fn_c_try_link
"$LINENO"; then :
8786 ac_cv_lib_ipc_shmat
=yes
8788 ac_cv_lib_ipc_shmat
=no
8790 rm -f core conftest.err conftest.
$ac_objext \
8791 conftest
$ac_exeext conftest.
$ac_ext
8792 LIBS
=$ac_check_lib_save_LIBS
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8795 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8796 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8797 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8803 # Check for libraries that X11R6 Xt/Xaw programs need.
8804 ac_save_LDFLAGS
=$LDFLAGS
8805 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8806 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8807 # check for ICE first), but we must link in the order -lSM -lICE or
8808 # we get undefined symbols. So assume we have SM if we have ICE.
8809 # These have to be linked with before -lX11, unlike the other
8810 # libraries we check for below, so use a different variable.
8811 # John Interrante, Karl Berry
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8813 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8814 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8815 $as_echo_n "(cached) " >&6
8817 ac_check_lib_save_LIBS
=$LIBS
8818 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8828 char IceConnectionNumber ();
8832 return IceConnectionNumber ();
8837 if ac_fn_c_try_link
"$LINENO"; then :
8838 ac_cv_lib_ICE_IceConnectionNumber
=yes
8840 ac_cv_lib_ICE_IceConnectionNumber
=no
8842 rm -f core conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 LIBS
=$ac_check_lib_save_LIBS
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8847 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8848 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8849 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8852 LDFLAGS
=$ac_save_LDFLAGS
8857 if test "$have_x" = "yes"
8860 ac_save_CPPFLAGS
="$CPPFLAGS"
8861 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8864 $as_echo_n "checking for -lX11... " >&6; }
8865 if ${ac_cv_lib_soname_X11+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8868 ac_check_soname_save_LIBS
=$LIBS
8869 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8879 char XCreateWindow ();
8883 return XCreateWindow ();
8888 if ac_fn_c_try_link
"$LINENO"; then :
8890 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8891 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'` ;;
8892 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8893 if test "x$ac_cv_lib_soname_X11" = x
; then :
8894 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8898 rm -f core conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8900 LIBS
=$ac_check_soname_save_LIBS
8902 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8904 $as_echo "not found" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8908 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8910 cat >>confdefs.h
<<_ACEOF
8911 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8917 $as_echo_n "checking for -lXext... " >&6; }
8918 if ${ac_cv_lib_soname_Xext+:} false
; then :
8919 $as_echo_n "(cached) " >&6
8921 ac_check_soname_save_LIBS
=$LIBS
8922 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8926 /* Override any GCC internal prototype to avoid an error.
8927 Use char because int might match the return type of a GCC
8928 builtin and then its argument prototype would still apply. */
8932 char XextCreateExtension ();
8936 return XextCreateExtension ();
8941 if ac_fn_c_try_link
"$LINENO"; then :
8943 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8944 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'` ;;
8945 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8946 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8947 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8951 rm -f core conftest.err conftest.
$ac_objext \
8952 conftest
$ac_exeext conftest.
$ac_ext
8953 LIBS
=$ac_check_soname_save_LIBS
8955 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8957 $as_echo "not found" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8961 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8963 cat >>confdefs.h
<<_ACEOF
8964 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8970 for ac_header
in X11
/Xlib.h \
8973 X11
/Xcursor
/Xcursor.h \
8974 X11
/extensions
/shape.h \
8975 X11
/extensions
/XInput.h \
8976 X11
/extensions
/XInput2.h \
8977 X11
/extensions
/XShm.h \
8978 X11
/extensions
/Xcomposite.h \
8979 X11
/extensions
/Xinerama.h \
8980 X11
/extensions
/Xrandr.h \
8981 X11
/extensions
/Xrender.h \
8982 X11
/extensions
/xf86vmode.h \
8983 X11
/extensions
/xf86vmproto.h
8985 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8986 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8987 # include <X11/Xlib.h>
8989 #ifdef HAVE_X11_XUTIL_H
8990 # include <X11/Xutil.h>
8993 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8994 cat >>confdefs.h
<<_ACEOF
8995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9003 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9006 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9007 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9008 $as_echo_n "(cached) " >&6
9010 ac_check_lib_save_LIBS
=$LIBS
9011 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9021 char XkbQueryExtension ();
9025 return XkbQueryExtension ();
9030 if ac_fn_c_try_link
"$LINENO"; then :
9031 ac_cv_lib_X11_XkbQueryExtension
=yes
9033 ac_cv_lib_X11_XkbQueryExtension
=no
9035 rm -f core conftest.err conftest.
$ac_objext \
9036 conftest
$ac_exeext conftest.
$ac_ext
9037 LIBS
=$ac_check_lib_save_LIBS
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9040 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9041 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9043 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9049 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9052 $as_echo_n "checking for -lXcursor... " >&6; }
9053 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9054 $as_echo_n "(cached) " >&6
9056 ac_check_soname_save_LIBS
=$LIBS
9057 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9067 char XcursorImageLoadCursor ();
9071 return XcursorImageLoadCursor ();
9076 if ac_fn_c_try_link
"$LINENO"; then :
9078 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9079 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'` ;;
9080 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9081 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9082 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9086 rm -f core conftest.err conftest.
$ac_objext \
9087 conftest
$ac_exeext conftest.
$ac_ext
9088 LIBS
=$ac_check_soname_save_LIBS
9090 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9092 $as_echo "not found" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9096 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9098 cat >>confdefs.h
<<_ACEOF
9099 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9105 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9106 case "x$with_xcursor" in
9107 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9109 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9110 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9114 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9117 $as_echo_n "checking for -lXi... " >&6; }
9118 if ${ac_cv_lib_soname_Xi+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_soname_save_LIBS
=$LIBS
9122 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9132 char XOpenDevice ();
9136 return XOpenDevice ();
9141 if ac_fn_c_try_link
"$LINENO"; then :
9143 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9146 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9147 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_soname_save_LIBS
9155 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9157 $as_echo "not found" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9161 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9163 cat >>confdefs.h
<<_ACEOF
9164 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9170 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9171 case "x$with_xinput" in
9172 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9174 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9175 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9179 if test "x$ac_cv_lib_soname_Xi" != x
9181 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9182 case "x$with_xinput2" in
9183 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9185 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9186 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9191 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9194 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9195 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9196 $as_echo_n "(cached) " >&6
9198 ac_check_lib_save_LIBS
=$LIBS
9199 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9209 char XShmQueryExtension ();
9213 return XShmQueryExtension ();
9218 if ac_fn_c_try_link
"$LINENO"; then :
9219 ac_cv_lib_Xext_XShmQueryExtension
=yes
9221 ac_cv_lib_Xext_XShmQueryExtension
=no
9223 rm -f core conftest.err conftest.
$ac_objext \
9224 conftest
$ac_exeext conftest.
$ac_ext
9225 LIBS
=$ac_check_lib_save_LIBS
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9228 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9229 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9231 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9236 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9237 case "x$with_xshm" in
9238 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9240 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9241 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9245 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9248 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9249 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9250 $as_echo_n "(cached) " >&6
9252 ac_check_lib_save_LIBS
=$LIBS
9253 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9263 char XShapeQueryExtension ();
9267 return XShapeQueryExtension ();
9272 if ac_fn_c_try_link
"$LINENO"; then :
9273 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9275 ac_cv_lib_Xext_XShapeQueryExtension
=no
9277 rm -f core conftest.err conftest.
$ac_objext \
9278 conftest
$ac_exeext conftest.
$ac_ext
9279 LIBS
=$ac_check_lib_save_LIBS
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9282 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9283 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9285 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9290 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9291 case "x$with_xshape" in
9292 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9294 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9295 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9299 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9302 $as_echo_n "checking for -lXxf86vm... " >&6; }
9303 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9304 $as_echo_n "(cached) " >&6
9306 ac_check_soname_save_LIBS
=$LIBS
9307 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9317 char XF86VidModeQueryExtension ();
9321 return XF86VidModeQueryExtension ();
9326 if ac_fn_c_try_link
"$LINENO"; then :
9328 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9329 dylib
) ac_cv_lib_soname_Xxf86vm
=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9330 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9331 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9332 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9336 rm -f core conftest.err conftest.
$ac_objext \
9337 conftest
$ac_exeext conftest.
$ac_ext
9338 LIBS
=$ac_check_soname_save_LIBS
9340 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9342 $as_echo "not found" >&6; }
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9346 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9348 cat >>confdefs.h
<<_ACEOF
9349 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9355 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9356 case "x$with_xxf86vm" in
9357 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9359 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9360 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9364 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"
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9367 $as_echo_n "checking for -lXrender... " >&6; }
9368 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9369 $as_echo_n "(cached) " >&6
9371 ac_check_soname_save_LIBS
=$LIBS
9372 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9382 char XRenderQueryExtension ();
9386 return XRenderQueryExtension ();
9391 if ac_fn_c_try_link
"$LINENO"; then :
9393 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9394 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'` ;;
9395 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9396 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9397 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9401 rm -f core conftest.err conftest.
$ac_objext \
9402 conftest
$ac_exeext conftest.
$ac_ext
9403 LIBS
=$ac_check_soname_save_LIBS
9405 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9407 $as_echo "not found" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9411 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9413 cat >>confdefs.h
<<_ACEOF
9414 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9418 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9419 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9420 $as_echo_n "(cached) " >&6
9422 ac_check_lib_save_LIBS
=$LIBS
9423 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9433 char XRenderSetPictureTransform ();
9437 return XRenderSetPictureTransform ();
9442 if ac_fn_c_try_link
"$LINENO"; then :
9443 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9445 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9447 rm -f core conftest.err conftest.
$ac_objext \
9448 conftest
$ac_exeext conftest.
$ac_ext
9449 LIBS
=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9452 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9453 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9455 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9460 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9461 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 ac_check_lib_save_LIBS
=$LIBS
9465 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9475 char XRenderCreateLinearGradient ();
9479 return XRenderCreateLinearGradient ();
9484 if ac_fn_c_try_link
"$LINENO"; then :
9485 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9487 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9494 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9495 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9497 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9504 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9505 case "x$with_xrender" in
9506 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9508 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9509 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9513 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 #include <X11/Xlib.h>
9518 #include <X11/extensions/Xrandr.h>
9522 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9527 if ac_fn_c_try_compile
"$LINENO"; then :
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9529 $as_echo_n "checking for -lXrandr... " >&6; }
9530 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9531 $as_echo_n "(cached) " >&6
9533 ac_check_soname_save_LIBS
=$LIBS
9534 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9544 char XRRQueryExtension ();
9548 return XRRQueryExtension ();
9553 if ac_fn_c_try_link
"$LINENO"; then :
9555 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9559 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_soname_save_LIBS
9567 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9573 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9575 cat >>confdefs.h
<<_ACEOF
9576 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9581 #include <X11/Xlib.h>
9582 #include <X11/extensions/Xrandr.h>
9586 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9591 if ac_fn_c_try_compile
"$LINENO"; then :
9593 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9601 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9602 case "x$with_xrandr" in
9603 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9605 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9606 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9610 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9614 #include <X11/Xlib.h>
9615 #include <X11/extensions/Xinerama.h>
9619 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9624 if ac_fn_c_try_compile
"$LINENO"; then :
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9626 $as_echo_n "checking for -lXinerama... " >&6; }
9627 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 ac_check_soname_save_LIBS
=$LIBS
9631 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9641 char XineramaQueryScreens ();
9645 return XineramaQueryScreens ();
9650 if ac_fn_c_try_link
"$LINENO"; then :
9652 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9653 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'` ;;
9654 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9655 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9656 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9660 rm -f core conftest.err conftest.
$ac_objext \
9661 conftest
$ac_exeext conftest.
$ac_ext
9662 LIBS
=$ac_check_soname_save_LIBS
9664 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9666 $as_echo "not found" >&6; }
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9670 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9672 cat >>confdefs.h
<<_ACEOF
9673 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9681 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9682 case "x$with_xinerama" in
9683 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9685 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9686 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9690 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9693 $as_echo_n "checking for -lXcomposite... " >&6; }
9694 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9695 $as_echo_n "(cached) " >&6
9697 ac_check_soname_save_LIBS
=$LIBS
9698 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9708 char XCompositeRedirectWindow ();
9712 return XCompositeRedirectWindow ();
9717 if ac_fn_c_try_link
"$LINENO"; then :
9719 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9723 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 rm -f core conftest.err conftest.
$ac_objext \
9728 conftest
$ac_exeext conftest.
$ac_ext
9729 LIBS
=$ac_check_soname_save_LIBS
9731 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9737 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9739 cat >>confdefs.h
<<_ACEOF
9740 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9746 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9747 case "x$with_xcomposite" in
9748 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9750 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9751 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9755 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9756 #include <X11/Xlib.h>
9759 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9761 cat >>confdefs.h
<<_ACEOF
9762 #define HAVE_XICCALLBACK_CALLBACK 1
9767 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9768 #include <X11/Xlib.h>
9771 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9773 cat >>confdefs.h
<<_ACEOF
9774 #define HAVE_XEVENT_XCOOKIE 1
9783 if test "x$with_opengl" != "xno"
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9786 $as_echo_n "checking for -lGL... " >&6; }
9787 if ${ac_cv_lib_soname_GL+:} false
; then :
9788 $as_echo_n "(cached) " >&6
9790 ac_check_soname_save_LIBS
=$LIBS
9791 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9801 char glXCreateContext ();
9805 return glXCreateContext ();
9810 if ac_fn_c_try_link
"$LINENO"; then :
9812 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9813 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'` ;;
9814 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9815 if test "x$ac_cv_lib_soname_GL" = x
; then :
9816 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9820 rm -f core conftest.err conftest.
$ac_objext \
9821 conftest
$ac_exeext conftest.
$ac_ext
9822 LIBS
=$ac_check_soname_save_LIBS
9824 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9826 $as_echo "not found" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9828 $as_echo_n "checking for -lGL... " >&6; }
9829 if ${ac_cv_lib_soname_GL+:} false
; then :
9830 $as_echo_n "(cached) " >&6
9832 ac_check_soname_save_LIBS
=$LIBS
9833 LIBS
="-lGL $X_LIBS $XLIB -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"
9834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9843 char glXCreateContext ();
9847 return glXCreateContext ();
9852 if ac_fn_c_try_link
"$LINENO"; then :
9854 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9855 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'` ;;
9856 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9857 if test "x$ac_cv_lib_soname_GL" = x
; then :
9858 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9862 rm -f core conftest.err conftest.
$ac_objext \
9863 conftest
$ac_exeext conftest.
$ac_ext
9864 LIBS
=$ac_check_soname_save_LIBS
9866 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9868 $as_echo "not found" >&6; }
9869 if test -f /usr
/X11R
6/lib
/libGL.a
9871 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9872 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9874 opengl_msg
="No OpenGL library found on this system."
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9878 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9880 cat >>confdefs.h
<<_ACEOF
9881 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9884 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"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9888 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9890 cat >>confdefs.h
<<_ACEOF
9891 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9896 if test "x$with_glu" != "xno"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9899 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9900 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9901 $as_echo_n "(cached) " >&6
9903 ac_check_lib_save_LIBS
=$LIBS
9904 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9918 return gluLookAt ();
9923 if ac_fn_c_try_link
"$LINENO"; then :
9924 ac_cv_lib_GLU_gluLookAt
=yes
9926 ac_cv_lib_GLU_gluLookAt
=no
9928 rm -f core conftest.err conftest.
$ac_objext \
9929 conftest
$ac_exeext conftest.
$ac_ext
9930 LIBS
=$ac_check_lib_save_LIBS
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9933 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9934 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9938 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9939 case "x$with_glu" in
9940 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9942 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9943 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9948 if test "x$with_osmesa" != "xno"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9951 $as_echo_n "checking for -lOSMesa... " >&6; }
9952 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9953 $as_echo_n "(cached) " >&6
9955 ac_check_soname_save_LIBS
=$LIBS
9956 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9975 if ac_fn_c_try_link
"$LINENO"; then :
9977 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 dylib
) ac_cv_lib_soname_OSMesa
=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9979 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9980 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9981 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 rm -f core conftest.err conftest.
$ac_objext \
9986 conftest
$ac_exeext conftest.
$ac_ext
9987 LIBS
=$ac_check_soname_save_LIBS
9989 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9995 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9997 cat >>confdefs.h
<<_ACEOF
9998 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10003 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10004 case "x$with_osmesa" in
10005 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10007 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10008 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10013 if test -n "$opengl_msg"; then :
10014 case "x$with_opengl" in
10015 x
) as_fn_append wine_warnings
"|$opengl_msg
10016 OpenGL and Direct3D won't be supported." ;;
10018 *) as_fn_error $?
"$opengl_msg
10019 OpenGL and Direct3D won't be supported.
10020 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10024 CPPFLAGS
="$ac_save_CPPFLAGS"
10029 enable_winex11_drv
=${enable_winex11_drv:-no}
10031 if test "x$XLIB" = "x"; then :
10034 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10035 without X support, which probably isn't what you want. You will need
10036 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10037 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10041 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10043 if test "$ac_cv_header_CL_cl_h" = "yes"
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10046 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10047 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10048 $as_echo_n "(cached) " >&6
10050 ac_check_lib_save_LIBS
=$LIBS
10051 LIBS
="-lOpenCL $LIBS"
10052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10061 char clGetPlatformInfo ();
10065 return clGetPlatformInfo ();
10070 if ac_fn_c_try_link
"$LINENO"; then :
10071 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10073 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10075 rm -f core conftest.err conftest.
$ac_objext \
10076 conftest
$ac_exeext conftest.
$ac_ext
10077 LIBS
=$ac_check_lib_save_LIBS
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10080 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10081 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10082 LIBOPENCL
="-lOpenCL"
10087 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10088 case "x$with_opencl" in
10089 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10091 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10092 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10095 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10098 if test "x$with_xml" != "xno"
10100 if test -n "$XML2_CFLAGS"; then :
10102 elif test -n "$PKG_CONFIG"; then :
10103 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10105 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10106 if test -n "$XML2_LIBS"; then :
10108 elif test -n "$PKG_CONFIG"; then :
10109 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10111 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10112 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10113 ac_save_CPPFLAGS
=$CPPFLAGS
10114 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10115 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10117 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10118 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10119 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10120 cat >>confdefs.h
<<_ACEOF
10121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10128 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10131 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10132 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10133 $as_echo_n "(cached) " >&6
10135 ac_check_lib_save_LIBS
=$LIBS
10136 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10146 char xmlParseMemory ();
10150 return xmlParseMemory ();
10155 if ac_fn_c_try_link
"$LINENO"; then :
10156 ac_cv_lib_xml2_xmlParseMemory
=yes
10158 ac_cv_lib_xml2_xmlParseMemory
=no
10160 rm -f core conftest.err conftest.
$ac_objext \
10161 conftest
$ac_exeext conftest.
$ac_ext
10162 LIBS
=$ac_check_lib_save_LIBS
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10165 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10166 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10168 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10175 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10176 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10177 $as_echo_n "(cached) " >&6
10179 ac_check_lib_save_LIBS
=$LIBS
10180 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
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 xmlReadMemory ();
10194 return xmlReadMemory ();
10199 if ac_fn_c_try_link
"$LINENO"; then :
10200 ac_cv_lib_xml2_xmlReadMemory
=yes
10202 ac_cv_lib_xml2_xmlReadMemory
=no
10204 rm -f core conftest.err conftest.
$ac_objext \
10205 conftest
$ac_exeext conftest.
$ac_ext
10206 LIBS
=$ac_check_lib_save_LIBS
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10209 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10210 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10212 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10217 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10218 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 ac_check_lib_save_LIBS
=$LIBS
10222 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10232 char xmlNewDocPI ();
10236 return xmlNewDocPI ();
10241 if ac_fn_c_try_link
"$LINENO"; then :
10242 ac_cv_lib_xml2_xmlNewDocPI
=yes
10244 ac_cv_lib_xml2_xmlNewDocPI
=no
10246 rm -f core conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 LIBS
=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10251 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10252 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10254 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10259 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10260 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 ac_check_lib_save_LIBS
=$LIBS
10264 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10274 char xmlSchemaSetParserStructuredErrors ();
10278 return xmlSchemaSetParserStructuredErrors ();
10283 if ac_fn_c_try_link
"$LINENO"; then :
10284 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10286 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10288 rm -f core conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10293 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10294 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10296 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10301 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10302 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10303 $as_echo_n "(cached) " >&6
10305 ac_check_lib_save_LIBS
=$LIBS
10306 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10316 char xmlSchemaSetValidStructuredErrors ();
10320 return xmlSchemaSetValidStructuredErrors ();
10325 if ac_fn_c_try_link
"$LINENO"; then :
10326 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10328 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10330 rm -f core conftest.err conftest.
$ac_objext \
10331 conftest
$ac_exeext conftest.
$ac_ext
10332 LIBS
=$ac_check_lib_save_LIBS
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10335 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10336 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10338 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10343 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10344 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10345 $as_echo_n "(cached) " >&6
10347 ac_check_lib_save_LIBS
=$LIBS
10348 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10358 char xmlFirstElementChild ();
10362 return xmlFirstElementChild ();
10367 if ac_fn_c_try_link
"$LINENO"; then :
10368 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10370 ac_cv_lib_xml2_xmlFirstElementChild
=no
10372 rm -f core conftest.err conftest.
$ac_objext \
10373 conftest
$ac_exeext conftest.
$ac_ext
10374 LIBS
=$ac_check_lib_save_LIBS
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10377 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10378 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10380 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10384 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10386 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10388 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10396 CPPFLAGS
=$ac_save_CPPFLAGS
10397 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10398 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10401 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10402 case "x$with_xml" in
10403 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10405 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10406 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10410 if test "x$with_xslt" != "xno"
10412 if test -n "$XSLT_CFLAGS"; then :
10414 elif test -n "$PKG_CONFIG"; then :
10415 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10417 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10418 if test -n "$XSLT_LIBS"; then :
10420 elif test -n "$PKG_CONFIG"; then :
10421 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10423 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10424 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10425 ac_save_CPPFLAGS
=$CPPFLAGS
10426 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10427 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10429 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10430 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10431 # include <libxslt/pattern.h>
10434 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10435 cat >>confdefs.h
<<_ACEOF
10436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10443 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10446 $as_echo_n "checking for -lxslt... " >&6; }
10447 if ${ac_cv_lib_soname_xslt+:} false
; then :
10448 $as_echo_n "(cached) " >&6
10450 ac_check_soname_save_LIBS
=$LIBS
10451 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10455 /* Override any GCC internal prototype to avoid an error.
10456 Use char because int might match the return type of a GCC
10457 builtin and then its argument prototype would still apply. */
10461 char xsltCompilePattern ();
10465 return xsltCompilePattern ();
10470 if ac_fn_c_try_link
"$LINENO"; then :
10472 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10473 dylib
) ac_cv_lib_soname_xslt
=`otool -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10474 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10475 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10476 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10480 rm -f core conftest.err conftest.
$ac_objext \
10481 conftest
$ac_exeext conftest.
$ac_ext
10482 LIBS
=$ac_check_soname_save_LIBS
10484 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10486 $as_echo "not found" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10490 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10492 cat >>confdefs.h
<<_ACEOF
10493 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10501 CPPFLAGS
=$ac_save_CPPFLAGS
10502 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10503 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10506 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10507 case "x$with_xslt" in
10508 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10510 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10511 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10515 if test "x$with_dbus" != "xno"
10517 if test -n "$DBUS_CFLAGS"; then :
10519 elif test -n "$PKG_CONFIG"; then :
10520 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10523 if test -n "$DBUS_LIBS"; then :
10525 elif test -n "$PKG_CONFIG"; then :
10526 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10530 ac_save_CPPFLAGS
=$CPPFLAGS
10531 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10532 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10533 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10535 $as_echo_n "checking for -ldbus-1... " >&6; }
10536 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10537 $as_echo_n "(cached) " >&6
10539 ac_check_soname_save_LIBS
=$LIBS
10540 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10550 char dbus_connection_close ();
10554 return dbus_connection_close ();
10559 if ac_fn_c_try_link
"$LINENO"; then :
10561 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10562 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10563 *) ac_cv_lib_soname_dbus_1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10564 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10565 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10569 rm -f core conftest.err conftest.
$ac_objext \
10570 conftest
$ac_exeext conftest.
$ac_ext
10571 LIBS
=$ac_check_soname_save_LIBS
10573 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10575 $as_echo "not found" >&6; }
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10579 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10581 cat >>confdefs.h
<<_ACEOF
10582 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10592 CPPFLAGS
=$ac_save_CPPFLAGS
10593 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10594 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10597 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10599 case "x$with_dbus" in
10600 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10602 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10603 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10607 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10609 if test -n "$HAL_CFLAGS"; then :
10611 elif test -n "$PKG_CONFIG"; then :
10612 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10615 if test -n "$HAL_LIBS"; then :
10617 elif test -n "$PKG_CONFIG"; then :
10618 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10621 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10622 ac_save_CPPFLAGS
=$CPPFLAGS
10623 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10624 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10625 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10627 $as_echo_n "checking for -lhal... " >&6; }
10628 if ${ac_cv_lib_soname_hal+:} false
; then :
10629 $as_echo_n "(cached) " >&6
10631 ac_check_soname_save_LIBS
=$LIBS
10632 LIBS
="-lhal $HAL_LIBS $LIBS"
10633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10642 char libhal_ctx_new ();
10646 return libhal_ctx_new ();
10651 if ac_fn_c_try_link
"$LINENO"; then :
10653 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10654 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'` ;;
10655 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10656 if test "x$ac_cv_lib_soname_hal" = x
; then :
10657 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10661 rm -f core conftest.err conftest.
$ac_objext \
10662 conftest
$ac_exeext conftest.
$ac_ext
10663 LIBS
=$ac_check_soname_save_LIBS
10665 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10667 $as_echo "not found" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10671 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10673 cat >>confdefs.h
<<_ACEOF
10674 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10684 CPPFLAGS
=$ac_save_CPPFLAGS
10685 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10686 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10688 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10689 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10690 case "x$with_hal" in
10691 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10693 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10694 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10699 if test "x$with_gnutls" != "xno"
10701 if test -n "$GNUTLS_CFLAGS"; then :
10703 elif test -n "$PKG_CONFIG"; then :
10704 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10707 if test -n "$GNUTLS_LIBS"; then :
10709 elif test -n "$PKG_CONFIG"; then :
10710 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10714 ac_save_CPPFLAGS
=$CPPFLAGS
10715 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10716 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10717 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 #include <gnutls/gnutls.h>
10721 #include <gnutls/crypto.h>
10725 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10730 if ac_fn_c_try_compile
"$LINENO"; then :
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10732 $as_echo_n "checking for -lgnutls... " >&6; }
10733 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10734 $as_echo_n "(cached) " >&6
10736 ac_check_soname_save_LIBS
=$LIBS
10737 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10747 char gnutls_global_init ();
10751 return gnutls_global_init ();
10756 if ac_fn_c_try_link
"$LINENO"; then :
10758 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10759 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10760 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10761 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10762 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10766 rm -f core conftest.err conftest.
$ac_objext \
10767 conftest
$ac_exeext conftest.
$ac_ext
10768 LIBS
=$ac_check_soname_save_LIBS
10770 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10772 $as_echo "not found" >&6; }
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10776 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10778 cat >>confdefs.h
<<_ACEOF
10779 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10791 CPPFLAGS
=$ac_save_CPPFLAGS
10792 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10793 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10796 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10797 case "x$with_gnutls" in
10798 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10800 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10801 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10806 if test "$ac_cv_header_ncurses_h" = "yes"
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10809 $as_echo_n "checking for -lncurses... " >&6; }
10810 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10813 ac_check_soname_save_LIBS
=$LIBS
10814 LIBS
="-lncurses $LIBS"
10815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10833 if ac_fn_c_try_link
"$LINENO"; then :
10835 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10836 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'` ;;
10837 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10838 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10839 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10843 rm -f core conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_soname_save_LIBS
10847 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10849 $as_echo "not found" >&6; }
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10853 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10855 cat >>confdefs.h
<<_ACEOF
10856 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10859 CURSESLIBS
="-lncurses"
10861 elif test "$ac_cv_header_curses_h" = "yes"
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10864 $as_echo_n "checking for -lcurses... " >&6; }
10865 if ${ac_cv_lib_soname_curses+:} false
; then :
10866 $as_echo_n "(cached) " >&6
10868 ac_check_soname_save_LIBS
=$LIBS
10869 LIBS
="-lcurses $LIBS"
10870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10873 /* Override any GCC internal prototype to avoid an error.
10874 Use char because int might match the return type of a GCC
10875 builtin and then its argument prototype would still apply. */
10888 if ac_fn_c_try_link
"$LINENO"; then :
10890 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10891 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'` ;;
10892 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10893 if test "x$ac_cv_lib_soname_curses" = x
; then :
10894 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10898 rm -f core conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_soname_save_LIBS
10902 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10904 $as_echo "not found" >&6; }
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10908 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10910 cat >>confdefs.h
<<_ACEOF
10911 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10914 CURSESLIBS
="-lcurses"
10917 ac_save_LIBS
="$LIBS"
10918 LIBS
="$LIBS $CURSESLIBS"
10919 for ac_func
in mousemask
10921 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10922 if test "x$ac_cv_func_mousemask" = xyes
; then :
10923 cat >>confdefs.h
<<_ACEOF
10924 #define HAVE_MOUSEMASK 1
10930 LIBS
="$ac_save_LIBS"
10931 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10932 case "x$with_curses" in
10933 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10935 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10936 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10940 if test "x$with_sane" != "xno"
10942 if test -n "$SANE_CFLAGS"; then :
10944 elif test -n "$PKG_CONFIG"; then :
10945 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10947 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10948 if test -n "$SANE_LIBS"; then :
10950 elif test -n "$PKG_CONFIG"; then :
10951 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10953 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10955 ac_save_CPPFLAGS
=$CPPFLAGS
10956 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10957 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10958 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10960 $as_echo_n "checking for -lsane... " >&6; }
10961 if ${ac_cv_lib_soname_sane+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_soname_save_LIBS
=$LIBS
10965 LIBS
="-lsane $SANE_LIBS $LIBS"
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10979 return sane_init ();
10984 if ac_fn_c_try_link
"$LINENO"; then :
10986 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10987 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'` ;;
10988 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10989 if test "x$ac_cv_lib_soname_sane" = x
; then :
10990 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10994 rm -f core conftest.err conftest.
$ac_objext \
10995 conftest
$ac_exeext conftest.
$ac_ext
10996 LIBS
=$ac_check_soname_save_LIBS
10998 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11000 $as_echo "not found" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11004 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11006 cat >>confdefs.h
<<_ACEOF
11007 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11017 CPPFLAGS
=$ac_save_CPPFLAGS
11018 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11023 case "x$with_sane" in
11024 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11026 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11027 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11031 if test "x$with_v4l" != "xno"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11034 $as_echo_n "checking for -lv4l1... " >&6; }
11035 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11036 $as_echo_n "(cached) " >&6
11038 ac_check_soname_save_LIBS
=$LIBS
11039 LIBS
="-lv4l1 $LIBS"
11040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11053 return v4l1_open ();
11058 if ac_fn_c_try_link
"$LINENO"; then :
11060 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11061 dylib
) ac_cv_lib_soname_v4l1
=`otool -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11062 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11063 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11064 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_soname_save_LIBS
11072 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11074 $as_echo "not found" >&6; }
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11078 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11080 cat >>confdefs.h
<<_ACEOF
11081 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11087 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11088 case "x$with_v4l" in
11089 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11091 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11092 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11096 if test "x$with_gphoto" != "xno"
11098 if test -n "$GPHOTO2_CFLAGS"; then :
11100 elif test -n "$PKG_CONFIG"; then :
11101 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11103 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11104 if test -n "$GPHOTO2_LIBS"; then :
11106 elif test -n "$PKG_CONFIG"; then :
11107 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11109 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11110 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11111 ac_save_CPPFLAGS
=$CPPFLAGS
11112 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11113 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11114 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11116 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11117 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11121 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11131 char gp_camera_new ();
11135 return gp_camera_new ();
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 ac_cv_lib_gphoto2_gp_camera_new
=yes
11143 ac_cv_lib_gphoto2_gp_camera_new
=no
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LIBS
=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11150 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11151 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11153 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11156 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11160 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11164 CPPFLAGS
=$ac_save_CPPFLAGS
11165 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11166 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11168 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11170 elif test -n "$PKG_CONFIG"; then :
11171 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11173 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11174 if test -n "$GPHOTO2_PORT_LIBS"; then :
11176 elif test -n "$PKG_CONFIG"; then :
11177 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11179 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11180 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11181 ac_save_CPPFLAGS
=$CPPFLAGS
11182 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11183 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11184 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11186 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11187 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11188 $as_echo_n "(cached) " >&6
11190 ac_check_lib_save_LIBS
=$LIBS
11191 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11201 char gp_port_info_list_new ();
11205 return gp_port_info_list_new ();
11210 if ac_fn_c_try_link
"$LINENO"; then :
11211 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11213 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11215 rm -f core conftest.err conftest.
$ac_objext \
11216 conftest
$ac_exeext conftest.
$ac_ext
11217 LIBS
=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11220 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11221 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11223 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11226 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11230 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11234 CPPFLAGS
=$ac_save_CPPFLAGS
11235 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11236 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11239 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11240 case "x$with_gphoto" in
11241 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11243 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11244 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11247 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11248 case "x$with_gphoto" in
11249 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11251 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11252 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11257 if test "$ac_cv_header_resolv_h" = "yes"
11259 ac_save_LIBS
="$LIBS"
11260 for lib
in '' -lresolv
11262 LIBS
="$lib $ac_save_LIBS"
11263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 #ifdef HAVE_NETINET_IN_H
11266 #include <netinet/in.h>
11268 #include <resolv.h>
11272 res_query("foo",ns_c_in,0,0,0);
11277 if ac_fn_c_try_link
"$LINENO"; then :
11279 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11284 rm -f core conftest.err conftest.
$ac_objext \
11285 conftest
$ac_exeext conftest.
$ac_ext
11286 if test "${RESOLVLIBS+set}" = set; then
11290 LIBS
="$ac_save_LIBS"
11293 if test "x$with_lcms2" != "xno"
11295 if test -n "$LCMS2_CFLAGS"; then :
11297 elif test -n "$PKG_CONFIG"; then :
11298 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11301 if test -n "$LCMS2_LIBS"; then :
11303 elif test -n "$PKG_CONFIG"; then :
11304 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11307 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11308 ac_save_CPPFLAGS
=$CPPFLAGS
11309 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11310 for ac_header
in lcms2.h
11312 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11313 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11314 cat >>confdefs.h
<<_ACEOF
11315 #define HAVE_LCMS2_H 1
11322 if test "$ac_cv_header_lcms2_h" = "yes"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11325 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11326 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11327 $as_echo_n "(cached) " >&6
11329 ac_check_lib_save_LIBS
=$LIBS
11330 LIBS
="-llcms2 $LIBS"
11331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11340 char cmsOpenProfileFromFile ();
11344 return cmsOpenProfileFromFile ();
11349 if ac_fn_c_try_link
"$LINENO"; then :
11350 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11352 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11354 rm -f core conftest.err conftest.
$ac_objext \
11355 conftest
$ac_exeext conftest.
$ac_ext
11356 LIBS
=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11359 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11360 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11362 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11372 CPPFLAGS
=$ac_save_CPPFLAGS
11373 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11374 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11377 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11378 case "x$with_cms" in
11379 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11381 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11382 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11386 if test "x$with_freetype" != "xno"
11388 if test -n "$FREETYPE_CFLAGS"; then :
11390 elif test -n "$PKG_CONFIG"; then :
11391 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11393 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11394 if test -n "$FREETYPE_LIBS"; then :
11396 elif test -n "$PKG_CONFIG"; then :
11397 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11399 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11400 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11401 ac_save_CPPFLAGS
=$CPPFLAGS
11402 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11404 $as_echo_n "checking for -lfreetype... " >&6; }
11405 if ${ac_cv_lib_soname_freetype+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 ac_check_soname_save_LIBS
=$LIBS
11409 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11419 char FT_Init_FreeType ();
11423 return FT_Init_FreeType ();
11428 if ac_fn_c_try_link
"$LINENO"; then :
11430 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11434 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11438 rm -f core conftest.err conftest.
$ac_objext \
11439 conftest
$ac_exeext conftest.
$ac_ext
11440 LIBS
=$ac_check_soname_save_LIBS
11442 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11448 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11450 cat >>confdefs.h
<<_ACEOF
11451 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11456 if test "$ft_lib" = "yes"
11458 for ac_header
in ft2build.h \
11459 freetype
/freetype.h \
11460 freetype
/ftglyph.h \
11461 freetype
/fttypes.h \
11462 freetype
/tttables.h \
11463 freetype
/ftsnames.h \
11464 freetype
/ttnameid.h \
11465 freetype
/ftoutln.h \
11466 freetype
/ftwinfnt.h \
11467 freetype
/ftmodapi.h \
11468 freetype
/ftlcdfil.h
11470 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11471 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11472 # include <ft2build.h>
11475 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11476 cat >>confdefs.h
<<_ACEOF
11477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11486 #include <ft2build.h>
11487 #include <freetype/fttrigon.h>
11489 if ac_fn_c_try_cpp
"$LINENO"; then :
11491 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11493 wine_cv_fttrigon
=yes
11495 wine_cv_fttrigon
=no
11497 rm -f conftest.err conftest.i conftest.
$ac_ext
11498 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11500 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11502 cat >>confdefs.h
<<_ACEOF
11503 #define HAVE_FT_TRUETYPEENGINETYPE 1
11509 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11512 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11520 CPPFLAGS
=$ac_save_CPPFLAGS
11521 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11522 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11525 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11526 case "x$with_freetype" in
11528 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11529 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11532 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11535 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11536 if ${ac_cv_c_ppdev+:} false
; then :
11537 $as_echo_n "(cached) " >&6
11539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 #ifdef HAVE_SYS_IOCTL_H
11542 # include <sys/ioctl.h>
11544 #include <linux/ppdev.h>
11548 ioctl (1,PPCLAIM,0)
11553 if ac_fn_c_try_compile
"$LINENO"; then :
11554 ac_cv_c_ppdev
="yes"
11558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11561 $as_echo "$ac_cv_c_ppdev" >&6; }
11562 if test "$ac_cv_c_ppdev" = "yes"
11565 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11569 ac_wine_check_funcs_save_LIBS
="$LIBS"
11570 LIBS
="$LIBS $LIBPTHREAD"
11572 pthread_attr_get_np \
11573 pthread_getattr_np \
11574 pthread_getthreadid_np \
11575 pthread_get_stackaddr_np \
11576 pthread_get_stacksize_np
11578 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11579 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11580 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11581 cat >>confdefs.h
<<_ACEOF
11582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11588 LIBS
="$ac_wine_check_funcs_save_LIBS"
11590 if test "$ac_cv_header_zlib_h" = "yes"
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11593 $as_echo_n "checking for inflate in -lz... " >&6; }
11594 if ${ac_cv_lib_z_inflate+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 ac_check_lib_save_LIBS
=$LIBS
11599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11617 if ac_fn_c_try_link
"$LINENO"; then :
11618 ac_cv_lib_z_inflate
=yes
11620 ac_cv_lib_z_inflate
=no
11622 rm -f core conftest.err conftest.
$ac_objext \
11623 conftest
$ac_exeext conftest.
$ac_ext
11624 LIBS
=$ac_check_lib_save_LIBS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11627 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11628 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11630 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11637 if test "x$ZLIB" = "x"; then :
11638 case "x$with_zlib" in
11639 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11641 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11642 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11646 if test "x$enable_tools" != xno
11648 if test "$ac_cv_header_gettext_po_h" = "yes"
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11651 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11652 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11653 $as_echo_n "(cached) " >&6
11655 ac_check_lib_save_LIBS
=$LIBS
11656 LIBS
="-lgettextpo $LIBS"
11657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11666 char po_message_msgctxt ();
11670 return po_message_msgctxt ();
11675 if ac_fn_c_try_link
"$LINENO"; then :
11676 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11678 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11680 rm -f core conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LIBS
=$ac_check_lib_save_LIBS
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11685 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11686 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11688 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11690 LIBGETTEXTPO
="-lgettextpo"
11695 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11696 case "x$with_gettextpo" in
11697 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11699 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11700 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11705 if test "x$with_gstreamer" != "xno"
11707 if test -n "$GSTREAMER_CFLAGS"; then :
11709 elif test -n "$PKG_CONFIG"; then :
11710 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11713 if test -n "$GSTREAMER_LIBS"; then :
11715 elif test -n "$PKG_CONFIG"; then :
11716 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11720 ac_save_CPPFLAGS
=$CPPFLAGS
11721 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11723 for i
in $GSTREAMER_CFLAGS
11726 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11729 GSTREAMER_CFLAGS
=$ac_gst_incl
11730 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11731 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11732 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11733 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11734 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11736 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11739 #include <gst/app/gstappsink.h>
11743 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11748 if ac_fn_c_try_compile
"$LINENO"; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11752 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11753 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11754 $as_echo_n "(cached) " >&6
11756 ac_check_lib_save_LIBS
=$LIBS
11757 LIBS
="-lgstreamer-0.10 $LIBS"
11758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11767 char gst_pad_get_caps_reffed ();
11771 return gst_pad_get_caps_reffed ();
11776 if ac_fn_c_try_link
"$LINENO"; then :
11777 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11779 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11781 rm -f core conftest.err conftest.
$ac_objext \
11782 conftest
$ac_exeext conftest.
$ac_ext
11783 LIBS
=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11786 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11787 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11789 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11790 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11791 $as_echo_n "(cached) " >&6
11793 ac_check_lib_save_LIBS
=$LIBS
11794 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11804 char gst_app_buffer_new ();
11808 return gst_app_buffer_new ();
11813 if ac_fn_c_try_link
"$LINENO"; then :
11814 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11816 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11818 rm -f core conftest.err conftest.
$ac_objext \
11819 conftest
$ac_exeext conftest.
$ac_ext
11820 LIBS
=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11823 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11824 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11839 GSTREAMER_CFLAGS
=""
11843 CPPFLAGS
=$ac_save_CPPFLAGS
11844 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11845 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11848 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11849 case "x$with_gstreamer" in
11850 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11852 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11853 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11856 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11860 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11863 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11864 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11865 $as_echo_n "(cached) " >&6
11867 ac_check_lib_save_LIBS
=$LIBS
11868 LIBS
="-lasound $LIBS"
11869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11878 char snd_pcm_hw_params_get_access_mask ();
11882 return snd_pcm_hw_params_get_access_mask ();
11887 if ac_fn_c_try_link
"$LINENO"; then :
11888 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11890 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11892 rm -f core conftest.err conftest.
$ac_objext \
11893 conftest
$ac_exeext conftest.
$ac_ext
11894 LIBS
=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11897 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11898 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef HAVE_ALSA_ASOUNDLIB_H
11902 #include <alsa/asoundlib.h>
11903 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11904 #include <sys/asoundlib.h>
11909 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11914 if ac_fn_c_try_compile
"$LINENO"; then :
11915 ALSALIBS
="-lasound"
11917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11922 if test "x$with_oss" != xno
11924 ac_save_CPPFLAGS
="$CPPFLAGS"
11925 if test -f /etc
/oss.conf
11929 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11930 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11931 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11932 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11933 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11935 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11937 cat >>confdefs.h
<<_ACEOF
11938 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11941 OSS4INCL
="$ac_oss_incl"
11948 CPPFLAGS
="$ac_save_CPPFLAGS"
11949 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11951 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11955 if test "x$with_capi" != "xno"
11957 if test -n "$CAPI20_CFLAGS"; then :
11959 elif test -n "$PKG_CONFIG"; then :
11960 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11963 if test -n "$CAPI20_LIBS"; then :
11965 elif test -n "$PKG_CONFIG"; then :
11966 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11970 ac_save_CPPFLAGS
=$CPPFLAGS
11971 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11972 for ac_header
in capi20.h linux
/capi.h
11974 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11975 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11977 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11978 cat >>confdefs.h
<<_ACEOF
11979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11986 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11989 $as_echo_n "checking for -lcapi20... " >&6; }
11990 if ${ac_cv_lib_soname_capi20+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 ac_check_soname_save_LIBS
=$LIBS
11994 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
11995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12004 char capi20_register ();
12008 return capi20_register ();
12013 if ac_fn_c_try_link
"$LINENO"; then :
12015 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12016 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'` ;;
12017 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12018 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12019 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12023 rm -f core conftest.err conftest.
$ac_objext \
12024 conftest
$ac_exeext conftest.
$ac_ext
12025 LIBS
=$ac_check_soname_save_LIBS
12027 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12033 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12035 cat >>confdefs.h
<<_ACEOF
12036 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12042 CPPFLAGS
=$ac_save_CPPFLAGS
12043 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12044 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12047 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12048 case "x$with_capi" in
12049 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12051 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12052 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12058 if test "x$with_cups" != "xno"
12060 ac_save_CPPFLAGS
="$CPPFLAGS"
12061 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12062 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12063 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12064 for ac_header
in cups
/cups.h
12066 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12067 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12068 cat >>confdefs.h
<<_ACEOF
12069 #define HAVE_CUPS_CUPS_H 1
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12072 $as_echo_n "checking for -lcups... " >&6; }
12073 if ${ac_cv_lib_soname_cups+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 ac_check_soname_save_LIBS
=$LIBS
12077 LIBS
="-lcups $ac_cups_libs $LIBS"
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12087 char cupsGetDefault ();
12091 return cupsGetDefault ();
12096 if ac_fn_c_try_link
"$LINENO"; then :
12098 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if test "x$ac_cv_lib_soname_cups" = x
; then :
12102 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12106 rm -f core conftest.err conftest.
$ac_objext \
12107 conftest
$ac_exeext conftest.
$ac_ext
12108 LIBS
=$ac_check_soname_save_LIBS
12110 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12112 $as_echo "not found" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12116 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12118 cat >>confdefs.h
<<_ACEOF
12119 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12122 CUPSINCL
="$ac_cups_cflags"
12128 CPPFLAGS
="$ac_save_CPPFLAGS"
12130 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12131 case "x$with_cups" in
12132 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12134 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12135 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12139 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12142 $as_echo_n "checking for -lfontconfig... " >&6; }
12143 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12144 $as_echo_n "(cached) " >&6
12146 ac_check_soname_save_LIBS
=$LIBS
12147 LIBS
="-lfontconfig $LIBS"
12148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12166 if ac_fn_c_try_link
"$LINENO"; then :
12168 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12169 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'` ;;
12170 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12171 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12172 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12176 rm -f core conftest.err conftest.
$ac_objext \
12177 conftest
$ac_exeext conftest.
$ac_ext
12178 LIBS
=$ac_check_soname_save_LIBS
12180 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12182 $as_echo "not found" >&6; }
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12186 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12188 cat >>confdefs.h
<<_ACEOF
12189 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12194 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12196 ac_save_CPPFLAGS
="$CPPFLAGS"
12197 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12198 $as_unset ac_cv_header_fontconfig_fontconfig_h
12199 for ac_header
in fontconfig
/fontconfig.h
12201 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12202 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12203 cat >>confdefs.h
<<_ACEOF
12204 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12211 CPPFLAGS
="$ac_save_CPPFLAGS"
12212 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12214 FONTCONFIGINCL
="$X_CFLAGS"
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12217 $as_echo_n "checking for -lfontconfig... " >&6; }
12218 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12219 $as_echo_n "(cached) " >&6
12221 ac_check_soname_save_LIBS
=$LIBS
12222 LIBS
="-lfontconfig $X_LIBS $LIBS"
12223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12241 if ac_fn_c_try_link
"$LINENO"; then :
12243 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12244 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'` ;;
12245 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12246 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12247 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 LIBS
=$ac_check_soname_save_LIBS
12255 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12257 $as_echo "not found" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12261 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12263 cat >>confdefs.h
<<_ACEOF
12264 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12271 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12272 case "x$with_fontconfig" in
12273 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12275 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12276 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12280 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12283 $as_echo_n "checking for -lgsm... " >&6; }
12284 if ${ac_cv_lib_soname_gsm+:} false
; then :
12285 $as_echo_n "(cached) " >&6
12287 ac_check_soname_save_LIBS
=$LIBS
12289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12298 char gsm_create ();
12302 return gsm_create ();
12307 if ac_fn_c_try_link
"$LINENO"; then :
12309 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12310 dylib
) ac_cv_lib_soname_gsm
=`otool -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12311 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12312 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12313 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 rm -f core conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 LIBS
=$ac_check_soname_save_LIBS
12321 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12323 $as_echo "not found" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12327 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12329 cat >>confdefs.h
<<_ACEOF
12330 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12336 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12337 case "x$with_gsm" in
12338 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12340 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12341 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12345 if test "x$with_jpeg" != "xno"
12347 if test -n "$JPEG_CFLAGS"; then :
12349 elif test -n "$PKG_CONFIG"; then :
12350 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12353 if test -n "$JPEG_LIBS"; then :
12355 elif test -n "$PKG_CONFIG"; then :
12356 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12360 ac_save_CPPFLAGS
=$CPPFLAGS
12361 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12362 for ac_header
in jpeglib.h
12364 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12365 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12366 cat >>confdefs.h
<<_ACEOF
12367 #define HAVE_JPEGLIB_H 1
12374 if test "$ac_cv_header_jpeglib_h" = "yes"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12377 $as_echo_n "checking for -ljpeg... " >&6; }
12378 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 ac_check_soname_save_LIBS
=$LIBS
12382 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12392 char jpeg_start_decompress ();
12396 return jpeg_start_decompress ();
12401 if ac_fn_c_try_link
"$LINENO"; then :
12403 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12407 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12411 rm -f core conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12413 LIBS
=$ac_check_soname_save_LIBS
12415 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12421 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12423 cat >>confdefs.h
<<_ACEOF
12424 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12432 CPPFLAGS
=$ac_save_CPPFLAGS
12433 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12434 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12437 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12438 case "x$with_jpeg" in
12439 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12441 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12442 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12446 if test "x$with_png" != "xno"
12448 if test -n "$PNG_CFLAGS"; then :
12450 elif test -n "$PKG_CONFIG"; then :
12451 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12453 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12454 if test -n "$PNG_LIBS"; then :
12456 elif test -n "$PKG_CONFIG"; then :
12457 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12459 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12461 ac_save_CPPFLAGS
=$CPPFLAGS
12462 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12463 for ac_header
in png.h
12465 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_png_h" = xyes
; then :
12467 cat >>confdefs.h
<<_ACEOF
12468 #define HAVE_PNG_H 1
12475 if test "$ac_cv_header_png_h" = "yes"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12478 $as_echo_n "checking for -lpng... " >&6; }
12479 if ${ac_cv_lib_soname_png+:} false
; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_check_soname_save_LIBS
=$LIBS
12483 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12493 char png_create_read_struct ();
12497 return png_create_read_struct ();
12502 if ac_fn_c_try_link
"$LINENO"; then :
12504 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12505 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'` ;;
12506 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12507 if test "x$ac_cv_lib_soname_png" = x
; then :
12508 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 rm -f core conftest.err conftest.
$ac_objext \
12513 conftest
$ac_exeext conftest.
$ac_ext
12514 LIBS
=$ac_check_soname_save_LIBS
12516 if test "x$ac_cv_lib_soname_png" = "x"; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12522 $as_echo "$ac_cv_lib_soname_png" >&6; }
12524 cat >>confdefs.h
<<_ACEOF
12525 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12534 typeof(png_set_expand_gray_1_2_4_to_8) *p
12539 if ac_fn_c_try_compile
"$LINENO"; then :
12541 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12549 CPPFLAGS
=$ac_save_CPPFLAGS
12550 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12551 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12554 if test "x$ac_cv_lib_soname_png" = "x"; then :
12555 case "x$with_png" in
12556 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12558 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12559 This is an error since --with-png was requested." "$LINENO" 5 ;;
12563 if test "x$with_tiff" != "xno"
12565 if test -n "$TIFF_CFLAGS"; then :
12567 elif test -n "$PKG_CONFIG"; then :
12568 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12571 if test -n "$TIFF_LIBS"; then :
12573 elif test -n "$PKG_CONFIG"; then :
12574 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12578 ac_save_CPPFLAGS
=$CPPFLAGS
12579 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12580 for ac_header
in tiffio.h
12582 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12583 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12584 cat >>confdefs.h
<<_ACEOF
12585 #define HAVE_TIFFIO_H 1
12592 if test "$ac_cv_header_tiffio_h" = "yes"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12595 $as_echo_n "checking for -ltiff... " >&6; }
12596 if ${ac_cv_lib_soname_tiff+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 ac_check_soname_save_LIBS
=$LIBS
12600 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12610 char TIFFClientOpen ();
12614 return TIFFClientOpen ();
12619 if ac_fn_c_try_link
"$LINENO"; then :
12621 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12622 dylib
) ac_cv_lib_soname_tiff
=`otool -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12623 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12624 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12625 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12629 rm -f core conftest.err conftest.
$ac_objext \
12630 conftest
$ac_exeext conftest.
$ac_ext
12631 LIBS
=$ac_check_soname_save_LIBS
12633 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12635 $as_echo "not found" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12639 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12641 cat >>confdefs.h
<<_ACEOF
12642 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12648 CPPFLAGS
=$ac_save_CPPFLAGS
12649 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12650 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12653 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12654 case "x$with_tiff" in
12655 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12657 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12658 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12662 if test "x$with_mpg123" != "xno"
12664 if test -n "$MPG123_CFLAGS"; then :
12666 elif test -n "$PKG_CONFIG"; then :
12667 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12670 if test -n "$MPG123_LIBS"; then :
12672 elif test -n "$PKG_CONFIG"; then :
12673 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12676 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12677 ac_save_CPPFLAGS
=$CPPFLAGS
12678 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12679 for ac_header
in mpg123.h
12681 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12682 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12683 cat >>confdefs.h
<<_ACEOF
12684 #define HAVE_MPG123_H 1
12691 if test "$ac_cv_header_mpg123_h" = "yes"
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12694 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12695 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12696 $as_echo_n "(cached) " >&6
12698 ac_check_lib_save_LIBS
=$LIBS
12699 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12709 char mpg123_feed ();
12713 return mpg123_feed ();
12718 if ac_fn_c_try_link
"$LINENO"; then :
12719 ac_cv_lib_mpg123_mpg123_feed
=yes
12721 ac_cv_lib_mpg123_mpg123_feed
=no
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12728 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12729 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12739 CPPFLAGS
=$ac_save_CPPFLAGS
12740 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12741 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12744 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12745 case "x$with_mpg123" in
12746 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12748 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12749 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12752 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
12754 if test "$ac_cv_header_AL_al_h" = "yes"
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12757 $as_echo_n "checking for -lopenal... " >&6; }
12758 if ${ac_cv_lib_soname_openal+:} false
; then :
12759 $as_echo_n "(cached) " >&6
12761 ac_check_soname_save_LIBS
=$LIBS
12762 LIBS
="-lopenal $LIBS"
12763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12772 char alGetSource3i ();
12776 return alGetSource3i ();
12781 if ac_fn_c_try_link
"$LINENO"; then :
12783 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12784 dylib
) ac_cv_lib_soname_openal
=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12785 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12786 if test "x$ac_cv_lib_soname_openal" = x
; then :
12787 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12791 rm -f core conftest.err conftest.
$ac_objext \
12792 conftest
$ac_exeext conftest.
$ac_ext
12793 LIBS
=$ac_check_soname_save_LIBS
12795 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12797 $as_echo "not found" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12801 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12803 cat >>confdefs.h
<<_ACEOF
12804 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12807 LIBOPENAL
="-lopenal"
12809 ac_cv_lib_openal
=yes
12811 cat >>confdefs.h
<<_ACEOF
12812 #define HAVE_OPENAL 1
12817 if test "x$ac_cv_lib_openal" != xyes
; then :
12818 case "x$with_openal" in
12819 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12821 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12822 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12825 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12827 if test "$ac_cv_header_kstat_h" = "yes"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12830 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12831 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12832 $as_echo_n "(cached) " >&6
12834 ac_check_lib_save_LIBS
=$LIBS
12835 LIBS
="-lkstat $LIBS"
12836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12845 char kstat_open ();
12849 return kstat_open ();
12854 if ac_fn_c_try_link
"$LINENO"; then :
12855 ac_cv_lib_kstat_kstat_open
=yes
12857 ac_cv_lib_kstat_kstat_open
=no
12859 rm -f core conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12861 LIBS
=$ac_check_lib_save_LIBS
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12864 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12865 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12867 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12875 if test "$ac_cv_header_libprocstat_h" = "yes"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12878 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12879 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12880 $as_echo_n "(cached) " >&6
12882 ac_check_lib_save_LIBS
=$LIBS
12883 LIBS
="-lprocstat $LIBS"
12884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12893 char procstat_open_sysctl ();
12897 return procstat_open_sysctl ();
12902 if ac_fn_c_try_link
"$LINENO"; then :
12903 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12905 ac_cv_lib_procstat_procstat_open_sysctl
=no
12907 rm -f core conftest.err conftest.
$ac_objext \
12908 conftest
$ac_exeext conftest.
$ac_ext
12909 LIBS
=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12912 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12913 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12915 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12917 LIBPROCSTAT
="-lprocstat"
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12924 $as_echo_n "checking for -lodbc... " >&6; }
12925 if ${ac_cv_lib_soname_odbc+:} false
; then :
12926 $as_echo_n "(cached) " >&6
12928 ac_check_soname_save_LIBS
=$LIBS
12929 LIBS
="-lodbc $LIBS"
12930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12939 char SQLConnect ();
12943 return SQLConnect ();
12948 if ac_fn_c_try_link
"$LINENO"; then :
12950 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12951 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'` ;;
12952 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12953 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12954 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12958 rm -f core conftest.err conftest.
$ac_objext \
12959 conftest
$ac_exeext conftest.
$ac_ext
12960 LIBS
=$ac_check_soname_save_LIBS
12962 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12964 $as_echo "not found" >&6; }
12965 cat >>confdefs.h
<<_ACEOF
12966 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12971 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12973 cat >>confdefs.h
<<_ACEOF
12974 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12980 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12981 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12982 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12983 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12985 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12986 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12987 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12989 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12995 if test "x${GCC}" = "xyes"
12997 EXTRACFLAGS
="-Wall -pipe"
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13000 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13001 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13002 $as_echo_n "(cached) " >&6
13004 if test "$cross_compiling" = yes; then :
13005 ac_cv_c_gcc_strength_bug
="yes"
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13009 int L[4] = {0,1,2,3};
13013 static int Array[3];
13014 unsigned int B = 3;
13016 for(i=0; i<B; i++) Array[i] = i - 3;
13017 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13019 return (Array[1] != -2 || L[2] != 3)
13024 if ac_fn_c_try_run
"$LINENO"; then :
13025 ac_cv_c_gcc_strength_bug
="no"
13027 ac_cv_c_gcc_strength_bug
="yes"
13029 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13030 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13035 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13036 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13038 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13042 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13043 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 ac_wine_try_cflags_saved
=$CFLAGS
13047 CFLAGS
="$CFLAGS -fno-builtin"
13048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050 int main(int argc, char **argv) { return 0; }
13052 if ac_fn_c_try_link
"$LINENO"; then :
13053 ac_cv_cflags__fno_builtin
=yes
13055 ac_cv_cflags__fno_builtin
=no
13057 rm -f core conftest.err conftest.
$ac_objext \
13058 conftest
$ac_exeext conftest.
$ac_ext
13059 CFLAGS
=$ac_wine_try_cflags_saved
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13062 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13063 if test $ac_cv_cflags__fno_builtin = yes; then :
13064 BUILTINFLAG
="-fno-builtin"
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13068 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13069 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13070 $as_echo_n "(cached) " >&6
13072 ac_wine_try_cflags_saved
=$CFLAGS
13073 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13076 int main(int argc, char **argv) { return 0; }
13078 if ac_fn_c_try_link
"$LINENO"; then :
13079 ac_cv_cflags__fno_strict_aliasing
=yes
13081 ac_cv_cflags__fno_strict_aliasing
=no
13083 rm -f core conftest.err conftest.
$ac_objext \
13084 conftest
$ac_exeext conftest.
$ac_ext
13085 CFLAGS
=$ac_wine_try_cflags_saved
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13088 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13089 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13090 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13092 saved_CFLAGS
=$CFLAGS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13094 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13095 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13096 $as_echo_n "(cached) " >&6
13098 ac_wine_try_cflags_saved
=$CFLAGS
13099 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13102 int main(int argc, char **argv) { return 0; }
13104 if ac_fn_c_try_link
"$LINENO"; then :
13105 ac_cv_cflags__Werror_unknown_warning_option
=yes
13107 ac_cv_cflags__Werror_unknown_warning_option
=no
13109 rm -f core conftest.err conftest.
$ac_objext \
13110 conftest
$ac_exeext conftest.
$ac_ext
13111 CFLAGS
=$ac_wine_try_cflags_saved
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13114 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13115 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13116 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13119 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13120 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 ac_wine_try_cflags_saved
=$CFLAGS
13124 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13127 int main(int argc, char **argv) { return 0; }
13129 if ac_fn_c_try_link
"$LINENO"; then :
13130 ac_cv_cflags__Wdeclaration_after_statement
=yes
13132 ac_cv_cflags__Wdeclaration_after_statement
=no
13134 rm -f core conftest.err conftest.
$ac_objext \
13135 conftest
$ac_exeext conftest.
$ac_ext
13136 CFLAGS
=$ac_wine_try_cflags_saved
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13139 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13140 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13141 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13144 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13145 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13146 $as_echo_n "(cached) " >&6
13148 ac_wine_try_cflags_saved
=$CFLAGS
13149 CFLAGS
="$CFLAGS -Wempty-body"
13150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13152 int main(int argc, char **argv) { return 0; }
13154 if ac_fn_c_try_link
"$LINENO"; then :
13155 ac_cv_cflags__Wempty_body
=yes
13157 ac_cv_cflags__Wempty_body
=no
13159 rm -f core conftest.err conftest.
$ac_objext \
13160 conftest
$ac_exeext conftest.
$ac_ext
13161 CFLAGS
=$ac_wine_try_cflags_saved
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13164 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13165 if test $ac_cv_cflags__Wempty_body = yes; then :
13166 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13169 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13170 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13171 $as_echo_n "(cached) " >&6
13173 ac_wine_try_cflags_saved
=$CFLAGS
13174 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13177 int main(int argc, char **argv) { return 0; }
13179 if ac_fn_c_try_link
"$LINENO"; then :
13180 ac_cv_cflags__Wignored_qualifiers
=yes
13182 ac_cv_cflags__Wignored_qualifiers
=no
13184 rm -f core conftest.err conftest.
$ac_objext \
13185 conftest
$ac_exeext conftest.
$ac_ext
13186 CFLAGS
=$ac_wine_try_cflags_saved
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13189 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13190 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13191 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13194 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13195 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13196 $as_echo_n "(cached) " >&6
13198 ac_wine_try_cflags_saved
=$CFLAGS
13199 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 int main(int argc, char **argv) { return 0; }
13204 if ac_fn_c_try_link
"$LINENO"; then :
13205 ac_cv_cflags__Wstrict_prototypes
=yes
13207 ac_cv_cflags__Wstrict_prototypes
=no
13209 rm -f core conftest.err conftest.
$ac_objext \
13210 conftest
$ac_exeext conftest.
$ac_ext
13211 CFLAGS
=$ac_wine_try_cflags_saved
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13214 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13215 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13216 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13219 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13220 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13221 $as_echo_n "(cached) " >&6
13223 ac_wine_try_cflags_saved
=$CFLAGS
13224 CFLAGS
="$CFLAGS -Wtype-limits"
13225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13227 int main(int argc, char **argv) { return 0; }
13229 if ac_fn_c_try_link
"$LINENO"; then :
13230 ac_cv_cflags__Wtype_limits
=yes
13232 ac_cv_cflags__Wtype_limits
=no
13234 rm -f core conftest.err conftest.
$ac_objext \
13235 conftest
$ac_exeext conftest.
$ac_ext
13236 CFLAGS
=$ac_wine_try_cflags_saved
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13239 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13240 if test $ac_cv_cflags__Wtype_limits = yes; then :
13241 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13244 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13245 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13246 $as_echo_n "(cached) " >&6
13248 ac_wine_try_cflags_saved
=$CFLAGS
13249 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13252 int main(int argc, char **argv) { return 0; }
13254 if ac_fn_c_try_link
"$LINENO"; then :
13255 ac_cv_cflags__Wunused_but_set_parameter
=yes
13257 ac_cv_cflags__Wunused_but_set_parameter
=no
13259 rm -f core conftest.err conftest.
$ac_objext \
13260 conftest
$ac_exeext conftest.
$ac_ext
13261 CFLAGS
=$ac_wine_try_cflags_saved
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13264 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13265 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13266 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13269 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13270 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13271 $as_echo_n "(cached) " >&6
13273 ac_wine_try_cflags_saved
=$CFLAGS
13274 CFLAGS
="$CFLAGS -Wwrite-strings"
13275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13277 int main(int argc, char **argv) { return 0; }
13279 if ac_fn_c_try_link
"$LINENO"; then :
13280 ac_cv_cflags__Wwrite_strings
=yes
13282 ac_cv_cflags__Wwrite_strings
=no
13284 rm -f core conftest.err conftest.
$ac_objext \
13285 conftest
$ac_exeext conftest.
$ac_ext
13286 CFLAGS
=$ac_wine_try_cflags_saved
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13289 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13290 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13291 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13295 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13296 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13297 $as_echo_n "(cached) " >&6
13299 ac_wine_try_cflags_saved
=$CFLAGS
13300 CFLAGS
="$CFLAGS -Wpointer-arith"
13301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13303 int main(int argc, char **argv) { return 0; }
13305 if ac_fn_c_try_link
"$LINENO"; then :
13306 ac_cv_cflags__Wpointer_arith
=yes
13308 ac_cv_cflags__Wpointer_arith
=no
13310 rm -f core conftest.err conftest.
$ac_objext \
13311 conftest
$ac_exeext conftest.
$ac_ext
13312 CFLAGS
=$ac_wine_try_cflags_saved
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13315 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13316 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13317 saved_string_h_CFLAGS
=$CFLAGS
13318 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13320 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13321 if ${ac_cv_c_string_h_warnings+:} false
; then :
13322 $as_echo_n "(cached) " >&6
13324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13326 #include <string.h>
13335 if ac_fn_c_try_compile
"$LINENO"; then :
13336 ac_cv_c_string_h_warnings
=no
13338 ac_cv_c_string_h_warnings
=yes
13340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13343 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13344 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13345 CFLAGS
=$saved_string_h_CFLAGS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13349 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13350 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13351 $as_echo_n "(cached) " >&6
13353 ac_wine_try_cflags_saved
=$CFLAGS
13354 CFLAGS
="$CFLAGS -Wlogical-op"
13355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13357 int main(int argc, char **argv) { return 0; }
13359 if ac_fn_c_try_link
"$LINENO"; then :
13360 ac_cv_cflags__Wlogical_op
=yes
13362 ac_cv_cflags__Wlogical_op
=no
13364 rm -f core conftest.err conftest.
$ac_objext \
13365 conftest
$ac_exeext conftest.
$ac_ext
13366 CFLAGS
=$ac_wine_try_cflags_saved
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13369 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13370 if test $ac_cv_cflags__Wlogical_op = yes; then :
13371 saved_string_h_CFLAGS
=$CFLAGS
13372 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13374 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13375 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13376 $as_echo_n "(cached) " >&6
13378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13380 #include <string.h>
13381 char*f(const char *h,char n) {return strchr(h,n);}
13390 if ac_fn_c_try_compile
"$LINENO"; then :
13391 ac_cv_c_logicalop_noisy
=no
13393 ac_cv_c_logicalop_noisy
=yes
13395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13398 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13399 CFLAGS
=$saved_string_h_CFLAGS
13400 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13403 CFLAGS
=$saved_CFLAGS
13405 for ac_flag
in $CFLAGS; do
13407 -g) case $host_os in
13408 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13409 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13410 if ${ac_cv_cflags__gstabsp+:} false
; then :
13411 $as_echo_n "(cached) " >&6
13413 ac_wine_try_cflags_saved
=$CFLAGS
13414 CFLAGS
="$CFLAGS -gstabs+"
13415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13417 int main(int argc, char **argv) { return 0; }
13419 if ac_fn_c_try_link
"$LINENO"; then :
13420 ac_cv_cflags__gstabsp
=yes
13422 ac_cv_cflags__gstabsp
=no
13424 rm -f core conftest.err conftest.
$ac_objext \
13425 conftest
$ac_exeext conftest.
$ac_ext
13426 CFLAGS
=$ac_wine_try_cflags_saved
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13429 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13430 if test $ac_cv_cflags__gstabsp = yes; then :
13431 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13433 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13434 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13435 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 ac_wine_try_cflags_saved
=$CFLAGS
13439 CFLAGS
="$CFLAGS -gdwarf-2"
13440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 int main(int argc, char **argv) { return 0; }
13444 if ac_fn_c_try_link
"$LINENO"; then :
13445 ac_cv_cflags__gdwarf_2
=yes
13447 ac_cv_cflags__gdwarf_2
=no
13449 rm -f core conftest.err conftest.
$ac_objext \
13450 conftest
$ac_exeext conftest.
$ac_ext
13451 CFLAGS
=$ac_wine_try_cflags_saved
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13454 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13455 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13456 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13459 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13460 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13461 $as_echo_n "(cached) " >&6
13463 ac_wine_try_cflags_saved
=$CFLAGS
13464 CFLAGS
="$CFLAGS -gstrict-dwarf"
13465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13467 int main(int argc, char **argv) { return 0; }
13469 if ac_fn_c_try_link
"$LINENO"; then :
13470 ac_cv_cflags__gstrict_dwarf
=yes
13472 ac_cv_cflags__gstrict_dwarf
=no
13474 rm -f core conftest.err conftest.
$ac_objext \
13475 conftest
$ac_exeext conftest.
$ac_ext
13476 CFLAGS
=$ac_wine_try_cflags_saved
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13479 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13480 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13481 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13488 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13489 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13490 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13491 $as_echo_n "(cached) " >&6
13493 ac_wine_try_cflags_saved
=$CFLAGS
13494 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 int main(int argc, char **argv) { return 0; }
13499 if ac_fn_c_try_link
"$LINENO"; then :
13500 ac_cv_cflags__fno_omit_frame_pointer
=yes
13502 ac_cv_cflags__fno_omit_frame_pointer
=no
13504 rm -f core conftest.err conftest.
$ac_objext \
13505 conftest
$ac_exeext conftest.
$ac_ext
13506 CFLAGS
=$ac_wine_try_cflags_saved
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13509 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13510 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13511 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13516 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13517 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13518 if ${ac_cv_cflags__Wno_format+:} false
; then :
13519 $as_echo_n "(cached) " >&6
13521 ac_wine_try_cflags_saved
=$CFLAGS
13522 CFLAGS
="$CFLAGS -Wno-format"
13523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13525 int main(int argc, char **argv) { return 0; }
13527 if ac_fn_c_try_link
"$LINENO"; then :
13528 ac_cv_cflags__Wno_format
=yes
13530 ac_cv_cflags__Wno_format
=no
13532 rm -f core conftest.err conftest.
$ac_objext \
13533 conftest
$ac_exeext conftest.
$ac_ext
13534 CFLAGS
=$ac_wine_try_cflags_saved
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13537 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13538 if test $ac_cv_cflags__Wno_format = yes; then :
13539 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13543 if test "x$enable_maintainer_mode" = "xyes"
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13546 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13547 if ${ac_cv_cflags__Werror+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 ac_wine_try_cflags_saved
=$CFLAGS
13551 CFLAGS
="$CFLAGS -Werror"
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 int main(int argc, char **argv) { return 0; }
13556 if ac_fn_c_try_link
"$LINENO"; then :
13557 ac_cv_cflags__Werror
=yes
13559 ac_cv_cflags__Werror
=no
13561 rm -f core conftest.err conftest.
$ac_objext \
13562 conftest
$ac_exeext conftest.
$ac_ext
13563 CFLAGS
=$ac_wine_try_cflags_saved
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13566 $as_echo "$ac_cv_cflags__Werror" >&6; }
13567 if test $ac_cv_cflags__Werror = yes; then :
13568 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13572 saved_CFLAGS
="$CFLAGS"
13573 CFLAGS
="$CFLAGS -Werror"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13575 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13576 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13577 $as_echo_n "(cached) " >&6
13579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13590 if ac_fn_c_try_compile
"$LINENO"; then :
13591 ac_cv_have_ms_hook_prologue
="yes"
13593 ac_cv_have_ms_hook_prologue
="no"
13595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13598 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13599 CFLAGS
="$saved_CFLAGS"
13600 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13603 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13606 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13613 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13614 if ${ac_cv_c_fortify_enabled+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <string.h>
13623 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13624 #error Fortify enabled
13630 if ac_fn_c_try_compile
"$LINENO"; then :
13631 ac_cv_c_fortify_enabled
=no
13633 ac_cv_c_fortify_enabled
=yes
13635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13638 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13639 if test "$ac_cv_c_fortify_enabled" = yes
13641 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13646 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13647 if ${ac_cv_c_extern_prefix+:} false
; then :
13648 $as_echo_n "(cached) " >&6
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 extern int ac_test;
13656 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13661 if ac_fn_c_try_link
"$LINENO"; then :
13662 ac_cv_c_extern_prefix
="yes"
13664 ac_cv_c_extern_prefix
="no"
13666 rm -f core conftest.err conftest.
$ac_objext \
13667 conftest
$ac_exeext conftest.
$ac_ext
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13670 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13675 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13676 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13677 $as_echo_n "(cached) " >&6
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13682 #define __stdcall __attribute__((__stdcall__))
13684 int __stdcall ac_test(int i) { return i; }
13688 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13693 if ac_fn_c_try_link
"$LINENO"; then :
13694 ac_cv_c_stdcall_suffix
="yes"
13696 ac_cv_c_stdcall_suffix
="no"
13698 rm -f core conftest.err conftest.
$ac_objext \
13699 conftest
$ac_exeext conftest.
$ac_ext
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13702 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13703 *) ac_cv_c_stdcall_suffix
="no" ;;
13707 if test "$ac_cv_c_extern_prefix" = "yes"
13709 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13711 asm_name_prefix
="_"
13713 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13719 if test "$ac_cv_c_stdcall_suffix" = "yes"
13721 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13724 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13730 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13731 if ${ac_cv_asm_func_def+:} false
; then :
13732 $as_echo_n "(cached) " >&6
13734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13740 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13745 if ac_fn_c_try_link
"$LINENO"; then :
13746 ac_cv_asm_func_def
=".def"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13754 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13759 if ac_fn_c_try_link
"$LINENO"; then :
13760 ac_cv_asm_func_def
=".type @function"
13762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13768 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13773 if ac_fn_c_try_link
"$LINENO"; then :
13774 ac_cv_asm_func_def
=".type 2"
13776 ac_cv_asm_func_def
="unknown"
13778 rm -f core conftest.err conftest.
$ac_objext \
13779 conftest
$ac_exeext conftest.
$ac_ext
13781 rm -f core conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13784 rm -f core conftest.err conftest.
$ac_objext \
13785 conftest
$ac_exeext conftest.
$ac_ext
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13788 $as_echo "$ac_cv_asm_func_def" >&6; }
13791 case "$ac_cv_asm_func_def" in
13793 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13795 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13797 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13799 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13801 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13803 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13805 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13807 asm_func_header
="" ;;
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13811 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13812 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13813 $as_echo_n "(cached) " >&6
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 asm(".text\n\t.long 0");
13826 if ac_fn_c_try_compile
"$LINENO"; then :
13827 ac_cv_c_asm_outside_funcs
="yes"
13829 ac_cv_c_asm_outside_funcs
="no"
13831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13834 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13837 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13838 if ${ac_cv_c_dot_previous+:} false
; then :
13839 $as_echo_n "(cached) " >&6
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13847 asm(".text\nac_test:\t.long 0\n\t.previous");
13852 if ac_fn_c_try_link
"$LINENO"; then :
13853 ac_cv_c_dot_previous
="yes"
13855 ac_cv_c_dot_previous
="no"
13857 rm -f core conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13861 $as_echo "$ac_cv_c_dot_previous" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13864 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13865 if ${ac_cv_c_cfi_support+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13879 if ac_fn_c_try_compile
"$LINENO"; then :
13880 ac_cv_c_cfi_support
="yes"
13882 ac_cv_c_cfi_support
="no"
13884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13887 $as_echo "$ac_cv_c_cfi_support" >&6; }
13889 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13890 asm_func_trailer
=""
13891 if test "$ac_cv_c_dot_previous" = "yes"
13893 asm_func_trailer
="\\n\\t.previous"
13895 if test "$ac_cv_c_cfi_support" = "yes"
13897 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13898 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13900 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13902 UNWINDFLAGS
=-fasynchronous-unwind-tables
13905 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13909 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13912 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13914 cat >>confdefs.h
<<_ACEOF
13915 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13919 cat >>confdefs.h
<<_ACEOF
13920 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13925 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13928 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13938 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13943 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13949 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13954 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13956 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13963 ac_save_CFLAGS
="$CFLAGS"
13964 CFLAGS
="$CFLAGS $BUILTINFLAG"
14042 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14043 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14044 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14045 cat >>confdefs.h
<<_ACEOF
14046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14052 CFLAGS
="$ac_save_CFLAGS"
14054 if test "$ac_cv_func_dlopen" = no
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14058 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14059 $as_echo_n "(cached) " >&6
14061 ac_check_lib_save_LIBS
=$LIBS
14063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14081 if ac_fn_c_try_link
"$LINENO"; then :
14082 ac_cv_lib_dl_dlopen
=yes
14084 ac_cv_lib_dl_dlopen
=no
14086 rm -f core conftest.err conftest.
$ac_objext \
14087 conftest
$ac_exeext conftest.
$ac_ext
14088 LIBS
=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14091 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14092 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14093 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14099 ac_wine_check_funcs_save_LIBS
="$LIBS"
14100 LIBS
="$LIBS $LIBDL"
14101 for ac_func
in dladdr
14103 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14104 if test "x$ac_cv_func_dladdr" = xyes
; then :
14105 cat >>confdefs.h
<<_ACEOF
14106 #define HAVE_DLADDR 1
14112 LIBS
="$ac_wine_check_funcs_save_LIBS"
14114 if test "$ac_cv_func_poll" = no
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14117 $as_echo_n "checking for poll in -lpoll... " >&6; }
14118 if ${ac_cv_lib_poll_poll+:} false
; then :
14119 $as_echo_n "(cached) " >&6
14121 ac_check_lib_save_LIBS
=$LIBS
14122 LIBS
="-lpoll $LIBS"
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14141 if ac_fn_c_try_link
"$LINENO"; then :
14142 ac_cv_lib_poll_poll
=yes
14144 ac_cv_lib_poll_poll
=no
14146 rm -f core conftest.err conftest.
$ac_objext \
14147 conftest
$ac_exeext conftest.
$ac_ext
14148 LIBS
=$ac_check_lib_save_LIBS
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14151 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14152 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14153 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14161 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14162 if ${ac_cv_search_gethostbyname+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14165 ac_func_search_save_LIBS
=$LIBS
14166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14169 /* Override any GCC internal prototype to avoid an error.
14170 Use char because int might match the return type of a GCC
14171 builtin and then its argument prototype would still apply. */
14175 char gethostbyname ();
14179 return gethostbyname ();
14184 for ac_lib
in '' nsl
; do
14185 if test -z "$ac_lib"; then
14186 ac_res
="none required"
14189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14191 if ac_fn_c_try_link
"$LINENO"; then :
14192 ac_cv_search_gethostbyname
=$ac_res
14194 rm -f core conftest.err conftest.
$ac_objext \
14196 if ${ac_cv_search_gethostbyname+:} false
; then :
14200 if ${ac_cv_search_gethostbyname+:} false
; then :
14203 ac_cv_search_gethostbyname
=no
14205 rm conftest.
$ac_ext
14206 LIBS
=$ac_func_search_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14209 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14210 ac_res
=$ac_cv_search_gethostbyname
14211 if test "$ac_res" != no
; then :
14212 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14218 $as_echo_n "checking for library containing connect... " >&6; }
14219 if ${ac_cv_search_connect+:} false
; then :
14220 $as_echo_n "(cached) " >&6
14222 ac_func_search_save_LIBS
=$LIBS
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 /* Override any GCC internal prototype to avoid an error.
14227 Use char because int might match the return type of a GCC
14228 builtin and then its argument prototype would still apply. */
14241 for ac_lib
in '' socket
; do
14242 if test -z "$ac_lib"; then
14243 ac_res
="none required"
14246 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14248 if ac_fn_c_try_link
"$LINENO"; then :
14249 ac_cv_search_connect
=$ac_res
14251 rm -f core conftest.err conftest.
$ac_objext \
14253 if ${ac_cv_search_connect+:} false
; then :
14257 if ${ac_cv_search_connect+:} false
; then :
14260 ac_cv_search_connect
=no
14262 rm conftest.
$ac_ext
14263 LIBS
=$ac_func_search_save_LIBS
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14266 $as_echo "$ac_cv_search_connect" >&6; }
14267 ac_res
=$ac_cv_search_connect
14268 if test "$ac_res" != no
; then :
14269 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14275 $as_echo_n "checking for library containing inet_aton... " >&6; }
14276 if ${ac_cv_search_inet_aton+:} false
; then :
14277 $as_echo_n "(cached) " >&6
14279 ac_func_search_save_LIBS
=$LIBS
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply. */
14293 return inet_aton ();
14298 for ac_lib
in '' resolv
; do
14299 if test -z "$ac_lib"; then
14300 ac_res
="none required"
14303 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14305 if ac_fn_c_try_link
"$LINENO"; then :
14306 ac_cv_search_inet_aton
=$ac_res
14308 rm -f core conftest.err conftest.
$ac_objext \
14310 if ${ac_cv_search_inet_aton+:} false
; then :
14314 if ${ac_cv_search_inet_aton+:} false
; then :
14317 ac_cv_search_inet_aton
=no
14319 rm conftest.
$ac_ext
14320 LIBS
=$ac_func_search_save_LIBS
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14323 $as_echo "$ac_cv_search_inet_aton" >&6; }
14324 ac_res
=$ac_cv_search_inet_aton
14325 if test "$ac_res" != no
; then :
14326 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14345 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14346 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14347 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14348 cat >>confdefs.h
<<_ACEOF
14349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14358 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14359 if ${ac_cv_search_clock_gettime+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 ac_func_search_save_LIBS
=$LIBS
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14372 char clock_gettime ();
14376 return clock_gettime ();
14381 for ac_lib
in '' rt
; do
14382 if test -z "$ac_lib"; then
14383 ac_res
="none required"
14386 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14388 if ac_fn_c_try_link
"$LINENO"; then :
14389 ac_cv_search_clock_gettime
=$ac_res
14391 rm -f core conftest.err conftest.
$ac_objext \
14393 if ${ac_cv_search_clock_gettime+:} false
; then :
14397 if ${ac_cv_search_clock_gettime+:} false
; then :
14400 ac_cv_search_clock_gettime
=no
14402 rm conftest.
$ac_ext
14403 LIBS
=$ac_func_search_save_LIBS
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14406 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14407 ac_res
=$ac_cv_search_clock_gettime
14408 if test "$ac_res" != no
; then :
14409 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14411 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14413 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14421 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14423 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14425 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14427 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14428 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14429 $as_echo_n "(cached) " >&6
14431 ac_check_lib_save_LIBS
=$LIBS
14432 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14442 char ldap_initialize ();
14446 return ldap_initialize ();
14451 if ac_fn_c_try_link
"$LINENO"; then :
14452 ac_cv_lib_ldap_r_ldap_initialize
=yes
14454 ac_cv_lib_ldap_r_ldap_initialize
=no
14456 rm -f core conftest.err conftest.
$ac_objext \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 LIBS
=$ac_check_lib_save_LIBS
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14461 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14462 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14464 $as_echo_n "checking for ber_init in -llber... " >&6; }
14465 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14466 $as_echo_n "(cached) " >&6
14468 ac_check_lib_save_LIBS
=$LIBS
14469 LIBS
="-llber $LIBPTHREAD $LIBS"
14470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14473 /* Override any GCC internal prototype to avoid an error.
14474 Use char because int might match the return type of a GCC
14475 builtin and then its argument prototype would still apply. */
14483 return ber_init ();
14488 if ac_fn_c_try_link
"$LINENO"; then :
14489 ac_cv_lib_lber_ber_init
=yes
14491 ac_cv_lib_lber_ber_init
=no
14493 rm -f core conftest.err conftest.
$ac_objext \
14494 conftest
$ac_exeext conftest.
$ac_ext
14495 LIBS
=$ac_check_lib_save_LIBS
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14498 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14499 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14501 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14503 LDAPLIBS
="-lldap_r -llber"
14510 ac_wine_check_funcs_save_LIBS
="$LIBS"
14511 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14513 ldap_count_references \
14514 ldap_first_reference \
14515 ldap_next_reference \
14516 ldap_parse_reference \
14517 ldap_parse_sort_control \
14518 ldap_parse_sortresponse_control \
14519 ldap_parse_vlv_control \
14520 ldap_parse_vlvresponse_control
14522 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14523 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14524 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14525 cat >>confdefs.h
<<_ACEOF
14526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14532 LIBS
="$ac_wine_check_funcs_save_LIBS"
14534 if test "x$LDAPLIBS" = "x"; then :
14535 case "x$with_ldap" in
14536 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14538 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14539 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14544 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14545 if ${wine_cv_one_arg_mkdir+:} false
; then :
14546 $as_echo_n "(cached) " >&6
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 #include <sys/stat.h>
14559 if ac_fn_c_try_compile
"$LINENO"; then :
14560 wine_cv_one_arg_mkdir
=yes
14562 wine_cv_one_arg_mkdir
=no
14564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14567 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14568 if test "$wine_cv_one_arg_mkdir" = "yes"
14571 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14576 $as_echo_n "checking for sched_setaffinity... " >&6; }
14577 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14578 $as_echo_n "(cached) " >&6
14580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 #define _GNU_SOURCE
14587 sched_setaffinity(0, 0, 0);
14592 if ac_fn_c_try_link
"$LINENO"; then :
14593 wine_cv_have_sched_setaffinity
=yes
14595 wine_cv_have_sched_setaffinity
=no
14597 rm -f core conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14601 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14602 if test "$wine_cv_have_sched_setaffinity" = "yes"
14605 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14610 $as_echo_n "checking for fallocate... " >&6; }
14611 if ${wine_cv_have_fallocate+:} false
; then :
14612 $as_echo_n "(cached) " >&6
14614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 #define _GNU_SOURCE
14621 fallocate(-1, 0, 0, 0);
14626 if ac_fn_c_try_link
"$LINENO"; then :
14627 wine_cv_have_fallocate
=yes
14629 wine_cv_have_fallocate
=no
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14635 $as_echo "$wine_cv_have_fallocate" >&6; }
14636 if test "$wine_cv_have_fallocate" = "yes"
14639 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14645 $as_echo_n "checking for inline... " >&6; }
14646 if ${ac_cv_c_inline+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14650 for ac_kw
in inline __inline__ __inline
; do
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 #ifndef __cplusplus
14655 static $ac_kw foo_t static_foo () {return 0; }
14656 $ac_kw foo_t foo () {return 0; }
14660 if ac_fn_c_try_compile
"$LINENO"; then :
14661 ac_cv_c_inline
=$ac_kw
14663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14664 test "$ac_cv_c_inline" != no
&& break
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14669 $as_echo "$ac_cv_c_inline" >&6; }
14671 case $ac_cv_c_inline in
14674 case $ac_cv_c_inline in
14676 *) ac_val
=$ac_cv_c_inline;;
14678 cat >>confdefs.h
<<_ACEOF
14679 #ifndef __cplusplus
14680 #define inline $ac_val
14686 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14687 if test "x$ac_cv_type_mode_t" = xyes
; then :
14689 cat >>confdefs.h
<<_ACEOF
14690 #define HAVE_MODE_T 1
14695 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14696 if test "x$ac_cv_type_off_t" = xyes
; then :
14698 cat >>confdefs.h
<<_ACEOF
14699 #define HAVE_OFF_T 1
14704 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14705 if test "x$ac_cv_type_pid_t" = xyes
; then :
14707 cat >>confdefs.h
<<_ACEOF
14708 #define HAVE_PID_T 1
14713 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14714 if test "x$ac_cv_type_size_t" = xyes
; then :
14716 cat >>confdefs.h
<<_ACEOF
14717 #define HAVE_SIZE_T 1
14722 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14723 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14725 cat >>confdefs.h
<<_ACEOF
14726 #define HAVE_SSIZE_T 1
14731 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14732 if test "x$ac_cv_type_long_long" = xyes
; then :
14734 cat >>confdefs.h
<<_ACEOF
14735 #define HAVE_LONG_LONG 1
14740 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14741 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14743 cat >>confdefs.h
<<_ACEOF
14744 #define HAVE_FSBLKCNT_T 1
14749 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14750 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14752 cat >>confdefs.h
<<_ACEOF
14753 #define HAVE_FSFILCNT_T 1
14759 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14760 #include <signal.h>
14762 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_SIGSET_T 1
14771 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14773 if test "x$ac_cv_type_request_sense" = xyes
; then :
14775 cat >>confdefs.h
<<_ACEOF
14776 #define HAVE_REQUEST_SENSE 1
14783 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14784 #ifdef HAVE_SYS_SOCKET_H
14785 #include <sys/socket.h>
14787 #ifdef HAVE_SYS_SOCKETVAR_H
14788 #include <sys/socketvar.h>
14790 #ifdef HAVE_NET_ROUTE_H
14791 #include <net/route.h>
14793 #ifdef HAVE_NETINET_IN_H
14794 #include <netinet/in.h>
14796 #ifdef HAVE_NETINET_IN_SYSTM_H
14797 #include <netinet/in_systm.h>
14799 #ifdef HAVE_NETINET_IP_H
14800 #include <netinet/ip.h>
14802 #ifdef HAVE_NETINET_IN_PCB_H
14803 #include <netinet/in_pcb.h>
14806 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14808 cat >>confdefs.h
<<_ACEOF
14809 #define HAVE_STRUCT_XINPGEN 1
14816 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14819 #ifdef HAVE_SYS_LINK_H
14820 #include <sys/link.h>
14823 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14825 cat >>confdefs.h
<<_ACEOF
14826 #define HAVE_STRUCT_R_DEBUG 1
14831 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14834 #ifdef HAVE_SYS_LINK_H
14835 #include <sys/link.h>
14838 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14840 cat >>confdefs.h
<<_ACEOF
14841 #define HAVE_STRUCT_LINK_MAP 1
14848 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14849 #include <linux/input.h>
14852 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14854 cat >>confdefs.h
<<_ACEOF
14855 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14863 $as_echo_n "checking for sigaddset... " >&6; }
14864 if ${wine_cv_have_sigaddset+:} false
; then :
14865 $as_echo_n "(cached) " >&6
14867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14869 #include <signal.h>
14873 sigset_t set; sigaddset(&set,SIGTERM);
14878 if ac_fn_c_try_link
"$LINENO"; then :
14879 wine_cv_have_sigaddset
=yes
14881 wine_cv_have_sigaddset
=no
14883 rm -f core conftest.err conftest.
$ac_objext \
14884 conftest
$ac_exeext conftest.
$ac_ext
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14887 $as_echo "$wine_cv_have_sigaddset" >&6; }
14888 if test "$wine_cv_have_sigaddset" = "yes"
14891 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14897 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14898 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14899 $as_echo_n "(cached) " >&6
14901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14910 struct hostent *result;
14917 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14918 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14924 if ac_fn_c_try_link
"$LINENO"; then :
14925 wine_cv_linux_gethostbyname_r_6
=yes
14927 wine_cv_linux_gethostbyname_r_6
=no
14930 rm -f core conftest.err conftest.
$ac_objext \
14931 conftest
$ac_exeext conftest.
$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14935 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14936 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14939 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14943 if test "$ac_cv_header_linux_joystick_h" = "yes"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14946 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14947 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14948 $as_echo_n "(cached) " >&6
14950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 #include <sys/ioctl.h>
14954 #include <sys/types.h>
14955 #include <linux/joystick.h>
14957 struct js_event blub;
14958 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14959 #error "no 2.2 header"
14970 if ac_fn_c_try_compile
"$LINENO"; then :
14971 wine_cv_linux_joystick_22_api
=yes
14973 wine_cv_linux_joystick_22_api
=no
14975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14979 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14980 if test "$wine_cv_linux_joystick_22_api" = "yes"
14983 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14989 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14990 #ifdef HAVE_SYS_PARAM_H
14991 # include <sys/param.h>
14993 #ifdef HAVE_SYS_MOUNT_H
14994 # include <sys/mount.h>
14996 #ifdef HAVE_SYS_VFS_H
14997 # include <sys/vfs.h>
14999 #ifdef HAVE_SYS_STATFS_H
15000 # include <sys/statfs.h>
15003 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15005 cat >>confdefs.h
<<_ACEOF
15006 #define HAVE_STRUCT_STATFS_F_BFREE 1
15011 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15012 #ifdef HAVE_SYS_PARAM_H
15013 # include <sys/param.h>
15015 #ifdef HAVE_SYS_MOUNT_H
15016 # include <sys/mount.h>
15018 #ifdef HAVE_SYS_VFS_H
15019 # include <sys/vfs.h>
15021 #ifdef HAVE_SYS_STATFS_H
15022 # include <sys/statfs.h>
15025 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15027 cat >>confdefs.h
<<_ACEOF
15028 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15033 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15034 #ifdef HAVE_SYS_PARAM_H
15035 # include <sys/param.h>
15037 #ifdef HAVE_SYS_MOUNT_H
15038 # include <sys/mount.h>
15040 #ifdef HAVE_SYS_VFS_H
15041 # include <sys/vfs.h>
15043 #ifdef HAVE_SYS_STATFS_H
15044 # include <sys/statfs.h>
15047 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15049 cat >>confdefs.h
<<_ACEOF
15050 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15055 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15056 #ifdef HAVE_SYS_PARAM_H
15057 # include <sys/param.h>
15059 #ifdef HAVE_SYS_MOUNT_H
15060 # include <sys/mount.h>
15062 #ifdef HAVE_SYS_VFS_H
15063 # include <sys/vfs.h>
15065 #ifdef HAVE_SYS_STATFS_H
15066 # include <sys/statfs.h>
15069 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15071 cat >>confdefs.h
<<_ACEOF
15072 #define HAVE_STRUCT_STATFS_F_FFREE 1
15077 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15078 #ifdef HAVE_SYS_PARAM_H
15079 # include <sys/param.h>
15081 #ifdef HAVE_SYS_MOUNT_H
15082 # include <sys/mount.h>
15084 #ifdef HAVE_SYS_VFS_H
15085 # include <sys/vfs.h>
15087 #ifdef HAVE_SYS_STATFS_H
15088 # include <sys/statfs.h>
15091 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15093 cat >>confdefs.h
<<_ACEOF
15094 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15099 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15100 #ifdef HAVE_SYS_PARAM_H
15101 # include <sys/param.h>
15103 #ifdef HAVE_SYS_MOUNT_H
15104 # include <sys/mount.h>
15106 #ifdef HAVE_SYS_VFS_H
15107 # include <sys/vfs.h>
15109 #ifdef HAVE_SYS_STATFS_H
15110 # include <sys/statfs.h>
15113 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15115 cat >>confdefs.h
<<_ACEOF
15116 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15123 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15124 #include <sys/statvfs.h>
15127 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15129 cat >>confdefs.h
<<_ACEOF
15130 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15137 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15138 #include <dirent.h>
15141 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15143 cat >>confdefs.h
<<_ACEOF
15144 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15151 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15152 #ifdef HAVE_SYS_SOCKET_H
15153 # include <sys/socket.h>
15155 #ifdef HAVE_SYS_UN_H
15156 # include <sys/un.h>
15159 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15161 cat >>confdefs.h
<<_ACEOF
15162 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15167 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15168 #ifdef HAVE_SYS_SOCKET_H
15169 # include <sys/socket.h>
15171 #ifdef HAVE_SYS_UN_H
15172 # include <sys/un.h>
15175 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15177 cat >>confdefs.h
<<_ACEOF
15178 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15183 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15184 #ifdef HAVE_SYS_SOCKET_H
15185 # include <sys/socket.h>
15187 #ifdef HAVE_SYS_UN_H
15188 # include <sys/un.h>
15191 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15201 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15202 #ifdef HAVE_SCSI_SG_H
15203 #include <scsi/sg.h>
15206 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15208 cat >>confdefs.h
<<_ACEOF
15209 #define HAVE_SCSIREQ_T_CMD 1
15214 ac_fn_c_check_member
"$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
15215 #ifdef HAVE_SCSI_SG_H
15216 #include <scsi/sg.h>
15219 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15221 cat >>confdefs.h
<<_ACEOF
15222 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15229 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15231 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15233 cat >>confdefs.h
<<_ACEOF
15234 #define HAVE_SIGINFO_T_SI_FD 1
15241 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15242 #ifdef HAVE_SYS_MTIO_H
15243 #include <sys/mtio.h>
15246 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15248 cat >>confdefs.h
<<_ACEOF
15249 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15254 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15255 #ifdef HAVE_SYS_MTIO_H
15256 #include <sys/mtio.h>
15259 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15267 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15268 #ifdef HAVE_SYS_MTIO_H
15269 #include <sys/mtio.h>
15272 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15274 cat >>confdefs.h
<<_ACEOF
15275 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15282 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15283 #include <getopt.h>
15286 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15288 cat >>confdefs.h
<<_ACEOF
15289 #define HAVE_STRUCT_OPTION_NAME 1
15296 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15297 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15299 cat >>confdefs.h
<<_ACEOF
15300 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15305 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15306 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15308 cat >>confdefs.h
<<_ACEOF
15309 #define HAVE_STRUCT_STAT_ST_MTIM 1
15314 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15315 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15317 cat >>confdefs.h
<<_ACEOF
15318 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15323 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15324 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15326 cat >>confdefs.h
<<_ACEOF
15327 #define HAVE_STRUCT_STAT_ST_CTIM 1
15332 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15333 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15335 cat >>confdefs.h
<<_ACEOF
15336 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15341 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15342 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15344 cat >>confdefs.h
<<_ACEOF
15345 #define HAVE_STRUCT_STAT_ST_ATIM 1
15350 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15351 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15353 cat >>confdefs.h
<<_ACEOF
15354 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15359 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15360 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15362 cat >>confdefs.h
<<_ACEOF
15363 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15368 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15369 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15371 cat >>confdefs.h
<<_ACEOF
15372 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15377 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15378 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15380 cat >>confdefs.h
<<_ACEOF
15381 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15386 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15387 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15389 cat >>confdefs.h
<<_ACEOF
15390 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15395 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15396 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15398 cat >>confdefs.h
<<_ACEOF
15399 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15406 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
15407 #include <sys/types.h>
15409 #ifdef HAVE_NETINET_IN_H
15410 #include <netinet/in.h>
15413 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15415 cat >>confdefs.h
<<_ACEOF
15416 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15423 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15424 #include <resolv.h>
15427 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define HAVE_STRUCT___RES_STATE 1
15437 ac_fn_c_check_member
"$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
15438 #include <resolv.h>
15441 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15443 cat >>confdefs.h
<<_ACEOF
15444 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15451 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15452 #include <sys/types.h>
15454 #ifdef HAVE_NETINET_IN_H
15455 # include <netinet/in.h>
15457 #ifdef HAVE_ARPA_NAMESER_H
15458 # include <arpa/nameser.h>
15461 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define HAVE_NS_MSG__MSG_PTR 1
15471 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15472 #include <sys/types.h>
15474 #ifdef HAVE_NETINET_IP_H
15475 #include <netinet/ip.h>
15477 #ifdef HAVE_NETINET_IP_ICMP_H
15478 #include <netinet/ip_icmp.h>
15480 #ifdef HAVE_NETINET_ICMP_VAR_H
15481 #include <netinet/icmp_var.h>
15484 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15486 cat >>confdefs.h
<<_ACEOF
15487 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15494 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15495 #include <sys/types.h>
15497 #ifdef HAVE_ALIAS_H
15500 #ifdef HAVE_SYS_SOCKET_H
15501 #include <sys/socket.h>
15503 #ifdef HAVE_SYS_SOCKETVAR_H
15504 #include <sys/socketvar.h>
15506 #ifdef HAVE_SYS_TIMEOUT_H
15507 #include <sys/timeout.h>
15509 #ifdef HAVE_NETINET_IN_H
15510 #include <netinet/in.h>
15512 #ifdef HAVE_NETINET_IN_SYSTM_H
15513 #include <netinet/in_systm.h>
15515 #ifdef HAVE_NETINET_IP_H
15516 #include <netinet/ip.h>
15518 #ifdef HAVE_NETINET_IP_VAR_H
15519 #include <netinet/ip_var.h>
15521 #ifdef HAVE_NETINET_IP_ICMP_H
15522 #include <netinet/ip_icmp.h>
15524 #ifdef HAVE_NETINET_ICMP_VAR_H
15525 #include <netinet/icmp_var.h>
15528 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15530 cat >>confdefs.h
<<_ACEOF
15531 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15538 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15539 #include <sys/types.h>
15541 #ifdef HAVE_SYS_SOCKETVAR_H
15542 #include <sys/socketvar.h>
15544 #ifdef HAVE_NETINET_IN_H
15545 #include <netinet/in.h>
15547 #ifdef HAVE_NETINET_IP_VAR_H
15548 #include <netinet/ip_var.h>
15551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15553 cat >>confdefs.h
<<_ACEOF
15554 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15561 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
15562 #include <netinet/ip_var.h>
15565 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15567 cat >>confdefs.h
<<_ACEOF
15568 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15575 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15576 #include <sys/types.h>
15578 #ifdef HAVE_SYS_SOCKETVAR_H
15579 #include <sys/socketvar.h>
15581 #ifdef HAVE_NETINET_IN_H
15582 #include <netinet/in.h>
15584 #ifdef HAVE_NETINET_TCP_H
15585 #include <netinet/tcp.h>
15587 #ifdef HAVE_NETINET_TCP_VAR_H
15588 #include <netinet/tcp_var.h>
15591 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15601 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
15602 #include <netinet/tcp_var.h>
15605 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15607 cat >>confdefs.h
<<_ACEOF
15608 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15615 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15616 #include <sys/types.h>
15618 #ifdef HAVE_NETINET_IN_H
15619 #include <netinet/in.h>
15621 #ifdef HAVE_NETINET_IP_VAR_H
15622 #include <netinet/ip_var.h>
15624 #ifdef HAVE_NETINET_UDP_H
15625 #include <netinet/udp.h>
15627 #ifdef HAVE_NETINET_UDP_VAR_H
15628 #include <netinet/udp_var.h>
15631 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15633 cat >>confdefs.h
<<_ACEOF
15634 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15641 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15642 #include <sys/types.h>
15644 #ifdef HAVE_NET_IF_H
15645 # include <net/if.h>
15648 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15650 cat >>confdefs.h
<<_ACEOF
15651 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15659 $as_echo_n "checking for timezone variable... " >&6; }
15660 if ${ac_cv_have_timezone+:} false
; then :
15661 $as_echo_n "(cached) " >&6
15663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15674 if ac_fn_c_try_link
"$LINENO"; then :
15675 ac_cv_have_timezone
="yes"
15677 ac_cv_have_timezone
="no"
15679 rm -f core conftest.err conftest.
$ac_objext \
15680 conftest
$ac_exeext conftest.
$ac_ext
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15683 $as_echo "$ac_cv_have_timezone" >&6; }
15684 if test "$ac_cv_have_timezone" = "yes"
15687 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15691 $as_echo_n "checking for daylight variable... " >&6; }
15692 if ${ac_cv_have_daylight+:} false
; then :
15693 $as_echo_n "(cached) " >&6
15695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15706 if ac_fn_c_try_link
"$LINENO"; then :
15707 ac_cv_have_daylight
="yes"
15709 ac_cv_have_daylight
="no"
15711 rm -f core conftest.err conftest.
$ac_objext \
15712 conftest
$ac_exeext conftest.
$ac_ext
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15715 $as_echo "$ac_cv_have_daylight" >&6; }
15716 if test "$ac_cv_have_daylight" = "yes"
15719 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15723 ac_save_LIBS
="$LIBS"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15726 $as_echo_n "checking for isinf... " >&6; }
15727 if ${ac_cv_have_isinf+:} false
; then :
15728 $as_echo_n "(cached) " >&6
15730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15736 float f = 0.0; return isinf(f)
15741 if ac_fn_c_try_link
"$LINENO"; then :
15742 ac_cv_have_isinf
="yes"
15744 ac_cv_have_isinf
="no"
15746 rm -f core conftest.err conftest.
$ac_objext \
15747 conftest
$ac_exeext conftest.
$ac_ext
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15750 $as_echo "$ac_cv_have_isinf" >&6; }
15751 if test "$ac_cv_have_isinf" = "yes"
15754 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15759 $as_echo_n "checking for isnan... " >&6; }
15760 if ${ac_cv_have_isnan+:} false
; then :
15761 $as_echo_n "(cached) " >&6
15763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15769 float f = 0.0; return isnan(f)
15774 if ac_fn_c_try_link
"$LINENO"; then :
15775 ac_cv_have_isnan
="yes"
15777 ac_cv_have_isnan
="no"
15779 rm -f core conftest.err conftest.
$ac_objext \
15780 conftest
$ac_exeext conftest.
$ac_ext
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15783 $as_echo "$ac_cv_have_isnan" >&6; }
15784 if test "$ac_cv_have_isnan" = "yes"
15787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15790 LIBS
="$ac_save_LIBS"
15794 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15795 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15796 if ${ac_cv_cpp_def___i386__+:} false
; then :
15797 $as_echo_n "(cached) " >&6
15799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15806 $EGREP "yes" >/dev
/null
2>&1; then :
15807 ac_cv_cpp_def___i386__
=yes
15809 ac_cv_cpp_def___i386__
=no
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15815 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15816 if test $ac_cv_cpp_def___i386__ = yes; then :
15817 CFLAGS
="$CFLAGS -D__i386__"
15818 LINTFLAGS
="$LINTFLAGS -D__i386__"
15820 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15821 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15822 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15823 $as_echo_n "(cached) " >&6
15825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15832 $EGREP "yes" >/dev
/null
2>&1; then :
15833 ac_cv_cpp_def___x86_64__
=yes
15835 ac_cv_cpp_def___x86_64__
=no
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15841 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15842 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15843 CFLAGS
="$CFLAGS -D__x86_64__"
15844 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15846 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15847 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15848 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15849 $as_echo_n "(cached) " >&6
15851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15853 #ifndef __sparc64__
15857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15858 $EGREP "yes" >/dev
/null
2>&1; then :
15859 ac_cv_cpp_def___sparc64__
=yes
15861 ac_cv_cpp_def___sparc64__
=no
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15867 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15868 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15869 CFLAGS
="$CFLAGS -D__sparc64__"
15870 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15872 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15873 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15874 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15875 $as_echo_n "(cached) " >&6
15877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15884 $EGREP "yes" >/dev
/null
2>&1; then :
15885 ac_cv_cpp_def___sparc__
=yes
15887 ac_cv_cpp_def___sparc__
=no
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15893 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15894 if test $ac_cv_cpp_def___sparc__ = yes; then :
15895 CFLAGS
="$CFLAGS -D__sparc__"
15896 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15898 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15899 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15900 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15901 $as_echo_n "(cached) " >&6
15903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #ifndef __powerpc64__
15909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15910 $EGREP "yes" >/dev
/null
2>&1; then :
15911 ac_cv_cpp_def___powerpc64__
=yes
15913 ac_cv_cpp_def___powerpc64__
=no
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15919 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15920 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15921 CFLAGS
="$CFLAGS -D__powerpc64__"
15922 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15924 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15925 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15926 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15927 $as_echo_n "(cached) " >&6
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #ifndef __powerpc__
15935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15936 $EGREP "yes" >/dev
/null
2>&1; then :
15937 ac_cv_cpp_def___powerpc__
=yes
15939 ac_cv_cpp_def___powerpc__
=no
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15945 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15946 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15947 CFLAGS
="$CFLAGS -D__powerpc__"
15948 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15950 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15951 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15952 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15953 $as_echo_n "(cached) " >&6
15955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15956 /* end confdefs.h. */
15957 #ifndef __aarch64__
15961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15962 $EGREP "yes" >/dev
/null
2>&1; then :
15963 ac_cv_cpp_def___aarch64__
=yes
15965 ac_cv_cpp_def___aarch64__
=no
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15971 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15972 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15973 CFLAGS
="$CFLAGS -D__aarch64__"
15974 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15976 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15977 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15978 if ${ac_cv_cpp_def___arm__+:} false
; then :
15979 $as_echo_n "(cached) " >&6
15981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15988 $EGREP "yes" >/dev
/null
2>&1; then :
15989 ac_cv_cpp_def___arm__
=yes
15991 ac_cv_cpp_def___arm__
=no
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15997 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15998 if test $ac_cv_cpp_def___arm__ = yes; then :
15999 CFLAGS
="$CFLAGS -D__arm__"
16000 LINTFLAGS
="$LINTFLAGS -D__arm__"
16004 case $host_vendor in
16005 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16006 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16007 if ${ac_cv_cpp_def___sun__+:} false
; then :
16008 $as_echo_n "(cached) " >&6
16010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16017 $EGREP "yes" >/dev
/null
2>&1; then :
16018 ac_cv_cpp_def___sun__
=yes
16020 ac_cv_cpp_def___sun__
=no
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16026 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16027 if test $ac_cv_cpp_def___sun__ = yes; then :
16028 CFLAGS
="$CFLAGS -D__sun__"
16029 LINTFLAGS
="$LINTFLAGS -D__sun__"
16037 ac_config_commands
="$ac_config_commands include/stamp-h"
16039 $as_echo_n "creating Makefile rules..." >&6
16041 wine_rules_file
=conf$
$rules.
make
16042 rm -f $wine_rules_file
16044 ALL_TEST_RESOURCES
=""
16047 wine_fn_append_file
()
16049 as_fn_append
$1 " \\$as_nl $2"
16052 wine_fn_append_rule
()
16054 $as_echo "$1" >>$wine_rules_file
16057 wine_fn_has_flag
()
16059 expr ",$2," : ".*,$1,.*" >/dev
/null
16062 wine_fn_all_dir_rules
()
16066 ac_makedep
="\$(MAKEDEP)"
16067 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16068 if test $ac_dir != tools
16070 ac_alldeps
="$2 $ac_makedep"
16072 ac_alldeps
="$2 include/config.h"
16075 *.
in) ac_input
=$ac_input:$2 ;;
16076 *) ac_makedep
="$2 $ac_makedep" ;;
16079 wine_fn_append_rule \
16080 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16081 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16082 depend: $ac_dir/__depend__
16083 .PHONY: $ac_dir/__depend__
16084 $ac_dir/__depend__: $ac_makedep dummy
16085 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16088 wine_fn_pot_rules
()
16093 test "x$with_gettextpo" = xyes ||
return
16095 if wine_fn_has_flag mc
$ac_flags
16097 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16098 wine_fn_append_rule \
16099 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16100 @cd $ac_dir && \$(MAKE) msg.pot
16101 $ac_dir/msg.pot: tools/wmc include"
16103 if wine_fn_has_flag po
$ac_flags
16105 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16106 wine_fn_append_rule \
16107 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16108 @cd $ac_dir && \$(MAKE) rsrc.pot
16109 $ac_dir/rsrc.pot: tools/wrc include"
16113 wine_fn_config_all_make_rules
()
16119 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16123 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
16124 wine_fn_append_rule \
16127 $ac_dir: $ac_dir/Makefile dummy
16128 @cd $ac_dir && \$(MAKE)"
16130 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
16132 wine_fn_append_rule \
16133 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16134 $ac_dir/__install__:: $ac_dir
16135 @cd $ac_dir && \$(MAKE) install
16136 $ac_dir/__uninstall__:: $ac_dir/Makefile
16137 @cd $ac_dir && \$(MAKE) uninstall
16138 install:: $ac_dir/__install__
16139 __uninstall__: $ac_dir/__uninstall__"
16141 if wine_fn_has_flag install-lib
$ac_flags
16143 wine_fn_append_rule \
16144 ".PHONY: $ac_dir/__install-lib__
16145 $ac_dir/__install-lib__:: $ac_dir
16146 @cd $ac_dir && \$(MAKE) install-lib
16147 install-lib:: $ac_dir/__install-lib__"
16150 if wine_fn_has_flag install-dev
$ac_flags
16152 wine_fn_append_rule \
16153 ".PHONY: $ac_dir/__install-dev
16154 $ac_dir/__install-dev__:: $ac_dir
16155 @cd $ac_dir && \$(MAKE) install-dev
16156 install-dev:: $ac_dir/__install-dev__"
16160 wine_fn_clean_rules
()
16167 if wine_fn_has_flag clean
$ac_flags
16169 wine_fn_append_rule \
16170 "__clean__: $ac_dir/__clean__
16171 .PHONY: $ac_dir/__clean__
16172 $ac_dir/__clean__: $ac_dir/Makefile
16173 @cd $ac_dir && \$(MAKE) clean
16174 \$(RM) $ac_dir/Makefile"
16176 wine_fn_append_rule \
16178 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16182 wine_fn_config_makefile
()
16188 wine_fn_config_all_make_rules
$ac_dir $ac_enable $ac_flags
16189 wine_fn_clean_rules
$ac_dir $ac_flags
16192 wine_fn_config_lib
()
16196 ac_dir
=dlls
/$ac_name
16197 wine_fn_config_all_make_rules
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
16198 wine_fn_clean_rules
$ac_dir $ac_flags
16200 if wine_fn_has_flag install-dev
$ac_flags
16203 wine_fn_append_rule \
16204 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16205 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
16206 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16207 $ac_dir/__uninstall__::
16208 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16209 install install-dev:: $ac_dir/__install__
16210 __uninstall__: $ac_dir/__uninstall__"
16213 wine_fn_append_rule \
16214 "__builddeps__: $ac_dir
16215 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16218 wine_fn_config_dll
()
16221 ac_dir
=dlls
/$ac_name
16224 ac_implib
=${4:-$ac_name}
16225 ac_file
=$ac_dir/lib
$ac_implib
16227 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16231 *16) ac_implibflags
=" -m16" ;;
16233 *) ac_dll
=$ac_dll.dll
;;
16236 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
16239 wine_fn_has_flag implib
$ac_flags && ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16240 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16241 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16242 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16244 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16245 test "$ac_enable" != enable_win16 ||
return 0
16246 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
16248 wine_fn_append_rule \
16249 "$ac_dir: __builddeps__
16250 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16251 @cd $ac_dir && \$(MAKE) \$@"
16253 if wine_fn_has_flag install-lib
$ac_flags
16256 wine_fn_append_rule \
16257 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
16258 install install-lib:: $ac_dir/__install-lib__
16259 __uninstall__: $ac_dir/__uninstall__"
16260 if test -n "$DLLEXT"
16262 wine_fn_append_rule \
16263 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16264 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16265 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16266 $ac_dir/__uninstall__::
16267 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16269 wine_fn_append_rule \
16270 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16271 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16272 $ac_dir/__uninstall__::
16273 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16277 wine_fn_pot_rules
$ac_dir $ac_flags
16280 if wine_fn_has_flag staticimplib
$ac_flags
16282 wine_fn_append_rule \
16283 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16284 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16285 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16286 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16287 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16288 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16289 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16290 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16291 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16292 $ac_dir/__uninstall__::
16293 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16294 install install-dev:: $ac_dir/__install-dev__
16295 __uninstall__: $ac_dir/__uninstall__"
16297 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16299 wine_fn_append_rule \
16300 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16301 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16302 $ac_dir/__uninstall__::
16303 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16306 if test "x$CROSSTEST_DISABLE" = x
16308 wine_fn_append_rule \
16309 "__builddeps__: $ac_file.cross.a
16310 $ac_file.cross.a: $ac_dir/Makefile dummy
16311 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16314 elif wine_fn_has_flag implib
$ac_flags
16316 wine_fn_append_rule \
16317 "__builddeps__: $ac_file.$IMPLIBEXT
16318 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16319 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16320 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16321 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16322 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16323 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16324 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16325 $ac_dir/__uninstall__::
16326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16327 install install-dev:: $ac_dir/__install-dev__
16328 __uninstall__: $ac_dir/__uninstall__"
16329 if test "x$CROSSTEST_DISABLE" = x
16331 wine_fn_append_rule \
16332 "__builddeps__: $ac_file.cross.a
16333 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16334 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16337 if test "$ac_name" != "$ac_implib"
16339 wine_fn_append_rule \
16340 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16341 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16342 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16344 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16345 if test "x$CROSSTEST_DISABLE" = x
16347 wine_fn_append_rule \
16348 "__builddeps__: dlls/lib$ac_implib.cross.a
16349 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16350 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16356 wine_fn_config_program
()
16359 ac_dir
=programs
/$ac_name
16362 ac_program
=$ac_name
16366 *) ac_program
=$ac_program.exe
;;
16369 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
16372 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16373 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16374 wine_fn_has_flag manpage
$ac_flags && ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16375 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16376 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16378 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16381 wine_fn_append_rule
"$ac_dir: __builddeps__"
16383 wine_fn_pot_rules
$ac_dir $ac_flags
16385 wine_fn_has_flag
install $ac_flags ||
return
16386 wine_fn_append_rule \
16387 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16388 install install-lib:: $ac_dir/__install__
16389 __uninstall__: $ac_dir/__uninstall__"
16391 if test -n "$DLLEXT"
16393 wine_fn_append_rule \
16394 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16395 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16396 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16397 $ac_dir/__uninstall__::
16398 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16400 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
16402 wine_fn_append_rule \
16403 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
16404 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16405 $ac_dir/__uninstall__::
16406 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16409 wine_fn_append_rule \
16410 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16411 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
16412 $ac_dir/__uninstall__::
16413 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
16416 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
16418 wine_fn_append_rule \
16419 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16420 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16421 $ac_dir/__uninstall__::
16422 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16427 wine_fn_config_test
()
16434 test "x$CROSSTEST_DISABLE" = x
&& ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16435 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16436 ac_clean
="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
16438 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16439 wine_fn_all_dir_rules
$ac_dir Maketest.rules
16440 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16442 if test "x$enable_tests" = xno
; then :
16445 wine_fn_append_rule \
16448 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
16449 @cd $ac_dir && \$(MAKE)
16450 programs/winetest: $ac_dir
16451 check test: $ac_dir/__test__
16452 .PHONY: $ac_dir/__test__
16453 $ac_dir/__test__: dummy
16454 @cd $ac_dir && \$(MAKE) test
16456 \$(RM) $ac_dir/*.ok"
16458 if test "x$CROSSTEST_DISABLE" = x
16460 wine_fn_append_rule \
16461 "crosstest: $ac_dir/__crosstest__
16462 .PHONY: $ac_dir/__crosstest__
16463 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
16464 @cd $ac_dir && \$(MAKE) crosstest"
16469 wine_fn_config_tool
()
16473 if test "x$enable_tools" = xno
; then :
16477 wine_fn_config_all_make_rules
$ac_dir enable_tools
$ac_flags
16478 wine_fn_clean_rules
$ac_dir $ac_flags
16480 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16481 wine_fn_append_rule
"$ac_dir: libs/port"
16483 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16487 wine_fn_config_makerules
()
16491 wine_fn_append_rule \
16492 "$ac_rules: $ac_rules.in $ac_deps config.status
16493 @./config.status $ac_rules
16498 wine_fn_config_symlink
()
16501 if test "x$1" = "x-d"
16507 wine_fn_append_rule \
16509 @./config.status \$@
16512 test -n "$ac_linkdir" ||
return
16513 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16516 if test "x$CROSSTEST_DISABLE" != x
16518 wine_fn_append_rule \
16520 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16522 wine_fn_append_rule
"
16523 # Rules automatically generated by configure
16528 Makefile: Makefile.in Make.vars.in Make.rules config.status
16529 @./config.status Make.tmp Makefile"
16531 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16532 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16533 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16534 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
16535 if test "x$enable_fonts" != xno
; then
16536 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16537 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16538 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16539 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16540 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16542 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16543 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16544 if test "x$enable_tools" != xno
; then
16545 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
16546 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
16548 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16549 wine_fn_config_symlink wine
16550 if test "x$enable_win64" != xno
; then
16551 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16552 wine_fn_config_symlink wine64
16555 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16556 wine_fn_append_rule \
16558 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16559 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16560 wine_fn_append_rule \
16562 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16563 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16564 wine_fn_append_rule \
16566 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16567 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16568 wine_fn_append_rule \
16570 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16571 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16572 wine_fn_append_rule \
16574 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16575 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16576 wine_fn_append_rule \
16578 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16579 ac_config_commands
="$ac_config_commands include/wine"
16580 wine_fn_append_rule \
16582 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16584 wine_fn_config_makerules Make.rules
16585 MAKE_RULES
=Make.rules
16586 ac_config_files
="$ac_config_files Make.rules"
16588 wine_fn_config_makerules Maketest.rules Make.rules
16589 MAKE_TEST_RULES
=Maketest.rules
16590 ac_config_files
="$ac_config_files Maketest.rules"
16592 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
16593 MAKE_DLL_RULES
=dlls
/Makedll.rules
16594 ac_config_files
="$ac_config_files dlls/Makedll.rules"
16596 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
16597 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
16598 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
16600 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
16601 MAKE_PROG_RULES
=programs
/Makeprog.rules
16602 ac_config_files
="$ac_config_files programs/Makeprog.rules"
16605 wine_fn_config_dll acledit enable_acledit
16606 wine_fn_config_dll aclui enable_aclui implib
16607 wine_fn_config_dll activeds enable_activeds implib
16608 wine_fn_config_dll actxprxy enable_actxprxy clean
16609 wine_fn_config_lib adsiid
16610 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16611 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16612 wine_fn_config_dll advpack enable_advpack implib
16613 wine_fn_config_test dlls
/advpack
/tests advpack_test
16614 wine_fn_config_dll amstream enable_amstream clean
16615 wine_fn_config_test dlls
/amstream
/tests amstream_test
16616 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16618 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16619 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16620 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16621 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16622 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16623 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16624 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16625 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16626 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16627 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16628 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16629 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16630 wine_fn_config_dll apphelp enable_apphelp
16631 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16632 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16633 wine_fn_config_dll atl enable_atl clean
,implib
16634 wine_fn_config_test dlls
/atl
/tests atl_test
16635 wine_fn_config_dll atl100 enable_atl100 implib
16636 wine_fn_config_test dlls
/atl100
/tests atl100_test
16637 wine_fn_config_dll atl110 enable_atl110
16638 wine_fn_config_dll atl80 enable_atl80 implib
16639 wine_fn_config_test dlls
/atl80
/tests atl80_test
16640 wine_fn_config_dll authz enable_authz
16641 wine_fn_config_dll avicap32 enable_avicap32 implib
16642 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16643 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16644 wine_fn_config_dll avifile.dll16 enable_win16
16645 wine_fn_config_dll avrt enable_avrt implib
16646 wine_fn_config_dll bcrypt enable_bcrypt
16647 wine_fn_config_dll browseui enable_browseui clean
,po
16648 wine_fn_config_test dlls
/browseui
/tests browseui_test
16649 wine_fn_config_dll cabinet enable_cabinet implib
16650 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16651 wine_fn_config_dll capi2032 enable_capi2032 implib
16652 wine_fn_config_dll cards enable_cards implib
16653 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16654 wine_fn_config_dll clusapi enable_clusapi implib
16655 wine_fn_config_dll comcat enable_comcat
16656 wine_fn_config_test dlls
/comcat
/tests comcat_test
16657 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16658 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16659 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16660 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16661 wine_fn_config_dll
comm.drv16 enable_win16
16662 wine_fn_config_dll commdlg.dll16 enable_win16
16663 wine_fn_config_dll compobj.dll16 enable_win16
16664 wine_fn_config_dll compstui enable_compstui implib
16665 wine_fn_config_dll comsvcs enable_comsvcs implib
16666 wine_fn_config_dll credui enable_credui implib
,po
16667 wine_fn_config_test dlls
/credui
/tests credui_test
16668 wine_fn_config_dll crtdll enable_crtdll implib
16669 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16670 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16671 wine_fn_config_dll cryptdlg enable_cryptdlg po
16672 wine_fn_config_dll cryptdll enable_cryptdll implib
16673 wine_fn_config_dll cryptnet enable_cryptnet implib
16674 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16675 wine_fn_config_dll cryptui enable_cryptui implib
,po
16676 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16677 wine_fn_config_dll ctapi32 enable_ctapi32
16678 wine_fn_config_dll ctl3d.dll16 enable_win16
16679 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16680 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16681 wine_fn_config_dll d3d10 enable_d3d10 implib
16682 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16683 wine_fn_config_dll d3d10core enable_d3d10core implib
16684 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16685 wine_fn_config_dll d3d11 enable_d3d11
16686 wine_fn_config_dll d3d8 enable_d3d8 implib
16687 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16688 wine_fn_config_dll d3d9 enable_d3d9 implib
16689 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16690 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16691 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16692 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16693 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16694 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16695 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16696 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16697 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16698 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16699 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16700 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16701 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16702 wine_fn_config_dll d3dim enable_d3dim implib
16703 wine_fn_config_dll d3drm enable_d3drm implib
16704 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16705 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16706 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16707 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16708 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16709 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16710 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16711 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16712 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16713 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16714 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16715 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16716 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16717 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16718 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16719 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16720 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16721 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16722 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16723 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16724 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16725 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16726 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16727 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16728 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16729 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16730 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16731 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16732 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16733 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16734 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16735 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16736 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16737 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16738 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16739 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16740 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16741 wine_fn_config_dll dbgeng enable_dbgeng implib
16742 wine_fn_config_dll dbghelp enable_dbghelp implib
16743 wine_fn_config_dll dciman32 enable_dciman32 implib
16744 wine_fn_config_dll ddeml.dll16 enable_win16
16745 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16746 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16747 wine_fn_config_dll ddrawex enable_ddrawex clean
16748 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16749 wine_fn_config_dll devenum enable_devenum clean
,po
16750 wine_fn_config_test dlls
/devenum
/tests devenum_test
16751 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16752 wine_fn_config_dll difxapi enable_difxapi
16753 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16754 wine_fn_config_test dlls
/dinput
/tests dinput_test
16755 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16756 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16757 wine_fn_config_dll dispdib.dll16 enable_win16
16758 wine_fn_config_dll dispex enable_dispex clean
16759 wine_fn_config_test dlls
/dispex
/tests dispex_test
16760 wine_fn_config_dll display.drv16 enable_win16
16761 wine_fn_config_dll dmband enable_dmband clean
16762 wine_fn_config_test dlls
/dmband
/tests dmband_test
16763 wine_fn_config_dll dmcompos enable_dmcompos clean
16764 wine_fn_config_dll dmime enable_dmime clean
16765 wine_fn_config_test dlls
/dmime
/tests dmime_test
16766 wine_fn_config_dll dmloader enable_dmloader clean
16767 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16768 wine_fn_config_dll dmscript enable_dmscript clean
16769 wine_fn_config_dll dmstyle enable_dmstyle clean
16770 wine_fn_config_dll dmsynth enable_dmsynth clean
16771 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16772 wine_fn_config_dll dmusic enable_dmusic clean
16773 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16774 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16775 wine_fn_config_dll dnsapi enable_dnsapi implib
16776 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16777 wine_fn_config_dll dplay enable_dplay implib
16778 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16779 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16780 wine_fn_config_dll dpnaddr enable_dpnaddr
16781 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16782 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16783 wine_fn_config_dll dpnhpast enable_dpnhpast
16784 wine_fn_config_dll dpnlobby enable_dpnlobby
16785 wine_fn_config_dll dpwsockx enable_dpwsockx
16786 wine_fn_config_dll drmclien enable_drmclien
16787 wine_fn_config_dll dsound enable_dsound clean
,implib
16788 wine_fn_config_test dlls
/dsound
/tests dsound_test
16789 wine_fn_config_dll dssenh enable_dssenh
16790 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16791 wine_fn_config_dll dswave enable_dswave clean
16792 wine_fn_config_dll dwmapi enable_dwmapi implib
16793 wine_fn_config_dll dwrite enable_dwrite implib
16794 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16795 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16796 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16797 wine_fn_config_lib dxerr8
16798 wine_fn_config_lib dxerr9
16799 wine_fn_config_dll dxgi enable_dxgi implib
16800 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16801 wine_fn_config_lib dxguid
16802 wine_fn_config_dll explorerframe enable_explorerframe clean
16803 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16804 wine_fn_config_dll faultrep enable_faultrep implib
16805 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16806 wine_fn_config_dll fltlib enable_fltlib
16807 wine_fn_config_dll fusion enable_fusion
16808 wine_fn_config_test dlls
/fusion
/tests fusion_test
16809 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16810 wine_fn_config_dll gameux enable_gameux clean
16811 wine_fn_config_test dlls
/gameux
/tests gameux_test
16812 wine_fn_config_dll gdi.exe16 enable_win16
16813 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16814 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16815 wine_fn_config_dll gdiplus enable_gdiplus implib
16816 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16817 wine_fn_config_dll glu32 enable_glu32 implib
16818 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16819 wine_fn_config_dll gpkcsp enable_gpkcsp
16820 wine_fn_config_dll hal enable_hal
16821 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16822 wine_fn_config_dll hid enable_hid implib
16823 wine_fn_config_dll hlink enable_hlink clean
,implib
16824 wine_fn_config_test dlls
/hlink
/tests hlink_test
16825 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16826 wine_fn_config_dll httpapi enable_httpapi
16827 wine_fn_config_dll iccvid enable_iccvid po
16828 wine_fn_config_dll icmp enable_icmp
16829 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16830 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16831 wine_fn_config_dll ifsmgr.vxd enable_win16
16832 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16833 wine_fn_config_dll imagehlp enable_imagehlp implib
16834 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16835 wine_fn_config_dll imm.dll16 enable_win16
16836 wine_fn_config_dll imm32 enable_imm32 implib
16837 wine_fn_config_test dlls
/imm32
/tests imm32_test
16838 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16839 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16840 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16841 wine_fn_config_dll inetmib1 enable_inetmib1
16842 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16843 wine_fn_config_dll infosoft enable_infosoft clean
16844 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16845 wine_fn_config_dll initpki enable_initpki
16846 wine_fn_config_dll inkobj enable_inkobj
16847 wine_fn_config_dll inseng enable_inseng clean
16848 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16849 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16850 wine_fn_config_dll itircl enable_itircl
16851 wine_fn_config_dll itss enable_itss clean
16852 wine_fn_config_test dlls
/itss
/tests itss_test
16853 wine_fn_config_dll joy.cpl enable_joy_cpl po
16854 wine_fn_config_dll jscript enable_jscript clean
,po
16855 wine_fn_config_test dlls
/jscript
/tests jscript_test
16856 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16857 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16858 wine_fn_config_dll keyboard.drv16 enable_win16
16859 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16860 wine_fn_config_dll ktmw32 enable_ktmw32
16861 wine_fn_config_dll loadperf enable_loadperf implib
16862 wine_fn_config_dll localspl enable_localspl po
16863 wine_fn_config_test dlls
/localspl
/tests localspl_test
16864 wine_fn_config_dll localui enable_localui po
16865 wine_fn_config_test dlls
/localui
/tests localui_test
16866 wine_fn_config_dll lz32 enable_lz32 implib
16867 wine_fn_config_test dlls
/lz32
/tests lz32_test
16868 wine_fn_config_dll lzexpand.dll16 enable_win16
16869 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16870 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16871 wine_fn_config_dll mapistub enable_mapistub
16872 wine_fn_config_dll mciavi32 enable_mciavi32
16873 wine_fn_config_dll mcicda enable_mcicda
16874 wine_fn_config_dll mciqtz32 enable_mciqtz32
16875 wine_fn_config_dll mciseq enable_mciseq
16876 wine_fn_config_dll mciwave enable_mciwave
16877 wine_fn_config_dll mgmtapi enable_mgmtapi
16878 wine_fn_config_dll midimap enable_midimap
16879 wine_fn_config_dll mlang enable_mlang clean
,implib
16880 wine_fn_config_test dlls
/mlang
/tests mlang_test
16881 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16882 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16883 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16884 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16885 wine_fn_config_dll mmdevldr.vxd enable_win16
16886 wine_fn_config_dll mmsystem.dll16 enable_win16
16887 wine_fn_config_dll monodebg.vxd enable_win16
16888 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16889 wine_fn_config_dll mouse.drv16 enable_win16
16890 wine_fn_config_dll mpr enable_mpr implib
,po
16891 wine_fn_config_test dlls
/mpr
/tests mpr_test
16892 wine_fn_config_dll mprapi enable_mprapi implib
16893 wine_fn_config_dll msacm.dll16 enable_win16
16894 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16895 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16896 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16897 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16898 wine_fn_config_dll mscat32 enable_mscat32
16899 wine_fn_config_dll mscms enable_mscms implib
16900 wine_fn_config_test dlls
/mscms
/tests mscms_test
16901 wine_fn_config_dll mscoree enable_mscoree clean
16902 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16903 wine_fn_config_dll msctf enable_msctf clean
16904 wine_fn_config_test dlls
/msctf
/tests msctf_test
16905 wine_fn_config_dll msdaps enable_msdaps clean
16906 wine_fn_config_dll msdmo enable_msdmo implib
16907 wine_fn_config_dll msftedit enable_msftedit
16908 wine_fn_config_dll msg711.acm enable_msg711_acm
16909 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16910 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16911 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16912 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16913 wine_fn_config_dll msi enable_msi clean
,implib
,po
16914 wine_fn_config_test dlls
/msi
/tests msi_test
16915 wine_fn_config_dll msident enable_msident clean
16916 wine_fn_config_dll msimg32 enable_msimg32 implib
16917 wine_fn_config_dll msimsg enable_msimsg
16918 wine_fn_config_dll msimtf enable_msimtf clean
16919 wine_fn_config_dll msisip enable_msisip
16920 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16921 wine_fn_config_dll msls31 enable_msls31
16922 wine_fn_config_dll msnet32 enable_msnet32
16923 wine_fn_config_dll mspatcha enable_mspatcha
16924 wine_fn_config_dll msrle32 enable_msrle32 po
16925 wine_fn_config_dll mssign32 enable_mssign32
16926 wine_fn_config_dll mssip32 enable_mssip32
16927 wine_fn_config_dll mstask enable_mstask clean
16928 wine_fn_config_test dlls
/mstask
/tests mstask_test
16929 wine_fn_config_dll msvcirt enable_msvcirt
16930 wine_fn_config_dll msvcm80 enable_msvcm80
16931 wine_fn_config_dll msvcm90 enable_msvcm90
16932 wine_fn_config_dll msvcp100 enable_msvcp100
16933 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16934 wine_fn_config_dll msvcp110 enable_msvcp110
16935 wine_fn_config_dll msvcp60 enable_msvcp60
16936 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16937 wine_fn_config_dll msvcp70 enable_msvcp70
16938 wine_fn_config_dll msvcp71 enable_msvcp71
16939 wine_fn_config_dll msvcp80 enable_msvcp80
16940 wine_fn_config_dll msvcp90 enable_msvcp90
16941 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16942 wine_fn_config_dll msvcr100 enable_msvcr100
16943 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16944 wine_fn_config_dll msvcr110 enable_msvcr110
16945 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16946 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16947 wine_fn_config_dll msvcr80 enable_msvcr80
16948 wine_fn_config_dll msvcr90 enable_msvcr90
16949 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16950 wine_fn_config_dll msvcrt enable_msvcrt implib
16951 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16952 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16953 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16954 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16955 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16956 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16957 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16958 wine_fn_config_dll msvidc32 enable_msvidc32 po
16959 wine_fn_config_dll msvideo.dll16 enable_win16
16960 wine_fn_config_dll mswsock enable_mswsock implib
16961 wine_fn_config_dll msxml enable_msxml clean
16962 wine_fn_config_dll msxml2 enable_msxml2 clean
16963 wine_fn_config_dll msxml3 enable_msxml3 clean
16964 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16965 wine_fn_config_dll msxml4 enable_msxml4 clean
16966 wine_fn_config_dll msxml6 enable_msxml6 clean
16967 wine_fn_config_dll nddeapi enable_nddeapi implib
16968 wine_fn_config_dll netapi32 enable_netapi32 implib
16969 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16970 wine_fn_config_dll netcfgx enable_netcfgx
16971 wine_fn_config_dll newdev enable_newdev implib
16972 wine_fn_config_dll normaliz enable_normaliz implib
16973 wine_fn_config_dll npmshtml enable_npmshtml
16974 wine_fn_config_dll ntdll enable_ntdll implib
16975 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16976 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16977 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16978 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16979 wine_fn_config_dll ntprint enable_ntprint
16980 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16981 wine_fn_config_dll objsel enable_objsel clean
16982 wine_fn_config_dll odbc32 enable_odbc32 implib
16983 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16984 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16985 wine_fn_config_dll odbccu32 enable_odbccu32
16986 wine_fn_config_dll ole2.dll16 enable_win16
16987 wine_fn_config_dll ole2conv.dll16 enable_win16
16988 wine_fn_config_dll ole2disp.dll16 enable_win16
16989 wine_fn_config_dll ole2nls.dll16 enable_win16
16990 wine_fn_config_dll ole2prox.dll16 enable_win16
16991 wine_fn_config_dll ole2thk.dll16 enable_win16
16992 wine_fn_config_dll ole32 enable_ole32 clean
,implib
16993 wine_fn_config_test dlls
/ole32
/tests ole32_test
16994 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
16995 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16996 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
16997 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
16998 wine_fn_config_dll olecli.dll16 enable_win16
16999 wine_fn_config_dll olecli32 enable_olecli32 implib
17000 wine_fn_config_dll oledb32 enable_oledb32 clean
17001 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17002 wine_fn_config_dll oledlg enable_oledlg implib
,po
17003 wine_fn_config_dll olepro32 enable_olepro32 implib
17004 wine_fn_config_dll olesvr.dll16 enable_win16
17005 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17006 wine_fn_config_dll olethk32 enable_olethk32
17007 wine_fn_config_dll openal32 enable_openal32
17008 wine_fn_config_dll opencl enable_opencl
17009 wine_fn_config_dll opengl32 enable_opengl32 implib
17010 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17011 wine_fn_config_dll pdh enable_pdh implib
17012 wine_fn_config_test dlls
/pdh
/tests pdh_test
17013 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17014 wine_fn_config_dll pidgen enable_pidgen
17015 wine_fn_config_dll powrprof enable_powrprof implib
17016 wine_fn_config_dll printui enable_printui
17017 wine_fn_config_dll propsys enable_propsys clean
,implib
17018 wine_fn_config_test dlls
/propsys
/tests propsys_test
17019 wine_fn_config_dll psapi enable_psapi implib
17020 wine_fn_config_test dlls
/psapi
/tests psapi_test
17021 wine_fn_config_dll pstorec enable_pstorec clean
17022 wine_fn_config_dll qcap enable_qcap
17023 wine_fn_config_test dlls
/qcap
/tests qcap_test
17024 wine_fn_config_dll qedit enable_qedit clean
17025 wine_fn_config_test dlls
/qedit
/tests qedit_test
17026 wine_fn_config_dll qmgr enable_qmgr clean
17027 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17028 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17029 wine_fn_config_dll quartz enable_quartz clean
,implib
17030 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17031 wine_fn_config_dll query enable_query
17032 wine_fn_config_dll rasapi16.dll16 enable_win16
17033 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17034 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17035 wine_fn_config_dll rasdlg enable_rasdlg implib
17036 wine_fn_config_dll regapi enable_regapi
17037 wine_fn_config_dll resutils enable_resutils implib
17038 wine_fn_config_dll riched20 enable_riched20 implib
17039 wine_fn_config_test dlls
/riched20
/tests riched20_test
17040 wine_fn_config_dll riched32 enable_riched32
17041 wine_fn_config_test dlls
/riched32
/tests riched32_test
17042 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17043 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17044 wine_fn_config_dll rsabase enable_rsabase
17045 wine_fn_config_dll rsaenh enable_rsaenh implib
17046 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17047 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17048 wine_fn_config_dll rtutils enable_rtutils implib
17049 wine_fn_config_dll samlib enable_samlib
17050 wine_fn_config_dll sane.ds enable_sane_ds po
17051 wine_fn_config_dll scarddlg enable_scarddlg
17052 wine_fn_config_dll sccbase enable_sccbase
17053 wine_fn_config_dll schannel enable_schannel
17054 wine_fn_config_test dlls
/schannel
/tests schannel_test
17055 wine_fn_config_dll scrrun enable_scrrun clean
17056 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17057 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17058 wine_fn_config_dll secur32 enable_secur32 implib
17059 wine_fn_config_test dlls
/secur32
/tests secur32_test
17060 wine_fn_config_dll security enable_security
17061 wine_fn_config_dll sensapi enable_sensapi implib
17062 wine_fn_config_dll serialui enable_serialui implib
,po
17063 wine_fn_config_test dlls
/serialui
/tests serialui_test
17064 wine_fn_config_dll setupapi enable_setupapi implib
,po
17065 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17066 wine_fn_config_dll setupx.dll16 enable_win16
17067 wine_fn_config_dll sfc enable_sfc implib
17068 wine_fn_config_dll sfc_os enable_sfc_os implib
17069 wine_fn_config_dll shdoclc enable_shdoclc po
17070 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17071 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17072 wine_fn_config_dll shell.dll16 enable_win16
17073 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17074 wine_fn_config_test dlls
/shell32
/tests shell32_test
17075 wine_fn_config_dll shfolder enable_shfolder implib
17076 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17077 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17078 wine_fn_config_dll slbcsp enable_slbcsp
17079 wine_fn_config_dll slc enable_slc implib
17080 wine_fn_config_dll snmpapi enable_snmpapi implib
17081 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17082 wine_fn_config_dll softpub enable_softpub
17083 wine_fn_config_dll sound.drv16 enable_win16
17084 wine_fn_config_dll spoolss enable_spoolss implib
17085 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17086 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17087 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17088 wine_fn_config_dll sti enable_sti clean
,implib
17089 wine_fn_config_test dlls
/sti
/tests sti_test
17090 wine_fn_config_dll storage.dll16 enable_win16
17091 wine_fn_config_dll stress.dll16 enable_win16
17092 wine_fn_config_lib strmbase
17093 wine_fn_config_lib strmiids
17094 wine_fn_config_dll svrapi enable_svrapi
17095 wine_fn_config_dll sxs enable_sxs implib
17096 wine_fn_config_test dlls
/sxs
/tests sxs_test
17097 wine_fn_config_dll system.drv16 enable_win16
17098 wine_fn_config_dll t2embed enable_t2embed
17099 wine_fn_config_dll tapi32 enable_tapi32 implib
17100 wine_fn_config_dll toolhelp.dll16 enable_win16
17101 wine_fn_config_dll traffic enable_traffic
17102 wine_fn_config_dll twain.dll16 enable_win16
17103 wine_fn_config_dll twain_32 enable_twain_32
17104 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17105 wine_fn_config_dll typelib.dll16 enable_win16
17106 wine_fn_config_dll unicows enable_unicows implib
17107 wine_fn_config_dll updspapi enable_updspapi
17108 wine_fn_config_dll url enable_url implib
17109 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17110 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17111 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17112 wine_fn_config_dll user.exe16 enable_win16
17113 wine_fn_config_dll user32 enable_user32 implib
,po
17114 wine_fn_config_test dlls
/user32
/tests user32_test
17115 wine_fn_config_dll userenv enable_userenv implib
17116 wine_fn_config_test dlls
/userenv
/tests userenv_test
17117 wine_fn_config_dll usp10 enable_usp10 implib
17118 wine_fn_config_test dlls
/usp10
/tests usp10_test
17119 wine_fn_config_lib uuid
17120 wine_fn_config_dll uxtheme enable_uxtheme implib
17121 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17122 wine_fn_config_dll vbscript enable_vbscript clean
17123 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17124 wine_fn_config_dll vcomp enable_vcomp
17125 wine_fn_config_dll vcomp100 enable_vcomp100
17126 wine_fn_config_dll vcomp90 enable_vcomp90
17127 wine_fn_config_dll vdhcp.vxd enable_win16
17128 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17129 wine_fn_config_dll ver.dll16 enable_win16
17130 wine_fn_config_dll version enable_version implib
17131 wine_fn_config_test dlls
/version
/tests version_test
17132 wine_fn_config_dll vmm.vxd enable_win16
17133 wine_fn_config_dll vnbt.vxd enable_win16
17134 wine_fn_config_dll vnetbios.vxd enable_win16
17135 wine_fn_config_dll vtdapi.vxd enable_win16
17136 wine_fn_config_dll vwin32.vxd enable_win16
17137 wine_fn_config_dll w32skrnl enable_win16
17138 wine_fn_config_dll w32sys.dll16 enable_win16
17139 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17140 wine_fn_config_dll wbemprox enable_wbemprox clean
17141 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17142 wine_fn_config_dll webservices enable_webservices implib
17143 wine_fn_config_dll wer enable_wer implib
17144 wine_fn_config_test dlls
/wer
/tests wer_test
17145 wine_fn_config_dll wevtapi enable_wevtapi
17146 wine_fn_config_dll wiaservc enable_wiaservc clean
17147 wine_fn_config_dll win32s16.dll16 enable_win16
17148 wine_fn_config_dll win87em.dll16 enable_win16
17149 wine_fn_config_dll winaspi.dll16 enable_win16
17150 wine_fn_config_dll windebug.dll16 enable_win16
17151 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17152 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17153 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17154 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17155 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17156 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17157 wine_fn_config_lib winecrt0
17158 wine_fn_config_dll wined3d enable_wined3d implib
17159 wine_fn_config_dll winegstreamer enable_winegstreamer
17160 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17161 wine_fn_config_dll winemac.drv enable_winemac_drv
17162 wine_fn_config_dll winemapi enable_winemapi
17163 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17164 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17165 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
17166 wine_fn_config_dll wineps16.drv16 enable_win16
17167 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17168 wine_fn_config_dll winex11.drv enable_winex11_drv
17169 wine_fn_config_dll wing.dll16 enable_win16
17170 wine_fn_config_dll wing32 enable_wing32
17171 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17172 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17173 wine_fn_config_dll wininet enable_wininet implib
,po
17174 wine_fn_config_test dlls
/wininet
/tests wininet_test
17175 wine_fn_config_dll winmm enable_winmm implib
,po
17176 wine_fn_config_test dlls
/winmm
/tests winmm_test
17177 wine_fn_config_dll winnls.dll16 enable_win16
17178 wine_fn_config_dll winnls32 enable_winnls32 implib
17179 wine_fn_config_dll winscard enable_winscard implib
17180 wine_fn_config_dll winsock.dll16 enable_win16
17181 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17182 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17183 wine_fn_config_dll winsta enable_winsta
17184 wine_fn_config_dll wintab.dll16 enable_win16
17185 wine_fn_config_dll wintab32 enable_wintab32 implib
17186 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17187 wine_fn_config_dll wintrust enable_wintrust implib
17188 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17189 wine_fn_config_dll wlanapi enable_wlanapi
17190 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17191 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17192 wine_fn_config_dll wmi enable_wmi
17193 wine_fn_config_dll wmiutils enable_wmiutils clean
17194 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17195 wine_fn_config_dll wmvcore enable_wmvcore
17196 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17197 wine_fn_config_dll wow32 enable_win16 implib
17198 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17199 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17200 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17201 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17202 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17203 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17204 wine_fn_config_dll wsock32 enable_wsock32 implib
17205 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17206 wine_fn_config_dll wuapi enable_wuapi clean
17207 wine_fn_config_dll wuaueng enable_wuaueng
17208 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17209 wine_fn_config_dll xinput1_1 enable_xinput1_1
17210 wine_fn_config_dll xinput1_2 enable_xinput1_2
17211 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17212 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17213 wine_fn_config_dll xinput1_4 enable_xinput1_4
17214 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17215 wine_fn_config_dll xmllite enable_xmllite
17216 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17217 wine_fn_config_dll xolehlp enable_xolehlp
17218 wine_fn_config_dll xpsprint enable_xpsprint
17219 wine_fn_config_dll xpssvcs enable_xpssvcs
17220 wine_fn_config_makefile documentation enable_documentation clean
17221 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17222 wine_fn_config_makefile include enable_include clean
,install-dev
17223 wine_fn_config_makefile libs
/port enable_libs_port
17224 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17225 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17226 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17227 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17228 wine_fn_config_program attrib enable_attrib
install,po
17229 wine_fn_config_program cabarc enable_cabarc
install
17230 wine_fn_config_program cacls enable_cacls
install
17231 wine_fn_config_program
clock enable_clock
install,po
17232 wine_fn_config_program cmd enable_cmd
install,po
17233 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17234 wine_fn_config_program conhost enable_conhost
install
17235 wine_fn_config_program control enable_control
install
17236 wine_fn_config_program cscript enable_cscript
install
17237 wine_fn_config_program dxdiag enable_dxdiag
install,po
17238 wine_fn_config_program eject enable_eject
install
17239 wine_fn_config_program
expand enable_expand
install
17240 wine_fn_config_program explorer enable_explorer
install,po
17241 wine_fn_config_program extrac32 enable_extrac32
install
17242 wine_fn_config_program findstr enable_findstr
install
17243 wine_fn_config_program hh enable_hh
install
17244 wine_fn_config_program hostname enable_hostname
install,po
17245 wine_fn_config_program icinfo enable_icinfo
install
17246 wine_fn_config_program iexplore enable_iexplore
install
17247 wine_fn_config_program ipconfig enable_ipconfig
install,po
17248 wine_fn_config_program lodctr enable_lodctr
install
17249 wine_fn_config_program mofcomp enable_mofcomp
install
17250 wine_fn_config_program mshta enable_mshta
install
17251 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17252 wine_fn_config_program net enable_net
install,po
17253 wine_fn_config_program netsh enable_netsh
install
17254 wine_fn_config_program netstat enable_netstat
install,po
17255 wine_fn_config_program ngen enable_ngen
install
17256 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17257 wine_fn_config_program oleview enable_oleview
install,po
17258 wine_fn_config_program
ping enable_ping
install
17259 wine_fn_config_program plugplay enable_plugplay
install
17260 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17261 wine_fn_config_program progman enable_progman
install,po
17262 wine_fn_config_program reg enable_reg
install,po
17263 wine_fn_config_program regasm enable_regasm
install
17264 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17265 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17266 wine_fn_config_program regsvcs enable_regsvcs
install
17267 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17268 wine_fn_config_program rpcss enable_rpcss clean
,install
17269 wine_fn_config_program rundll.exe16 enable_win16
install
17270 wine_fn_config_program rundll32 enable_rundll32
install
17271 wine_fn_config_program sc enable_sc
install
17272 wine_fn_config_program schtasks enable_schtasks
install
17273 wine_fn_config_program secedit enable_secedit
install
17274 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17275 wine_fn_config_program services enable_services clean
,install
17276 wine_fn_config_test programs
/services
/tests services.exe_test
17277 wine_fn_config_program spoolsv enable_spoolsv
install
17278 wine_fn_config_program start enable_start
install,po
17279 wine_fn_config_program svchost enable_svchost
install
17280 wine_fn_config_program taskkill enable_taskkill
install,po
17281 wine_fn_config_program tasklist enable_tasklist
install
17282 wine_fn_config_program taskmgr enable_taskmgr
install,po
17283 wine_fn_config_program termsv enable_termsv
install
17284 wine_fn_config_program uninstaller enable_uninstaller
install,po
17285 wine_fn_config_program unlodctr enable_unlodctr
install
17286 wine_fn_config_program view enable_view
install,po
17287 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17288 wine_fn_config_program winebrowser enable_winebrowser
install
17289 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17290 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17291 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17292 wine_fn_config_program winedevice enable_winedevice
install
17293 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17294 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17295 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17296 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17297 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17298 wine_fn_config_program winetest enable_winetest clean
17299 wine_fn_config_program winevdm enable_win16
install
17300 wine_fn_config_program winhelp.exe16 enable_win16
install
17301 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17302 wine_fn_config_program winoldap.mod16 enable_win16
install
17303 wine_fn_config_program winver enable_winver
install
17304 wine_fn_config_program wmic enable_wmic
install,po
17305 wine_fn_config_program wordpad enable_wordpad
install,po
17306 wine_fn_config_program
write enable_write
install,po
17307 wine_fn_config_program wscript enable_wscript clean
,install
17308 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17309 wine_fn_config_program wusa enable_wusa
install
17310 wine_fn_config_program xcopy enable_xcopy
install,po
17311 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17312 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17313 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17314 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17315 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17316 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17317 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17318 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17369 ac_config_commands
="$ac_config_commands Makefile"
17372 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17376 if test "x$enable_maintainer_mode" = xyes
17378 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17379 cd \$(srcdir) && autoconf --warnings=all
17380 \$(srcdir)/include/config.h.in: include/stamp-h.in
17381 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17382 cd \$(srcdir) && autoheader --warnings=all
17383 @echo timestamp > \$@"
17386 if test "x$with_gettextpo" = xyes
17388 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17389 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17390 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17391 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17392 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17393 msgcat -o \$@ \$(ALL_POT_FILES)"
17396 if test "$MSGFMT" != false
17398 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17400 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17405 if test "x$enable_tools" != xno
17407 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17409 \$(RM) tools/makedep\$(EXEEXT)"
17412 if test -n "$with_wine64"
17414 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17415 fonts server tools:
17416 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17417 $with_wine64/loader/wine:
17418 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17419 $with_wine64/loader/wine-preloader:
17420 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17422 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17425 $as_echo " done" >&6
17426 cat >confcache
<<\_ACEOF
17427 # This file is a shell script that caches the results of configure
17428 # tests run on this system so they can be shared between configure
17429 # scripts and configure runs, see configure's option --config-cache.
17430 # It is not useful on other systems. If it contains results you don't
17431 # want to keep, you may remove or edit it.
17433 # config.status only pays attention to the cache file if you give it
17434 # the --recheck option to rerun configure.
17436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17438 # following values.
17442 # The following way of writing the cache mishandles newlines in values,
17443 # but we know of no workaround that is simple, portable, and efficient.
17444 # So, we kill variables containing newlines.
17445 # Ultrix sh set writes to stderr and can't be redirected directly,
17446 # and sets the high bit in the cache file unless we assign to the vars.
17448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17449 eval ac_val
=\$
$ac_var
17453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17457 _ | IFS | as_nl
) ;; #(
17458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17459 *) { eval $ac_var=; unset $ac_var;} ;;
17465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17466 *${as_nl}ac_space
=\
*)
17467 # `set' does not quote correctly, so add quotes: double-quote
17468 # substitution turns \\\\ into \\, and sed turns \\ into \.
17471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17474 # `set' quotes correctly as required by POSIX, so do not add quotes.
17475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17489 if test -w "$cache_file"; then
17490 if test "x$cache_file" != "x/dev/null"; then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17492 $as_echo "$as_me: updating cache $cache_file" >&6;}
17493 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17494 cat confcache
>"$cache_file"
17496 case $cache_file in #(
17498 mv -f confcache
"$cache_file"$$
&&
17499 mv -f "$cache_file"$$
"$cache_file" ;; #(
17501 mv -f confcache
"$cache_file" ;;
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17512 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17513 # Let make expand exec_prefix.
17514 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17516 DEFS
=-DHAVE_CONFIG_H
17521 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17522 # 1. Remove the extension, and $U if already installed.
17523 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17524 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17526 # will be set to the directory where LIBOBJS objects are built.
17527 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17528 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17530 LIBOBJS
=$ac_libobjs
17532 LTLIBOBJS
=$ac_ltlibobjs
17536 : "${CONFIG_STATUS=./config.status}"
17538 ac_clean_files_save
=$ac_clean_files
17539 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17545 # Generated by $as_me.
17546 # Run this file to recreate the current configuration.
17547 # Compiler output produced by configure, useful for debugging
17548 # configure, is in config.log if it exists.
17551 ac_cs_recheck=false
17554 SHELL=\${CONFIG_SHELL-$SHELL}
17557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17558 ## -------------------- ##
17559 ## M4sh Initialization. ##
17560 ## -------------------- ##
17562 # Be more Bourne compatible
17563 DUALCASE
=1; export DUALCASE
# for MKS sh
17564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17568 # is contrary to our usage. Disable this feature.
17569 alias -g '${1+"$@"}'='"$@"'
17570 setopt NO_GLOB_SUBST
17572 case `(set -o) 2>/dev/null` in #(
17584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17585 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17588 # Prefer a ksh shell builtin over an external printf program on Solaris,
17589 # but without wasting forks for bash or zsh.
17590 if test -z "$BASH_VERSION$ZSH_VERSION" \
17591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17592 as_echo='print
-r --'
17593 as_echo_n='print
-rn --'
17594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17595 as_echo='printf %s
\n'
17596 as_echo_n='printf %s
'
17598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17599 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17600 as_echo_n='/usr
/ucb
/echo -n'
17602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17603 as_echo_n_body='eval
17607 expr "X$arg" : "X\\(.*\\)$as_nl";
17608 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17610 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17612 export as_echo_n_body
17613 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17615 export as_echo_body
17616 as_echo='sh
-c $as_echo_body as_echo
'
17619 # The user is always right.
17620 if test "${PATH_SEPARATOR+set}" != set; then
17622 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17623 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17630 # We need space, tab and new line, in precisely that order. Quoting is
17631 # there to prevent editors from complaining about space-tab.
17632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17633 # splitting by setting IFS to empty value.)
17636 # Find who we are. Look in the path if we contain no directory separator.
17639 *[\\/]* ) as_myself=$0 ;;
17640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17641 for as_dir in $PATH
17644 test -z "$as_dir" && as_dir=.
17645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17651 # We did not find ourselves, most probably we were run as `sh COMMAND'
17652 # in which case we are not to be found in the path.
17653 if test "x$as_myself" = x
; then
17656 if test ! -f "$as_myself"; then
17657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17661 # Unset variables that we do not need and which cause bugs (e.g. in
17662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17663 # suppresses any "Segmentation fault" message there. '((' could
17664 # trigger a bug in pdksh 5.2.14.
17665 for as_var
in BASH_ENV ENV MAIL MAILPATH
17666 do eval test x\
${$as_var+set} = xset \
17667 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17680 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17684 # ----------------------------------------
17685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17687 # script with STATUS, using 1 if that was 0.
17690 as_status
=$1; test $as_status -eq 0 && as_status
=1
17692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17695 $as_echo "$as_me: error: $2" >&2
17696 as_fn_exit
$as_status
17700 # as_fn_set_status STATUS
17701 # -----------------------
17702 # Set $? to STATUS, without forking.
17703 as_fn_set_status
()
17706 } # as_fn_set_status
17708 # as_fn_exit STATUS
17709 # -----------------
17710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17714 as_fn_set_status
$1
17720 # Portably unset VAR.
17723 { eval $1=; unset $1;}
17725 as_unset
=as_fn_unset
17726 # as_fn_append VAR VALUE
17727 # ----------------------
17728 # Append the text in VALUE to the end of the definition contained in VAR. Take
17729 # advantage of any shell optimizations that allow amortized linear growth over
17730 # repeated appends, instead of the typical quadratic growth present in naive
17732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17733 eval 'as_fn_append ()
17744 # as_fn_arith ARG...
17745 # ------------------
17746 # Perform arithmetic evaluation on the ARGs, and store the result in the
17747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17748 # must be portable across $(()) and expr.
17749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17750 eval 'as_fn_arith ()
17757 as_val
=`expr "$@" || test $? -eq 1`
17762 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17763 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17769 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17770 as_basename
=basename
17775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17781 as_me
=`$as_basename -- "$0" ||
17782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17783 X"$0" : 'X\(//\)$' \| \
17784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17786 sed '/^.*\/\([^/][^/]*\)\/*$/{
17800 # Avoid depending upon Character Ranges.
17801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17804 as_cr_digits
='0123456789'
17805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17807 ECHO_C
= ECHO_N
= ECHO_T
=
17808 case `echo -n x` in #(((((
17810 case `echo 'xy\c'` in
17811 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17813 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17820 rm -f conf$$ conf$$.exe conf$$.
file
17821 if test -d conf$$.dir
; then
17822 rm -f conf$$.dir
/conf$$.
file
17825 mkdir conf$$.dir
2>/dev
/null
17827 if (echo >conf$$.
file) 2>/dev
/null
; then
17828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17830 # ... but there are two gotchas:
17831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17833 # In both cases, we have to default to `cp -pR'.
17834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17845 rmdir conf$$.dir
2>/dev
/null
17850 # Create "$as_dir" as a directory, including parents if necessary.
17855 -*) as_dir
=.
/$as_dir;;
17857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17861 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17862 *) as_qdir
=$as_dir;;
17864 as_dirs
="'$as_qdir' $as_dirs"
17865 as_dir
=`$as_dirname -- "$as_dir" ||
17866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17867 X"$as_dir" : 'X\(//\)[^/]' \| \
17868 X"$as_dir" : 'X\(//\)$' \| \
17869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17870 $as_echo X"$as_dir" |
17871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17875 /^X\(\/\/\)[^/].*/{
17888 test -d "$as_dir" && break
17890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17891 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17895 if mkdir
-p .
2>/dev
/null
; then
17896 as_mkdir_p
='mkdir -p "$as_dir"'
17898 test -d .
/-p && rmdir .
/-p
17903 # as_fn_executable_p FILE
17904 # -----------------------
17905 # Test if FILE is an executable regular file.
17906 as_fn_executable_p
()
17908 test -f "$1" && test -x "$1"
17909 } # as_fn_executable_p
17910 as_test_x
='test -x'
17911 as_executable_p
=as_fn_executable_p
17913 # Sed expression to map a string onto a valid CPP name.
17914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17916 # Sed expression to map a string onto a valid variable name.
17917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17921 ## ----------------------------------- ##
17922 ## Main body of $CONFIG_STATUS script. ##
17923 ## ----------------------------------- ##
17925 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17928 # Save the log message, to keep $0 and so on meaningful, and to
17929 # report actual input values of CONFIG_FILES etc. instead of their
17930 # values after options handling.
17932 This file was extended by Wine $as_me 1.7.3, which was
17933 generated by GNU Autoconf 2.69. Invocation command line was
17935 CONFIG_FILES = $CONFIG_FILES
17936 CONFIG_HEADERS = $CONFIG_HEADERS
17937 CONFIG_LINKS = $CONFIG_LINKS
17938 CONFIG_COMMANDS = $CONFIG_COMMANDS
17941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17946 case $ac_config_files in *"
17947 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17950 case $ac_config_headers in *"
17951 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17956 # Files that config.status was made for.
17957 config_files="$ac_config_files"
17958 config_headers="$ac_config_headers"
17959 config_links="$ac_config_links"
17960 config_commands="$ac_config_commands"
17964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17966 \`$as_me' instantiates files and other configuration actions
17967 from templates according to the current configuration. Unless the files
17968 and actions are specified as TAGs, all are instantiated by default.
17970 Usage: $0 [OPTION]... [TAG]...
17972 -h, --help print this help, then exit
17973 -V, --version print version number and configuration settings, then exit
17974 --config print configuration, then exit
17975 -q, --quiet, --silent
17976 do not print progress messages
17977 -d, --debug don't remove temporary files
17978 --recheck update $as_me by reconfiguring in the same conditions
17979 --file=FILE[:TEMPLATE]
17980 instantiate the configuration file FILE
17981 --header=FILE[:TEMPLATE]
17982 instantiate the configuration header FILE
17984 Configuration files:
17987 Configuration headers:
17990 Configuration links:
17993 Configuration commands:
17996 Report bugs to <wine-devel@winehq.org>.
17997 Wine home page: <http://www.winehq.org>."
18000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18003 Wine config.status 1.7.3
18004 configured by $0, generated by GNU Autoconf 2.69,
18005 with options \\"\$ac_cs_config\\"
18007 Copyright (C) 2012 Free Software Foundation, Inc.
18008 This config.status script is free software; the Free Software Foundation
18009 gives unlimited permission to copy, distribute and modify it."
18014 test -n "\$AWK" || AWK=awk
18017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18018 # The default lists apply if the user does not specify any file.
18024 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18025 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18029 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18041 # Handling of the options.
18042 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18044 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18045 $as_echo "$ac_cs_version"; exit ;;
18046 --config |
--confi |
--conf |
--con |
--co |
--c )
18047 $as_echo "$ac_cs_config"; exit ;;
18048 --debug |
--debu |
--deb |
--de |
--d |
-d )
18050 --file |
--fil |
--fi |
--f )
18053 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18054 '') as_fn_error $?
"missing file argument" ;;
18056 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18057 ac_need_defaults
=false
;;
18058 --header |
--heade |
--head |
--hea )
18061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18063 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18064 ac_need_defaults
=false
;;
18066 # Conflict between --help and --header
18067 as_fn_error $?
"ambiguous option: \`$1'
18068 Try \`$0 --help' for more information.";;
18069 --help |
--hel |
-h )
18070 $as_echo "$ac_cs_usage"; exit ;;
18071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18072 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18075 # This is an error.
18076 -*) as_fn_error $?
"unrecognized option: \`$1'
18077 Try \`$0 --help' for more information." ;;
18079 *) as_fn_append ac_config_targets
" $1"
18080 ac_need_defaults
=false
;;
18086 ac_configure_extra_args
=
18088 if $ac_cs_silent; then
18090 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18095 if \$ac_cs_recheck; then
18096 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18099 CONFIG_SHELL='$SHELL'
18100 export CONFIG_SHELL
18105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18110 ## Running $as_me. ##
18116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18120 wine_fn_output_makefile ()
18122 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18123 `cat $wine_rules_file`
18125 as_fn_error $? "could not create Makefile" "$LINENO" 5
18130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18132 # Handling of arguments.
18133 for ac_config_target
in $ac_config_targets
18135 case $ac_config_target in
18136 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18137 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18138 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18139 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
18140 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18141 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18142 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18143 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18144 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18145 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
18146 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18147 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18148 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18149 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18150 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18151 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18152 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18153 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18154 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18155 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18156 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
18157 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
18158 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18159 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
18160 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18161 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18163 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18168 # If the user did not use the arguments to specify the items to instantiate,
18169 # then the envvar interface is used. Set only those that are not.
18170 # We use the long form for the default assignment because of an extremely
18171 # bizarre bug on SunOS 4.1.3.
18172 if $ac_need_defaults; then
18173 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18174 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18175 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18179 # Have a temporary directory for convenience. Make it in the build tree
18180 # simply because there is no reason against having it here, and in addition,
18181 # creating and moving files from /tmp can sometimes cause problems.
18182 # Hook for its removal unless debugging.
18183 # Note that there is a small window in which the directory will not be cleaned:
18184 # after its creation but before its name has been assigned to `$tmp'.
18188 trap 'exit_status=$?
18189 : "${ac_tmp:=$tmp}"
18190 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18192 trap 'as_fn_exit 1' 1 2 13 15
18194 # Create a (secure) tmp directory for tmp files.
18197 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18201 tmp
=.
/conf$$
-$RANDOM
18202 (umask 077 && mkdir
"$tmp")
18203 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18206 # Set up the scripts for CONFIG_FILES section.
18207 # No need to generate them if there are no CONFIG_FILES.
18208 # This happens for instance with `./config.status config.h'.
18209 if test -n "$CONFIG_FILES"; then
18211 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18212 ac_cs_awk_getline
=:
18213 ac_cs_awk_pipe_init
=
18214 ac_cs_awk_read_file
='
18215 while ((getline aline < (F[key])) > 0)
18218 ac_cs_awk_pipe_fini
=
18220 ac_cs_awk_getline
=false
18221 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18222 ac_cs_awk_read_file
='
18224 print "cat " F[key] " &&"
18225 '$ac_cs_awk_pipe_init
18226 # The final `:' finishes the AND list.
18227 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18229 ac_cr
=`echo X | tr X '\015'`
18230 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18231 # But we know of no other shell where ac_cr would be empty at this
18232 # point, so we can use a bashism as a fallback.
18233 if test "x$ac_cr" = x
; then
18234 eval ac_cr
=\$
\'\\r
\'
18236 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18237 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18240 ac_cs_awk_cr
=$ac_cr
18243 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18246 # Create commands to substitute file output variables.
18248 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18249 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18250 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18253 } >conf$
$files.sh
&&
18254 . .
/conf$
$files.sh ||
18255 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18256 rm -f conf$
$files.sh
18259 echo "cat >conf$$subs.awk <<_ACEOF" &&
18260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18262 } >conf$$subs.sh ||
18263 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18266 for ac_last_try in false false false false false :; do
18267 . ./conf$$subs.sh ||
18268 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18270 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18271 if test $ac_delim_n = $ac_delim_num; then
18273 elif $ac_last_try; then
18274 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18276 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18279 rm -f conf$$subs.sh
18281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18282 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18286 s/^/S["/; s
/!.
*/"]=/
18296 s/\(.\{148\}\)..*/\1/
18298 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18303 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18310 s/\(.\{148\}\)..*/\1/
18312 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18316 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18321 ' <conf$$subs.awk | sed '
18326 ' >>$CONFIG_STATUS || ac_write_fail=1
18327 rm -f conf$$subs.awk
18328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18330 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18331 for (key in S) S_is_set[key] = 1
18333 \$ac_cs_awk_pipe_init
18337 nfields = split(line, field, "@
")
18339 len = length(field[1])
18340 for (i = 2; i < nfields; i++) {
18342 keylen = length(key)
18343 if (S_is_set[key]) {
18345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18346 len += length(value) + length(field[++i])
18351 if (nfields == 3 && !substed) {
18353 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18354 \$ac_cs_awk_read_file
18360 \$ac_cs_awk_pipe_fini
18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18365 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18368 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18369 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18372 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18373 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18374 # trailing colons and then remove the whole line if VPATH becomes empty
18375 # (actually we leave an empty line to preserve line numbers).
18376 if test "x
$srcdir" = x.; then
18377 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18396 fi # test -n "$CONFIG_FILES"
18398 # Set up the scripts for CONFIG_HEADERS section.
18399 # No need to generate them if there are no CONFIG_HEADERS.
18400 # This happens for instance with `./config.status Makefile'.
18401 if test -n "$CONFIG_HEADERS"; then
18402 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18406 # Transform confdefs.h into an awk script `defines.awk', embedded as
18407 # here-document in config.status, that substitutes the proper values into
18408 # config.h.in to produce config.h.
18410 # Create a delimiter string that does not exist in confdefs.h, to ease
18411 # handling of long lines.
18413 for ac_last_try in false false :; do
18414 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18415 if test -z "$ac_tt"; then
18417 elif $ac_last_try; then
18418 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18420 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18424 # For the awk script, D is an array of macro values keyed by name,
18425 # likewise P contains macro parameters if any. Preserve backslash
18426 # newline sequences.
18428 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18430 s/.\{148\}/&'"$ac_delim"'/g
18433 s/^[ ]*#[ ]*define[ ][ ]*/ /
18440 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18442 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18447 D["\
1"]=" \
3\\\\\\n
"\\/p
18449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18454 s/.\{148\}/&'"$ac_delim"'/g
18459 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18462 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18464 ' <confdefs.h | sed '
18465 s/'"$ac_delim"'/"\\\
18466 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18469 for (key in D) D_is_set[key] = 1
18472 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18474 split(line, arg, " ")
18475 if (arg[1] == "#") {
18479 defundef
= substr
(arg
[1], 2)
18482 split(mac1
, mac2
, "(") #)
18484 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18485 if (D_is_set
[macro
]) {
18486 # Preserve the white space surrounding the "#".
18487 print prefix
"define", macro P
[macro
] D
[macro
]
18490 # Replace #undef with comments. This is necessary, for example,
18491 # in the case of _POSIX_SOURCE, which is predefined and required
18492 # on some systems where configure will not decide to define it.
18493 if (defundef
== "undef") {
18494 print
"/*", prefix defundef
, macro
, "*/"
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18503 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18504 fi # test -n "$CONFIG_HEADERS"
18507 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18512 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18514 case $ac_mode$ac_tag in
18516 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18517 :[FH
]-) ac_tag
=-:-;;
18518 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18535 -) ac_f
="$ac_tmp/stdin";;
18536 *) # Look for the file first in the build tree, then in the source tree
18537 # (if the path is not absolute). The absolute path cannot be DOS-style,
18538 # because $ac_f cannot contain `:'.
18542 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18544 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18546 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18547 as_fn_append ac_file_inputs
" '$ac_f'"
18550 # Let's still pretend it is `configure' which instantiates (i.e., don't
18551 # use $as_me), people would be surprised to read:
18552 # /* config.h. Generated by config.status. */
18553 configure_input
='Generated from '`
18554 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18556 if test x
"$ac_file" != x-
; then
18557 configure_input
="$ac_file. $configure_input"
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18559 $as_echo "$as_me: creating $ac_file" >&6;}
18561 # Neutralize special characters interpreted by sed in replacement strings.
18562 case $configure_input in #(
18563 *\
&* |
*\|
* |
*\\* )
18564 ac_sed_conf_input
=`$as_echo "$configure_input" |
18565 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18566 *) ac_sed_conf_input
=$configure_input;;
18570 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18571 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18576 ac_dir
=`$as_dirname -- "$ac_file" ||
18577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18578 X"$ac_file" : 'X\(//\)[^/]' \| \
18579 X"$ac_file" : 'X\(//\)$' \| \
18580 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18581 $as_echo X"$ac_file" |
18582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18586 /^X\(\/\/\)[^/].*/{
18599 as_dir
="$ac_dir"; as_fn_mkdir_p
18603 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18605 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18606 # A ".." for each directory in $ac_dir_suffix.
18607 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18608 case $ac_top_builddir_sub in
18609 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18610 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18613 ac_abs_top_builddir
=$ac_pwd
18614 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18615 # for backward compatibility:
18616 ac_top_builddir
=$ac_top_build_prefix
18619 .
) # We are building in place.
18621 ac_top_srcdir
=$ac_top_builddir_sub
18622 ac_abs_top_srcdir
=$ac_pwd ;;
18623 [\\/]* | ?
:[\\/]* ) # Absolute name.
18624 ac_srcdir
=$srcdir$ac_dir_suffix;
18625 ac_top_srcdir
=$srcdir
18626 ac_abs_top_srcdir
=$srcdir ;;
18627 *) # Relative name.
18628 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18629 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18630 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18632 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18642 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18643 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18648 # If the template does not know about datarootdir, expand it.
18649 # FIXME: This hack should be removed a few years after 2.60.
18650 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18661 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18662 *datarootdir
*) ac_datarootdir_seen
=yes;;
18663 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18665 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 ac_datarootdir_hack='
18669 s&@datadir@&$datadir&g
18670 s&@docdir@&$docdir&g
18671 s&@infodir@&$infodir&g
18672 s&@localedir@&$localedir&g
18673 s&@mandir@&$mandir&g
18674 s&\\\${datarootdir}&$datarootdir&g' ;;
18678 # Neutralize VPATH when `$srcdir' = `.'.
18679 # Shell code in configure.ac might set extrasub.
18680 # FIXME: do we really want to maintain this feature?
18681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18682 ac_sed_extra="$ac_vpsub
18685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18687 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18688 s|@configure_input@|
$ac_sed_conf_input|
;t t
18689 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18690 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18691 s
&@srcdir@
&$ac_srcdir&;t t
18692 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18693 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18694 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18695 s
&@builddir@
&$ac_builddir&;t t
18696 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18697 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18698 s
&@INSTALL@
&$ac_INSTALL&;t t
18699 $ac_datarootdir_hack
18701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18702 if $ac_cs_awk_getline; then
18703 $AWK -f "$ac_tmp/subs.
awk"
18705 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18707 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18712 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18714 which seems to be undefined. Please make sure it is defined" >&5
18715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18716 which seems to be undefined. Please make sure it is defined" >&2;}
18718 rm -f "$ac_tmp/stdin"
18720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18729 if test x"$ac_file" != x-; then
18731 $as_echo "/* $configure_input */" \
18732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18733 } >"$ac_tmp/config.h" \
18734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18740 mv "$ac_tmp/config.h" "$ac_file" \
18741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18744 $as_echo "/* $configure_input */" \
18745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18746 || as_fn_error $? "could not create -" "$LINENO" 5
18754 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18757 # Prefer the file from the source tree if names are identical.
18758 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18759 ac_source=$srcdir/$ac_source
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18763 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18765 if test ! -r "$ac_source"; then
18766 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18770 # Try a relative symlink, then a hard link, then a copy.
18772 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18773 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18775 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18776 ln "$ac_source" "$ac_file" 2>/dev/null ||
18777 cp -p "$ac_source" "$ac_file" ||
18778 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18781 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18782 $as_echo "$as_me: executing $ac_file commands" >&6;}
18787 case $ac_file$ac_mode in
18788 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18789 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18790 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18791 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18792 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18793 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18794 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18795 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18796 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18797 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18798 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18799 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18800 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18801 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18802 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18803 "Makefile":C) wine_fn_output_makefile Makefile ;;
18811 ac_clean_files=$ac_clean_files_save
18813 test $ac_write_fail = 0 ||
18814 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18817 # configure is writing to config.log, and then calls config.status.
18818 # config.status does its own redirection, appending to config.log.
18819 # Unfortunately, on DOS this fails, as config.log is still kept open
18820 # by configure, so config.status won't be able to
write to it
; its
18821 # output is simply discarded. So we exec the FD to /dev/null,
18822 # effectively closing config.log, so it can be properly (re)opened and
18823 # appended to by config.status. When coming back to configure, we
18824 # need to make the FD available again.
18825 if test "$no_create" != yes; then
18827 ac_config_status_args
=
18828 test "$silent" = yes &&
18829 ac_config_status_args
="$ac_config_status_args --quiet"
18831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18834 # would make configure fail if this is the last instruction.
18835 $ac_cs_success || as_fn_exit
1
18837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18843 if test "$no_create" = "yes"
18849 if test "x$wine_notices != "x
; then
18852 for msg
in $wine_notices; do
18854 if test -n "$msg"; then
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18856 $as_echo "$as_me: $msg" >&6;}
18861 for msg
in $wine_warnings; do
18863 if test -n "$msg"; then
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18866 $as_echo "$as_me: WARNING: $msg" >&2;}
18872 $as_me: Finished. Do '${ac_make}' to compile Wine.