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
699 APPLICATIONSERVICESLIB
793 program_transform_name
804 ac_subst_files
='MAKE_RULES
810 enable_option_checking
814 enable_maintainer_mode
869 enable_api_ms_win_core_localregistry_l1_1_0
870 enable_api_ms_win_core_processthreads_l1_1_0
871 enable_api_ms_win_core_winrt_error_l1_1_0
872 enable_api_ms_win_core_winrt_string_l1_1_0
873 enable_api_ms_win_downlevel_advapi32_l1_1_0
874 enable_api_ms_win_downlevel_advapi32_l2_1_0
875 enable_api_ms_win_downlevel_normaliz_l1_1_0
876 enable_api_ms_win_downlevel_ole32_l1_1_0
877 enable_api_ms_win_downlevel_shell32_l1_1_0
878 enable_api_ms_win_downlevel_shlwapi_l1_1_0
879 enable_api_ms_win_downlevel_shlwapi_l2_1_0
880 enable_api_ms_win_downlevel_user32_l1_1_0
881 enable_api_ms_win_downlevel_version_l1_1_0
882 enable_api_ms_win_security_base_l1_1_0
919 enable_d3dcompiler_33
920 enable_d3dcompiler_34
921 enable_d3dcompiler_35
922 enable_d3dcompiler_36
923 enable_d3dcompiler_37
924 enable_d3dcompiler_38
925 enable_d3dcompiler_39
926 enable_d3dcompiler_40
927 enable_d3dcompiler_41
928 enable_d3dcompiler_42
929 enable_d3dcompiler_43
1002 enable_explorerframe
1141 enable_photometadatahandler
1219 enable_windowscodecs
1220 enable_windowscodecsext
1222 enable_winecoreaudio_drv
1224 enable_winegstreamer
1225 enable_winejoystick_drv
1231 enable_wineqtdecoder
1266 enable_documentation
1273 enable_aspnet_regiis
1305 enable_presentationfontcache
1317 enable_servicemodelreg
1336 enable_winemenubuilder
1338 enable_winemsibuilder
1352 ac_precious_vars
='build_alias
1399 # Initialize some variables set by options.
1401 ac_init_version
=false
1402 ac_unrecognized_opts
=
1403 ac_unrecognized_sep
=
1404 # The variables have the same names as the options, with
1405 # dashes changed to underlines.
1406 cache_file
=/dev
/null
1413 program_transform_name
=s
,x
,x
,
1421 # Installation directory options.
1422 # These are left unexpanded so users can "make install exec_prefix=/foo"
1423 # and all the variables that are supposed to be based on exec_prefix
1424 # by default will actually change.
1425 # Use braces instead of parens because sh, perl, etc. also accept them.
1426 # (The list follows the same order as the GNU Coding Standards.)
1427 bindir
='${exec_prefix}/bin'
1428 sbindir
='${exec_prefix}/sbin'
1429 libexecdir
='${exec_prefix}/libexec'
1430 datarootdir
='${prefix}/share'
1431 datadir
='${datarootdir}'
1432 sysconfdir
='${prefix}/etc'
1433 sharedstatedir
='${prefix}/com'
1434 localstatedir
='${prefix}/var'
1435 includedir
='${prefix}/include'
1436 oldincludedir
='/usr/include'
1437 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1438 infodir
='${datarootdir}/info'
1443 libdir
='${exec_prefix}/lib'
1444 localedir
='${datarootdir}/locale'
1445 mandir
='${datarootdir}/man'
1451 # If the previous option needs an argument, assign it.
1452 if test -n "$ac_prev"; then
1453 eval $ac_prev=\
$ac_option
1459 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1464 # Accept the important Cygnus configure options, so we can diagnose typos.
1466 case $ac_dashdash$ac_option in
1470 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1472 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1473 bindir
=$ac_optarg ;;
1475 -build |
--build |
--buil |
--bui |
--bu)
1476 ac_prev
=build_alias
;;
1477 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1478 build_alias
=$ac_optarg ;;
1480 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1481 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1482 ac_prev
=cache_file
;;
1483 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1484 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1485 cache_file
=$ac_optarg ;;
1487 --config-cache |
-C)
1488 cache_file
=config.cache
;;
1490 -datadir |
--datadir |
--datadi |
--datad)
1492 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1493 datadir
=$ac_optarg ;;
1495 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1496 |
--dataroo |
--dataro |
--datar)
1497 ac_prev
=datarootdir
;;
1498 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1499 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1500 datarootdir
=$ac_optarg ;;
1502 -disable-* |
--disable-*)
1503 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1504 # Reject names that are not valid shell variable names.
1505 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1506 as_fn_error $?
"invalid feature name: $ac_useropt"
1507 ac_useropt_orig
=$ac_useropt
1508 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1509 case $ac_user_opts in
1511 "enable_
$ac_useropt"
1513 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1514 ac_unrecognized_sep
=', ';;
1516 eval enable_
$ac_useropt=no
;;
1518 -docdir |
--docdir |
--docdi |
--doc |
--do)
1520 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1521 docdir
=$ac_optarg ;;
1523 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1525 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1526 dvidir
=$ac_optarg ;;
1528 -enable-* |
--enable-*)
1529 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1530 # Reject names that are not valid shell variable names.
1531 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1532 as_fn_error $?
"invalid feature name: $ac_useropt"
1533 ac_useropt_orig
=$ac_useropt
1534 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535 case $ac_user_opts in
1537 "enable_
$ac_useropt"
1539 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1540 ac_unrecognized_sep
=', ';;
1542 eval enable_
$ac_useropt=\
$ac_optarg ;;
1544 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1545 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1546 |
--exec |
--exe |
--ex)
1547 ac_prev
=exec_prefix
;;
1548 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1549 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1550 |
--exec=* |
--exe=* |
--ex=*)
1551 exec_prefix
=$ac_optarg ;;
1553 -gas |
--gas |
--ga |
--g)
1554 # Obsolete; use --with-gas.
1557 -help |
--help |
--hel |
--he |
-h)
1558 ac_init_help
=long
;;
1559 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1560 ac_init_help
=recursive
;;
1561 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1562 ac_init_help
=short
;;
1564 -host |
--host |
--hos |
--ho)
1565 ac_prev
=host_alias
;;
1566 -host=* |
--host=* |
--hos=* |
--ho=*)
1567 host_alias
=$ac_optarg ;;
1569 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1571 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1573 htmldir
=$ac_optarg ;;
1575 -includedir |
--includedir |
--includedi |
--included |
--include \
1576 |
--includ |
--inclu |
--incl |
--inc)
1577 ac_prev
=includedir
;;
1578 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1579 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1580 includedir
=$ac_optarg ;;
1582 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1584 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1585 infodir
=$ac_optarg ;;
1587 -libdir |
--libdir |
--libdi |
--libd)
1589 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1590 libdir
=$ac_optarg ;;
1592 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1593 |
--libexe |
--libex |
--libe)
1594 ac_prev
=libexecdir
;;
1595 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1596 |
--libexe=* |
--libex=* |
--libe=*)
1597 libexecdir
=$ac_optarg ;;
1599 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1600 ac_prev
=localedir
;;
1601 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1602 localedir
=$ac_optarg ;;
1604 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1605 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1606 ac_prev
=localstatedir
;;
1607 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1608 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1609 localstatedir
=$ac_optarg ;;
1611 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1613 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1614 mandir
=$ac_optarg ;;
1616 -nfp |
--nfp |
--nf)
1617 # Obsolete; use --without-fp.
1620 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1621 |
--no-cr |
--no-c |
-n)
1624 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1625 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1628 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1629 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1630 |
--oldin |
--oldi |
--old |
--ol |
--o)
1631 ac_prev
=oldincludedir
;;
1632 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1633 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1634 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1635 oldincludedir
=$ac_optarg ;;
1637 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1639 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1640 prefix
=$ac_optarg ;;
1642 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1643 |
--program-pre |
--program-pr |
--program-p)
1644 ac_prev
=program_prefix
;;
1645 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1646 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1647 program_prefix
=$ac_optarg ;;
1649 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1650 |
--program-suf |
--program-su |
--program-s)
1651 ac_prev
=program_suffix
;;
1652 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1653 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1654 program_suffix
=$ac_optarg ;;
1656 -program-transform-name |
--program-transform-name \
1657 |
--program-transform-nam |
--program-transform-na \
1658 |
--program-transform-n |
--program-transform- \
1659 |
--program-transform |
--program-transfor \
1660 |
--program-transfo |
--program-transf \
1661 |
--program-trans |
--program-tran \
1662 |
--progr-tra |
--program-tr |
--program-t)
1663 ac_prev
=program_transform_name
;;
1664 -program-transform-name=* |
--program-transform-name=* \
1665 |
--program-transform-nam=* |
--program-transform-na=* \
1666 |
--program-transform-n=* |
--program-transform-=* \
1667 |
--program-transform=* |
--program-transfor=* \
1668 |
--program-transfo=* |
--program-transf=* \
1669 |
--program-trans=* |
--program-tran=* \
1670 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1671 program_transform_name
=$ac_optarg ;;
1673 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1675 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1676 pdfdir
=$ac_optarg ;;
1678 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1680 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1683 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1684 |
-silent |
--silent |
--silen |
--sile |
--sil)
1687 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1689 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1691 sbindir
=$ac_optarg ;;
1693 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1694 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1695 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1697 ac_prev
=sharedstatedir
;;
1698 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1699 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1700 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1702 sharedstatedir
=$ac_optarg ;;
1704 -site |
--site |
--sit)
1706 -site=* |
--site=* |
--sit=*)
1709 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1711 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1712 srcdir
=$ac_optarg ;;
1714 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1715 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1716 ac_prev
=sysconfdir
;;
1717 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1718 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1719 sysconfdir
=$ac_optarg ;;
1721 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1722 ac_prev
=target_alias
;;
1723 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1724 target_alias
=$ac_optarg ;;
1726 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1729 -version |
--version |
--versio |
--versi |
--vers |
-V)
1730 ac_init_version
=: ;;
1733 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1734 # Reject names that are not valid shell variable names.
1735 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1736 as_fn_error $?
"invalid package name: $ac_useropt"
1737 ac_useropt_orig
=$ac_useropt
1738 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1739 case $ac_user_opts in
1743 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1744 ac_unrecognized_sep
=', ';;
1746 eval with_
$ac_useropt=\
$ac_optarg ;;
1748 -without-* |
--without-*)
1749 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1750 # Reject names that are not valid shell variable names.
1751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1752 as_fn_error $?
"invalid package name: $ac_useropt"
1753 ac_useropt_orig
=$ac_useropt
1754 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1755 case $ac_user_opts in
1759 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1760 ac_unrecognized_sep
=', ';;
1762 eval with_
$ac_useropt=no
;;
1765 # Obsolete; use --with-x.
1768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1770 ac_prev
=x_includes
;;
1771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1773 x_includes
=$ac_optarg ;;
1775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1777 ac_prev
=x_libraries
;;
1778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1780 x_libraries
=$ac_optarg ;;
1782 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1783 Try \`$0 --help' for more information"
1787 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1788 # Reject names that are not valid shell variable names.
1789 case $ac_envvar in #(
1790 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1791 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1793 eval $ac_envvar=\
$ac_optarg
1794 export $ac_envvar ;;
1797 # FIXME: should be removed in autoconf 3.0.
1798 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1800 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1801 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1807 if test -n "$ac_prev"; then
1808 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1809 as_fn_error $?
"missing argument to $ac_option"
1812 if test -n "$ac_unrecognized_opts"; then
1813 case $enable_option_checking in
1815 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1816 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1820 # Check all directory arguments for consistency.
1821 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1822 datadir sysconfdir sharedstatedir localstatedir includedir \
1823 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1824 libdir localedir mandir
1826 eval ac_val
=\$
$ac_var
1827 # Remove trailing slashes.
1830 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1831 eval $ac_var=\
$ac_val;;
1833 # Be sure to have absolute directory names.
1835 [\\/$
]* | ?
:[\\/]* ) continue;;
1836 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1838 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1841 # There might be people who depend on the old broken behavior: `$host'
1842 # used to hold the argument of --host etc.
1843 # FIXME: To remove some day.
1846 target
=$target_alias
1848 # FIXME: To remove some day.
1849 if test "x$host_alias" != x
; then
1850 if test "x$build_alias" = x
; then
1851 cross_compiling
=maybe
1852 elif test "x$build_alias" != "x$host_alias"; then
1858 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1860 test "$silent" = yes && exec 6>/dev
/null
1863 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1864 ac_ls_di
=`ls -di .` &&
1865 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1866 as_fn_error $?
"working directory cannot be determined"
1867 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1868 as_fn_error $?
"pwd does not report name of working directory"
1871 # Find the source files, if location was not specified.
1872 if test -z "$srcdir"; then
1873 ac_srcdir_defaulted
=yes
1874 # Try the directory containing this script, then the parent directory.
1875 ac_confdir
=`$as_dirname -- "$as_myself" ||
1876 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1877 X"$as_myself" : 'X\(//\)[^/]' \| \
1878 X"$as_myself" : 'X\(//\)$' \| \
1879 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1880 $as_echo X"$as_myself" |
1881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1903 ac_srcdir_defaulted
=no
1905 if test ! -r "$srcdir/$ac_unique_file"; then
1906 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1907 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1909 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1911 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1913 # When building in place, set srcdir=.
1914 if test "$ac_abs_confdir" = "$ac_pwd"; then
1917 # Remove unnecessary trailing slashes from srcdir.
1918 # Double slashes in file names in object file debugging info
1919 # mess up M-x gdb in Emacs.
1921 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1923 for ac_var
in $ac_precious_vars; do
1924 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1925 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1926 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1927 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1931 # Report the --help message.
1933 if test "$ac_init_help" = "long"; then
1934 # Omit some internal or obsolete options to make the list less imposing.
1935 # This message is too long to be a string in the A/UX 3.1 sh.
1937 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1939 Usage: $0 [OPTION]... [VAR=VALUE]...
1941 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1942 VAR=VALUE. See below for descriptions of some of the useful variables.
1944 Defaults for the options are specified in brackets.
1947 -h, --help display this help and exit
1948 --help=short display options specific to this package
1949 --help=recursive display the short help of all the included packages
1950 -V, --version display version information and exit
1951 -q, --quiet, --silent do not print \`checking ...' messages
1952 --cache-file=FILE cache test results in FILE [disabled]
1953 -C, --config-cache alias for \`--cache-file=config.cache'
1954 -n, --no-create do not create output files
1955 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1957 Installation directories:
1958 --prefix=PREFIX install architecture-independent files in PREFIX
1959 [$ac_default_prefix]
1960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1963 By default, \`make install' will install all the files in
1964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1966 for instance \`--prefix=\$HOME'.
1968 For better control, use the options below.
1970 Fine tuning of the installation directories:
1971 --bindir=DIR user executables [EPREFIX/bin]
1972 --sbindir=DIR system admin executables [EPREFIX/sbin]
1973 --libexecdir=DIR program executables [EPREFIX/libexec]
1974 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1975 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1976 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1977 --libdir=DIR object code libraries [EPREFIX/lib]
1978 --includedir=DIR C header files [PREFIX/include]
1979 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1980 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1981 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1982 --infodir=DIR info documentation [DATAROOTDIR/info]
1983 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1984 --mandir=DIR man documentation [DATAROOTDIR/man]
1985 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1986 --htmldir=DIR html documentation [DOCDIR]
1987 --dvidir=DIR dvi documentation [DOCDIR]
1988 --pdfdir=DIR pdf documentation [DOCDIR]
1989 --psdir=DIR ps documentation [DOCDIR]
1995 --x-includes=DIR X include files are
in DIR
1996 --x-libraries=DIR X library files are
in DIR
1999 --build=BUILD configure
for building on BUILD
[guessed
]
2000 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2004 if test -n "$ac_init_help"; then
2005 case $ac_init_help in
2006 short | recursive
) echo "Configuration of Wine 1.7.3:";;
2011 --disable-option-checking ignore unrecognized
--enable/--with options
2012 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2013 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2014 --disable-win16 do not include Win16 support
2015 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2017 --disable-tests do not build the regression tests
2018 --enable-maintainer-mode
2019 enable maintainer-specific build rules
2020 --disable-largefile omit support for large files
2023 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2024 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2025 --without-alsa do not use the Alsa sound support
2026 --without-capi do not use CAPI (ISDN support)
2027 --without-cms do not use CMS (color management support)
2028 --without-coreaudio do not use the CoreAudio sound support
2029 --without-cups do not use CUPS
2030 --without-curses do not use (n)curses
2031 --without-dbus do not use DBus (dynamic device support)
2032 --without-fontconfig do not use fontconfig
2033 --without-freetype do not use the FreeType library
2034 --without-gettext do not use gettext
2035 --with-gettextpo use the GetTextPO library to rebuild po files
2036 --without-gphoto do not use gphoto (Digital Camera support)
2037 --without-glu do not use the GLU library
2038 --without-gnutls do not use GnuTLS (schannel support)
2039 --without-gsm do not use libgsm (GSM 06.10 codec support)
2040 --without-gstreamer do not use GStreamer (codecs support)
2041 --without-hal do not use HAL (dynamic device support)
2042 --without-jpeg do not use JPEG
2043 --without-ldap do not use LDAP
2044 --without-mpg123 do not use the mpg123 library
2045 --without-openal do not use OpenAL
2046 --without-opencl do not use OpenCL
2047 --without-opengl do not use OpenGL
2048 --without-osmesa do not use the OSMesa library
2049 --without-oss do not use the OSS sound support
2050 --without-png do not use PNG
2051 --without-pthread do not use the pthread library
2052 --without-sane do not use SANE (scanner support)
2053 --without-tiff do not use TIFF
2054 --without-v4l do not use v4l1 (v4l support)
2055 --without-xcomposite do not use the Xcomposite extension
2056 --without-xcursor do not use the Xcursor extension
2057 --without-xinerama do not use Xinerama (multi-monitor support)
2058 --without-xinput do not use the Xinput extension
2059 --without-xinput2 do not use the Xinput 2 extension
2060 --without-xml do not use XML
2061 --without-xrandr do not use Xrandr (resolution changes)
2062 --without-xrender do not use the Xrender extension
2063 --without-xshape do not use the Xshape extension
2064 --without-xshm do not use XShm (shared memory extension)
2065 --without-xslt do not use XSLT
2066 --without-xxf86vm do not use XFree video mode extension
2067 --without-zlib do not use Zlib (data compression)
2068 --with-wine-tools=DIR use Wine tools from directory DIR
2069 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2070 --with-x use the X Window System
2072 Some influential environment variables:
2073 CC C compiler command
2074 CFLAGS C compiler flags
2075 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2076 nonstandard directory <lib dir>
2077 LIBS libraries to pass to the linker, e.g. -l<library>
2078 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2079 you have headers in a nonstandard directory <include dir>
2080 CXX C++ compiler command
2081 CXXFLAGS C++ compiler flags
2083 XMKMF Path to xmkmf, Makefile generator for X Window System
2084 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2085 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2086 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2087 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2088 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2089 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2090 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2091 HAL_LIBS Linker flags for hal, overriding pkg-config
2093 C compiler flags for gnutls, overriding pkg-config
2094 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2095 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2096 SANE_LIBS Linker flags for libsane, overriding pkg-config
2098 C compiler flags for libgphoto2, overriding pkg-config
2100 Linker flags for libgphoto2, overriding pkg-config
2102 C compiler flags for libgphoto2_port, overriding pkg-config
2104 Linker flags for libgphoto2_port, overriding pkg-config
2106 C compiler flags for lcms2, overriding pkg-config
2107 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2109 C compiler flags for freetype2, overriding pkg-config
2111 Linker flags for freetype2, overriding pkg-config
2113 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2115 Linker flags for gstreamer-app-0.10, overriding pkg-config
2117 C compiler flags for capi20, overriding pkg-config
2118 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2119 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2120 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2121 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2122 PNG_LIBS Linker flags for libpng, overriding pkg-config
2123 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2124 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2126 C compiler flags for libmpg123, overriding pkg-config
2127 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2129 Use these variables to override the choices made by `configure' or to
help
2130 it to
find libraries and programs with nonstandard names
/locations.
2132 Report bugs to
<wine-devel@winehq.org
>.
2133 Wine home page
: <http
://www.winehq.org
>.
2138 if test "$ac_init_help" = "recursive"; then
2139 # If there are subdirs, report their specific --help.
2140 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2141 test -d "$ac_dir" ||
2142 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2147 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2149 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2150 # A ".." for each directory in $ac_dir_suffix.
2151 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2152 case $ac_top_builddir_sub in
2153 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2154 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2157 ac_abs_top_builddir
=$ac_pwd
2158 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2159 # for backward compatibility:
2160 ac_top_builddir
=$ac_top_build_prefix
2163 .
) # We are building in place.
2165 ac_top_srcdir
=$ac_top_builddir_sub
2166 ac_abs_top_srcdir
=$ac_pwd ;;
2167 [\\/]* | ?
:[\\/]* ) # Absolute name.
2168 ac_srcdir
=$srcdir$ac_dir_suffix;
2169 ac_top_srcdir
=$srcdir
2170 ac_abs_top_srcdir
=$srcdir ;;
2172 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2173 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2174 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2176 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2178 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2179 # Check for guested configure.
2180 if test -f "$ac_srcdir/configure.gnu"; then
2182 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2183 elif test -f "$ac_srcdir/configure"; then
2185 $SHELL "$ac_srcdir/configure" --help=recursive
2187 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2189 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2193 test -n "$ac_init_help" && exit $ac_status
2194 if $ac_init_version; then
2196 Wine configure
1.7.3
2197 generated by GNU Autoconf
2.69
2199 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2200 This configure
script is free software
; the Free Software Foundation
2201 gives unlimited permission to copy
, distribute and modify it.
2206 ## ------------------------ ##
2207 ## Autoconf initialization. ##
2208 ## ------------------------ ##
2210 # ac_fn_c_try_compile LINENO
2211 # --------------------------
2212 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2213 ac_fn_c_try_compile
()
2215 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2216 rm -f conftest.
$ac_objext
2217 if { { ac_try
="$ac_compile"
2219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_compile") 2>conftest.err
2226 if test -s conftest.err; then
2227 grep -v '^ *+' conftest.err >conftest.er1
2228 cat conftest.er1 >&5
2229 mv -f conftest.er1 conftest.err
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; } && {
2233 test -z "$ac_c_werror_flag" ||
2234 test ! -s conftest.err
2235 } && test -s conftest.$ac_objext; then :
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244 as_fn_set_status $ac_retval
2246 } # ac_fn_c_try_compile
2248 # ac_fn_cxx_try_compile LINENO
2249 # ----------------------------
2250 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2251 ac_fn_cxx_try_compile ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 rm -f conftest.$ac_objext
2255 if { { ac_try="$ac_compile"
2257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2258 *) ac_try_echo
=$ac_try;;
2260 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2261 $as_echo "$ac_try_echo"; } >&5
2262 (eval "$ac_compile") 2>conftest.err
2264 if test -s conftest.err
; then
2265 grep -v '^ *+' conftest.err
>conftest.er1
2266 cat conftest.er1
>&5
2267 mv -f conftest.er1 conftest.err
2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270 test $ac_status = 0; } && {
2271 test -z "$ac_cxx_werror_flag" ||
2272 test ! -s conftest.err
2273 } && test -s conftest.
$ac_objext; then :
2276 $as_echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.
$ac_ext >&5
2281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2282 as_fn_set_status
$ac_retval
2284 } # ac_fn_cxx_try_compile
2286 # ac_fn_c_try_link LINENO
2287 # -----------------------
2288 # Try to link conftest.$ac_ext, and return whether this succeeded.
2291 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2292 rm -f conftest.
$ac_objext conftest
$ac_exeext
2293 if { { ac_try
="$ac_link"
2295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_link") 2>conftest.err
2302 if test -s conftest.err; then
2303 grep -v '^ *+' conftest.err >conftest.er1
2304 cat conftest.er1 >&5
2305 mv -f conftest.er1 conftest.err
2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308 test $ac_status = 0; } && {
2309 test -z "$ac_c_werror_flag" ||
2310 test ! -s conftest.err
2311 } && test -s conftest$ac_exeext && {
2312 test "$cross_compiling" = yes ||
2313 test -x conftest$ac_exeext
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2322 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2323 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2324 # interfere with the next link command; also delete a directory that is
2325 # left behind by Apple's compiler. We do this before executing the actions.
2326 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2328 as_fn_set_status $ac_retval
2330 } # ac_fn_c_try_link
2332 # ac_fn_c_try_cpp LINENO
2333 # ----------------------
2334 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2338 if { { ac_try="$ac_cpp conftest.$ac_ext"
2340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2341 *) ac_try_echo
=$ac_try;;
2343 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2347 if test -s conftest.err
; then
2348 grep -v '^ *+' conftest.err
>conftest.er1
2349 cat conftest.er1
>&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } > conftest.i
&& {
2354 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2355 test ! -s conftest.err
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.
$ac_ext >&5
2364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365 as_fn_set_status
$ac_retval
2369 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2370 # -------------------------------------------------------
2371 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2372 # the include files in INCLUDES and setting the cache variable VAR
2374 ac_fn_c_check_header_mongrel
()
2376 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2377 if eval \
${$3+:} false
; then :
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2379 $as_echo_n "checking for $2... " >&6; }
2380 if eval \
${$3+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2385 $as_echo "$ac_res" >&6; }
2387 # Is the header compilable?
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2389 $as_echo_n "checking $2 usability... " >&6; }
2390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2395 if ac_fn_c_try_compile
"$LINENO"; then :
2396 ac_header_compiler
=yes
2398 ac_header_compiler
=no
2400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2402 $as_echo "$ac_header_compiler" >&6; }
2404 # Is the header present?
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2406 $as_echo_n "checking $2 presence... " >&6; }
2407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2411 if ac_fn_c_try_cpp
"$LINENO"; then :
2412 ac_header_preproc
=yes
2414 ac_header_preproc
=no
2416 rm -f conftest.err conftest.i conftest.
$ac_ext
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2418 $as_echo "$ac_header_preproc" >&6; }
2420 # So? What about this header?
2421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2424 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2426 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2430 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2432 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2434 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2436 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2438 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2439 ( $as_echo "## ------------------------------------ ##
2440 ## Report this to wine-devel@winehq.org ##
2441 ## ------------------------------------ ##"
2442 ) |
sed "s/^/$as_me: WARNING: /" >&2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2446 $as_echo_n "checking for $2... " >&6; }
2447 if eval \
${$3+:} false
; then :
2448 $as_echo_n "(cached) " >&6
2450 eval "$3=\$ac_header_compiler"
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2454 $as_echo "$ac_res" >&6; }
2456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458 } # ac_fn_c_check_header_mongrel
2460 # ac_fn_c_try_run LINENO
2461 # ----------------------
2462 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2463 # that executables *can* be run.
2466 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2467 if { { ac_try
="$ac_link"
2469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_link") 2>&5
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2478 { { case "(($ac_try" in
2479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2480 *) ac_try_echo
=$ac_try;;
2482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_try") 2>&5
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; }; }; then :
2490 $as_echo "$as_me: program exited with status $ac_status" >&5
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.
$ac_ext >&5
2494 ac_retval
=$ac_status
2496 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 as_fn_set_status
$ac_retval
2502 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2503 # -------------------------------------------------------
2504 # Tests whether HEADER exists and can be compiled using the include files in
2505 # INCLUDES, setting the cache variable VAR accordingly.
2506 ac_fn_c_check_header_compile
()
2508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval \
${$3+:} false
; then :
2512 $as_echo_n "(cached) " >&6
2514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2515 /* end confdefs.h. */
2519 if ac_fn_c_try_compile
"$LINENO"; then :
2524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2528 $as_echo "$ac_res" >&6; }
2529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2531 } # ac_fn_c_check_header_compile
2533 # ac_fn_c_check_func LINENO FUNC VAR
2534 # ----------------------------------
2535 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2536 ac_fn_c_check_func
()
2538 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2540 $as_echo_n "checking for $2... " >&6; }
2541 if eval \
${$3+:} false
; then :
2542 $as_echo_n "(cached) " >&6
2544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2546 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2548 #define $2 innocuous_$2
2550 /* System header to define __stub macros and hopefully few prototypes,
2551 which can conflict with char $2 (); below.
2552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2553 <limits.h> exists even on freestanding compilers. */
2556 # include <limits.h>
2558 # include <assert.h>
2563 /* Override any GCC internal prototype to avoid an error.
2564 Use char because int might match the return type of a GCC
2565 builtin and then its argument prototype would still apply. */
2570 /* The GNU C library defines this for functions which it implements
2571 to always fail with ENOSYS. Some functions are actually named
2572 something starting with __ and the normal name is an alias. */
2573 #if defined __stub_$2 || defined __stub___$2
2585 if ac_fn_c_try_link
"$LINENO"; then :
2590 rm -f core conftest.err conftest.
$ac_objext \
2591 conftest
$ac_exeext conftest.
$ac_ext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2595 $as_echo "$ac_res" >&6; }
2596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2598 } # ac_fn_c_check_func
2600 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2601 # ----------------------------------------------------
2602 # Tries to find if the field MEMBER exists in type AGGR, after including
2603 # INCLUDES, setting cache variable VAR accordingly.
2604 ac_fn_c_check_member
()
2606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2608 $as_echo_n "checking for $2.$3... " >&6; }
2609 if eval \
${$4+:} false
; then :
2610 $as_echo_n "(cached) " >&6
2612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2625 if ac_fn_c_try_compile
"$LINENO"; then :
2628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2629 /* end confdefs.h. */
2635 if (sizeof ac_aggr.$3)
2641 if ac_fn_c_try_compile
"$LINENO"; then :
2646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2652 $as_echo "$ac_res" >&6; }
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 } # ac_fn_c_check_member
2657 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2658 # -------------------------------------------
2659 # Tests whether TYPE exists after having included INCLUDES, setting cache
2660 # variable VAR accordingly.
2661 ac_fn_c_check_type
()
2663 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2665 $as_echo_n "checking for $2... " >&6; }
2666 if eval \
${$3+:} false
; then :
2667 $as_echo_n "(cached) " >&6
2670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2682 if ac_fn_c_try_compile
"$LINENO"; then :
2683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2695 if ac_fn_c_try_compile
"$LINENO"; then :
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 } # ac_fn_c_check_type
2710 cat >config.log
<<_ACEOF
2711 This file contains any messages produced by compilers while
2712 running configure, to aid debugging if configure makes a mistake.
2714 It was created by Wine $as_me 1.7.3, which was
2715 generated by GNU Autoconf 2.69. Invocation command line was
2727 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2728 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2729 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2730 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2731 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2733 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2734 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2736 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2737 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2738 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2739 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2740 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2741 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2742 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir
=.
2751 $as_echo "PATH: $as_dir"
2767 # Keep a trace of the command line.
2768 # Strip out --no-create and --no-recursion so they do not pile up.
2769 # Strip out --silent because we don't want to record it for future runs.
2770 # Also quote any args containing shell meta-characters.
2771 # Make two passes to allow for proper duplicate-argument suppression.
2775 ac_must_keep_next
=false
2781 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2782 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2783 |
-silent |
--silent |
--silen |
--sile |
--sil)
2786 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2791 as_fn_append ac_configure_args1
" '$ac_arg'"
2792 if test $ac_must_keep_next = true
; then
2793 ac_must_keep_next
=false
# Got value, back to normal.
2796 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2797 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2798 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2799 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2800 case "$ac_configure_args0 " in
2801 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2804 -* ) ac_must_keep_next
=true
;;
2807 as_fn_append ac_configure_args
" '$ac_arg'"
2812 { ac_configure_args0
=; unset ac_configure_args0
;}
2813 { ac_configure_args1
=; unset ac_configure_args1
;}
2815 # When interrupted or exit'd, cleanup temporary files, and complete
2816 # config.log. We remove comments because anyway the quotes in there
2817 # would cause problems or look ugly.
2818 # WARNING: Use '\'' to represent an apostrophe within the trap.
2819 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2820 trap 'exit_status=$?
2821 # Save into config.log some information that might help in debugging.
2825 $as_echo "## ---------------- ##
2826 ## Cache variables. ##
2827 ## ---------------- ##"
2829 # The following way of writing the cache mishandles newlines in values,
2831 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2832 eval ac_val=\$$ac_var
2836 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2840 _ | IFS | as_nl) ;; #(
2841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2842 *) { eval $ac_var=; unset $ac_var;} ;;
2847 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2848 *${as_nl}ac_space=\ *)
2850 "s/'\''/'\''\\\\'\'''\''/g;
2851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2861 $as_echo "## ----------------- ##
2862 ## Output variables. ##
2863 ## ----------------- ##"
2865 for ac_var in $ac_subst_vars
2867 eval ac_val=\$$ac_var
2869 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2871 $as_echo "$ac_var='\''$ac_val'\''"
2875 if test -n "$ac_subst_files"; then
2876 $as_echo "## ------------------- ##
2877 ## File substitutions. ##
2878 ## ------------------- ##"
2880 for ac_var
in $ac_subst_files
2882 eval ac_val
=\$
$ac_var
2884 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 $as_echo "$ac_var='\''$ac_val'\''"
2891 if test -s confdefs.h; then
2892 $as_echo "## ----------- ##
2899 test "$ac_signal" != 0 &&
2900 $as_echo "$as_me: caught signal $ac_signal"
2901 $as_echo "$as_me: exit $exit_status"
2903 rm -f core *.core core.conftest.* &&
2904 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2907 for ac_signal
in 1 2 13 15; do
2908 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2912 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2913 rm -f -r conftest
* confdefs.h
2915 $as_echo "/* confdefs.h */" > confdefs.h
2917 # Predefined preprocessor variables.
2919 cat >>confdefs.h
<<_ACEOF
2920 #define PACKAGE_NAME "$PACKAGE_NAME"
2923 cat >>confdefs.h
<<_ACEOF
2924 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2927 cat >>confdefs.h
<<_ACEOF
2928 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2931 cat >>confdefs.h
<<_ACEOF
2932 #define PACKAGE_STRING "$PACKAGE_STRING"
2935 cat >>confdefs.h
<<_ACEOF
2936 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2939 cat >>confdefs.h
<<_ACEOF
2940 #define PACKAGE_URL "$PACKAGE_URL"
2944 # Let the site file select an alternate cache file if it wants to.
2945 # Prefer an explicitly selected file to automatically selected ones.
2948 if test -n "$CONFIG_SITE"; then
2949 # We do not want a PATH search for config.site.
2950 case $CONFIG_SITE in #((
2951 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2952 */*) ac_site_file1
=$CONFIG_SITE;;
2953 *) ac_site_file1
=.
/$CONFIG_SITE;;
2955 elif test "x$prefix" != xNONE
; then
2956 ac_site_file1
=$prefix/share
/config.site
2957 ac_site_file2
=$prefix/etc
/config.site
2959 ac_site_file1
=$ac_default_prefix/share
/config.site
2960 ac_site_file2
=$ac_default_prefix/etc
/config.site
2962 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2964 test "x$ac_site_file" = xNONE
&& continue
2965 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2967 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2968 sed 's/^/| /' "$ac_site_file" >&5
2970 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972 as_fn_error $?
"failed to load site script $ac_site_file
2973 See \`config.log' for more details" "$LINENO" 5; }
2977 if test -r "$cache_file"; then
2978 # Some versions of bash will fail to source /dev/null (special files
2979 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2980 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2982 $as_echo "$as_me: loading cache $cache_file" >&6;}
2984 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2985 *) .
"./$cache_file";;
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2990 $as_echo "$as_me: creating cache $cache_file" >&6;}
2994 # Check that the precious variables saved in the cache have kept the same
2996 ac_cache_corrupted
=false
2997 for ac_var
in $ac_precious_vars; do
2998 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2999 eval ac_new_set
=\
$ac_env_${ac_var}_set
3000 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3001 eval ac_new_val
=\
$ac_env_${ac_var}_value
3002 case $ac_old_set,$ac_new_set in
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3006 ac_cache_corrupted
=: ;;
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3010 ac_cache_corrupted
=: ;;
3013 if test "x$ac_old_val" != "x$ac_new_val"; then
3014 # differences in whitespace do not lead to failure.
3015 ac_old_val_w
=`echo x $ac_old_val`
3016 ac_new_val_w
=`echo x $ac_new_val`
3017 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3020 ac_cache_corrupted
=:
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3024 eval $ac_var=\
$ac_old_val
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3027 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3029 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3032 # Pass precious variables to config.status.
3033 if test "$ac_new_set" = set; then
3035 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3036 *) ac_arg
=$ac_var=$ac_new_val ;;
3038 case " $ac_configure_args " in
3039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3040 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3044 if $ac_cache_corrupted; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3049 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3051 ## -------------------- ##
3052 ## Main body of script. ##
3053 ## -------------------- ##
3056 ac_cpp
='$CPP $CPPFLAGS'
3057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3063 ac_config_headers
="$ac_config_headers include/config.h"
3066 for ac_dir
in tools
"$srcdir"/tools
; do
3067 if test -f "$ac_dir/install-sh"; then
3069 ac_install_sh
="$ac_aux_dir/install-sh -c"
3071 elif test -f "$ac_dir/install.sh"; then
3073 ac_install_sh
="$ac_aux_dir/install.sh -c"
3075 elif test -f "$ac_dir/shtool"; then
3077 ac_install_sh
="$ac_aux_dir/shtool install -c"
3081 if test -z "$ac_aux_dir"; then
3082 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3085 # These three variables are undocumented and unsupported,
3086 # and are intended to be withdrawn in a future Autoconf release.
3087 # They can cause serious problems if a builder's source tree is in a directory
3088 # whose full name contains unusual characters.
3089 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3090 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3091 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3097 # Check whether --enable-win16 was given.
3098 if test "${enable_win16+set}" = set; then :
3099 enableval
=$enable_win16;
3102 # Check whether --enable-win64 was given.
3103 if test "${enable_win64+set}" = set; then :
3104 enableval
=$enable_win64;
3107 # Check whether --enable-tests was given.
3108 if test "${enable_tests+set}" = set; then :
3109 enableval
=$enable_tests;
3112 # Check whether --enable-maintainer-mode was given.
3113 if test "${enable_maintainer_mode+set}" = set; then :
3114 enableval
=$enable_maintainer_mode;
3119 # Check whether --with-alsa was given.
3120 if test "${with_alsa+set}" = set; then :
3121 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3125 # Check whether --with-capi was given.
3126 if test "${with_capi+set}" = set; then :
3131 # Check whether --with-cms was given.
3132 if test "${with_cms+set}" = set; then :
3137 # Check whether --with-coreaudio was given.
3138 if test "${with_coreaudio+set}" = set; then :
3139 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3143 # Check whether --with-cups was given.
3144 if test "${with_cups+set}" = set; then :
3149 # Check whether --with-curses was given.
3150 if test "${with_curses+set}" = set; then :
3151 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3155 # Check whether --with-dbus was given.
3156 if test "${with_dbus+set}" = set; then :
3161 # Check whether --with-fontconfig was given.
3162 if test "${with_fontconfig+set}" = set; then :
3163 withval
=$with_fontconfig;
3167 # Check whether --with-freetype was given.
3168 if test "${with_freetype+set}" = set; then :
3169 withval
=$with_freetype;
3173 # Check whether --with-gettext was given.
3174 if test "${with_gettext+set}" = set; then :
3175 withval
=$with_gettext;
3179 # Check whether --with-gettextpo was given.
3180 if test "${with_gettextpo+set}" = set; then :
3181 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3185 # Check whether --with-gphoto was given.
3186 if test "${with_gphoto+set}" = set; then :
3187 withval
=$with_gphoto;
3191 # Check whether --with-glu was given.
3192 if test "${with_glu+set}" = set; then :
3197 # Check whether --with-gnutls was given.
3198 if test "${with_gnutls+set}" = set; then :
3199 withval
=$with_gnutls;
3203 # Check whether --with-gsm was given.
3204 if test "${with_gsm+set}" = set; then :
3205 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3209 # Check whether --with-gstreamer was given.
3210 if test "${with_gstreamer+set}" = set; then :
3211 withval
=$with_gstreamer;
3215 # Check whether --with-hal was given.
3216 if test "${with_hal+set}" = set; then :
3221 # Check whether --with-jpeg was given.
3222 if test "${with_jpeg+set}" = set; then :
3227 # Check whether --with-ldap was given.
3228 if test "${with_ldap+set}" = set; then :
3229 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3233 # Check whether --with-mpg123 was given.
3234 if test "${with_mpg123+set}" = set; then :
3235 withval
=$with_mpg123;
3239 # Check whether --with-openal was given.
3240 if test "${with_openal+set}" = set; then :
3241 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3245 # Check whether --with-opencl was given.
3246 if test "${with_opencl+set}" = set; then :
3247 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3251 # Check whether --with-opengl was given.
3252 if test "${with_opengl+set}" = set; then :
3253 withval
=$with_opengl;
3257 # Check whether --with-osmesa was given.
3258 if test "${with_osmesa+set}" = set; then :
3259 withval
=$with_osmesa;
3263 # Check whether --with-oss was given.
3264 if test "${with_oss+set}" = set; then :
3269 # Check whether --with-png was given.
3270 if test "${with_png+set}" = set; then :
3275 # Check whether --with-pthread was given.
3276 if test "${with_pthread+set}" = set; then :
3277 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3281 # Check whether --with-sane was given.
3282 if test "${with_sane+set}" = set; then :
3287 # Check whether --with-tiff was given.
3288 if test "${with_tiff+set}" = set; then :
3293 # Check whether --with-v4l was given.
3294 if test "${with_v4l+set}" = set; then :
3299 # Check whether --with-xcomposite was given.
3300 if test "${with_xcomposite+set}" = set; then :
3301 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3305 # Check whether --with-xcursor was given.
3306 if test "${with_xcursor+set}" = set; then :
3307 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3311 # Check whether --with-xinerama was given.
3312 if test "${with_xinerama+set}" = set; then :
3313 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3317 # Check whether --with-xinput was given.
3318 if test "${with_xinput+set}" = set; then :
3319 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3323 # Check whether --with-xinput2 was given.
3324 if test "${with_xinput2+set}" = set; then :
3325 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3329 # Check whether --with-xml was given.
3330 if test "${with_xml+set}" = set; then :
3335 # Check whether --with-xrandr was given.
3336 if test "${with_xrandr+set}" = set; then :
3337 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3341 # Check whether --with-xrender was given.
3342 if test "${with_xrender+set}" = set; then :
3343 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3347 # Check whether --with-xshape was given.
3348 if test "${with_xshape+set}" = set; then :
3349 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3353 # Check whether --with-xshm was given.
3354 if test "${with_xshm+set}" = set; then :
3355 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3359 # Check whether --with-xslt was given.
3360 if test "${with_xslt+set}" = set; then :
3365 # Check whether --with-xxf86vm was given.
3366 if test "${with_xxf86vm+set}" = set; then :
3367 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
3371 # Check whether --with-zlib was given.
3372 if test "${with_zlib+set}" = set; then :
3373 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3378 # Check whether --with-wine-tools was given.
3379 if test "${with_wine_tools+set}" = set; then :
3380 withval
=$with_wine_tools;
3384 # Check whether --with-wine64 was given.
3385 if test "${with_wine64+set}" = set; then :
3386 withval
=$with_wine64;
3390 # Make sure we can run config.sub.
3391 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3392 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3395 $as_echo_n "checking build system type... " >&6; }
3396 if ${ac_cv_build+:} false
; then :
3397 $as_echo_n "(cached) " >&6
3399 ac_build_alias
=$build_alias
3400 test "x$ac_build_alias" = x
&&
3401 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3402 test "x$ac_build_alias" = x
&&
3403 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3404 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3405 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3409 $as_echo "$ac_cv_build" >&6; }
3410 case $ac_cv_build in
3412 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3415 ac_save_IFS
=$IFS; IFS
='-'
3421 # Remember, the first character of IFS is used to create $*,
3422 # except with old shells:
3425 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3429 $as_echo_n "checking host system type... " >&6; }
3430 if ${ac_cv_host+:} false
; then :
3431 $as_echo_n "(cached) " >&6
3433 if test "x$host_alias" = x
; then
3434 ac_cv_host
=$ac_cv_build
3436 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3437 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3442 $as_echo "$ac_cv_host" >&6; }
3445 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3448 ac_save_IFS
=$IFS; IFS
='-'
3454 # Remember, the first character of IFS is used to create $*,
3455 # except with old shells:
3458 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3464 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3465 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3466 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3474 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3476 $as_echo_n "(cached) " >&6
3478 cat >conftest.
make <<\_ACEOF
3481 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3483 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3484 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3486 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3488 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3492 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 $as_echo "yes" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 SET_MAKE
="MAKE=${MAKE-make}"
3503 ac_cpp
='$CPP $CPPFLAGS'
3504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3507 if test -n "$ac_tool_prefix"; then
3508 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3509 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC
="$CC" # Let the user override the test.
3518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir
=.
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 if test -n "$CC"; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3538 $as_echo "$CC" >&6; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3546 if test -z "$ac_cv_prog_CC"; then
3548 # Extract the first word of "gcc", so it can be a program name with args.
3549 set dummy gcc
; ac_word
=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -n "$ac_ct_CC"; then
3556 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir
=.
3563 for ac_exec_ext
in '' $ac_executable_extensions; do
3564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_ac_ct_CC
="gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3576 if test -n "$ac_ct_CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3578 $as_echo "$ac_ct_CC" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3584 if test "x$ac_ct_CC" = x
; then
3587 case $cross_compiling:$ac_tool_warned in
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591 ac_tool_warned
=yes ;;
3599 if test -z "$CC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3602 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC
="$CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3640 if test -z "$CC"; then
3641 # Extract the first word of "cc", so it can be a program name with args.
3642 set dummy cc
; ac_word
=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_CC+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC
="$CC" # Let the user override the test.
3652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir
=.
3657 for ac_exec_ext
in '' $ac_executable_extensions; do
3658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3660 ac_prog_rejected
=yes
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 if test $ac_prog_rejected = yes; then
3672 # We found a bogon in the path, so make sure we never use it.
3673 set dummy
$ac_cv_prog_CC
3675 if test $# != 0; then
3676 # We chose a different compiler from the bogus one.
3677 # However, it has the same basename, so the bogon will be chosen
3678 # first if we set CC to just the basename; use the full file name.
3680 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 for ac_prog
in cl.exe
3700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3701 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false
; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC
="$CC" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3737 test -n "$CC" && break
3740 if test -z "$CC"; then
3742 for ac_prog
in cl.exe
3744 # Extract the first word of "$ac_prog", so it can be a program name with args.
3745 set dummy
$ac_prog; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC
="$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$ac_ct_CC" && break
3784 if test "x$ac_ct_CC" = x
; then
3787 case $cross_compiling:$ac_tool_warned in
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned
=yes ;;
3800 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error $?
"no acceptable C compiler found in \$PATH
3803 See \`config.log' for more details" "$LINENO" 5; }
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3809 for ac_option
in --version -v -V -qversion; do
3810 { { ac_try
="$ac_compiler $ac_option >&5"
3812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3819 if test -s conftest.err; then
3821 ... rest of stderr output deleted ...
3822 10q' conftest.err >conftest.er1
3823 cat conftest.er1 >&5
3825 rm -f conftest.er1 conftest.err
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 ac_clean_files_save=$ac_clean_files
3842 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3843 # Try to create an executable without -o first, disregard a.out.
3844 # It will help us diagnose broken compilers, and finding out an intuition
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3847 $as_echo_n "checking whether the C compiler works... " >&6; }
3848 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3850 # The possible output files:
3851 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3854 for ac_file in $ac_files
3857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3858 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3863 if { { ac_try="$ac_link_default"
3865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3866 *) ac_try_echo
=$ac_try;;
3868 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_link_default") 2>&5
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }; then :
3874 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3876 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3877 # so that the user can short-circuit this test for compilers unknown to
3879 for ac_file
in $ac_files ''
3881 test -f "$ac_file" ||
continue
3883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3886 # We found the default executable, but exeext='' is most
3890 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3892 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3894 # We set ac_cv_exeext here because the later test for it is not
3895 # safe: cross compilers may not add the suffix if given an `-o'
3896 # argument, so we may need to know it at that point already.
3897 # Even if this section looks crufty: it has the advantage of
3904 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3909 if test -z "$ac_file"; then :
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.
$ac_ext >&5
3915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error
77 "C compiler cannot create executables
3918 See \`config.log' for more details" "$LINENO" 5; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3926 $as_echo "$ac_file" >&6; }
3927 ac_exeext
=$ac_cv_exeext
3929 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3930 ac_clean_files
=$ac_clean_files_save
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3932 $as_echo_n "checking for suffix of executables... " >&6; }
3933 if { { ac_try
="$ac_link"
3935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link") 2>&5
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3945 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3946 # work properly (i.e., refer to `conftest.exe'), while it won't with
3948 for ac_file
in conftest.exe conftest conftest.
*; do
3949 test -f "$ac_file" ||
continue
3951 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3952 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3961 See \`config.log' for more details" "$LINENO" 5; }
3963 rm -f conftest conftest
$ac_cv_exeext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3965 $as_echo "$ac_cv_exeext" >&6; }
3967 rm -f conftest.
$ac_ext
3968 EXEEXT
=$ac_cv_exeext
3970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3976 FILE *f = fopen ("conftest.out", "w");
3977 return ferror (f) || fclose (f) != 0;
3983 ac_clean_files
="$ac_clean_files conftest.out"
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 if test "$cross_compiling" != yes; then
3989 { { ac_try
="$ac_link"
3991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }
4000 if { ac_try='./conftest$ac_cv_exeext'
4001 { { case "(($ac_try" in
4002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4003 *) ac_try_echo
=$ac_try;;
4005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_try") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; }; then
4013 if test "$cross_compiling" = maybe
; then
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $?
"cannot run C compiled programs.
4019 If you meant to cross compile, use \`--host'.
4020 See \`config.log' for more details" "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4028 ac_clean_files
=$ac_clean_files_save
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4030 $as_echo_n "checking for suffix of object files... " >&6; }
4031 if ${ac_cv_objext+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 rm -f conftest.o conftest.obj
4046 if { { ac_try
="$ac_compile"
4048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_compile") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; then :
4057 for ac_file in conftest.o conftest.obj conftest.*; do
4058 test -f "$ac_file" || continue;
4060 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4061 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4072 See \
`config.log' for more details" "$LINENO" 5; }
4074 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4077 $as_echo "$ac_cv_objext" >&6; }
4078 OBJEXT=$ac_cv_objext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4081 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4082 if ${ac_cv_c_compiler_gnu+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4099 if ac_fn_c_try_compile "$LINENO"; then :
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4109 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4110 if test $ac_compiler_gnu = yes; then
4115 ac_test_CFLAGS=${CFLAGS+set}
4116 ac_save_CFLAGS=$CFLAGS
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4118 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4119 if ${ac_cv_prog_cc_g+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 ac_save_c_werror_flag=$ac_c_werror_flag
4123 ac_c_werror_flag=yes
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_c_werror_flag=$ac_save_c_werror_flag
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4179 $as_echo "$ac_cv_prog_cc_g" >&6; }
4180 if test "$ac_test_CFLAGS" = set; then
4181 CFLAGS=$ac_save_CFLAGS
4182 elif test $ac_cv_prog_cc_g = yes; then
4183 if test "$GCC" = yes; then
4189 if test "$GCC" = yes; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4196 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4197 if ${ac_cv_prog_cc_c89+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 ac_cv_prog_cc_c89=no
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4208 struct buf { int x; };
4209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4210 static char *e (p, i)
4216 static char *f (char * (*g) (char **, int), char **p, ...)
4221 s = g (p, va_arg (v,int));
4226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4227 function prototypes and stuff, but not '\xHH' hex character constants.
4228 These don't provoke an error unfortunately, instead are silently treated
4229 as 'x'. The following induces an error, until -std is added to get
4230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4231 array size at least. It's necessary to write '\x00'==0 to get something
4232 that's true only with -std. */
4233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4236 inside strings and character constants. */
4238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4240 int test (int i, double x);
4241 struct s1 {int (*f) (int a);};
4242 struct s2 {int (*f) (double a);};
4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4257 CC="$ac_save_CC $ac_arg"
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_cv_prog_cc_c89=$ac_arg
4261 rm -f core conftest.err conftest.$ac_objext
4262 test "x$ac_cv_prog_cc_c89" != "xno" && break
4264 rm -f conftest.$ac_ext
4269 case "x$ac_cv_prog_cc_c89" in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4272 $as_echo "none needed" >&6; } ;;
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4275 $as_echo "unsupported" >&6; } ;;
4277 CC="$CC $ac_cv_prog_cc_c89"
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4281 if test "x$ac_cv_prog_cc_c89" != xno; then :
4286 ac_cpp='$CPP $CPPFLAGS'
4287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 ac_cpp='$CXXCPP $CPPFLAGS'
4293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4296 if test -z "$CXX"; then
4297 if test -n "$CCC"; then
4300 if test -n "$ac_tool_prefix"; then
4301 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CXX+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CXX"; then
4311 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$CXX"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4333 $as_echo "$CXX" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$CXX" && break
4343 if test -z "$CXX"; then
4345 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4347 # Extract the first word of "$ac_prog", so it can be a program name with args.
4348 set dummy $ac_prog; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$ac_ct_CXX"; then
4355 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4364 ac_cv_prog_ac_ct_CXX="$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4375 if test -n "$ac_ct_CXX"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4377 $as_echo "$ac_ct_CXX" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$ac_ct_CXX" && break
4387 if test "x$ac_ct_CXX" = x; then
4390 case $cross_compiling:$ac_tool_warned in
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4394 ac_tool_warned=yes ;;
4402 # Provide some information about the compiler.
4403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4406 for ac_option in --version -v -V -qversion; do
4407 { { ac_try="$ac_compiler $ac_option >&5"
4409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4410 *) ac_try_echo
=$ac_try;;
4412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4413 $as_echo "$ac_try_echo"; } >&5
4414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4416 if test -s conftest.err
; then
4418 ... rest of stderr output deleted ...
4419 10q' conftest.err
>conftest.er1
4420 cat conftest.er1
>&5
4422 rm -f conftest.er1 conftest.err
4423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424 test $ac_status = 0; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4429 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4430 $as_echo_n "(cached) " >&6
4432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4446 if ac_fn_cxx_try_compile
"$LINENO"; then :
4451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4452 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4456 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4462 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4463 ac_save_CXXFLAGS
=$CXXFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4465 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4466 if ${ac_cv_prog_cxx_g+:} false
; then :
4467 $as_echo_n "(cached) " >&6
4469 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4470 ac_cxx_werror_flag
=yes
4473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4484 if ac_fn_cxx_try_compile
"$LINENO"; then :
4485 ac_cv_prog_cxx_g
=yes
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4499 if ac_fn_cxx_try_compile
"$LINENO"; then :
4502 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4515 if ac_fn_cxx_try_compile
"$LINENO"; then :
4516 ac_cv_prog_cxx_g
=yes
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4523 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4526 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4527 if test "$ac_test_CXXFLAGS" = set; then
4528 CXXFLAGS
=$ac_save_CXXFLAGS
4529 elif test $ac_cv_prog_cxx_g = yes; then
4530 if test "$GXX" = yes; then
4536 if test "$GXX" = yes; then
4543 ac_cpp
='$CPP $CPPFLAGS'
4544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4550 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_CPPBIN+:} false
; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$CPPBIN"; then
4557 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4563 test -z "$as_dir" && as_dir
=.
4564 for ac_exec_ext
in '' $ac_executable_extensions; do
4565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 CPPBIN
=$ac_cv_prog_CPPBIN
4577 if test -n "$CPPBIN"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4579 $as_echo "$CPPBIN" >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4587 if test -z "$ac_cv_prog_CPPBIN"; then
4588 ac_ct_CPPBIN
=$CPPBIN
4589 # Extract the first word of "cpp", so it can be a program name with args.
4590 set dummy cpp
; ac_word
=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$ac_ct_CPPBIN"; then
4597 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4617 if test -n "$ac_ct_CPPBIN"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4619 $as_echo "$ac_ct_CPPBIN" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4625 if test "x$ac_ct_CPPBIN" = x
; then
4628 case $cross_compiling:$ac_tool_warned in
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned
=yes ;;
4634 CPPBIN
=$ac_ct_CPPBIN
4637 CPPBIN
="$ac_cv_prog_CPPBIN"
4641 cat >>confdefs.h
<<_ACEOF
4642 #define EXEEXT "$ac_exeext"
4648 if test "x$enable_win64" = "xyes"
4653 notice_platform
="64-bit "
4660 notice_platform
="32-bit "
4663 enable_win16
=${enable_win16:-yes}
4665 with_fontconfig
=${with_fontconfig:-no}
4668 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4673 $as_echo_n "checking whether $CC works... " >&6; }
4675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_c_try_link
"$LINENO"; then :
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4688 $as_echo "yes" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4692 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4694 rm -f core conftest.err conftest.
$ac_objext \
4695 conftest
$ac_exeext conftest.
$ac_ext
4697 notice_platform
="32-bit "
4700 enable_win16
=${enable_win16:-yes}
4702 if test "x${GCC}" = "xyes"
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4705 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4712 void func(__builtin_ms_va_list *args);
4717 if ac_fn_c_try_compile
"$LINENO"; then :
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4719 $as_echo "yes" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4723 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4733 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4736 int ac_test(int i) { return i; }
4740 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4745 if ac_fn_c_try_link
"$LINENO"; then :
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4747 $as_echo "yes" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4751 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4753 rm -f core conftest.err conftest.
$ac_objext \
4754 conftest
$ac_exeext conftest.
$ac_ext
4755 CFLAGS
="$CFLAGS -marm"
4757 *-mingw32*|
*-cygwin*)
4758 enable_win16
=${enable_win16:-no}
4759 CFLAGS
="$CFLAGS -D_WIN32"
4762 enable_win16
=${enable_win16:-yes}
4766 enable_win16
=${enable_win16:-no}
4767 enable_win64
=${enable_win64:-no}
4769 enable_winetest
=${enable_winetest:-$enable_tests}
4771 if test -n "$with_wine64"
4773 if test "x$enable_win64" = "xyes"
4775 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4776 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4780 enable_fonts
=${enable_fonts:-no}
4781 enable_server
=${enable_server:-no}
4782 elif test "x$enable_win64" = "xyes"
4784 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4788 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4789 if ${wine_cv_toolsdir+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 wine_cv_toolsdir
="$with_wine_tools"
4793 if test -z "$with_wine_tools"; then
4794 if test "$cross_compiling" = "yes"; then
4795 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4796 elif test -n "$with_wine64"; then
4797 wine_cv_toolsdir
="$with_wine64"
4800 if test -z "$wine_cv_toolsdir"; then
4801 wine_cv_toolsdir
="\$(top_builddir)"
4802 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4803 case "$wine_cv_toolsdir" in
4805 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4807 enable_tools
=${enable_tools:-no}
4809 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4813 $as_echo "$wine_cv_toolsdir" >&6; }
4814 TOOLSDIR
=$wine_cv_toolsdir
4816 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4818 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy
$ac_prog; ac_word
=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_FLEX+:} false
; then :
4829 $as_echo_n "(cached) " >&6
4831 if test -n "$FLEX"; then
4832 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_FLEX
="$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 FLEX
=$ac_cv_prog_FLEX
4852 if test -n "$FLEX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4854 $as_echo "$FLEX" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$FLEX" && break
4863 test -n "$FLEX" || FLEX
="none"
4865 if test "$FLEX" = "none"
4867 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4870 $as_echo_n "checking whether flex is recent enough... " >&6; }
4871 cat >conftest.l
<<EOF
4873 #include "prediluvian.h"
4877 if $FLEX -t conftest.l
>/dev
/null
2>&5
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4887 for ac_prog
in bison
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy
$ac_prog; ac_word
=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if ${ac_cv_prog_BISON+:} false
; then :
4894 $as_echo_n "(cached) " >&6
4896 if test -n "$BISON"; then
4897 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_BISON
="$ac_prog"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 BISON
=$ac_cv_prog_BISON
4917 if test -n "$BISON"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4919 $as_echo "$BISON" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 test -n "$BISON" && break
4928 test -n "$BISON" || BISON
="none"
4930 if test "$BISON" = "none"
4932 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4935 if test -n "$ac_tool_prefix"; then
4936 for ac_prog
in ar gar
4938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_AR+:} false
; then :
4943 $as_echo_n "(cached) " >&6
4945 if test -n "$AR"; then
4946 ac_cv_prog_AR
="$AR" # Let the user override the test.
4948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir
=.
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 if test -n "$AR"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4968 $as_echo "$AR" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4975 test -n "$AR" && break
4978 if test -z "$AR"; then
4980 for ac_prog
in ar gar
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy
$ac_prog; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$ac_ct_AR"; then
4990 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_ac_ct_AR
="$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5010 if test -n "$ac_ct_AR"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5012 $as_echo "$ac_ct_AR" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$ac_ct_AR" && break
5022 if test "x$ac_ct_AR" = x
; then
5025 case $cross_compiling:$ac_tool_warned in
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned
=yes ;;
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5037 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_STRIP+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$STRIP"; then
5044 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 STRIP
=$ac_cv_prog_STRIP
5064 if test -n "$STRIP"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5066 $as_echo "$STRIP" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5074 if test -z "$ac_cv_prog_STRIP"; then
5076 # Extract the first word of "strip", so it can be a program name with args.
5077 set dummy strip
; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$ac_ct_STRIP"; then
5084 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_ac_ct_STRIP
="strip"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5104 if test -n "$ac_ct_STRIP"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5106 $as_echo "$ac_ct_STRIP" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5112 if test "x$ac_ct_STRIP" = x
; then
5115 case $cross_compiling:$ac_tool_warned in
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119 ac_tool_warned
=yes ;;
5124 STRIP
="$ac_cv_prog_STRIP"
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5131 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_RANLIB+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$RANLIB"; then
5138 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 RANLIB
=$ac_cv_prog_RANLIB
5158 if test -n "$RANLIB"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5160 $as_echo "$RANLIB" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5168 if test -z "$ac_cv_prog_RANLIB"; then
5169 ac_ct_RANLIB
=$RANLIB
5170 # Extract the first word of "ranlib", so it can be a program name with args.
5171 set dummy ranlib
; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$ac_ct_RANLIB"; then
5178 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5198 if test -n "$ac_ct_RANLIB"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5200 $as_echo "$ac_ct_RANLIB" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5206 if test "x$ac_ct_RANLIB" = x
; then
5209 case $cross_compiling:$ac_tool_warned in
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5213 ac_tool_warned
=yes ;;
5215 RANLIB
=$ac_ct_RANLIB
5218 RANLIB
="$ac_cv_prog_RANLIB"
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5222 $as_echo_n "checking whether ln -s works... " >&6; }
5224 if test "$LN_S" = "ln -s"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5229 $as_echo "no, using $LN_S" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5233 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5234 if ${ac_cv_path_GREP+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 if test -z "$GREP"; then
5238 ac_path_GREP_found
=false
5239 # Loop through the user's path and test for each of PROGNAME-LIST
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_prog
in grep ggrep
; do
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5248 as_fn_executable_p
"$ac_path_GREP" ||
continue
5249 # Check for GNU ac_path_GREP and select it if it is found.
5250 # Check for GNU $ac_path_GREP
5251 case `"$ac_path_GREP" --version 2>&1` in
5253 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5256 $as_echo_n 0123456789 >"conftest.in"
5259 cat "conftest.in" "conftest.in" >"conftest.tmp"
5260 mv "conftest.tmp" "conftest.in"
5261 cp "conftest.in" "conftest.nl"
5262 $as_echo 'GREP' >> "conftest.nl"
5263 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5264 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5265 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5266 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5267 # Best one so far, save it but keep looking for a better one
5268 ac_cv_path_GREP
="$ac_path_GREP"
5269 ac_path_GREP_max
=$ac_count
5271 # 10*(2^10) chars as input seems more than enough
5272 test $ac_count -gt 10 && break
5274 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5277 $ac_path_GREP_found && break 3
5282 if test -z "$ac_cv_path_GREP"; then
5283 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5286 ac_cv_path_GREP
=$GREP
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5291 $as_echo "$ac_cv_path_GREP" >&6; }
5292 GREP
="$ac_cv_path_GREP"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5296 $as_echo_n "checking for egrep... " >&6; }
5297 if ${ac_cv_path_EGREP+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5301 then ac_cv_path_EGREP
="$GREP -E"
5303 if test -z "$EGREP"; then
5304 ac_path_EGREP_found
=false
5305 # Loop through the user's path and test for each of PROGNAME-LIST
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_prog
in egrep; do
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5314 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5315 # Check for GNU ac_path_EGREP and select it if it is found.
5316 # Check for GNU $ac_path_EGREP
5317 case `"$ac_path_EGREP" --version 2>&1` in
5319 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5322 $as_echo_n 0123456789 >"conftest.in"
5325 cat "conftest.in" "conftest.in" >"conftest.tmp"
5326 mv "conftest.tmp" "conftest.in"
5327 cp "conftest.in" "conftest.nl"
5328 $as_echo 'EGREP' >> "conftest.nl"
5329 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5330 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5331 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5332 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5333 # Best one so far, save it but keep looking for a better one
5334 ac_cv_path_EGREP
="$ac_path_EGREP"
5335 ac_path_EGREP_max
=$ac_count
5337 # 10*(2^10) chars as input seems more than enough
5338 test $ac_count -gt 10 && break
5340 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5343 $ac_path_EGREP_found && break 3
5348 if test -z "$ac_cv_path_EGREP"; then
5349 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5352 ac_cv_path_EGREP
=$EGREP
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5358 $as_echo "$ac_cv_path_EGREP" >&6; }
5359 EGREP
="$ac_cv_path_EGREP"
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5363 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5364 if test -z "$MKDIR_P"; then
5365 if ${ac_cv_path_mkdir+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5372 test -z "$as_dir" && as_dir
=.
5373 for ac_prog
in mkdir gmkdir
; do
5374 for ac_exec_ext
in '' $ac_executable_extensions; do
5375 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5376 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5377 'mkdir (GNU coreutils) '* | \
5378 'mkdir (coreutils) '* | \
5379 'mkdir (fileutils) '4.1*)
5380 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5390 test -d .
/--version && rmdir .
/--version
5391 if test "${ac_cv_path_mkdir+set}" = set; then
5392 MKDIR_P
="$ac_cv_path_mkdir -p"
5394 # As a last resort, use the slow shell script. Don't cache a
5395 # value for MKDIR_P within a source directory, because that will
5396 # break other packages using the cache if that directory is
5397 # removed, or if the value is a relative name.
5398 MKDIR_P
="$ac_install_sh -d"
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5402 $as_echo "$MKDIR_P" >&6; }
5404 # Extract the first word of "ldconfig", so it can be a program name with args.
5405 set dummy ldconfig
; ac_word
=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_path_LDCONFIG+:} false
; then :
5409 $as_echo_n "(cached) " >&6
5413 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5417 for as_dir
in /sbin
/usr
/sbin
$PATH
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5435 LDCONFIG
=$ac_cv_path_LDCONFIG
5436 if test -n "$LDCONFIG"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5438 $as_echo "$LDCONFIG" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5447 # Find a good install program. We prefer a C program (faster),
5448 # so one script is as good as another. But avoid the broken or
5449 # incompatible versions:
5450 # SysV /etc/install, /usr/sbin/install
5451 # SunOS /usr/etc/install
5452 # IRIX /sbin/install
5454 # AmigaOS /C/install, which installs bootblocks on floppy discs
5455 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5458 # OS/2's system install, which has a completely different semantic
5459 # ./install, which can be erroneously created by make from ./install.sh.
5460 # Reject install programs that cannot install multiple files.
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5462 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5463 if test -z "$INSTALL"; then
5464 if ${ac_cv_path_install+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 # Account for people who put trailing slashes in PATH elements.
5473 case $as_dir/ in #((
5474 .
/ | .
// |
/[cC
]/* | \
5475 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5476 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5479 # OSF1 and SCO ODT 3.0 have their own names for install.
5480 # Don't use installbsd from OSF since it installs stuff as root
5482 for ac_prog
in ginstall scoinst
install; do
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5485 if test $ac_prog = install &&
5486 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5487 # AIX install. It has an incompatible calling convention.
5489 elif test $ac_prog = install &&
5490 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5491 # program-specific install script used by HP pwplus--don't use.
5494 rm -rf conftest.one conftest.two conftest.dir
5495 echo one
> conftest.one
5496 echo two
> conftest.two
5498 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5499 test -s conftest.one
&& test -s conftest.two
&&
5500 test -s conftest.dir
/conftest.one
&&
5501 test -s conftest.dir
/conftest.two
5503 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5516 rm -rf conftest.one conftest.two conftest.dir
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL
=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. Don't cache a
5523 # value for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the value is a relative name.
5526 INSTALL
=$ac_install_sh
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5530 $as_echo "$INSTALL" >&6; }
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5541 for ac_prog
in lclint lint
5543 # Extract the first word of "$ac_prog", so it can be a program name with args.
5544 set dummy
$ac_prog; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_LINT+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$LINT"; then
5551 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_LINT
="$ac_prog"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 LINT
=$ac_cv_prog_LINT
5571 if test -n "$LINT"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5573 $as_echo "$LINT" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5580 test -n "$LINT" && break
5583 if test "$LINT" = "lint"
5585 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5589 for ac_prog
in fontforge
5591 # Extract the first word of "$ac_prog", so it can be a program name with args.
5592 set dummy
$ac_prog; ac_word
=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$FONTFORGE"; then
5599 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir
=.
5606 for ac_exec_ext
in '' $ac_executable_extensions; do
5607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_FONTFORGE
="$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 FONTFORGE
=$ac_cv_prog_FONTFORGE
5619 if test -n "$FONTFORGE"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5621 $as_echo "$FONTFORGE" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$FONTFORGE" && break
5630 test -n "$FONTFORGE" || FONTFORGE
="false"
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_prog; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_RSVG+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$RSVG"; then
5642 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_RSVG
="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 RSVG
=$ac_cv_prog_RSVG
5662 if test -n "$RSVG"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5664 $as_echo "$RSVG" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$RSVG" && break
5673 test -n "$RSVG" || RSVG
="false"
5675 for ac_prog
in convert
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy
$ac_prog; ac_word
=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_CONVERT+:} false
; then :
5682 $as_echo_n "(cached) " >&6
5684 if test -n "$CONVERT"; then
5685 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir
=.
5692 for ac_exec_ext
in '' $ac_executable_extensions; do
5693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_CONVERT
="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 CONVERT
=$ac_cv_prog_CONVERT
5705 if test -n "$CONVERT"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5707 $as_echo "$CONVERT" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$CONVERT" && break
5716 test -n "$CONVERT" || CONVERT
="false"
5718 for ac_prog
in icotool
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy
$ac_prog; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$ICOTOOL"; then
5728 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ICOTOOL
="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 ICOTOOL
=$ac_cv_prog_ICOTOOL
5748 if test -n "$ICOTOOL"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5750 $as_echo "$ICOTOOL" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$ICOTOOL" && break
5759 test -n "$ICOTOOL" || ICOTOOL
="false"
5761 for ac_prog
in msgfmt
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_prog; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_MSGFMT+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$MSGFMT"; then
5771 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_MSGFMT
="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 MSGFMT
=$ac_cv_prog_MSGFMT
5791 if test -n "$MSGFMT"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5793 $as_echo "$MSGFMT" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$MSGFMT" && break
5802 test -n "$MSGFMT" || MSGFMT
="false"
5804 if test -n "$ac_tool_prefix"; then
5805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5806 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5810 $as_echo_n "(cached) " >&6
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir
=.
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5844 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5845 elif test "$cross_compiling" != yes; then
5846 unset ac_cv_prog_PKG_CONFIG
5847 # Extract the first word of "pkg-config", so it can be a program name with args.
5848 set dummy pkg-config
; ac_word
=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -n "$PKG_CONFIG"; then
5855 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_PKG_CONFIG
="pkg-config"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5875 if test -n "$PKG_CONFIG"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5877 $as_echo "$PKG_CONFIG" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5886 if test "x$enable_maintainer_mode" != "xyes"
5891 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5892 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5894 if test "$CONVERT" = false
5896 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5899 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5900 convert_version
=`convert --version | head -n1`
5901 if test "x$convert_version" != "x"
5903 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5904 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5905 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5910 if test "$CONVERT" = false
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5913 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5914 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5917 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5921 if test "$ICOTOOL" = false
5923 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5926 $as_echo_n "checking for recent enough icotool... " >&6; }
5927 icotool_version
=`icotool --version | head -n1`
5928 if test "x$icotool_version" != "x"
5930 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5931 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5932 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5935 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5938 if test "$ICOTOOL" = false
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5941 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5942 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5945 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5951 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5954 test "x$with_gettext" != xno || MSGFMT
=false
5955 if test "$MSGFMT" != "false"
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5958 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5959 cat >conftest.po
<<EOF
5965 if $MSGFMT -o /dev
/null conftest.po
2>&5
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5968 $as_echo "yes" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5975 if test "$MSGFMT" = false
; then :
5976 case "x$with_gettext" in
5977 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5979 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5980 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5986 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5987 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5990 ac_check_lib_save_LIBS
=$LIBS
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5995 /* Override any GCC internal prototype to avoid an error.
5996 Use char because int might match the return type of a GCC
5997 builtin and then its argument prototype would still apply. */
6001 char i386_set_ldt ();
6005 return i386_set_ldt ();
6010 if ac_fn_c_try_link
"$LINENO"; then :
6011 ac_cv_lib_i386_i386_set_ldt
=yes
6013 ac_cv_lib_i386_i386_set_ldt
=no
6015 rm -f core conftest.err conftest.
$ac_objext \
6016 conftest
$ac_exeext conftest.
$ac_ext
6017 LIBS
=$ac_check_lib_save_LIBS
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6020 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6021 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6022 cat >>confdefs.h
<<_ACEOF
6023 #define HAVE_LIBI386 1
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6031 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6032 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 ac_check_lib_save_LIBS
=$LIBS
6036 LIBS
="-lossaudio $LIBS"
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6040 /* Override any GCC internal prototype to avoid an error.
6041 Use char because int might match the return type of a GCC
6042 builtin and then its argument prototype would still apply. */
6050 return _oss_ioctl ();
6055 if ac_fn_c_try_link
"$LINENO"; then :
6056 ac_cv_lib_ossaudio__oss_ioctl
=yes
6058 ac_cv_lib_ossaudio__oss_ioctl
=no
6060 rm -f core conftest.err conftest.
$ac_objext \
6061 conftest
$ac_exeext conftest.
$ac_ext
6062 LIBS
=$ac_check_lib_save_LIBS
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6065 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6066 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6067 cat >>confdefs.h
<<_ACEOF
6068 #define HAVE_LIBOSSAUDIO 1
6071 LIBS
="-lossaudio $LIBS"
6082 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6084 # Check whether --enable-largefile was given.
6085 if test "${enable_largefile+set}" = set; then :
6086 enableval
=$enable_largefile;
6089 if test "$enable_largefile" != no
; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6092 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6093 if ${ac_cv_sys_largefile_CC+:} false
; then :
6094 $as_echo_n "(cached) " >&6
6096 ac_cv_sys_largefile_CC
=no
6097 if test "$GCC" != yes; then
6100 # IRIX 6.2 and later do not support large files by default,
6101 # so use the C compiler's -n32 option if that helps.
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6105 /* Check that off_t can represent 2**63 - 1 correctly.
6106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6107 since some C++ compilers masquerading as C compilers
6108 incorrectly reject 9223372036854775807. */
6109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6111 && LARGE_OFF_T % 2147483647 == 1)
6121 if ac_fn_c_try_compile
"$LINENO"; then :
6124 rm -f core conftest.err conftest.
$ac_objext
6126 if ac_fn_c_try_compile
"$LINENO"; then :
6127 ac_cv_sys_largefile_CC
=' -n32'; break
6129 rm -f core conftest.err conftest.
$ac_objext
6133 rm -f conftest.
$ac_ext
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6137 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6138 if test "$ac_cv_sys_largefile_CC" != no
; then
6139 CC
=$CC$ac_cv_sys_largefile_CC
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6143 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6144 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6145 $as_echo_n "(cached) " >&6
6148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #include <sys/types.h>
6151 /* Check that off_t can represent 2**63 - 1 correctly.
6152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6153 since some C++ compilers masquerading as C compilers
6154 incorrectly reject 9223372036854775807. */
6155 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6157 && LARGE_OFF_T % 2147483647 == 1)
6167 if ac_fn_c_try_compile
"$LINENO"; then :
6168 ac_cv_sys_file_offset_bits
=no
; break
6170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6173 #define _FILE_OFFSET_BITS 64
6174 #include <sys/types.h>
6175 /* Check that off_t can represent 2**63 - 1 correctly.
6176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6177 since some C++ compilers masquerading as C compilers
6178 incorrectly reject 9223372036854775807. */
6179 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6181 && LARGE_OFF_T % 2147483647 == 1)
6191 if ac_fn_c_try_compile
"$LINENO"; then :
6192 ac_cv_sys_file_offset_bits
=64; break
6194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6195 ac_cv_sys_file_offset_bits
=unknown
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6200 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6201 case $ac_cv_sys_file_offset_bits in #(
6204 cat >>confdefs.h
<<_ACEOF
6205 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6210 if test $ac_cv_sys_file_offset_bits = unknown
; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6212 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6213 if ${ac_cv_sys_large_files+:} false
; then :
6214 $as_echo_n "(cached) " >&6
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <sys/types.h>
6220 /* Check that off_t can represent 2**63 - 1 correctly.
6221 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6222 since some C++ compilers masquerading as C compilers
6223 incorrectly reject 9223372036854775807. */
6224 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6225 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6226 && LARGE_OFF_T % 2147483647 == 1)
6236 if ac_fn_c_try_compile
"$LINENO"; then :
6237 ac_cv_sys_large_files
=no
; break
6239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 #define _LARGE_FILES 1
6243 #include <sys/types.h>
6244 /* Check that off_t can represent 2**63 - 1 correctly.
6245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6246 since some C++ compilers masquerading as C compilers
6247 incorrectly reject 9223372036854775807. */
6248 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6250 && LARGE_OFF_T % 2147483647 == 1)
6260 if ac_fn_c_try_compile
"$LINENO"; then :
6261 ac_cv_sys_large_files
=1; break
6263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6264 ac_cv_sys_large_files
=unknown
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6269 $as_echo "$ac_cv_sys_large_files" >&6; }
6270 case $ac_cv_sys_large_files in #(
6273 cat >>confdefs.h
<<_ACEOF
6274 #define _LARGE_FILES $ac_cv_sys_large_files
6286 ac_cpp
='$CPP $CPPFLAGS'
6287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6291 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6292 # On Suns, sometimes $CPP names a directory.
6293 if test -n "$CPP" && test -d "$CPP"; then
6296 if test -z "$CPP"; then
6297 if ${ac_cv_prog_CPP+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6300 # Double quotes because CPP needs to be expanded
6301 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6304 for ac_c_preproc_warn_flag
in '' yes
6306 # Use a header file that comes with gcc, so configuring glibc
6307 # with a fresh cross-compiler works.
6308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6309 # <limits.h> exists even on freestanding compilers.
6310 # On the NeXT, cc -E runs the code through the compiler's parser,
6311 # not just through cpp. "Syntax error" is here to catch this case.
6312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6315 # include <limits.h>
6317 # include <assert.h>
6321 if ac_fn_c_try_cpp
"$LINENO"; then :
6324 # Broken: fails on valid input.
6327 rm -f conftest.err conftest.i conftest.
$ac_ext
6329 # OK, works on sane cases. Now check whether nonexistent headers
6330 # can be detected and how.
6331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #include <ac_nonexistent.h>
6335 if ac_fn_c_try_cpp
"$LINENO"; then :
6336 # Broken: success on invalid input.
6339 # Passes both tests.
6343 rm -f conftest.err conftest.i conftest.
$ac_ext
6346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6347 rm -f conftest.i conftest.err conftest.
$ac_ext
6348 if $ac_preproc_ok; then :
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6361 $as_echo "$CPP" >&6; }
6363 for ac_c_preproc_warn_flag
in '' yes
6365 # Use a header file that comes with gcc, so configuring glibc
6366 # with a fresh cross-compiler works.
6367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6368 # <limits.h> exists even on freestanding compilers.
6369 # On the NeXT, cc -E runs the code through the compiler's parser,
6370 # not just through cpp. "Syntax error" is here to catch this case.
6371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6374 # include <limits.h>
6376 # include <assert.h>
6380 if ac_fn_c_try_cpp
"$LINENO"; then :
6383 # Broken: fails on valid input.
6386 rm -f conftest.err conftest.i conftest.
$ac_ext
6388 # OK, works on sane cases. Now check whether nonexistent headers
6389 # can be detected and how.
6390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <ac_nonexistent.h>
6394 if ac_fn_c_try_cpp
"$LINENO"; then :
6395 # Broken: success on invalid input.
6398 # Passes both tests.
6402 rm -f conftest.err conftest.i conftest.
$ac_ext
6405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6406 rm -f conftest.i conftest.err conftest.
$ac_ext
6407 if $ac_preproc_ok; then :
6410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6412 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6413 See \`config.log' for more details" "$LINENO" 5; }
6417 ac_cpp
='$CPP $CPPFLAGS'
6418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6424 $as_echo_n "checking for ANSI C header files... " >&6; }
6425 if ${ac_cv_header_stdc+:} false
; then :
6426 $as_echo_n "(cached) " >&6
6428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6443 if ac_fn_c_try_compile
"$LINENO"; then :
6444 ac_cv_header_stdc
=yes
6446 ac_cv_header_stdc
=no
6448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6450 if test $ac_cv_header_stdc = yes; then
6451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6458 $EGREP "memchr" >/dev
/null
2>&1; then :
6461 ac_cv_header_stdc
=no
6467 if test $ac_cv_header_stdc = yes; then
6468 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6475 $EGREP "free" >/dev
/null
2>&1; then :
6478 ac_cv_header_stdc
=no
6484 if test $ac_cv_header_stdc = yes; then
6485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6486 if test "$cross_compiling" = yes; then :
6489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6493 #if ((' ' & 0x0FF) == 0x020)
6494 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6495 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6497 # define ISLOWER(c) \
6498 (('a' <= (c) && (c) <= 'i') \
6499 || ('j' <= (c) && (c) <= 'r') \
6500 || ('s' <= (c) && (c) <= 'z'))
6501 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6504 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6509 for (i = 0; i < 256; i++)
6510 if (XOR (islower (i), ISLOWER (i))
6511 || toupper (i) != TOUPPER (i))
6516 if ac_fn_c_try_run
"$LINENO"; then :
6519 ac_cv_header_stdc
=no
6521 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6522 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6528 $as_echo "$ac_cv_header_stdc" >&6; }
6529 if test $ac_cv_header_stdc = yes; then
6531 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6535 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6536 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6537 inttypes.h stdint.h unistd.h
6539 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6540 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6542 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6543 cat >>confdefs.h
<<_ACEOF
6544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 ApplicationServices
/ApplicationServices.h \
6555 AudioToolbox
/AudioConverter.h \
6556 AudioUnit
/AudioUnit.h \
6557 AudioUnit
/AudioComponent.h \
6560 CoreAudio
/CoreAudio.h \
6561 CoreServices
/CoreServices.h \
6562 DiskArbitration
/DiskArbitration.h \
6564 IOKit
/hid
/IOHIDLib.h \
6567 QuickTime
/ImageCompression.h \
6568 Security
/Security.h \
6582 fontconfig
/fontconfig.h \
6620 netinet
/in_systm.h \
6681 valgrind
/memcheck.h \
6682 valgrind
/valgrind.h \
6686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6688 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6689 cat >>confdefs.h
<<_ACEOF
6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6698 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6699 if ${ac_cv_header_stat_broken+:} false
; then :
6700 $as_echo_n "(cached) " >&6
6702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6704 #include <sys/types.h>
6705 #include <sys/stat.h>
6707 #if defined S_ISBLK && defined S_IFDIR
6708 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6711 #if defined S_ISBLK && defined S_IFCHR
6712 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6715 #if defined S_ISLNK && defined S_IFREG
6716 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6719 #if defined S_ISSOCK && defined S_IFREG
6720 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6724 if ac_fn_c_try_compile
"$LINENO"; then :
6725 ac_cv_header_stat_broken
=no
6727 ac_cv_header_stat_broken
=yes
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6732 $as_echo "$ac_cv_header_stat_broken" >&6; }
6733 if test $ac_cv_header_stat_broken = yes; then
6735 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6741 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6743 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6745 #ifdef HAVE_SYS_PARAM_H
6746 # include <sys/param.h>
6749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 netinet
/if_ether.h \
6767 netinet
/if_inarp.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>
6778 #ifdef HAVE_SYS_SOCKET_H
6779 # include <sys/socket.h>
6781 #ifdef HAVE_SYS_SOCKETVAR_H
6782 # include <sys/socketvar.h>
6784 #ifdef HAVE_NET_ROUTE_H
6785 # include <net/route.h>
6787 #ifdef HAVE_NETINET_IN_H
6788 # include <netinet/in.h>
6790 #ifdef HAVE_NETINET_IN_SYSTM_H
6791 # include <netinet/in_systm.h>
6793 #ifdef HAVE_NET_IF_H
6794 # include <net/if.h>
6796 #ifdef HAVE_NETINET_IP_H
6797 # include <netinet/ip.h>
6800 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6801 cat >>confdefs.h
<<_ACEOF
6802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6810 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6812 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6817 #ifdef HAVE_SYS_SOCKET_H
6818 # include <sys/socket.h>
6820 #ifdef HAVE_SYS_SOCKETVAR_H
6821 # include <sys/socketvar.h>
6823 #ifdef HAVE_SYS_TIMEOUT_H
6824 # include <sys/timeout.h>
6826 #ifdef HAVE_NETINET_IN_H
6827 # include <netinet/in.h>
6829 #ifdef HAVE_NETINET_IN_SYSTM_H
6830 # include <netinet/in_systm.h>
6832 #ifdef HAVE_NETINET_IP_H
6833 # include <netinet/ip.h>
6835 #ifdef HAVE_NETINET_IP_VAR_H
6836 # include <netinet/ip_var.h>
6838 #ifdef HAVE_NETINET_IP_ICMP_H
6839 # include <netinet/ip_icmp.h>
6841 #ifdef HAVE_NETINET_UDP_H
6842 # include <netinet/udp.h>
6844 #ifdef HAVE_NETINET_TCP_H
6845 # include <netinet/tcp.h>
6847 #ifdef HAVE_NETINET_TCP_TIMER_H
6848 #include <netinet/tcp_timer.h>
6851 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6861 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6863 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6864 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 # include <asm/types.h>
6868 #ifdef HAVE_SYS_SOCKET_H
6869 # include <sys/socket.h>
6871 #ifdef HAVE_LINUX_TYPES_H
6872 # include <linux/types.h>
6875 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6876 cat >>confdefs.h
<<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6885 for ac_header
in mach-o
/dyld_images.h
6887 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6888 # include <stdbool.h>
6890 #ifdef HAVE_STDINT_H
6891 # include <stdint.h>
6894 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6895 cat >>confdefs.h
<<_ACEOF
6896 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6904 for ac_header
in resolv.h
6906 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6907 #ifdef HAVE_SYS_SOCKET_H
6908 # include <sys/socket.h>
6910 #ifdef HAVE_NETINET_IN_H
6911 # include <netinet/in.h>
6913 #ifdef HAVE_ARPA_NAMESER_H
6914 # include <arpa/nameser.h>
6917 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6918 cat >>confdefs.h
<<_ACEOF
6919 #define HAVE_RESOLV_H 1
6927 for ac_header
in ifaddrs.h
6929 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6931 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6932 cat >>confdefs.h
<<_ACEOF
6933 #define HAVE_IFADDRS_H 1
6941 for ac_header
in ucontext.h
6943 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6945 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6946 cat >>confdefs.h
<<_ACEOF
6947 #define HAVE_UCONTEXT_H 1
6955 for ac_header
in sys
/thr.h
6957 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6958 #ifdef HAVE_UCONTEXT_H
6959 #include <ucontext.h>
6962 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6963 cat >>confdefs.h
<<_ACEOF
6964 #define HAVE_SYS_THR_H 1
6972 for ac_header
in pthread_np.h
6974 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6975 #include <pthread.h>
6978 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6979 cat >>confdefs.h
<<_ACEOF
6980 #define HAVE_PTHREAD_NP_H 1
6988 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6990 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6991 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6992 #include <sys/time.h>
6994 #include <sys/types.h>
6995 #ifdef HAVE_ASM_TYPES_H
6996 #include <asm/types.h>
6999 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7000 cat >>confdefs.h
<<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7009 for ac_header
in libprocstat.h
7011 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7012 #include <sys/param.h>
7014 #ifdef HAVE_SYS_QUEUE_H
7015 #include <sys/queue.h>
7017 #ifdef HAVE_SYS_SOCKET_H
7018 #include <sys/socket.h>
7021 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7022 cat >>confdefs.h
<<_ACEOF
7023 #define HAVE_LIBPROCSTAT_H 1
7032 dlldir
="\${libdir}/wine"
7038 DLLFLAGS
="-D_REENTRANT"
7047 STATIC_IMPLIBEXT
="def.a"
7048 # Extract the first word of "ldd", so it can be a program name with args.
7049 set dummy ldd
; ac_word
=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if ${ac_cv_path_LDD+:} false
; then :
7053 $as_echo_n "(cached) " >&6
7057 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7061 as_dummy
="/sbin:/usr/sbin:$PATH"
7062 for as_dir
in $as_dummy
7065 test -z "$as_dir" && as_dir
=.
7066 for ac_exec_ext
in '' $ac_executable_extensions; do
7067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7081 if test -n "$LDD"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7083 $as_echo "$LDD" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7092 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_READELF+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$READELF"; then
7099 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir
=.
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 READELF
=$ac_cv_prog_READELF
7119 if test -n "$READELF"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7121 $as_echo "$READELF" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7129 if test -z "$ac_cv_prog_READELF"; then
7130 ac_ct_READELF
=$READELF
7131 # Extract the first word of "readelf", so it can be a program name with args.
7132 set dummy readelf
; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$ac_ct_READELF"; then
7139 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir
=.
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_ac_ct_READELF
="readelf"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7159 if test -n "$ac_ct_READELF"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7161 $as_echo "$ac_ct_READELF" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7167 if test "x$ac_ct_READELF" = x
; then
7170 case $cross_compiling:$ac_tool_warned in
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7174 ac_tool_warned
=yes ;;
7176 READELF
=$ac_ct_READELF
7179 READELF
="$ac_cv_prog_READELF"
7184 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7187 all: $wine_binary wine-installed
7189 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7190 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7193 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7199 if test -n "$ac_tool_prefix"; then
7200 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7201 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7205 $as_echo_n "(cached) " >&6
7207 if test -n "$DLLTOOL"; then
7208 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir
=.
7215 for ac_exec_ext
in '' $ac_executable_extensions; do
7216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7217 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227 DLLTOOL
=$ac_cv_prog_DLLTOOL
7228 if test -n "$DLLTOOL"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7230 $as_echo "$DLLTOOL" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7238 if test -z "$ac_cv_prog_DLLTOOL"; then
7239 ac_ct_DLLTOOL
=$DLLTOOL
7240 # Extract the first word of "dlltool", so it can be a program name with args.
7241 set dummy dlltool
; ac_word
=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$ac_ct_DLLTOOL"; then
7248 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir
=.
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7268 if test -n "$ac_ct_DLLTOOL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7270 $as_echo "$ac_ct_DLLTOOL" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7276 if test "x$ac_ct_DLLTOOL" = x
; then
7279 case $cross_compiling:$ac_tool_warned in
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned
=yes ;;
7285 DLLTOOL
=$ac_ct_DLLTOOL
7288 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7293 STATIC_IMPLIBEXT
="a"
7294 enable_iphlpapi
=${enable_iphlpapi:-no}
7295 enable_kernel32
=${enable_kernel32:-no}
7296 enable_msvcrt
=${enable_msvcrt:-no}
7297 enable_ntdll
=${enable_ntdll:-no}
7298 enable_ws2_32
=${enable_ws2_32:-no}
7299 enable_loader
=${enable_loader:-no}
7300 enable_server
=${enable_server:-no}
7301 with_x
=${with_x:-no}
7302 with_pthread
=${with_pthread:-no}
7308 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7313 all: libwine.dll libwine.a
7316 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7318 libwine.dll: \$(OBJS) wine.def Makefile.in
7319 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7321 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7322 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7324 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7325 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7328 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7331 \$(RM) libwine.dll version.c
7339 DLLFLAGS
="$DLLFLAGS -fPIC"
7340 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7341 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7342 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7343 COREFOUNDATIONLIB
="-framework CoreFoundation"
7345 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7347 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7349 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7351 CORESERVICESLIB
="-framework CoreServices"
7353 APPKITLIB
="-framework AppKit"
7355 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7357 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7359 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7361 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7364 if test "$ac_cv_header_Security_Security_h" = "yes"
7366 SECURITYLIB
="-framework Security -framework CoreFoundation"
7368 ac_save_LIBS
="$LIBS"
7369 LIBS
="$LIBS $SECURITYLIB"
7370 for ac_func
in SSLCopyPeerCertificates
7372 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7373 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7374 cat >>confdefs.h
<<_ACEOF
7375 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7381 LIBS
="$ac_save_LIBS"
7382 with_gnutls
=${with_gnutls:-no}
7384 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7386 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7388 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7391 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7394 ac_save_LIBS
="$LIBS"
7395 LIBS
="$LIBS $COREAUDIO"
7396 for ac_func
in AUGraphAddNode
7398 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7399 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7400 cat >>confdefs.h
<<_ACEOF
7401 #define HAVE_AUGRAPHADDNODE 1
7407 LIBS
="$ac_save_LIBS"
7409 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7411 FRAMEWORK_OPENAL
="-framework OpenAL"
7414 cat >>confdefs.h
<<_ACEOF
7415 #define HAVE_OPENAL 1
7418 ac_cv_lib_openal
=yes
7420 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7422 LIBOPENCL
="-framework OpenCL"
7424 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7426 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7428 ac_save_LIBS
="$LIBS"
7429 LIBS
="$LIBS $IOKITLIB"
7430 for ac_func
in IOHIDManagerCreate
7432 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7433 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7434 cat >>confdefs.h
<<_ACEOF
7435 #define HAVE_IOHIDMANAGERCREATE 1
7441 LIBS
="$ac_save_LIBS"
7443 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7445 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7447 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7449 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7451 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7453 CARBONLIB
="-framework Carbon"
7457 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7459 ac_save_LIBS
="$LIBS"
7460 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7461 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7462 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7463 enable_winemac_drv
=${enable_winemac_drv:-yes}
7466 LIBS
="$ac_save_LIBS"
7469 if test "x$enable_win16" = "xyes"
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7472 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7473 if test "$cross_compiling" = yes; then :
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7475 $as_echo "cross-compiling, assuming yes" >&6; }
7477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7481 "good:\tnop;nop\n\t"
7482 ".globl _testfunc\n"
7483 "_testfunc:\tcallw good");
7484 extern void testfunc();
7488 unsigned short *p = (unsigned short *)testfunc;
7489 return p[0] != 0xe866 || p[1] != 0xfffa
7494 if ac_fn_c_try_run
"$LINENO"; then :
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7496 $as_echo "yes" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7500 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
7502 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7503 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7511 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7512 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7514 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7515 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7517 libwine.dylib: libwine.\$(SOVERSION).dylib
7518 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7520 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7521 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7522 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7524 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7525 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7528 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7531 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7535 as_fn_append LOADER_RULES
"
7536 $wine_binary: main.o Makefile.in wine_info.plist
7537 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7539 wine-installed: main.o Makefile.in wine_info.plist
7540 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7542 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7543 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7548 DLLFLAGS
="$DLLFLAGS -fPIC"
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7555 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7556 $as_echo_n "(cached) " >&6
7558 ac_wine_try_cflags_saved
=$CFLAGS
7559 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7562 int main(int argc, char **argv) { return 0; }
7564 if ac_fn_c_try_link
"$LINENO"; then :
7565 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7567 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7569 rm -f core conftest.err conftest.
$ac_objext \
7570 conftest
$ac_exeext conftest.
$ac_ext
7571 CFLAGS
=$ac_wine_try_cflags_saved
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7574 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7575 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7576 LDEXECFLAGS
="-Wl,--export-dynamic"
7578 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7580 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7581 if eval \
${$as_ac_var+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_wine_try_cflags_saved
=$CFLAGS
7585 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
7593 eval "$as_ac_var=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 eval ac_res
=\$
$as_ac_var
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7601 $as_echo "$ac_res" >&6; }
7602 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7603 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7604 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7606 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7608 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7609 if eval \
${$as_ac_var+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 ac_wine_try_cflags_saved
=$CFLAGS
7613 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
7621 eval "$as_ac_var=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 eval ac_res
=\$
$as_ac_var
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7629 $as_echo "$ac_res" >&6; }
7630 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7631 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7632 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7637 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7638 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7639 $as_echo_n "(cached) " >&6
7641 ac_wine_try_cflags_saved
=$CFLAGS
7642 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 int main(int argc, char **argv) { return 0; }
7647 if ac_fn_c_try_link
"$LINENO"; then :
7648 ac_cv_cflags__Wl___enable_new_dtags
=yes
7650 ac_cv_cflags__Wl___enable_new_dtags
=no
7652 rm -f core conftest.err conftest.
$ac_objext \
7653 conftest
$ac_exeext conftest.
$ac_ext
7654 CFLAGS
=$ac_wine_try_cflags_saved
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7657 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7658 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7659 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7663 *i
[3456789]86* | x86_64
)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7665 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7666 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7667 $as_echo_n "(cached) " >&6
7669 ac_wine_try_cflags_saved
=$CFLAGS
7670 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 int main(int argc, char **argv) { return 0; }
7675 if ac_fn_c_try_link
"$LINENO"; then :
7676 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7678 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7680 rm -f core conftest.err conftest.
$ac_objext \
7681 conftest
$ac_exeext conftest.
$ac_ext
7682 CFLAGS
=$ac_wine_try_cflags_saved
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7685 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7686 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7687 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7695 libwine.so: \$(OBJS) Makefile.in
7696 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7698 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7699 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7702 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7705 \$(RM) libwine.so version.c
7709 as_fn_append LOADER_RULES
"
7710 $wine_binary: main.o Makefile.in
7711 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7713 wine-installed: main.o Makefile.in
7714 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7719 DLLFLAGS
="$DLLFLAGS -fPIC"
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7723 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7724 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7725 $as_echo_n "(cached) " >&6
7727 ac_wine_try_cflags_saved
=$CFLAGS
7728 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7733 if ac_fn_c_try_link
"$LINENO"; then :
7734 ac_cv_c_dll_gnuelf
="yes"
7736 ac_cv_c_dll_gnuelf
="no"
7738 rm -f core conftest.err conftest.
$ac_objext \
7739 conftest
$ac_exeext conftest.
$ac_ext
7740 CFLAGS
=$ac_wine_try_cflags_saved
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7743 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7744 if test "$ac_cv_c_dll_gnuelf" = "yes"
7746 LDSHARED
="\$(CC) -shared"
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7748 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7749 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7750 $as_echo_n "(cached) " >&6
7752 ac_wine_try_cflags_saved
=$CFLAGS
7753 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7758 if ac_fn_c_try_link
"$LINENO"; then :
7759 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7761 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7763 rm -f core conftest.err conftest.
$ac_objext \
7764 conftest
$ac_exeext conftest.
$ac_ext
7765 CFLAGS
=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7768 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7769 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7770 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7773 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7774 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7775 $as_echo_n "(cached) " >&6
7777 ac_wine_try_cflags_saved
=$CFLAGS
7778 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 int main(int argc, char **argv) { return 0; }
7783 if ac_fn_c_try_link
"$LINENO"; then :
7784 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7786 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7788 rm -f core conftest.err conftest.
$ac_objext \
7789 conftest
$ac_exeext conftest.
$ac_ext
7790 CFLAGS
=$ac_wine_try_cflags_saved
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7793 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7794 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7795 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7799 echo '{ global: *; };' >conftest.map
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7801 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7802 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7803 $as_echo_n "(cached) " >&6
7805 ac_wine_try_cflags_saved
=$CFLAGS
7806 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 int main(int argc, char **argv) { return 0; }
7811 if ac_fn_c_try_link
"$LINENO"; then :
7812 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7814 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7816 rm -f core conftest.err conftest.
$ac_objext \
7817 conftest
$ac_exeext conftest.
$ac_ext
7818 CFLAGS
=$ac_wine_try_cflags_saved
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7821 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7822 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7823 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7829 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7830 $as_echo_n "(cached) " >&6
7832 ac_wine_try_cflags_saved
=$CFLAGS
7833 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 int main(int argc, char **argv) { return 0; }
7838 if ac_fn_c_try_link
"$LINENO"; then :
7839 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7841 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7843 rm -f core conftest.err conftest.
$ac_objext \
7844 conftest
$ac_exeext conftest.
$ac_ext
7845 CFLAGS
=$ac_wine_try_cflags_saved
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7848 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7849 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7850 LDEXECFLAGS
="-Wl,--export-dynamic"
7853 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7855 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7856 if eval \
${$as_ac_var+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7859 ac_wine_try_cflags_saved
=$CFLAGS
7860 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 int main(int argc, char **argv) { return 0; }
7865 if ac_fn_c_try_link
"$LINENO"; then :
7866 eval "$as_ac_var=yes"
7868 eval "$as_ac_var=no"
7870 rm -f core conftest.err conftest.
$ac_objext \
7871 conftest
$ac_exeext conftest.
$ac_ext
7872 CFLAGS
=$ac_wine_try_cflags_saved
7874 eval ac_res
=\$
$as_ac_var
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7876 $as_echo "$ac_res" >&6; }
7877 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7878 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7879 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7881 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7883 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7884 if eval \
${$as_ac_var+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7887 ac_wine_try_cflags_saved
=$CFLAGS
7888 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 int main(int argc, char **argv) { return 0; }
7893 if ac_fn_c_try_link
"$LINENO"; then :
7894 eval "$as_ac_var=yes"
7896 eval "$as_ac_var=no"
7898 rm -f core conftest.err conftest.
$ac_objext \
7899 conftest
$ac_exeext conftest.
$ac_ext
7900 CFLAGS
=$ac_wine_try_cflags_saved
7902 eval ac_res
=\$
$as_ac_var
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7904 $as_echo "$ac_res" >&6; }
7905 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7906 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7907 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7912 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7913 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7914 $as_echo_n "(cached) " >&6
7916 ac_wine_try_cflags_saved
=$CFLAGS
7917 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int main(int argc, char **argv) { return 0; }
7922 if ac_fn_c_try_link
"$LINENO"; then :
7923 ac_cv_cflags__Wl___enable_new_dtags
=yes
7925 ac_cv_cflags__Wl___enable_new_dtags
=no
7927 rm -f core conftest.err conftest.
$ac_objext \
7928 conftest
$ac_exeext conftest.
$ac_ext
7929 CFLAGS
=$ac_wine_try_cflags_saved
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7932 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7933 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7934 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7938 *i
[3456789]86* | x86_64
)
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7940 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7941 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 ac_wine_try_cflags_saved
=$CFLAGS
7945 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7950 if ac_fn_c_try_link
"$LINENO"; then :
7951 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7953 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7955 rm -f core conftest.err conftest.
$ac_objext \
7956 conftest
$ac_exeext conftest.
$ac_ext
7957 CFLAGS
=$ac_wine_try_cflags_saved
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7960 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7961 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7963 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7964 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7968 # Extract the first word of "prelink", so it can be a program name with args.
7969 set dummy prelink
; ac_word
=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_path_PRELINK+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7977 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7981 for as_dir
in /sbin
/usr
/sbin
$PATH
7984 test -z "$as_dir" && as_dir
=.
7985 for ac_exec_ext
in '' $ac_executable_extensions; do
7986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7999 PRELINK
=$ac_cv_path_PRELINK
8000 if test -n "$PRELINK"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8002 $as_echo "$PRELINK" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8009 if test "x$PRELINK" = xfalse
8011 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8018 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8019 if ${ac_cv_c_dll_unixware+:} false
; then :
8020 $as_echo_n "(cached) " >&6
8022 ac_wine_try_cflags_saved
=$CFLAGS
8023 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8028 if ac_fn_c_try_link
"$LINENO"; then :
8029 ac_cv_c_dll_unixware
="yes"
8031 ac_cv_c_dll_unixware
="no"
8033 rm -f core conftest.err conftest.
$ac_objext \
8034 conftest
$ac_exeext conftest.
$ac_ext
8035 CFLAGS
=$ac_wine_try_cflags_saved
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8038 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8039 if test "$ac_cv_c_dll_unixware" = "yes"
8041 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8047 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
8048 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8050 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8051 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8053 libwine.so: libwine.so.\$(SOVERSION)
8054 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8056 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8057 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8058 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8060 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8061 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8064 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8067 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8071 as_fn_append LOADER_RULES
"
8072 $wine_binary: main.o Makefile.in
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o Makefile.in
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8081 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8082 enable_winemac_drv
=${enable_winemac_drv:-no}
8084 CROSSTEST_DISABLE
=\
#
8086 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8090 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
8093 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 " ;;
8095 ac_prefix_list
="" ;;
8097 for ac_prog
in $ac_prefix_list
8099 # Extract the first word of "$ac_prog", so it can be a program name with args.
8100 set dummy
$ac_prog; ac_word
=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8102 $as_echo_n "checking for $ac_word... " >&6; }
8103 if ${ac_cv_prog_CROSSCC+:} false
; then :
8104 $as_echo_n "(cached) " >&6
8106 if test -n "$CROSSCC"; then
8107 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir
=.
8114 for ac_exec_ext
in '' $ac_executable_extensions; do
8115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_prog_CROSSCC
="$ac_prog"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 CROSSCC
=$ac_cv_prog_CROSSCC
8127 if test -n "$CROSSCC"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8129 $as_echo "$CROSSCC" >&6; }
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8132 $as_echo "no" >&6; }
8136 test -n "$CROSSCC" && break
8138 test -n "$CROSSCC" || CROSSCC
="false"
8140 if test "$CROSSCC" != "false"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8145 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8157 if ac_fn_c_try_compile
"$LINENO"; then :
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8159 $as_echo "yes" >&6; }
8166 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
8170 if test -n "$target"
8172 CROSSTEST_DISABLE
=""
8173 CROSSTARGET
="$target"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8186 if test "$ac_cv_header_pthread_h" = "yes"
8188 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8189 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8193 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8194 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8195 $as_echo_n "(cached) " >&6
8197 ac_check_lib_save_LIBS
=$LIBS
8198 LIBS
="-lpthread $LIBS"
8199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8202 /* Override any GCC internal prototype to avoid an error.
8203 Use char because int might match the return type of a GCC
8204 builtin and then its argument prototype would still apply. */
8208 char pthread_create ();
8212 return pthread_create ();
8217 if ac_fn_c_try_link
"$LINENO"; then :
8218 ac_cv_lib_pthread_pthread_create
=yes
8220 ac_cv_lib_pthread_pthread_create
=no
8222 rm -f core conftest.err conftest.
$ac_objext \
8223 conftest
$ac_exeext conftest.
$ac_ext
8224 LIBS
=$ac_check_lib_save_LIBS
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8227 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8228 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8229 LIBPTHREAD
="-lpthread"
8236 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8237 case "x$with_pthread" in
8239 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8240 Wine cannot support threads without libpthread.
8241 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8247 $as_echo_n "checking for X... " >&6; }
8250 # Check whether --with-x was given.
8251 if test "${with_x+set}" = set; then :
8255 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8256 if test "x$with_x" = xno
; then
8257 # The user explicitly disabled X.
8260 case $x_includes,$x_libraries in #(
8261 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8262 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8263 $as_echo_n "(cached) " >&6
8265 # One or both of the vars are not set, and there is no cached value.
8266 ac_x_includes
=no ac_x_libraries
=no
8267 rm -f -r conftest.dir
8268 if mkdir conftest.dir
; then
8270 cat >Imakefile
<<'_ACEOF'
8272 @echo incroot='${INCROOT}'
8274 @echo usrlibdir='${USRLIBDIR}'
8276 @echo libdir='${LIBDIR}'
8278 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8279 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8280 for ac_var
in incroot usrlibdir libdir
; do
8281 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8283 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8284 for ac_extension
in a so sl dylib la dll
; do
8285 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8286 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8287 ac_im_usrlibdir
=$ac_im_libdir; break
8290 # Screen out bogus values from the imake configuration. They are
8291 # bogus both because they are the default anyway, and because
8292 # using them would break gcc on systems where it needs fixed includes.
8293 case $ac_im_incroot in
8294 /usr
/include
) ac_x_includes
= ;;
8295 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8297 case $ac_im_usrlibdir in
8298 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8299 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8303 rm -f -r conftest.dir
8306 # Standard set of common directories for X headers.
8307 # Check X11 before X11Rn because it is often a symlink to the current release.
8321 /usr/local/X11/include
8322 /usr/local/X11R7/include
8323 /usr/local/X11R6/include
8324 /usr/local/X11R5/include
8325 /usr/local/X11R4/include
8327 /usr/local/include/X11
8328 /usr/local/include/X11R7
8329 /usr/local/include/X11R6
8330 /usr/local/include/X11R5
8331 /usr/local/include/X11R4
8335 /usr/XFree86/include/X11
8339 /usr/unsupported/include
8341 /usr/local/x11r5/include
8342 /usr/lpp/Xamples/include
8344 /usr/openwin/include
8345 /usr/openwin/share/include'
8347 if test "$ac_x_includes" = no
; then
8348 # Guess where to find include files, by looking for Xlib.h.
8349 # First, try using that file with no special directory specified.
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 #include <X11/Xlib.h>
8354 if ac_fn_c_try_cpp
"$LINENO"; then :
8355 # We can compile using X headers with no special include directory.
8358 for ac_dir
in $ac_x_header_dirs; do
8359 if test -r "$ac_dir/X11/Xlib.h"; then
8360 ac_x_includes
=$ac_dir
8365 rm -f conftest.err conftest.i conftest.
$ac_ext
8366 fi # $ac_x_includes = no
8368 if test "$ac_x_libraries" = no
; then
8369 # Check for the libraries.
8370 # See if we find them without any special options.
8371 # Don't add to $LIBS permanently.
8374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 #include <X11/Xlib.h>
8385 if ac_fn_c_try_link
"$LINENO"; then :
8387 # We can link X programs with no special library path.
8391 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8393 # Don't even attempt the hair of trying to link an X program!
8394 for ac_extension
in a so sl dylib la dll
; do
8395 if test -r "$ac_dir/libX11.$ac_extension"; then
8396 ac_x_libraries
=$ac_dir
8402 rm -f core conftest.err conftest.
$ac_objext \
8403 conftest
$ac_exeext conftest.
$ac_ext
8404 fi # $ac_x_libraries = no
8406 case $ac_x_includes,$ac_x_libraries in #(
8408 # Didn't find X, or a directory has "'" in its name.
8409 ac_cv_have_x
="have_x=no";; #(
8411 # Record where we found X for the cache.
8412 ac_cv_have_x
="have_x=yes\
8413 ac_x_includes='$ac_x_includes'\
8414 ac_x_libraries='$ac_x_libraries'"
8420 eval "$ac_cv_have_x"
8423 if test "$have_x" != yes; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8425 $as_echo "$have_x" >&6; }
8428 # If each of the values was on the command line, it overrides each guess.
8429 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8430 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8431 # Update the cache value to reflect the command line values.
8432 ac_cv_have_x
="have_x=yes\
8433 ac_x_includes='$x_includes'\
8434 ac_x_libraries='$x_libraries'"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8436 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8439 if test "$no_x" = yes; then
8440 # Not all programs may use this symbol, but it does not hurt to define it.
8442 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8444 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8446 if test -n "$x_includes"; then
8447 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8450 # It would also be nice to do this for all -L options, not just this one.
8451 if test -n "$x_libraries"; then
8452 X_LIBS
="$X_LIBS -L$x_libraries"
8453 # For Solaris; some versions of Sun CC require a space after -R and
8454 # others require no space. Words are not sufficient . . . .
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8456 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8457 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8458 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8459 ac_c_werror_flag
=yes
8460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8471 if ac_fn_c_try_link
"$LINENO"; then :
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8474 X_LIBS
="$X_LIBS -R$x_libraries"
8476 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8488 if ac_fn_c_try_link
"$LINENO"; then :
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8490 $as_echo "yes" >&6; }
8491 X_LIBS
="$X_LIBS -R $x_libraries"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8494 $as_echo "neither works" >&6; }
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8499 rm -f core conftest.err conftest.
$ac_objext \
8500 conftest
$ac_exeext conftest.
$ac_ext
8501 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8505 # Check for system-dependent libraries X programs must link with.
8506 # Do this before checking for the system-independent R6 libraries
8507 # (-lICE), since we may need -lsocket or whatever for X linking.
8509 if test "$ISC" = yes; then
8510 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8512 # Martyn Johnson says this is needed for Ultrix, if the X
8513 # libraries were built with DECnet support. And Karl Berry says
8514 # the Alpha needs dnet_stub (dnet does not exist).
8515 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8519 /* Override any GCC internal prototype to avoid an error.
8520 Use char because int might match the return type of a GCC
8521 builtin and then its argument prototype would still apply. */
8525 char XOpenDisplay ();
8529 return XOpenDisplay ();
8534 if ac_fn_c_try_link
"$LINENO"; then :
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8538 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8539 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8540 $as_echo_n "(cached) " >&6
8542 ac_check_lib_save_LIBS
=$LIBS
8544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8547 /* Override any GCC internal prototype to avoid an error.
8548 Use char because int might match the return type of a GCC
8549 builtin and then its argument prototype would still apply. */
8557 return dnet_ntoa ();
8562 if ac_fn_c_try_link
"$LINENO"; then :
8563 ac_cv_lib_dnet_dnet_ntoa
=yes
8565 ac_cv_lib_dnet_dnet_ntoa
=no
8567 rm -f core conftest.err conftest.
$ac_objext \
8568 conftest
$ac_exeext conftest.
$ac_ext
8569 LIBS
=$ac_check_lib_save_LIBS
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8572 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8573 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8574 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8577 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8579 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8580 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8581 $as_echo_n "(cached) " >&6
8583 ac_check_lib_save_LIBS
=$LIBS
8584 LIBS
="-ldnet_stub $LIBS"
8585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8598 return dnet_ntoa ();
8603 if ac_fn_c_try_link
"$LINENO"; then :
8604 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8606 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8610 LIBS
=$ac_check_lib_save_LIBS
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8613 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8614 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8615 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8620 rm -f core conftest.err conftest.
$ac_objext \
8621 conftest
$ac_exeext conftest.
$ac_ext
8622 LIBS
="$ac_xsave_LIBS"
8624 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8625 # to get the SysV transport functions.
8626 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8628 # The nsl library prevents programs from opening the X display
8629 # on Irix 5.2, according to T.E. Dickey.
8630 # The functions gethostbyname, getservbyname, and inet_addr are
8631 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8632 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8633 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8637 if test $ac_cv_func_gethostbyname = no
; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8639 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8640 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8641 $as_echo_n "(cached) " >&6
8643 ac_check_lib_save_LIBS
=$LIBS
8645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8648 /* Override any GCC internal prototype to avoid an error.
8649 Use char because int might match the return type of a GCC
8650 builtin and then its argument prototype would still apply. */
8654 char gethostbyname ();
8658 return gethostbyname ();
8663 if ac_fn_c_try_link
"$LINENO"; then :
8664 ac_cv_lib_nsl_gethostbyname
=yes
8666 ac_cv_lib_nsl_gethostbyname
=no
8668 rm -f core conftest.err conftest.
$ac_objext \
8669 conftest
$ac_exeext conftest.
$ac_ext
8670 LIBS
=$ac_check_lib_save_LIBS
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8673 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8674 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8675 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8678 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8680 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8681 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8682 $as_echo_n "(cached) " >&6
8684 ac_check_lib_save_LIBS
=$LIBS
8686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8689 /* Override any GCC internal prototype to avoid an error.
8690 Use char because int might match the return type of a GCC
8691 builtin and then its argument prototype would still apply. */
8695 char gethostbyname ();
8699 return gethostbyname ();
8704 if ac_fn_c_try_link
"$LINENO"; then :
8705 ac_cv_lib_bsd_gethostbyname
=yes
8707 ac_cv_lib_bsd_gethostbyname
=no
8709 rm -f core conftest.err conftest.
$ac_objext \
8710 conftest
$ac_exeext conftest.
$ac_ext
8711 LIBS
=$ac_check_lib_save_LIBS
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8714 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8715 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8723 # socket/setsockopt and other routines are undefined under SCO ODT
8724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8725 # on later versions), says Simon Leinen: it contains gethostby*
8726 # variants that don't use the name server (or something). -lsocket
8727 # must be given before -lnsl if both are needed. We assume that
8728 # if connect needs -lnsl, so does gethostbyname.
8729 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8730 if test "x$ac_cv_func_connect" = xyes
; then :
8734 if test $ac_cv_func_connect = no
; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8736 $as_echo_n "checking for connect in -lsocket... " >&6; }
8737 if ${ac_cv_lib_socket_connect+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 ac_check_lib_save_LIBS
=$LIBS
8741 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 ac_cv_lib_socket_connect
=yes
8763 ac_cv_lib_socket_connect
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LIBS
=$ac_check_lib_save_LIBS
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8770 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8771 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8772 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8777 # Guillermo Gomez says -lposix is necessary on A/UX.
8778 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8779 if test "x$ac_cv_func_remove" = xyes
; then :
8783 if test $ac_cv_func_remove = no
; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8785 $as_echo_n "checking for remove in -lposix... " >&6; }
8786 if ${ac_cv_lib_posix_remove+:} false
; then :
8787 $as_echo_n "(cached) " >&6
8789 ac_check_lib_save_LIBS
=$LIBS
8790 LIBS
="-lposix $LIBS"
8791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8794 /* Override any GCC internal prototype to avoid an error.
8795 Use char because int might match the return type of a GCC
8796 builtin and then its argument prototype would still apply. */
8809 if ac_fn_c_try_link
"$LINENO"; then :
8810 ac_cv_lib_posix_remove
=yes
8812 ac_cv_lib_posix_remove
=no
8814 rm -f core conftest.err conftest.
$ac_objext \
8815 conftest
$ac_exeext conftest.
$ac_ext
8816 LIBS
=$ac_check_lib_save_LIBS
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8819 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8820 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8821 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8826 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8827 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8828 if test "x$ac_cv_func_shmat" = xyes
; then :
8832 if test $ac_cv_func_shmat = no
; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8834 $as_echo_n "checking for shmat in -lipc... " >&6; }
8835 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8836 $as_echo_n "(cached) " >&6
8838 ac_check_lib_save_LIBS
=$LIBS
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8858 if ac_fn_c_try_link
"$LINENO"; then :
8859 ac_cv_lib_ipc_shmat
=yes
8861 ac_cv_lib_ipc_shmat
=no
8863 rm -f core conftest.err conftest.
$ac_objext \
8864 conftest
$ac_exeext conftest.
$ac_ext
8865 LIBS
=$ac_check_lib_save_LIBS
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8868 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8869 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8876 # Check for libraries that X11R6 Xt/Xaw programs need.
8877 ac_save_LDFLAGS
=$LDFLAGS
8878 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8879 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8880 # check for ICE first), but we must link in the order -lSM -lICE or
8881 # we get undefined symbols. So assume we have SM if we have ICE.
8882 # These have to be linked with before -lX11, unlike the other
8883 # libraries we check for below, so use a different variable.
8884 # John Interrante, Karl Berry
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8886 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8887 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8888 $as_echo_n "(cached) " >&6
8890 ac_check_lib_save_LIBS
=$LIBS
8891 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8895 /* Override any GCC internal prototype to avoid an error.
8896 Use char because int might match the return type of a GCC
8897 builtin and then its argument prototype would still apply. */
8901 char IceConnectionNumber ();
8905 return IceConnectionNumber ();
8910 if ac_fn_c_try_link
"$LINENO"; then :
8911 ac_cv_lib_ICE_IceConnectionNumber
=yes
8913 ac_cv_lib_ICE_IceConnectionNumber
=no
8915 rm -f core conftest.err conftest.
$ac_objext \
8916 conftest
$ac_exeext conftest.
$ac_ext
8917 LIBS
=$ac_check_lib_save_LIBS
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8920 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8921 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8922 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8925 LDFLAGS
=$ac_save_LDFLAGS
8930 if test "$have_x" = "yes"
8933 ac_save_CPPFLAGS
="$CPPFLAGS"
8934 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8937 $as_echo_n "checking for -lX11... " >&6; }
8938 if ${ac_cv_lib_soname_X11+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_soname_save_LIBS
=$LIBS
8942 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8952 char XCreateWindow ();
8956 return XCreateWindow ();
8961 if ac_fn_c_try_link
"$LINENO"; then :
8963 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8964 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'` ;;
8965 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8966 if test "x$ac_cv_lib_soname_X11" = x
; then :
8967 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8971 rm -f core conftest.err conftest.
$ac_objext \
8972 conftest
$ac_exeext conftest.
$ac_ext
8973 LIBS
=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8981 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8983 cat >>confdefs.h
<<_ACEOF
8984 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8990 $as_echo_n "checking for -lXext... " >&6; }
8991 if ${ac_cv_lib_soname_Xext+:} false
; then :
8992 $as_echo_n "(cached) " >&6
8994 ac_check_soname_save_LIBS
=$LIBS
8995 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8999 /* Override any GCC internal prototype to avoid an error.
9000 Use char because int might match the return type of a GCC
9001 builtin and then its argument prototype would still apply. */
9005 char XextCreateExtension ();
9009 return XextCreateExtension ();
9014 if ac_fn_c_try_link
"$LINENO"; then :
9016 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9017 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'` ;;
9018 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9019 if test "x$ac_cv_lib_soname_Xext" = x
; then :
9020 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9024 rm -f core conftest.err conftest.
$ac_objext \
9025 conftest
$ac_exeext conftest.
$ac_ext
9026 LIBS
=$ac_check_soname_save_LIBS
9028 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9030 $as_echo "not found" >&6; }
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9034 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9036 cat >>confdefs.h
<<_ACEOF
9037 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9043 for ac_header
in X11
/Xlib.h \
9046 X11
/Xcursor
/Xcursor.h \
9047 X11
/extensions
/shape.h \
9048 X11
/extensions
/XInput.h \
9049 X11
/extensions
/XInput2.h \
9050 X11
/extensions
/XShm.h \
9051 X11
/extensions
/Xcomposite.h \
9052 X11
/extensions
/Xinerama.h \
9053 X11
/extensions
/Xrandr.h \
9054 X11
/extensions
/Xrender.h \
9055 X11
/extensions
/xf86vmode.h \
9056 X11
/extensions
/xf86vmproto.h
9058 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9059 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9060 # include <X11/Xlib.h>
9062 #ifdef HAVE_X11_XUTIL_H
9063 # include <X11/Xutil.h>
9066 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9067 cat >>confdefs.h
<<_ACEOF
9068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9076 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9079 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9080 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9084 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9094 char XkbQueryExtension ();
9098 return XkbQueryExtension ();
9103 if ac_fn_c_try_link
"$LINENO"; then :
9104 ac_cv_lib_X11_XkbQueryExtension
=yes
9106 ac_cv_lib_X11_XkbQueryExtension
=no
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9113 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9114 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9116 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9122 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9125 $as_echo_n "checking for -lXcursor... " >&6; }
9126 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 ac_check_soname_save_LIBS
=$LIBS
9130 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9140 char XcursorImageLoadCursor ();
9144 return XcursorImageLoadCursor ();
9149 if ac_fn_c_try_link
"$LINENO"; then :
9151 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9152 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'` ;;
9153 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9154 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9155 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9159 rm -f core conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9161 LIBS
=$ac_check_soname_save_LIBS
9163 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9165 $as_echo "not found" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9169 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9171 cat >>confdefs.h
<<_ACEOF
9172 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9178 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9179 case "x$with_xcursor" in
9180 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9182 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9183 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9187 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9190 $as_echo_n "checking for -lXi... " >&6; }
9191 if ${ac_cv_lib_soname_Xi+:} false
; then :
9192 $as_echo_n "(cached) " >&6
9194 ac_check_soname_save_LIBS
=$LIBS
9195 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9205 char XOpenDevice ();
9209 return XOpenDevice ();
9214 if ac_fn_c_try_link
"$LINENO"; then :
9216 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9217 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'` ;;
9218 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9219 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9220 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9224 rm -f core conftest.err conftest.
$ac_objext \
9225 conftest
$ac_exeext conftest.
$ac_ext
9226 LIBS
=$ac_check_soname_save_LIBS
9228 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9230 $as_echo "not found" >&6; }
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9234 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9236 cat >>confdefs.h
<<_ACEOF
9237 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9243 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9244 case "x$with_xinput" in
9245 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9247 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9248 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9252 if test "x$ac_cv_lib_soname_Xi" != x
9254 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9255 case "x$with_xinput2" in
9256 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9258 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9259 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9264 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9267 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9268 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9272 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char XShmQueryExtension ();
9286 return XShmQueryExtension ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9292 ac_cv_lib_Xext_XShmQueryExtension
=yes
9294 ac_cv_lib_Xext_XShmQueryExtension
=no
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9301 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9302 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9304 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9309 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9310 case "x$with_xshm" in
9311 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9313 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9314 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9318 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9321 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9322 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_check_lib_save_LIBS
=$LIBS
9326 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9336 char XShapeQueryExtension ();
9340 return XShapeQueryExtension ();
9345 if ac_fn_c_try_link
"$LINENO"; then :
9346 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9348 ac_cv_lib_Xext_XShapeQueryExtension
=no
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 LIBS
=$ac_check_lib_save_LIBS
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9355 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9356 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9358 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9363 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9364 case "x$with_xshape" in
9365 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9367 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9368 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9372 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9375 $as_echo_n "checking for -lXxf86vm... " >&6; }
9376 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 ac_check_soname_save_LIBS
=$LIBS
9380 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9390 char XF86VidModeQueryExtension ();
9394 return XF86VidModeQueryExtension ();
9399 if ac_fn_c_try_link
"$LINENO"; then :
9401 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9405 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9409 rm -f core conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 LIBS
=$ac_check_soname_save_LIBS
9413 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9419 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9421 cat >>confdefs.h
<<_ACEOF
9422 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9428 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9429 case "x$with_xxf86vm" in
9430 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9432 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9433 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9437 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"
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9440 $as_echo_n "checking for -lXrender... " >&6; }
9441 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 ac_check_soname_save_LIBS
=$LIBS
9445 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9455 char XRenderQueryExtension ();
9459 return XRenderQueryExtension ();
9464 if ac_fn_c_try_link
"$LINENO"; then :
9466 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9467 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'` ;;
9468 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9469 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9470 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9474 rm -f core conftest.err conftest.
$ac_objext \
9475 conftest
$ac_exeext conftest.
$ac_ext
9476 LIBS
=$ac_check_soname_save_LIBS
9478 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9480 $as_echo "not found" >&6; }
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9484 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9486 cat >>confdefs.h
<<_ACEOF
9487 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9491 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9492 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 ac_check_lib_save_LIBS
=$LIBS
9496 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9506 char XRenderSetPictureTransform ();
9510 return XRenderSetPictureTransform ();
9515 if ac_fn_c_try_link
"$LINENO"; then :
9516 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9518 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9520 rm -f core conftest.err conftest.
$ac_objext \
9521 conftest
$ac_exeext conftest.
$ac_ext
9522 LIBS
=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9525 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9526 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9528 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9533 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9534 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 ac_check_lib_save_LIBS
=$LIBS
9538 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9548 char XRenderCreateLinearGradient ();
9552 return XRenderCreateLinearGradient ();
9557 if ac_fn_c_try_link
"$LINENO"; then :
9558 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9560 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9562 rm -f core conftest.err conftest.
$ac_objext \
9563 conftest
$ac_exeext conftest.
$ac_ext
9564 LIBS
=$ac_check_lib_save_LIBS
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9567 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9568 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9570 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9577 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9578 case "x$with_xrender" in
9579 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9581 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9582 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9586 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9590 #include <X11/Xlib.h>
9591 #include <X11/extensions/Xrandr.h>
9595 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9600 if ac_fn_c_try_compile
"$LINENO"; then :
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9602 $as_echo_n "checking for -lXrandr... " >&6; }
9603 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9604 $as_echo_n "(cached) " >&6
9606 ac_check_soname_save_LIBS
=$LIBS
9607 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9617 char XRRQueryExtension ();
9621 return XRRQueryExtension ();
9626 if ac_fn_c_try_link
"$LINENO"; then :
9628 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9631 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9632 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_soname_save_LIBS
9640 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9642 $as_echo "not found" >&6; }
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9646 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9648 cat >>confdefs.h
<<_ACEOF
9649 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9654 #include <X11/Xlib.h>
9655 #include <X11/extensions/Xrandr.h>
9659 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9664 if ac_fn_c_try_compile
"$LINENO"; then :
9666 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9674 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9675 case "x$with_xrandr" in
9676 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9678 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9679 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9683 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9687 #include <X11/Xlib.h>
9688 #include <X11/extensions/Xinerama.h>
9692 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9697 if ac_fn_c_try_compile
"$LINENO"; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9699 $as_echo_n "checking for -lXinerama... " >&6; }
9700 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9703 ac_check_soname_save_LIBS
=$LIBS
9704 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9714 char XineramaQueryScreens ();
9718 return XineramaQueryScreens ();
9723 if ac_fn_c_try_link
"$LINENO"; then :
9725 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9729 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9733 rm -f core conftest.err conftest.
$ac_objext \
9734 conftest
$ac_exeext conftest.
$ac_ext
9735 LIBS
=$ac_check_soname_save_LIBS
9737 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9743 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9745 cat >>confdefs.h
<<_ACEOF
9746 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9754 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9755 case "x$with_xinerama" in
9756 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9758 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9759 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9763 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9766 $as_echo_n "checking for -lXcomposite... " >&6; }
9767 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9768 $as_echo_n "(cached) " >&6
9770 ac_check_soname_save_LIBS
=$LIBS
9771 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9781 char XCompositeRedirectWindow ();
9785 return XCompositeRedirectWindow ();
9790 if ac_fn_c_try_link
"$LINENO"; then :
9792 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9793 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'` ;;
9794 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9795 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9796 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9800 rm -f core conftest.err conftest.
$ac_objext \
9801 conftest
$ac_exeext conftest.
$ac_ext
9802 LIBS
=$ac_check_soname_save_LIBS
9804 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9806 $as_echo "not found" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9810 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9812 cat >>confdefs.h
<<_ACEOF
9813 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9819 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9820 case "x$with_xcomposite" in
9821 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9823 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9824 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9828 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9829 #include <X11/Xlib.h>
9832 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9834 cat >>confdefs.h
<<_ACEOF
9835 #define HAVE_XICCALLBACK_CALLBACK 1
9840 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9841 #include <X11/Xlib.h>
9844 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9846 cat >>confdefs.h
<<_ACEOF
9847 #define HAVE_XEVENT_XCOOKIE 1
9856 if test "x$with_opengl" != "xno"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9859 $as_echo_n "checking for -lGL... " >&6; }
9860 if ${ac_cv_lib_soname_GL+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 ac_check_soname_save_LIBS
=$LIBS
9864 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9874 char glXCreateContext ();
9878 return glXCreateContext ();
9883 if ac_fn_c_try_link
"$LINENO"; then :
9885 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if test "x$ac_cv_lib_soname_GL" = x
; then :
9889 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9901 $as_echo_n "checking for -lGL... " >&6; }
9902 if ${ac_cv_lib_soname_GL+:} false
; then :
9903 $as_echo_n "(cached) " >&6
9905 ac_check_soname_save_LIBS
=$LIBS
9906 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"
9907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9916 char glXCreateContext ();
9920 return glXCreateContext ();
9925 if ac_fn_c_try_link
"$LINENO"; then :
9927 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9928 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'` ;;
9929 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9930 if test "x$ac_cv_lib_soname_GL" = x
; then :
9931 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9935 rm -f core conftest.err conftest.
$ac_objext \
9936 conftest
$ac_exeext conftest.
$ac_ext
9937 LIBS
=$ac_check_soname_save_LIBS
9939 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9941 $as_echo "not found" >&6; }
9942 if test -f /usr
/X11R
6/lib
/libGL.a
9944 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9945 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9947 opengl_msg
="No OpenGL library found on this system."
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9951 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9953 cat >>confdefs.h
<<_ACEOF
9954 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9957 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"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9961 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9963 cat >>confdefs.h
<<_ACEOF
9964 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9969 if test "x$with_glu" != "xno"
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9972 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9973 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9974 $as_echo_n "(cached) " >&6
9976 ac_check_lib_save_LIBS
=$LIBS
9977 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9981 /* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9991 return gluLookAt ();
9996 if ac_fn_c_try_link
"$LINENO"; then :
9997 ac_cv_lib_GLU_gluLookAt
=yes
9999 ac_cv_lib_GLU_gluLookAt
=no
10001 rm -f core conftest.err conftest.
$ac_objext \
10002 conftest
$ac_exeext conftest.
$ac_ext
10003 LIBS
=$ac_check_lib_save_LIBS
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10006 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10007 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10011 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10012 case "x$with_glu" in
10013 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10015 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10016 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10021 if test "x$with_osmesa" != "xno"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10024 $as_echo_n "checking for -lOSMesa... " >&6; }
10025 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 ac_check_soname_save_LIBS
=$LIBS
10029 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10048 if ac_fn_c_try_link
"$LINENO"; then :
10050 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10051 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'` ;;
10052 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10053 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10054 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_soname_save_LIBS
10062 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 $as_echo "not found" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10068 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10070 cat >>confdefs.h
<<_ACEOF
10071 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10076 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10077 case "x$with_osmesa" in
10078 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10080 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10081 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10086 if test -n "$opengl_msg"; then :
10087 case "x$with_opengl" in
10088 x
) as_fn_append wine_warnings
"|$opengl_msg
10089 OpenGL and Direct3D won't be supported." ;;
10091 *) as_fn_error $?
"$opengl_msg
10092 OpenGL and Direct3D won't be supported.
10093 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10097 CPPFLAGS
="$ac_save_CPPFLAGS"
10102 enable_winex11_drv
=${enable_winex11_drv:-no}
10104 if test "x$XLIB" = "x"; then :
10107 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10108 without X support, which probably isn't what you want. You will need
10109 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10110 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10114 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10116 if test "$ac_cv_header_CL_cl_h" = "yes"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10119 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10120 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10121 $as_echo_n "(cached) " >&6
10123 ac_check_lib_save_LIBS
=$LIBS
10124 LIBS
="-lOpenCL $LIBS"
10125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10134 char clGetPlatformInfo ();
10138 return clGetPlatformInfo ();
10143 if ac_fn_c_try_link
"$LINENO"; then :
10144 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10146 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10148 rm -f core conftest.err conftest.
$ac_objext \
10149 conftest
$ac_exeext conftest.
$ac_ext
10150 LIBS
=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10153 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10154 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10155 LIBOPENCL
="-lOpenCL"
10160 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10161 case "x$with_opencl" in
10162 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10164 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10165 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10168 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10171 if test "x$with_xml" != "xno"
10173 if test -n "$XML2_CFLAGS"; then :
10175 elif test -n "$PKG_CONFIG"; then :
10176 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10178 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10179 if test -n "$XML2_LIBS"; then :
10181 elif test -n "$PKG_CONFIG"; then :
10182 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10184 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10185 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10186 ac_save_CPPFLAGS
=$CPPFLAGS
10187 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10188 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10190 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10191 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10192 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10193 cat >>confdefs.h
<<_ACEOF
10194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10201 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"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10204 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10205 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10206 $as_echo_n "(cached) " >&6
10208 ac_check_lib_save_LIBS
=$LIBS
10209 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10219 char xmlParseMemory ();
10223 return xmlParseMemory ();
10228 if ac_fn_c_try_link
"$LINENO"; then :
10229 ac_cv_lib_xml2_xmlParseMemory
=yes
10231 ac_cv_lib_xml2_xmlParseMemory
=no
10233 rm -f core conftest.err conftest.
$ac_objext \
10234 conftest
$ac_exeext conftest.
$ac_ext
10235 LIBS
=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10238 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10239 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10241 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10248 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10249 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10250 $as_echo_n "(cached) " >&6
10252 ac_check_lib_save_LIBS
=$LIBS
10253 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10263 char xmlReadMemory ();
10267 return xmlReadMemory ();
10272 if ac_fn_c_try_link
"$LINENO"; then :
10273 ac_cv_lib_xml2_xmlReadMemory
=yes
10275 ac_cv_lib_xml2_xmlReadMemory
=no
10277 rm -f core conftest.err conftest.
$ac_objext \
10278 conftest
$ac_exeext conftest.
$ac_ext
10279 LIBS
=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10282 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10283 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10285 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10290 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10291 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10292 $as_echo_n "(cached) " >&6
10294 ac_check_lib_save_LIBS
=$LIBS
10295 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10305 char xmlNewDocPI ();
10309 return xmlNewDocPI ();
10314 if ac_fn_c_try_link
"$LINENO"; then :
10315 ac_cv_lib_xml2_xmlNewDocPI
=yes
10317 ac_cv_lib_xml2_xmlNewDocPI
=no
10319 rm -f core conftest.err conftest.
$ac_objext \
10320 conftest
$ac_exeext conftest.
$ac_ext
10321 LIBS
=$ac_check_lib_save_LIBS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10324 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10325 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10327 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10332 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10333 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10334 $as_echo_n "(cached) " >&6
10336 ac_check_lib_save_LIBS
=$LIBS
10337 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10341 /* Override any GCC internal prototype to avoid an error.
10342 Use char because int might match the return type of a GCC
10343 builtin and then its argument prototype would still apply. */
10347 char xmlSchemaSetParserStructuredErrors ();
10351 return xmlSchemaSetParserStructuredErrors ();
10356 if ac_fn_c_try_link
"$LINENO"; then :
10357 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10359 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10361 rm -f core conftest.err conftest.
$ac_objext \
10362 conftest
$ac_exeext conftest.
$ac_ext
10363 LIBS
=$ac_check_lib_save_LIBS
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10366 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10367 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10369 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10374 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10375 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10376 $as_echo_n "(cached) " >&6
10378 ac_check_lib_save_LIBS
=$LIBS
10379 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10389 char xmlSchemaSetValidStructuredErrors ();
10393 return xmlSchemaSetValidStructuredErrors ();
10398 if ac_fn_c_try_link
"$LINENO"; then :
10399 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10401 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10403 rm -f core conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 LIBS
=$ac_check_lib_save_LIBS
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10408 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10409 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10411 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10416 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10417 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10418 $as_echo_n "(cached) " >&6
10420 ac_check_lib_save_LIBS
=$LIBS
10421 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10431 char xmlFirstElementChild ();
10435 return xmlFirstElementChild ();
10440 if ac_fn_c_try_link
"$LINENO"; then :
10441 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10443 ac_cv_lib_xml2_xmlFirstElementChild
=no
10445 rm -f core conftest.err conftest.
$ac_objext \
10446 conftest
$ac_exeext conftest.
$ac_ext
10447 LIBS
=$ac_check_lib_save_LIBS
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10450 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10451 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10453 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10457 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10459 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10461 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10469 CPPFLAGS
=$ac_save_CPPFLAGS
10470 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10471 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10474 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10475 case "x$with_xml" in
10476 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10478 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10479 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10483 if test "x$with_xslt" != "xno"
10485 if test -n "$XSLT_CFLAGS"; then :
10487 elif test -n "$PKG_CONFIG"; then :
10488 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10490 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10491 if test -n "$XSLT_LIBS"; then :
10493 elif test -n "$PKG_CONFIG"; then :
10494 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10496 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10497 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10498 ac_save_CPPFLAGS
=$CPPFLAGS
10499 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10500 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10502 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10503 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10504 # include <libxslt/pattern.h>
10507 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10508 cat >>confdefs.h
<<_ACEOF
10509 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10516 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10519 $as_echo_n "checking for -lxslt... " >&6; }
10520 if ${ac_cv_lib_soname_xslt+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 ac_check_soname_save_LIBS
=$LIBS
10524 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10534 char xsltCompilePattern ();
10538 return xsltCompilePattern ();
10543 if ac_fn_c_try_link
"$LINENO"; then :
10545 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10546 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'` ;;
10547 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10548 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10549 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10553 rm -f core conftest.err conftest.
$ac_objext \
10554 conftest
$ac_exeext conftest.
$ac_ext
10555 LIBS
=$ac_check_soname_save_LIBS
10557 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10559 $as_echo "not found" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10563 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10565 cat >>confdefs.h
<<_ACEOF
10566 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10574 CPPFLAGS
=$ac_save_CPPFLAGS
10575 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10576 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10579 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10580 case "x$with_xslt" in
10581 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10583 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10584 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10588 if test "x$with_dbus" != "xno"
10590 if test -n "$DBUS_CFLAGS"; then :
10592 elif test -n "$PKG_CONFIG"; then :
10593 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10596 if test -n "$DBUS_LIBS"; then :
10598 elif test -n "$PKG_CONFIG"; then :
10599 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10603 ac_save_CPPFLAGS
=$CPPFLAGS
10604 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10605 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10606 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10608 $as_echo_n "checking for -ldbus-1... " >&6; }
10609 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10610 $as_echo_n "(cached) " >&6
10612 ac_check_soname_save_LIBS
=$LIBS
10613 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10623 char dbus_connection_close ();
10627 return dbus_connection_close ();
10632 if ac_fn_c_try_link
"$LINENO"; then :
10634 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10635 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'` ;;
10636 *) 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'`
10637 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10638 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10642 rm -f core conftest.err conftest.
$ac_objext \
10643 conftest
$ac_exeext conftest.
$ac_ext
10644 LIBS
=$ac_check_soname_save_LIBS
10646 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10648 $as_echo "not found" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10652 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10654 cat >>confdefs.h
<<_ACEOF
10655 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10665 CPPFLAGS
=$ac_save_CPPFLAGS
10666 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10667 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10670 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10671 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10672 case "x$with_dbus" in
10673 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10675 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10676 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10680 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10682 if test -n "$HAL_CFLAGS"; then :
10684 elif test -n "$PKG_CONFIG"; then :
10685 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10688 if test -n "$HAL_LIBS"; then :
10690 elif test -n "$PKG_CONFIG"; then :
10691 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10694 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10695 ac_save_CPPFLAGS
=$CPPFLAGS
10696 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10697 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10698 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10700 $as_echo_n "checking for -lhal... " >&6; }
10701 if ${ac_cv_lib_soname_hal+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_check_soname_save_LIBS
=$LIBS
10705 LIBS
="-lhal $HAL_LIBS $LIBS"
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10715 char libhal_ctx_new ();
10719 return libhal_ctx_new ();
10724 if ac_fn_c_try_link
"$LINENO"; then :
10726 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10727 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'` ;;
10728 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10729 if test "x$ac_cv_lib_soname_hal" = x
; then :
10730 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10734 rm -f core conftest.err conftest.
$ac_objext \
10735 conftest
$ac_exeext conftest.
$ac_ext
10736 LIBS
=$ac_check_soname_save_LIBS
10738 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10740 $as_echo "not found" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10744 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10746 cat >>confdefs.h
<<_ACEOF
10747 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10757 CPPFLAGS
=$ac_save_CPPFLAGS
10758 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10759 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10761 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10762 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10763 case "x$with_hal" in
10764 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10766 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10767 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10772 if test "x$with_gnutls" != "xno"
10774 if test -n "$GNUTLS_CFLAGS"; then :
10776 elif test -n "$PKG_CONFIG"; then :
10777 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10780 if test -n "$GNUTLS_LIBS"; then :
10782 elif test -n "$PKG_CONFIG"; then :
10783 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10787 ac_save_CPPFLAGS
=$CPPFLAGS
10788 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10789 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10790 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 #include <gnutls/gnutls.h>
10794 #include <gnutls/crypto.h>
10798 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10803 if ac_fn_c_try_compile
"$LINENO"; then :
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10805 $as_echo_n "checking for -lgnutls... " >&6; }
10806 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10807 $as_echo_n "(cached) " >&6
10809 ac_check_soname_save_LIBS
=$LIBS
10810 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10820 char gnutls_global_init ();
10824 return gnutls_global_init ();
10829 if ac_fn_c_try_link
"$LINENO"; then :
10831 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10832 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'` ;;
10833 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10834 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10835 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10839 rm -f core conftest.err conftest.
$ac_objext \
10840 conftest
$ac_exeext conftest.
$ac_ext
10841 LIBS
=$ac_check_soname_save_LIBS
10843 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10845 $as_echo "not found" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10849 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10851 cat >>confdefs.h
<<_ACEOF
10852 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10864 CPPFLAGS
=$ac_save_CPPFLAGS
10865 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10866 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10869 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10870 case "x$with_gnutls" in
10871 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10873 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10874 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10879 if test "$ac_cv_header_ncurses_h" = "yes"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10882 $as_echo_n "checking for -lncurses... " >&6; }
10883 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10884 $as_echo_n "(cached) " >&6
10886 ac_check_soname_save_LIBS
=$LIBS
10887 LIBS
="-lncurses $LIBS"
10888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10906 if ac_fn_c_try_link
"$LINENO"; then :
10908 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10909 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'` ;;
10910 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10911 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10912 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10916 rm -f core conftest.err conftest.
$ac_objext \
10917 conftest
$ac_exeext conftest.
$ac_ext
10918 LIBS
=$ac_check_soname_save_LIBS
10920 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10922 $as_echo "not found" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10926 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10928 cat >>confdefs.h
<<_ACEOF
10929 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10932 CURSESLIBS
="-lncurses"
10934 elif test "$ac_cv_header_curses_h" = "yes"
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10937 $as_echo_n "checking for -lcurses... " >&6; }
10938 if ${ac_cv_lib_soname_curses+:} false
; then :
10939 $as_echo_n "(cached) " >&6
10941 ac_check_soname_save_LIBS
=$LIBS
10942 LIBS
="-lcurses $LIBS"
10943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10961 if ac_fn_c_try_link
"$LINENO"; then :
10963 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10964 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'` ;;
10965 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10966 if test "x$ac_cv_lib_soname_curses" = x
; then :
10967 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_soname_save_LIBS
10975 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10977 $as_echo "not found" >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10981 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10983 cat >>confdefs.h
<<_ACEOF
10984 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10987 CURSESLIBS
="-lcurses"
10990 ac_save_LIBS
="$LIBS"
10991 LIBS
="$LIBS $CURSESLIBS"
10992 for ac_func
in mousemask
10994 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10995 if test "x$ac_cv_func_mousemask" = xyes
; then :
10996 cat >>confdefs.h
<<_ACEOF
10997 #define HAVE_MOUSEMASK 1
11003 LIBS
="$ac_save_LIBS"
11004 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11005 case "x$with_curses" in
11006 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11008 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11009 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11013 if test "x$with_sane" != "xno"
11015 if test -n "$SANE_CFLAGS"; then :
11017 elif test -n "$PKG_CONFIG"; then :
11018 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11020 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11021 if test -n "$SANE_LIBS"; then :
11023 elif test -n "$PKG_CONFIG"; then :
11024 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11026 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11028 ac_save_CPPFLAGS
=$CPPFLAGS
11029 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11030 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11031 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11033 $as_echo_n "checking for -lsane... " >&6; }
11034 if ${ac_cv_lib_soname_sane+:} false
; then :
11035 $as_echo_n "(cached) " >&6
11037 ac_check_soname_save_LIBS
=$LIBS
11038 LIBS
="-lsane $SANE_LIBS $LIBS"
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11052 return sane_init ();
11057 if ac_fn_c_try_link
"$LINENO"; then :
11059 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11060 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'` ;;
11061 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11062 if test "x$ac_cv_lib_soname_sane" = x
; then :
11063 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_soname_save_LIBS
11071 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11073 $as_echo "not found" >&6; }
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11077 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11079 cat >>confdefs.h
<<_ACEOF
11080 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11090 CPPFLAGS
=$ac_save_CPPFLAGS
11091 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11092 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11095 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11096 case "x$with_sane" in
11097 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11099 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11100 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11104 if test "x$with_v4l" != "xno"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11107 $as_echo_n "checking for -lv4l1... " >&6; }
11108 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11109 $as_echo_n "(cached) " >&6
11111 ac_check_soname_save_LIBS
=$LIBS
11112 LIBS
="-lv4l1 $LIBS"
11113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11126 return v4l1_open ();
11131 if ac_fn_c_try_link
"$LINENO"; then :
11133 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11134 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'` ;;
11135 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11136 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11137 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11141 rm -f core conftest.err conftest.
$ac_objext \
11142 conftest
$ac_exeext conftest.
$ac_ext
11143 LIBS
=$ac_check_soname_save_LIBS
11145 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11147 $as_echo "not found" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11151 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11153 cat >>confdefs.h
<<_ACEOF
11154 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11160 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11161 case "x$with_v4l" in
11162 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11164 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11165 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11169 if test "x$with_gphoto" != "xno"
11171 if test -n "$GPHOTO2_CFLAGS"; then :
11173 elif test -n "$PKG_CONFIG"; then :
11174 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11176 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11177 if test -n "$GPHOTO2_LIBS"; then :
11179 elif test -n "$PKG_CONFIG"; then :
11180 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11182 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11183 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11184 ac_save_CPPFLAGS
=$CPPFLAGS
11185 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11186 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11187 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11189 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11190 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 ac_check_lib_save_LIBS
=$LIBS
11194 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11204 char gp_camera_new ();
11208 return gp_camera_new ();
11213 if ac_fn_c_try_link
"$LINENO"; then :
11214 ac_cv_lib_gphoto2_gp_camera_new
=yes
11216 ac_cv_lib_gphoto2_gp_camera_new
=no
11218 rm -f core conftest.err conftest.
$ac_objext \
11219 conftest
$ac_exeext conftest.
$ac_ext
11220 LIBS
=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11223 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11224 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11226 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11229 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11233 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11237 CPPFLAGS
=$ac_save_CPPFLAGS
11238 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11239 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11241 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11243 elif test -n "$PKG_CONFIG"; then :
11244 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11246 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11247 if test -n "$GPHOTO2_PORT_LIBS"; then :
11249 elif test -n "$PKG_CONFIG"; then :
11250 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11252 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11253 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11254 ac_save_CPPFLAGS
=$CPPFLAGS
11255 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11256 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11257 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11259 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11260 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11261 $as_echo_n "(cached) " >&6
11263 ac_check_lib_save_LIBS
=$LIBS
11264 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11274 char gp_port_info_list_new ();
11278 return gp_port_info_list_new ();
11283 if ac_fn_c_try_link
"$LINENO"; then :
11284 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11286 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11288 rm -f core conftest.err conftest.
$ac_objext \
11289 conftest
$ac_exeext conftest.
$ac_ext
11290 LIBS
=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11293 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11294 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11296 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11299 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11303 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11307 CPPFLAGS
=$ac_save_CPPFLAGS
11308 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11309 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11312 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11313 case "x$with_gphoto" in
11314 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11316 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11317 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11320 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11321 case "x$with_gphoto" in
11322 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11324 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11325 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11330 if test "$ac_cv_header_resolv_h" = "yes"
11332 ac_save_LIBS
="$LIBS"
11333 for lib
in '' -lresolv
11335 LIBS
="$lib $ac_save_LIBS"
11336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 #ifdef HAVE_NETINET_IN_H
11339 #include <netinet/in.h>
11341 #include <resolv.h>
11345 res_query("foo",ns_c_in,0,0,0);
11350 if ac_fn_c_try_link
"$LINENO"; then :
11352 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11357 rm -f core conftest.err conftest.
$ac_objext \
11358 conftest
$ac_exeext conftest.
$ac_ext
11359 if test "${RESOLVLIBS+set}" = set; then
11363 LIBS
="$ac_save_LIBS"
11366 if test "x$with_lcms2" != "xno"
11368 if test -n "$LCMS2_CFLAGS"; then :
11370 elif test -n "$PKG_CONFIG"; then :
11371 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11374 if test -n "$LCMS2_LIBS"; then :
11376 elif test -n "$PKG_CONFIG"; then :
11377 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11380 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11381 ac_save_CPPFLAGS
=$CPPFLAGS
11382 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11383 for ac_header
in lcms2.h
11385 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11386 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11387 cat >>confdefs.h
<<_ACEOF
11388 #define HAVE_LCMS2_H 1
11395 if test "$ac_cv_header_lcms2_h" = "yes"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11398 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11399 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11400 $as_echo_n "(cached) " >&6
11402 ac_check_lib_save_LIBS
=$LIBS
11403 LIBS
="-llcms2 $LIBS"
11404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11413 char cmsOpenProfileFromFile ();
11417 return cmsOpenProfileFromFile ();
11422 if ac_fn_c_try_link
"$LINENO"; then :
11423 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11425 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11427 rm -f core conftest.err conftest.
$ac_objext \
11428 conftest
$ac_exeext conftest.
$ac_ext
11429 LIBS
=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11432 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11433 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11435 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11445 CPPFLAGS
=$ac_save_CPPFLAGS
11446 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11447 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11450 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11451 case "x$with_cms" in
11452 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11454 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11455 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11459 if test "x$with_freetype" != "xno"
11461 if test -n "$FREETYPE_CFLAGS"; then :
11463 elif test -n "$PKG_CONFIG"; then :
11464 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11466 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11467 if test -n "$FREETYPE_LIBS"; then :
11469 elif test -n "$PKG_CONFIG"; then :
11470 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11472 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11473 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11474 ac_save_CPPFLAGS
=$CPPFLAGS
11475 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11477 $as_echo_n "checking for -lfreetype... " >&6; }
11478 if ${ac_cv_lib_soname_freetype+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_soname_save_LIBS
=$LIBS
11482 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11492 char FT_Init_FreeType ();
11496 return FT_Init_FreeType ();
11501 if ac_fn_c_try_link
"$LINENO"; then :
11503 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11507 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 rm -f core conftest.err conftest.
$ac_objext \
11512 conftest
$ac_exeext conftest.
$ac_ext
11513 LIBS
=$ac_check_soname_save_LIBS
11515 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11521 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11523 cat >>confdefs.h
<<_ACEOF
11524 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11529 if test "$ft_lib" = "yes"
11531 for ac_header
in ft2build.h \
11532 freetype
/freetype.h \
11533 freetype
/ftglyph.h \
11534 freetype
/fttypes.h \
11535 freetype
/tttables.h \
11536 freetype
/ftsnames.h \
11537 freetype
/ttnameid.h \
11538 freetype
/ftoutln.h \
11539 freetype
/ftwinfnt.h \
11540 freetype
/ftmodapi.h \
11541 freetype
/ftlcdfil.h
11543 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11544 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11545 # include <ft2build.h>
11548 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11549 cat >>confdefs.h
<<_ACEOF
11550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 #include <ft2build.h>
11560 #include <freetype/fttrigon.h>
11562 if ac_fn_c_try_cpp
"$LINENO"; then :
11564 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11566 wine_cv_fttrigon
=yes
11568 wine_cv_fttrigon
=no
11570 rm -f conftest.err conftest.i conftest.
$ac_ext
11571 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11573 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11575 cat >>confdefs.h
<<_ACEOF
11576 #define HAVE_FT_TRUETYPEENGINETYPE 1
11582 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11585 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11593 CPPFLAGS
=$ac_save_CPPFLAGS
11594 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11599 case "x$with_freetype" in
11601 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11602 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11605 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11608 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11609 if ${ac_cv_c_ppdev+:} false
; then :
11610 $as_echo_n "(cached) " >&6
11612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11614 #ifdef HAVE_SYS_IOCTL_H
11615 # include <sys/ioctl.h>
11617 #include <linux/ppdev.h>
11621 ioctl (1,PPCLAIM,0)
11626 if ac_fn_c_try_compile
"$LINENO"; then :
11627 ac_cv_c_ppdev
="yes"
11631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11634 $as_echo "$ac_cv_c_ppdev" >&6; }
11635 if test "$ac_cv_c_ppdev" = "yes"
11638 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11642 ac_wine_check_funcs_save_LIBS
="$LIBS"
11643 LIBS
="$LIBS $LIBPTHREAD"
11645 pthread_attr_get_np \
11646 pthread_getattr_np \
11647 pthread_getthreadid_np \
11648 pthread_get_stackaddr_np \
11649 pthread_get_stacksize_np
11651 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11652 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11653 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11654 cat >>confdefs.h
<<_ACEOF
11655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11661 LIBS
="$ac_wine_check_funcs_save_LIBS"
11663 if test "$ac_cv_header_zlib_h" = "yes"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11666 $as_echo_n "checking for inflate in -lz... " >&6; }
11667 if ${ac_cv_lib_z_inflate+:} false
; then :
11668 $as_echo_n "(cached) " >&6
11670 ac_check_lib_save_LIBS
=$LIBS
11672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11690 if ac_fn_c_try_link
"$LINENO"; then :
11691 ac_cv_lib_z_inflate
=yes
11693 ac_cv_lib_z_inflate
=no
11695 rm -f core conftest.err conftest.
$ac_objext \
11696 conftest
$ac_exeext conftest.
$ac_ext
11697 LIBS
=$ac_check_lib_save_LIBS
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11700 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11701 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11703 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11710 if test "x$ZLIB" = "x"; then :
11711 case "x$with_zlib" in
11712 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11714 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11715 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11719 if test "x$enable_tools" != xno
11721 if test "$ac_cv_header_gettext_po_h" = "yes"
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11724 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11725 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 ac_check_lib_save_LIBS
=$LIBS
11729 LIBS
="-lgettextpo $LIBS"
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11739 char po_message_msgctxt ();
11743 return po_message_msgctxt ();
11748 if ac_fn_c_try_link
"$LINENO"; then :
11749 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11751 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11753 rm -f core conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11758 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11759 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11761 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11763 LIBGETTEXTPO
="-lgettextpo"
11768 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11769 case "x$with_gettextpo" in
11770 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11772 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11773 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11778 if test "x$with_gstreamer" != "xno"
11780 if test -n "$GSTREAMER_CFLAGS"; then :
11782 elif test -n "$PKG_CONFIG"; then :
11783 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11786 if test -n "$GSTREAMER_LIBS"; then :
11788 elif test -n "$PKG_CONFIG"; then :
11789 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11793 ac_save_CPPFLAGS
=$CPPFLAGS
11794 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11796 for i
in $GSTREAMER_CFLAGS
11799 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11802 GSTREAMER_CFLAGS
=$ac_gst_incl
11803 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11804 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11805 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11806 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11807 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11809 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 #include <gst/app/gstappsink.h>
11816 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11821 if ac_fn_c_try_compile
"$LINENO"; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11823 $as_echo "yes" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11825 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11826 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_check_lib_save_LIBS
=$LIBS
11830 LIBS
="-lgstreamer-0.10 $LIBS"
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11840 char gst_pad_get_caps_reffed ();
11844 return gst_pad_get_caps_reffed ();
11849 if ac_fn_c_try_link
"$LINENO"; then :
11850 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11852 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11859 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11860 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11862 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11863 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11864 $as_echo_n "(cached) " >&6
11866 ac_check_lib_save_LIBS
=$LIBS
11867 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11877 char gst_app_buffer_new ();
11881 return gst_app_buffer_new ();
11886 if ac_fn_c_try_link
"$LINENO"; then :
11887 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11889 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11891 rm -f core conftest.err conftest.
$ac_objext \
11892 conftest
$ac_exeext conftest.
$ac_ext
11893 LIBS
=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11896 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11897 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11912 GSTREAMER_CFLAGS
=""
11916 CPPFLAGS
=$ac_save_CPPFLAGS
11917 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11922 case "x$with_gstreamer" in
11923 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11925 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11926 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11929 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11933 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11936 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11937 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11938 $as_echo_n "(cached) " >&6
11940 ac_check_lib_save_LIBS
=$LIBS
11941 LIBS
="-lasound $LIBS"
11942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11951 char snd_pcm_hw_params_get_access_mask ();
11955 return snd_pcm_hw_params_get_access_mask ();
11960 if ac_fn_c_try_link
"$LINENO"; then :
11961 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11963 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11965 rm -f core conftest.err conftest.
$ac_objext \
11966 conftest
$ac_exeext conftest.
$ac_ext
11967 LIBS
=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11970 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11971 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #ifdef HAVE_ALSA_ASOUNDLIB_H
11975 #include <alsa/asoundlib.h>
11976 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11977 #include <sys/asoundlib.h>
11982 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11987 if ac_fn_c_try_compile
"$LINENO"; then :
11988 ALSALIBS
="-lasound"
11990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11995 if test "x$with_oss" != xno
11997 ac_save_CPPFLAGS
="$CPPFLAGS"
11998 if test -f /etc
/oss.conf
12002 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12003 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12004 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12005 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12006 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12008 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12010 cat >>confdefs.h
<<_ACEOF
12011 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12014 OSS4INCL
="$ac_oss_incl"
12021 CPPFLAGS
="$ac_save_CPPFLAGS"
12022 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12024 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12028 if test "x$with_capi" != "xno"
12030 if test -n "$CAPI20_CFLAGS"; then :
12032 elif test -n "$PKG_CONFIG"; then :
12033 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12036 if test -n "$CAPI20_LIBS"; then :
12038 elif test -n "$PKG_CONFIG"; then :
12039 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12043 ac_save_CPPFLAGS
=$CPPFLAGS
12044 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12045 for ac_header
in capi20.h linux
/capi.h
12047 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12050 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12051 cat >>confdefs.h
<<_ACEOF
12052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12059 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12062 $as_echo_n "checking for -lcapi20... " >&6; }
12063 if ${ac_cv_lib_soname_capi20+:} false
; then :
12064 $as_echo_n "(cached) " >&6
12066 ac_check_soname_save_LIBS
=$LIBS
12067 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12077 char capi20_register ();
12081 return capi20_register ();
12086 if ac_fn_c_try_link
"$LINENO"; then :
12088 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12089 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'` ;;
12090 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12091 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12092 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 rm -f core conftest.err conftest.
$ac_objext \
12097 conftest
$ac_exeext conftest.
$ac_ext
12098 LIBS
=$ac_check_soname_save_LIBS
12100 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12102 $as_echo "not found" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12106 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12108 cat >>confdefs.h
<<_ACEOF
12109 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12115 CPPFLAGS
=$ac_save_CPPFLAGS
12116 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12117 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12120 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12121 case "x$with_capi" in
12122 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12124 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12125 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12131 if test "x$with_cups" != "xno"
12133 ac_save_CPPFLAGS
="$CPPFLAGS"
12134 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12135 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12136 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12137 for ac_header
in cups
/cups.h
12139 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12141 cat >>confdefs.h
<<_ACEOF
12142 #define HAVE_CUPS_CUPS_H 1
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12145 $as_echo_n "checking for -lcups... " >&6; }
12146 if ${ac_cv_lib_soname_cups+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 ac_check_soname_save_LIBS
=$LIBS
12150 LIBS
="-lcups $ac_cups_libs $LIBS"
12151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12160 char cupsGetDefault ();
12164 return cupsGetDefault ();
12169 if ac_fn_c_try_link
"$LINENO"; then :
12171 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12172 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'` ;;
12173 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12174 if test "x$ac_cv_lib_soname_cups" = x
; then :
12175 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12179 rm -f core conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_soname_save_LIBS
12183 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12185 $as_echo "not found" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12189 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12191 cat >>confdefs.h
<<_ACEOF
12192 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12195 CUPSINCL
="$ac_cups_cflags"
12201 CPPFLAGS
="$ac_save_CPPFLAGS"
12203 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12204 case "x$with_cups" in
12205 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12207 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12208 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12212 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12215 $as_echo_n "checking for -lfontconfig... " >&6; }
12216 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12217 $as_echo_n "(cached) " >&6
12219 ac_check_soname_save_LIBS
=$LIBS
12220 LIBS
="-lfontconfig $LIBS"
12221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12239 if ac_fn_c_try_link
"$LINENO"; then :
12241 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12242 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'` ;;
12243 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12244 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12245 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12249 rm -f core conftest.err conftest.
$ac_objext \
12250 conftest
$ac_exeext conftest.
$ac_ext
12251 LIBS
=$ac_check_soname_save_LIBS
12253 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12259 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12261 cat >>confdefs.h
<<_ACEOF
12262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12267 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12269 ac_save_CPPFLAGS
="$CPPFLAGS"
12270 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12271 $as_unset ac_cv_header_fontconfig_fontconfig_h
12272 for ac_header
in fontconfig
/fontconfig.h
12274 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12275 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12276 cat >>confdefs.h
<<_ACEOF
12277 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12284 CPPFLAGS
="$ac_save_CPPFLAGS"
12285 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12287 FONTCONFIGINCL
="$X_CFLAGS"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12290 $as_echo_n "checking for -lfontconfig... " >&6; }
12291 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 ac_check_soname_save_LIBS
=$LIBS
12295 LIBS
="-lfontconfig $X_LIBS $LIBS"
12296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12314 if ac_fn_c_try_link
"$LINENO"; then :
12316 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12317 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'` ;;
12318 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12319 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12320 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12324 rm -f core conftest.err conftest.
$ac_objext \
12325 conftest
$ac_exeext conftest.
$ac_ext
12326 LIBS
=$ac_check_soname_save_LIBS
12328 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12330 $as_echo "not found" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12334 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12336 cat >>confdefs.h
<<_ACEOF
12337 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12344 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12345 case "x$with_fontconfig" in
12346 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12348 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12349 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12353 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12356 $as_echo_n "checking for -lgsm... " >&6; }
12357 if ${ac_cv_lib_soname_gsm+:} false
; then :
12358 $as_echo_n "(cached) " >&6
12360 ac_check_soname_save_LIBS
=$LIBS
12362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12371 char gsm_create ();
12375 return gsm_create ();
12380 if ac_fn_c_try_link
"$LINENO"; then :
12382 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12386 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12390 rm -f core conftest.err conftest.
$ac_objext \
12391 conftest
$ac_exeext conftest.
$ac_ext
12392 LIBS
=$ac_check_soname_save_LIBS
12394 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12396 $as_echo "not found" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12400 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12402 cat >>confdefs.h
<<_ACEOF
12403 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12409 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12410 case "x$with_gsm" in
12411 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12413 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12414 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12418 if test "x$with_jpeg" != "xno"
12420 if test -n "$JPEG_CFLAGS"; then :
12422 elif test -n "$PKG_CONFIG"; then :
12423 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12426 if test -n "$JPEG_LIBS"; then :
12428 elif test -n "$PKG_CONFIG"; then :
12429 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12433 ac_save_CPPFLAGS
=$CPPFLAGS
12434 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12435 for ac_header
in jpeglib.h
12437 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12438 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12439 cat >>confdefs.h
<<_ACEOF
12440 #define HAVE_JPEGLIB_H 1
12447 if test "$ac_cv_header_jpeglib_h" = "yes"
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12450 $as_echo_n "checking for -ljpeg... " >&6; }
12451 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12452 $as_echo_n "(cached) " >&6
12454 ac_check_soname_save_LIBS
=$LIBS
12455 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12465 char jpeg_start_decompress ();
12469 return jpeg_start_decompress ();
12474 if ac_fn_c_try_link
"$LINENO"; then :
12476 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12477 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'` ;;
12478 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12479 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12480 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12484 rm -f core conftest.err conftest.
$ac_objext \
12485 conftest
$ac_exeext conftest.
$ac_ext
12486 LIBS
=$ac_check_soname_save_LIBS
12488 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12494 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12496 cat >>confdefs.h
<<_ACEOF
12497 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12505 CPPFLAGS
=$ac_save_CPPFLAGS
12506 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12507 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12510 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12511 case "x$with_jpeg" in
12512 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12514 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12515 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12519 if test "x$with_png" != "xno"
12521 if test -n "$PNG_CFLAGS"; then :
12523 elif test -n "$PKG_CONFIG"; then :
12524 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12526 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12527 if test -n "$PNG_LIBS"; then :
12529 elif test -n "$PKG_CONFIG"; then :
12530 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12532 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12534 ac_save_CPPFLAGS
=$CPPFLAGS
12535 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12536 for ac_header
in png.h
12538 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12539 if test "x$ac_cv_header_png_h" = xyes
; then :
12540 cat >>confdefs.h
<<_ACEOF
12541 #define HAVE_PNG_H 1
12548 if test "$ac_cv_header_png_h" = "yes"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12551 $as_echo_n "checking for -lpng... " >&6; }
12552 if ${ac_cv_lib_soname_png+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_soname_save_LIBS
=$LIBS
12556 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12566 char png_create_read_struct ();
12570 return png_create_read_struct ();
12575 if ac_fn_c_try_link
"$LINENO"; then :
12577 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12578 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'` ;;
12579 *) 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'`
12580 if test "x$ac_cv_lib_soname_png" = x
; then :
12581 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12585 rm -f core conftest.err conftest.
$ac_objext \
12586 conftest
$ac_exeext conftest.
$ac_ext
12587 LIBS
=$ac_check_soname_save_LIBS
12589 if test "x$ac_cv_lib_soname_png" = "x"; then :
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12591 $as_echo "not found" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12595 $as_echo "$ac_cv_lib_soname_png" >&6; }
12597 cat >>confdefs.h
<<_ACEOF
12598 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12607 typeof(png_set_expand_gray_1_2_4_to_8) *p
12612 if ac_fn_c_try_compile
"$LINENO"; then :
12614 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12622 CPPFLAGS
=$ac_save_CPPFLAGS
12623 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12624 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12627 if test "x$ac_cv_lib_soname_png" = "x"; then :
12628 case "x$with_png" in
12629 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12631 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12632 This is an error since --with-png was requested." "$LINENO" 5 ;;
12636 if test "x$with_tiff" != "xno"
12638 if test -n "$TIFF_CFLAGS"; then :
12640 elif test -n "$PKG_CONFIG"; then :
12641 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12644 if test -n "$TIFF_LIBS"; then :
12646 elif test -n "$PKG_CONFIG"; then :
12647 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12651 ac_save_CPPFLAGS
=$CPPFLAGS
12652 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12653 for ac_header
in tiffio.h
12655 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12656 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12657 cat >>confdefs.h
<<_ACEOF
12658 #define HAVE_TIFFIO_H 1
12665 if test "$ac_cv_header_tiffio_h" = "yes"
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12668 $as_echo_n "checking for -ltiff... " >&6; }
12669 if ${ac_cv_lib_soname_tiff+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 ac_check_soname_save_LIBS
=$LIBS
12673 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12683 char TIFFClientOpen ();
12687 return TIFFClientOpen ();
12692 if ac_fn_c_try_link
"$LINENO"; then :
12694 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12697 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12698 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12702 rm -f core conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12704 LIBS
=$ac_check_soname_save_LIBS
12706 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12708 $as_echo "not found" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12712 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12714 cat >>confdefs.h
<<_ACEOF
12715 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12721 CPPFLAGS
=$ac_save_CPPFLAGS
12722 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12727 case "x$with_tiff" in
12728 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12730 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12731 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12735 if test "x$with_mpg123" != "xno"
12737 if test -n "$MPG123_CFLAGS"; then :
12739 elif test -n "$PKG_CONFIG"; then :
12740 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12743 if test -n "$MPG123_LIBS"; then :
12745 elif test -n "$PKG_CONFIG"; then :
12746 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12749 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12750 ac_save_CPPFLAGS
=$CPPFLAGS
12751 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12752 for ac_header
in mpg123.h
12754 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12755 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12756 cat >>confdefs.h
<<_ACEOF
12757 #define HAVE_MPG123_H 1
12764 if test "$ac_cv_header_mpg123_h" = "yes"
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12767 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12768 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12769 $as_echo_n "(cached) " >&6
12771 ac_check_lib_save_LIBS
=$LIBS
12772 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12782 char mpg123_feed ();
12786 return mpg123_feed ();
12791 if ac_fn_c_try_link
"$LINENO"; then :
12792 ac_cv_lib_mpg123_mpg123_feed
=yes
12794 ac_cv_lib_mpg123_mpg123_feed
=no
12796 rm -f core conftest.err conftest.
$ac_objext \
12797 conftest
$ac_exeext conftest.
$ac_ext
12798 LIBS
=$ac_check_lib_save_LIBS
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12801 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12802 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12812 CPPFLAGS
=$ac_save_CPPFLAGS
12813 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12814 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12817 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12818 case "x$with_mpg123" in
12819 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12821 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12822 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12825 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}
12827 if test "$ac_cv_header_AL_al_h" = "yes"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12830 $as_echo_n "checking for -lopenal... " >&6; }
12831 if ${ac_cv_lib_soname_openal+:} false
; then :
12832 $as_echo_n "(cached) " >&6
12834 ac_check_soname_save_LIBS
=$LIBS
12835 LIBS
="-lopenal $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 alGetSource3i ();
12849 return alGetSource3i ();
12854 if ac_fn_c_try_link
"$LINENO"; then :
12856 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12857 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'` ;;
12858 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12859 if test "x$ac_cv_lib_soname_openal" = x
; then :
12860 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 LIBS
=$ac_check_soname_save_LIBS
12868 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12870 $as_echo "not found" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12874 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12876 cat >>confdefs.h
<<_ACEOF
12877 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12880 LIBOPENAL
="-lopenal"
12882 ac_cv_lib_openal
=yes
12884 cat >>confdefs.h
<<_ACEOF
12885 #define HAVE_OPENAL 1
12890 if test "x$ac_cv_lib_openal" != xyes
; then :
12891 case "x$with_openal" in
12892 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12894 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12895 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12898 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12900 if test "$ac_cv_header_kstat_h" = "yes"
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12903 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12904 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12905 $as_echo_n "(cached) " >&6
12907 ac_check_lib_save_LIBS
=$LIBS
12908 LIBS
="-lkstat $LIBS"
12909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12918 char kstat_open ();
12922 return kstat_open ();
12927 if ac_fn_c_try_link
"$LINENO"; then :
12928 ac_cv_lib_kstat_kstat_open
=yes
12930 ac_cv_lib_kstat_kstat_open
=no
12932 rm -f core conftest.err conftest.
$ac_objext \
12933 conftest
$ac_exeext conftest.
$ac_ext
12934 LIBS
=$ac_check_lib_save_LIBS
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12937 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12938 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12940 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12948 if test "$ac_cv_header_libprocstat_h" = "yes"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12951 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12952 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12953 $as_echo_n "(cached) " >&6
12955 ac_check_lib_save_LIBS
=$LIBS
12956 LIBS
="-lprocstat $LIBS"
12957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12966 char procstat_open_sysctl ();
12970 return procstat_open_sysctl ();
12975 if ac_fn_c_try_link
"$LINENO"; then :
12976 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12978 ac_cv_lib_procstat_procstat_open_sysctl
=no
12980 rm -f core conftest.err conftest.
$ac_objext \
12981 conftest
$ac_exeext conftest.
$ac_ext
12982 LIBS
=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12985 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12986 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12988 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12990 LIBPROCSTAT
="-lprocstat"
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12997 $as_echo_n "checking for -lodbc... " >&6; }
12998 if ${ac_cv_lib_soname_odbc+:} false
; then :
12999 $as_echo_n "(cached) " >&6
13001 ac_check_soname_save_LIBS
=$LIBS
13002 LIBS
="-lodbc $LIBS"
13003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13012 char SQLConnect ();
13016 return SQLConnect ();
13021 if ac_fn_c_try_link
"$LINENO"; then :
13023 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13024 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'` ;;
13025 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13026 if test "x$ac_cv_lib_soname_odbc" = x
; then :
13027 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13031 rm -f core conftest.err conftest.
$ac_objext \
13032 conftest
$ac_exeext conftest.
$ac_ext
13033 LIBS
=$ac_check_soname_save_LIBS
13035 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13037 $as_echo "not found" >&6; }
13038 cat >>confdefs.h
<<_ACEOF
13039 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13044 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13046 cat >>confdefs.h
<<_ACEOF
13047 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13053 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13054 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13055 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13056 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13058 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13059 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13060 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13062 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13068 if test "x${GCC}" = "xyes"
13070 EXTRACFLAGS
="-Wall -pipe"
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13073 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13074 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13075 $as_echo_n "(cached) " >&6
13077 if test "$cross_compiling" = yes; then :
13078 ac_cv_c_gcc_strength_bug
="yes"
13080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13082 int L[4] = {0,1,2,3};
13086 static int Array[3];
13087 unsigned int B = 3;
13089 for(i=0; i<B; i++) Array[i] = i - 3;
13090 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13092 return (Array[1] != -2 || L[2] != 3)
13097 if ac_fn_c_try_run
"$LINENO"; then :
13098 ac_cv_c_gcc_strength_bug
="no"
13100 ac_cv_c_gcc_strength_bug
="yes"
13102 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13103 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13108 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13109 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13111 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13115 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13116 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13117 $as_echo_n "(cached) " >&6
13119 ac_wine_try_cflags_saved
=$CFLAGS
13120 CFLAGS
="$CFLAGS -fno-builtin"
13121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13123 int main(int argc, char **argv) { return 0; }
13125 if ac_fn_c_try_link
"$LINENO"; then :
13126 ac_cv_cflags__fno_builtin
=yes
13128 ac_cv_cflags__fno_builtin
=no
13130 rm -f core conftest.err conftest.
$ac_objext \
13131 conftest
$ac_exeext conftest.
$ac_ext
13132 CFLAGS
=$ac_wine_try_cflags_saved
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13135 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13136 if test $ac_cv_cflags__fno_builtin = yes; then :
13137 BUILTINFLAG
="-fno-builtin"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13141 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13142 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13143 $as_echo_n "(cached) " >&6
13145 ac_wine_try_cflags_saved
=$CFLAGS
13146 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13149 int main(int argc, char **argv) { return 0; }
13151 if ac_fn_c_try_link
"$LINENO"; then :
13152 ac_cv_cflags__fno_strict_aliasing
=yes
13154 ac_cv_cflags__fno_strict_aliasing
=no
13156 rm -f core conftest.err conftest.
$ac_objext \
13157 conftest
$ac_exeext conftest.
$ac_ext
13158 CFLAGS
=$ac_wine_try_cflags_saved
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13161 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13162 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13163 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13165 saved_CFLAGS
=$CFLAGS
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13167 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13168 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13169 $as_echo_n "(cached) " >&6
13171 ac_wine_try_cflags_saved
=$CFLAGS
13172 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13175 int main(int argc, char **argv) { return 0; }
13177 if ac_fn_c_try_link
"$LINENO"; then :
13178 ac_cv_cflags__Werror_unknown_warning_option
=yes
13180 ac_cv_cflags__Werror_unknown_warning_option
=no
13182 rm -f core conftest.err conftest.
$ac_objext \
13183 conftest
$ac_exeext conftest.
$ac_ext
13184 CFLAGS
=$ac_wine_try_cflags_saved
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13187 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13188 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13189 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13192 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13193 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13194 $as_echo_n "(cached) " >&6
13196 ac_wine_try_cflags_saved
=$CFLAGS
13197 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13200 int main(int argc, char **argv) { return 0; }
13202 if ac_fn_c_try_link
"$LINENO"; then :
13203 ac_cv_cflags__Wdeclaration_after_statement
=yes
13205 ac_cv_cflags__Wdeclaration_after_statement
=no
13207 rm -f core conftest.err conftest.
$ac_objext \
13208 conftest
$ac_exeext conftest.
$ac_ext
13209 CFLAGS
=$ac_wine_try_cflags_saved
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13212 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13213 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13214 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13217 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13218 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13219 $as_echo_n "(cached) " >&6
13221 ac_wine_try_cflags_saved
=$CFLAGS
13222 CFLAGS
="$CFLAGS -Wempty-body"
13223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13225 int main(int argc, char **argv) { return 0; }
13227 if ac_fn_c_try_link
"$LINENO"; then :
13228 ac_cv_cflags__Wempty_body
=yes
13230 ac_cv_cflags__Wempty_body
=no
13232 rm -f core conftest.err conftest.
$ac_objext \
13233 conftest
$ac_exeext conftest.
$ac_ext
13234 CFLAGS
=$ac_wine_try_cflags_saved
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13237 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13238 if test $ac_cv_cflags__Wempty_body = yes; then :
13239 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13242 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13243 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13244 $as_echo_n "(cached) " >&6
13246 ac_wine_try_cflags_saved
=$CFLAGS
13247 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13250 int main(int argc, char **argv) { return 0; }
13252 if ac_fn_c_try_link
"$LINENO"; then :
13253 ac_cv_cflags__Wignored_qualifiers
=yes
13255 ac_cv_cflags__Wignored_qualifiers
=no
13257 rm -f core conftest.err conftest.
$ac_objext \
13258 conftest
$ac_exeext conftest.
$ac_ext
13259 CFLAGS
=$ac_wine_try_cflags_saved
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13262 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13263 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13264 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13267 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13268 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13269 $as_echo_n "(cached) " >&6
13271 ac_wine_try_cflags_saved
=$CFLAGS
13272 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13275 int main(int argc, char **argv) { return 0; }
13277 if ac_fn_c_try_link
"$LINENO"; then :
13278 ac_cv_cflags__Wstrict_prototypes
=yes
13280 ac_cv_cflags__Wstrict_prototypes
=no
13282 rm -f core conftest.err conftest.
$ac_objext \
13283 conftest
$ac_exeext conftest.
$ac_ext
13284 CFLAGS
=$ac_wine_try_cflags_saved
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13287 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13288 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13289 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13292 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13293 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13294 $as_echo_n "(cached) " >&6
13296 ac_wine_try_cflags_saved
=$CFLAGS
13297 CFLAGS
="$CFLAGS -Wtype-limits"
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 int main(int argc, char **argv) { return 0; }
13302 if ac_fn_c_try_link
"$LINENO"; then :
13303 ac_cv_cflags__Wtype_limits
=yes
13305 ac_cv_cflags__Wtype_limits
=no
13307 rm -f core conftest.err conftest.
$ac_objext \
13308 conftest
$ac_exeext conftest.
$ac_ext
13309 CFLAGS
=$ac_wine_try_cflags_saved
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13312 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13313 if test $ac_cv_cflags__Wtype_limits = yes; then :
13314 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13317 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13318 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13319 $as_echo_n "(cached) " >&6
13321 ac_wine_try_cflags_saved
=$CFLAGS
13322 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13325 int main(int argc, char **argv) { return 0; }
13327 if ac_fn_c_try_link
"$LINENO"; then :
13328 ac_cv_cflags__Wunused_but_set_parameter
=yes
13330 ac_cv_cflags__Wunused_but_set_parameter
=no
13332 rm -f core conftest.err conftest.
$ac_objext \
13333 conftest
$ac_exeext conftest.
$ac_ext
13334 CFLAGS
=$ac_wine_try_cflags_saved
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13337 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13338 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13339 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13342 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13343 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13344 $as_echo_n "(cached) " >&6
13346 ac_wine_try_cflags_saved
=$CFLAGS
13347 CFLAGS
="$CFLAGS -Wwrite-strings"
13348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13350 int main(int argc, char **argv) { return 0; }
13352 if ac_fn_c_try_link
"$LINENO"; then :
13353 ac_cv_cflags__Wwrite_strings
=yes
13355 ac_cv_cflags__Wwrite_strings
=no
13357 rm -f core conftest.err conftest.
$ac_objext \
13358 conftest
$ac_exeext conftest.
$ac_ext
13359 CFLAGS
=$ac_wine_try_cflags_saved
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13362 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13363 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13364 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13368 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13369 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13370 $as_echo_n "(cached) " >&6
13372 ac_wine_try_cflags_saved
=$CFLAGS
13373 CFLAGS
="$CFLAGS -Wpointer-arith"
13374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13376 int main(int argc, char **argv) { return 0; }
13378 if ac_fn_c_try_link
"$LINENO"; then :
13379 ac_cv_cflags__Wpointer_arith
=yes
13381 ac_cv_cflags__Wpointer_arith
=no
13383 rm -f core conftest.err conftest.
$ac_objext \
13384 conftest
$ac_exeext conftest.
$ac_ext
13385 CFLAGS
=$ac_wine_try_cflags_saved
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13388 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13389 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13390 saved_string_h_CFLAGS
=$CFLAGS
13391 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13393 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13394 if ${ac_cv_c_string_h_warnings+:} false
; then :
13395 $as_echo_n "(cached) " >&6
13397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <string.h>
13408 if ac_fn_c_try_compile
"$LINENO"; then :
13409 ac_cv_c_string_h_warnings
=no
13411 ac_cv_c_string_h_warnings
=yes
13413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13416 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13417 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13418 CFLAGS
=$saved_string_h_CFLAGS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13422 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13423 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13424 $as_echo_n "(cached) " >&6
13426 ac_wine_try_cflags_saved
=$CFLAGS
13427 CFLAGS
="$CFLAGS -Wlogical-op"
13428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 int main(int argc, char **argv) { return 0; }
13432 if ac_fn_c_try_link
"$LINENO"; then :
13433 ac_cv_cflags__Wlogical_op
=yes
13435 ac_cv_cflags__Wlogical_op
=no
13437 rm -f core conftest.err conftest.
$ac_objext \
13438 conftest
$ac_exeext conftest.
$ac_ext
13439 CFLAGS
=$ac_wine_try_cflags_saved
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13442 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13443 if test $ac_cv_cflags__Wlogical_op = yes; then :
13444 saved_string_h_CFLAGS
=$CFLAGS
13445 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13447 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13448 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13453 #include <string.h>
13454 char*f(const char *h,char n) {return strchr(h,n);}
13463 if ac_fn_c_try_compile
"$LINENO"; then :
13464 ac_cv_c_logicalop_noisy
=no
13466 ac_cv_c_logicalop_noisy
=yes
13468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13471 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13472 CFLAGS
=$saved_string_h_CFLAGS
13473 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13476 CFLAGS
=$saved_CFLAGS
13478 for ac_flag
in $CFLAGS; do
13480 -g) case $host_os in
13481 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13482 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13483 if ${ac_cv_cflags__gstabsp+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 ac_wine_try_cflags_saved
=$CFLAGS
13487 CFLAGS
="$CFLAGS -gstabs+"
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 int main(int argc, char **argv) { return 0; }
13492 if ac_fn_c_try_link
"$LINENO"; then :
13493 ac_cv_cflags__gstabsp
=yes
13495 ac_cv_cflags__gstabsp
=no
13497 rm -f core conftest.err conftest.
$ac_objext \
13498 conftest
$ac_exeext conftest.
$ac_ext
13499 CFLAGS
=$ac_wine_try_cflags_saved
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13502 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13503 if test $ac_cv_cflags__gstabsp = yes; then :
13504 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13506 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13507 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13508 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 ac_wine_try_cflags_saved
=$CFLAGS
13512 CFLAGS
="$CFLAGS -gdwarf-2"
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 int main(int argc, char **argv) { return 0; }
13517 if ac_fn_c_try_link
"$LINENO"; then :
13518 ac_cv_cflags__gdwarf_2
=yes
13520 ac_cv_cflags__gdwarf_2
=no
13522 rm -f core conftest.err conftest.
$ac_objext \
13523 conftest
$ac_exeext conftest.
$ac_ext
13524 CFLAGS
=$ac_wine_try_cflags_saved
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13527 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13528 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13529 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13532 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13533 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13534 $as_echo_n "(cached) " >&6
13536 ac_wine_try_cflags_saved
=$CFLAGS
13537 CFLAGS
="$CFLAGS -gstrict-dwarf"
13538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13540 int main(int argc, char **argv) { return 0; }
13542 if ac_fn_c_try_link
"$LINENO"; then :
13543 ac_cv_cflags__gstrict_dwarf
=yes
13545 ac_cv_cflags__gstrict_dwarf
=no
13547 rm -f core conftest.err conftest.
$ac_objext \
13548 conftest
$ac_exeext conftest.
$ac_ext
13549 CFLAGS
=$ac_wine_try_cflags_saved
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13552 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13553 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13554 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13561 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13562 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13563 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13564 $as_echo_n "(cached) " >&6
13566 ac_wine_try_cflags_saved
=$CFLAGS
13567 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int main(int argc, char **argv) { return 0; }
13572 if ac_fn_c_try_link
"$LINENO"; then :
13573 ac_cv_cflags__fno_omit_frame_pointer
=yes
13575 ac_cv_cflags__fno_omit_frame_pointer
=no
13577 rm -f core conftest.err conftest.
$ac_objext \
13578 conftest
$ac_exeext conftest.
$ac_ext
13579 CFLAGS
=$ac_wine_try_cflags_saved
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13582 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13583 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13584 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13589 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13590 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13591 if ${ac_cv_cflags__Wno_format+:} false
; then :
13592 $as_echo_n "(cached) " >&6
13594 ac_wine_try_cflags_saved
=$CFLAGS
13595 CFLAGS
="$CFLAGS -Wno-format"
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13600 if ac_fn_c_try_link
"$LINENO"; then :
13601 ac_cv_cflags__Wno_format
=yes
13603 ac_cv_cflags__Wno_format
=no
13605 rm -f core conftest.err conftest.
$ac_objext \
13606 conftest
$ac_exeext conftest.
$ac_ext
13607 CFLAGS
=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13610 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13611 if test $ac_cv_cflags__Wno_format = yes; then :
13612 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13616 if test "x$enable_maintainer_mode" = "xyes"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13619 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13620 if ${ac_cv_cflags__Werror+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_wine_try_cflags_saved
=$CFLAGS
13624 CFLAGS
="$CFLAGS -Werror"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 int main(int argc, char **argv) { return 0; }
13629 if ac_fn_c_try_link
"$LINENO"; then :
13630 ac_cv_cflags__Werror
=yes
13632 ac_cv_cflags__Werror
=no
13634 rm -f core conftest.err conftest.
$ac_objext \
13635 conftest
$ac_exeext conftest.
$ac_ext
13636 CFLAGS
=$ac_wine_try_cflags_saved
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13639 $as_echo "$ac_cv_cflags__Werror" >&6; }
13640 if test $ac_cv_cflags__Werror = yes; then :
13641 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13645 saved_CFLAGS
="$CFLAGS"
13646 CFLAGS
="$CFLAGS -Werror"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13648 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13649 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13654 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13663 if ac_fn_c_try_compile
"$LINENO"; then :
13664 ac_cv_have_ms_hook_prologue
="yes"
13666 ac_cv_have_ms_hook_prologue
="no"
13668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13671 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13672 CFLAGS
="$saved_CFLAGS"
13673 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13676 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13679 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13686 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13687 if ${ac_cv_c_fortify_enabled+:} false
; then :
13688 $as_echo_n "(cached) " >&6
13690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 #include <string.h>
13696 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13697 #error Fortify enabled
13703 if ac_fn_c_try_compile
"$LINENO"; then :
13704 ac_cv_c_fortify_enabled
=no
13706 ac_cv_c_fortify_enabled
=yes
13708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13711 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13712 if test "$ac_cv_c_fortify_enabled" = yes
13714 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13719 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13720 if ${ac_cv_c_extern_prefix+:} false
; then :
13721 $as_echo_n "(cached) " >&6
13723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 extern int ac_test;
13729 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13734 if ac_fn_c_try_link
"$LINENO"; then :
13735 ac_cv_c_extern_prefix
="yes"
13737 ac_cv_c_extern_prefix
="no"
13739 rm -f core conftest.err conftest.
$ac_objext \
13740 conftest
$ac_exeext conftest.
$ac_ext
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13743 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13748 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13749 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 #define __stdcall __attribute__((__stdcall__))
13757 int __stdcall ac_test(int i) { return i; }
13761 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13766 if ac_fn_c_try_link
"$LINENO"; then :
13767 ac_cv_c_stdcall_suffix
="yes"
13769 ac_cv_c_stdcall_suffix
="no"
13771 rm -f core conftest.err conftest.
$ac_objext \
13772 conftest
$ac_exeext conftest.
$ac_ext
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13775 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13776 *) ac_cv_c_stdcall_suffix
="no" ;;
13780 if test "$ac_cv_c_extern_prefix" = "yes"
13782 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13784 asm_name_prefix
="_"
13786 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13792 if test "$ac_cv_c_stdcall_suffix" = "yes"
13794 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13797 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13803 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13804 if ${ac_cv_asm_func_def+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13813 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_asm_func_def
=".def"
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13827 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13832 if ac_fn_c_try_link
"$LINENO"; then :
13833 ac_cv_asm_func_def
=".type @function"
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13841 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13846 if ac_fn_c_try_link
"$LINENO"; then :
13847 ac_cv_asm_func_def
=".type 2"
13849 ac_cv_asm_func_def
="unknown"
13851 rm -f core conftest.err conftest.
$ac_objext \
13852 conftest
$ac_exeext conftest.
$ac_ext
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
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_asm_func_def" >&5
13861 $as_echo "$ac_cv_asm_func_def" >&6; }
13864 case "$ac_cv_asm_func_def" in
13866 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13868 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13870 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13872 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13874 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13876 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13878 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13880 asm_func_header
="" ;;
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13884 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13885 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 asm(".text\n\t.long 0");
13899 if ac_fn_c_try_compile
"$LINENO"; then :
13900 ac_cv_c_asm_outside_funcs
="yes"
13902 ac_cv_c_asm_outside_funcs
="no"
13904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13907 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13910 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13911 if ${ac_cv_c_dot_previous+:} false
; then :
13912 $as_echo_n "(cached) " >&6
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13920 asm(".text\nac_test:\t.long 0\n\t.previous");
13925 if ac_fn_c_try_link
"$LINENO"; then :
13926 ac_cv_c_dot_previous
="yes"
13928 ac_cv_c_dot_previous
="no"
13930 rm -f core conftest.err conftest.
$ac_objext \
13931 conftest
$ac_exeext conftest.
$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13934 $as_echo "$ac_cv_c_dot_previous" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13937 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13938 if ${ac_cv_c_cfi_support+:} false
; then :
13939 $as_echo_n "(cached) " >&6
13941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13952 if ac_fn_c_try_compile
"$LINENO"; then :
13953 ac_cv_c_cfi_support
="yes"
13955 ac_cv_c_cfi_support
="no"
13957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13960 $as_echo "$ac_cv_c_cfi_support" >&6; }
13962 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13963 asm_func_trailer
=""
13964 if test "$ac_cv_c_dot_previous" = "yes"
13966 asm_func_trailer
="\\n\\t.previous"
13968 if test "$ac_cv_c_cfi_support" = "yes"
13970 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13971 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13973 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13975 UNWINDFLAGS
=-fasynchronous-unwind-tables
13978 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13982 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13985 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13987 cat >>confdefs.h
<<_ACEOF
13988 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13992 cat >>confdefs.h
<<_ACEOF
13993 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13998 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14001 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14006 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14013 *i
[3456789]86*|x86_64
*)
14014 as_fn_append LOADER_RULES
"
14015 all: $wine_binary-preloader
14017 $wine_binary-preloader: preloader.o Makefile.in
14018 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14020 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
14021 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14024 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14031 ac_save_CFLAGS
="$CFLAGS"
14032 CFLAGS
="$CFLAGS $BUILTINFLAG"
14110 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14111 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14112 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14113 cat >>confdefs.h
<<_ACEOF
14114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14120 CFLAGS
="$ac_save_CFLAGS"
14122 if test "$ac_cv_func_dlopen" = no
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14126 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 ac_check_lib_save_LIBS
=$LIBS
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_lib_dl_dlopen
=yes
14152 ac_cv_lib_dl_dlopen
=no
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 LIBS
=$ac_check_lib_save_LIBS
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14160 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14161 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14167 ac_wine_check_funcs_save_LIBS
="$LIBS"
14168 LIBS
="$LIBS $LIBDL"
14169 for ac_func
in dladdr
14171 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14172 if test "x$ac_cv_func_dladdr" = xyes
; then :
14173 cat >>confdefs.h
<<_ACEOF
14174 #define HAVE_DLADDR 1
14180 LIBS
="$ac_wine_check_funcs_save_LIBS"
14182 if test "$ac_cv_func_poll" = no
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14185 $as_echo_n "checking for poll in -lpoll... " >&6; }
14186 if ${ac_cv_lib_poll_poll+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 ac_check_lib_save_LIBS
=$LIBS
14190 LIBS
="-lpoll $LIBS"
14191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14209 if ac_fn_c_try_link
"$LINENO"; then :
14210 ac_cv_lib_poll_poll
=yes
14212 ac_cv_lib_poll_poll
=no
14214 rm -f core conftest.err conftest.
$ac_objext \
14215 conftest
$ac_exeext conftest.
$ac_ext
14216 LIBS
=$ac_check_lib_save_LIBS
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14219 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14220 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14221 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14229 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14230 if ${ac_cv_search_gethostbyname+:} false
; then :
14231 $as_echo_n "(cached) " >&6
14233 ac_func_search_save_LIBS
=$LIBS
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14237 /* Override any GCC internal prototype to avoid an error.
14238 Use char because int might match the return type of a GCC
14239 builtin and then its argument prototype would still apply. */
14243 char gethostbyname ();
14247 return gethostbyname ();
14252 for ac_lib
in '' nsl
; do
14253 if test -z "$ac_lib"; then
14254 ac_res
="none required"
14257 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14259 if ac_fn_c_try_link
"$LINENO"; then :
14260 ac_cv_search_gethostbyname
=$ac_res
14262 rm -f core conftest.err conftest.
$ac_objext \
14264 if ${ac_cv_search_gethostbyname+:} false
; then :
14268 if ${ac_cv_search_gethostbyname+:} false
; then :
14271 ac_cv_search_gethostbyname
=no
14273 rm conftest.
$ac_ext
14274 LIBS
=$ac_func_search_save_LIBS
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14277 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14278 ac_res
=$ac_cv_search_gethostbyname
14279 if test "$ac_res" != no
; then :
14280 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14286 $as_echo_n "checking for library containing connect... " >&6; }
14287 if ${ac_cv_search_connect+:} false
; then :
14288 $as_echo_n "(cached) " >&6
14290 ac_func_search_save_LIBS
=$LIBS
14291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14309 for ac_lib
in '' socket
; do
14310 if test -z "$ac_lib"; then
14311 ac_res
="none required"
14314 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_search_connect
=$ac_res
14319 rm -f core conftest.err conftest.
$ac_objext \
14321 if ${ac_cv_search_connect+:} false
; then :
14325 if ${ac_cv_search_connect+:} false
; then :
14328 ac_cv_search_connect
=no
14330 rm conftest.
$ac_ext
14331 LIBS
=$ac_func_search_save_LIBS
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14334 $as_echo "$ac_cv_search_connect" >&6; }
14335 ac_res
=$ac_cv_search_connect
14336 if test "$ac_res" != no
; then :
14337 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14343 $as_echo_n "checking for library containing inet_aton... " >&6; }
14344 if ${ac_cv_search_inet_aton+:} false
; then :
14345 $as_echo_n "(cached) " >&6
14347 ac_func_search_save_LIBS
=$LIBS
14348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14361 return inet_aton ();
14366 for ac_lib
in '' resolv
; do
14367 if test -z "$ac_lib"; then
14368 ac_res
="none required"
14371 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14373 if ac_fn_c_try_link
"$LINENO"; then :
14374 ac_cv_search_inet_aton
=$ac_res
14376 rm -f core conftest.err conftest.
$ac_objext \
14378 if ${ac_cv_search_inet_aton+:} false
; then :
14382 if ${ac_cv_search_inet_aton+:} false
; then :
14385 ac_cv_search_inet_aton
=no
14387 rm conftest.
$ac_ext
14388 LIBS
=$ac_func_search_save_LIBS
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14391 $as_echo "$ac_cv_search_inet_aton" >&6; }
14392 ac_res
=$ac_cv_search_inet_aton
14393 if test "$ac_res" != no
; then :
14394 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14413 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14414 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14415 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14416 cat >>confdefs.h
<<_ACEOF
14417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14426 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14427 if ${ac_cv_search_clock_gettime+:} false
; then :
14428 $as_echo_n "(cached) " >&6
14430 ac_func_search_save_LIBS
=$LIBS
14431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14440 char clock_gettime ();
14444 return clock_gettime ();
14449 for ac_lib
in '' rt
; do
14450 if test -z "$ac_lib"; then
14451 ac_res
="none required"
14454 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14456 if ac_fn_c_try_link
"$LINENO"; then :
14457 ac_cv_search_clock_gettime
=$ac_res
14459 rm -f core conftest.err conftest.
$ac_objext \
14461 if ${ac_cv_search_clock_gettime+:} false
; then :
14465 if ${ac_cv_search_clock_gettime+:} false
; then :
14468 ac_cv_search_clock_gettime
=no
14470 rm conftest.
$ac_ext
14471 LIBS
=$ac_func_search_save_LIBS
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14474 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14475 ac_res
=$ac_cv_search_clock_gettime
14476 if test "$ac_res" != no
; then :
14477 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14479 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14481 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14489 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14491 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14493 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14495 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14496 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14497 $as_echo_n "(cached) " >&6
14499 ac_check_lib_save_LIBS
=$LIBS
14500 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14504 /* Override any GCC internal prototype to avoid an error.
14505 Use char because int might match the return type of a GCC
14506 builtin and then its argument prototype would still apply. */
14510 char ldap_initialize ();
14514 return ldap_initialize ();
14519 if ac_fn_c_try_link
"$LINENO"; then :
14520 ac_cv_lib_ldap_r_ldap_initialize
=yes
14522 ac_cv_lib_ldap_r_ldap_initialize
=no
14524 rm -f core conftest.err conftest.
$ac_objext \
14525 conftest
$ac_exeext conftest.
$ac_ext
14526 LIBS
=$ac_check_lib_save_LIBS
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14529 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14530 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14532 $as_echo_n "checking for ber_init in -llber... " >&6; }
14533 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14534 $as_echo_n "(cached) " >&6
14536 ac_check_lib_save_LIBS
=$LIBS
14537 LIBS
="-llber $LIBPTHREAD $LIBS"
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14551 return ber_init ();
14556 if ac_fn_c_try_link
"$LINENO"; then :
14557 ac_cv_lib_lber_ber_init
=yes
14559 ac_cv_lib_lber_ber_init
=no
14561 rm -f core conftest.err conftest.
$ac_objext \
14562 conftest
$ac_exeext conftest.
$ac_ext
14563 LIBS
=$ac_check_lib_save_LIBS
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14566 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14567 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14569 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14571 LDAPLIBS
="-lldap_r -llber"
14578 ac_wine_check_funcs_save_LIBS
="$LIBS"
14579 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14581 ldap_count_references \
14582 ldap_first_reference \
14583 ldap_next_reference \
14584 ldap_parse_reference \
14585 ldap_parse_sort_control \
14586 ldap_parse_sortresponse_control \
14587 ldap_parse_vlv_control \
14588 ldap_parse_vlvresponse_control
14590 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14591 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14592 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14593 cat >>confdefs.h
<<_ACEOF
14594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14600 LIBS
="$ac_wine_check_funcs_save_LIBS"
14602 if test "x$LDAPLIBS" = "x"; then :
14603 case "x$with_ldap" in
14604 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14606 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14607 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14612 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14613 if ${wine_cv_one_arg_mkdir+:} false
; then :
14614 $as_echo_n "(cached) " >&6
14616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618 #include <sys/stat.h>
14627 if ac_fn_c_try_compile
"$LINENO"; then :
14628 wine_cv_one_arg_mkdir
=yes
14630 wine_cv_one_arg_mkdir
=no
14632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14635 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14636 if test "$wine_cv_one_arg_mkdir" = "yes"
14639 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14644 $as_echo_n "checking for sched_setaffinity... " >&6; }
14645 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14646 $as_echo_n "(cached) " >&6
14648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 #define _GNU_SOURCE
14655 sched_setaffinity(0, 0, 0);
14660 if ac_fn_c_try_link
"$LINENO"; then :
14661 wine_cv_have_sched_setaffinity
=yes
14663 wine_cv_have_sched_setaffinity
=no
14665 rm -f core conftest.err conftest.
$ac_objext \
14666 conftest
$ac_exeext conftest.
$ac_ext
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14669 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14670 if test "$wine_cv_have_sched_setaffinity" = "yes"
14673 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14678 $as_echo_n "checking for fallocate... " >&6; }
14679 if ${wine_cv_have_fallocate+:} false
; then :
14680 $as_echo_n "(cached) " >&6
14682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14684 #define _GNU_SOURCE
14689 fallocate(-1, 0, 0, 0);
14694 if ac_fn_c_try_link
"$LINENO"; then :
14695 wine_cv_have_fallocate
=yes
14697 wine_cv_have_fallocate
=no
14699 rm -f core conftest.err conftest.
$ac_objext \
14700 conftest
$ac_exeext conftest.
$ac_ext
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14703 $as_echo "$wine_cv_have_fallocate" >&6; }
14704 if test "$wine_cv_have_fallocate" = "yes"
14707 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14713 $as_echo_n "checking for inline... " >&6; }
14714 if ${ac_cv_c_inline+:} false
; then :
14715 $as_echo_n "(cached) " >&6
14718 for ac_kw
in inline __inline__ __inline
; do
14719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14721 #ifndef __cplusplus
14723 static $ac_kw foo_t static_foo () {return 0; }
14724 $ac_kw foo_t foo () {return 0; }
14728 if ac_fn_c_try_compile
"$LINENO"; then :
14729 ac_cv_c_inline
=$ac_kw
14731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14732 test "$ac_cv_c_inline" != no
&& break
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14737 $as_echo "$ac_cv_c_inline" >&6; }
14739 case $ac_cv_c_inline in
14742 case $ac_cv_c_inline in
14744 *) ac_val
=$ac_cv_c_inline;;
14746 cat >>confdefs.h
<<_ACEOF
14747 #ifndef __cplusplus
14748 #define inline $ac_val
14754 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14755 if test "x$ac_cv_type_mode_t" = xyes
; then :
14757 cat >>confdefs.h
<<_ACEOF
14758 #define HAVE_MODE_T 1
14763 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14764 if test "x$ac_cv_type_off_t" = xyes
; then :
14766 cat >>confdefs.h
<<_ACEOF
14767 #define HAVE_OFF_T 1
14772 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14773 if test "x$ac_cv_type_pid_t" = xyes
; then :
14775 cat >>confdefs.h
<<_ACEOF
14776 #define HAVE_PID_T 1
14781 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14782 if test "x$ac_cv_type_size_t" = xyes
; then :
14784 cat >>confdefs.h
<<_ACEOF
14785 #define HAVE_SIZE_T 1
14790 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14791 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14793 cat >>confdefs.h
<<_ACEOF
14794 #define HAVE_SSIZE_T 1
14799 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14800 if test "x$ac_cv_type_long_long" = xyes
; then :
14802 cat >>confdefs.h
<<_ACEOF
14803 #define HAVE_LONG_LONG 1
14808 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14809 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14811 cat >>confdefs.h
<<_ACEOF
14812 #define HAVE_FSBLKCNT_T 1
14817 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14818 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14820 cat >>confdefs.h
<<_ACEOF
14821 #define HAVE_FSFILCNT_T 1
14827 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14828 #include <signal.h>
14830 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14832 cat >>confdefs.h
<<_ACEOF
14833 #define HAVE_SIGSET_T 1
14839 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14841 if test "x$ac_cv_type_request_sense" = xyes
; then :
14843 cat >>confdefs.h
<<_ACEOF
14844 #define HAVE_REQUEST_SENSE 1
14851 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14852 #ifdef HAVE_SYS_SOCKET_H
14853 #include <sys/socket.h>
14855 #ifdef HAVE_SYS_SOCKETVAR_H
14856 #include <sys/socketvar.h>
14858 #ifdef HAVE_NET_ROUTE_H
14859 #include <net/route.h>
14861 #ifdef HAVE_NETINET_IN_H
14862 #include <netinet/in.h>
14864 #ifdef HAVE_NETINET_IN_SYSTM_H
14865 #include <netinet/in_systm.h>
14867 #ifdef HAVE_NETINET_IP_H
14868 #include <netinet/ip.h>
14870 #ifdef HAVE_NETINET_IN_PCB_H
14871 #include <netinet/in_pcb.h>
14874 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14876 cat >>confdefs.h
<<_ACEOF
14877 #define HAVE_STRUCT_XINPGEN 1
14884 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14887 #ifdef HAVE_SYS_LINK_H
14888 #include <sys/link.h>
14891 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14893 cat >>confdefs.h
<<_ACEOF
14894 #define HAVE_STRUCT_R_DEBUG 1
14899 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14902 #ifdef HAVE_SYS_LINK_H
14903 #include <sys/link.h>
14906 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14908 cat >>confdefs.h
<<_ACEOF
14909 #define HAVE_STRUCT_LINK_MAP 1
14916 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14917 #include <linux/input.h>
14920 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14922 cat >>confdefs.h
<<_ACEOF
14923 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14931 $as_echo_n "checking for sigaddset... " >&6; }
14932 if ${wine_cv_have_sigaddset+:} false
; then :
14933 $as_echo_n "(cached) " >&6
14935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 #include <signal.h>
14941 sigset_t set; sigaddset(&set,SIGTERM);
14946 if ac_fn_c_try_link
"$LINENO"; then :
14947 wine_cv_have_sigaddset
=yes
14949 wine_cv_have_sigaddset
=no
14951 rm -f core conftest.err conftest.
$ac_objext \
14952 conftest
$ac_exeext conftest.
$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14955 $as_echo "$wine_cv_have_sigaddset" >&6; }
14956 if test "$wine_cv_have_sigaddset" = "yes"
14959 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14965 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14966 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14978 struct hostent *result;
14985 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14986 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14992 if ac_fn_c_try_link
"$LINENO"; then :
14993 wine_cv_linux_gethostbyname_r_6
=yes
14995 wine_cv_linux_gethostbyname_r_6
=no
14998 rm -f core conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15003 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15004 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15007 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15011 if test "$ac_cv_header_linux_joystick_h" = "yes"
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15014 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15015 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15016 $as_echo_n "(cached) " >&6
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 #include <sys/ioctl.h>
15022 #include <sys/types.h>
15023 #include <linux/joystick.h>
15025 struct js_event blub;
15026 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15027 #error "no 2.2 header"
15038 if ac_fn_c_try_compile
"$LINENO"; then :
15039 wine_cv_linux_joystick_22_api
=yes
15041 wine_cv_linux_joystick_22_api
=no
15043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15047 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15048 if test "$wine_cv_linux_joystick_22_api" = "yes"
15051 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15057 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15058 #ifdef HAVE_SYS_PARAM_H
15059 # include <sys/param.h>
15061 #ifdef HAVE_SYS_MOUNT_H
15062 # include <sys/mount.h>
15064 #ifdef HAVE_SYS_VFS_H
15065 # include <sys/vfs.h>
15067 #ifdef HAVE_SYS_STATFS_H
15068 # include <sys/statfs.h>
15071 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15073 cat >>confdefs.h
<<_ACEOF
15074 #define HAVE_STRUCT_STATFS_F_BFREE 1
15079 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15080 #ifdef HAVE_SYS_PARAM_H
15081 # include <sys/param.h>
15083 #ifdef HAVE_SYS_MOUNT_H
15084 # include <sys/mount.h>
15086 #ifdef HAVE_SYS_VFS_H
15087 # include <sys/vfs.h>
15089 #ifdef HAVE_SYS_STATFS_H
15090 # include <sys/statfs.h>
15093 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15095 cat >>confdefs.h
<<_ACEOF
15096 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15101 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15102 #ifdef HAVE_SYS_PARAM_H
15103 # include <sys/param.h>
15105 #ifdef HAVE_SYS_MOUNT_H
15106 # include <sys/mount.h>
15108 #ifdef HAVE_SYS_VFS_H
15109 # include <sys/vfs.h>
15111 #ifdef HAVE_SYS_STATFS_H
15112 # include <sys/statfs.h>
15115 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15117 cat >>confdefs.h
<<_ACEOF
15118 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15123 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15124 #ifdef HAVE_SYS_PARAM_H
15125 # include <sys/param.h>
15127 #ifdef HAVE_SYS_MOUNT_H
15128 # include <sys/mount.h>
15130 #ifdef HAVE_SYS_VFS_H
15131 # include <sys/vfs.h>
15133 #ifdef HAVE_SYS_STATFS_H
15134 # include <sys/statfs.h>
15137 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15139 cat >>confdefs.h
<<_ACEOF
15140 #define HAVE_STRUCT_STATFS_F_FFREE 1
15145 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15146 #ifdef HAVE_SYS_PARAM_H
15147 # include <sys/param.h>
15149 #ifdef HAVE_SYS_MOUNT_H
15150 # include <sys/mount.h>
15152 #ifdef HAVE_SYS_VFS_H
15153 # include <sys/vfs.h>
15155 #ifdef HAVE_SYS_STATFS_H
15156 # include <sys/statfs.h>
15159 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15161 cat >>confdefs.h
<<_ACEOF
15162 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15167 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15168 #ifdef HAVE_SYS_PARAM_H
15169 # include <sys/param.h>
15171 #ifdef HAVE_SYS_MOUNT_H
15172 # include <sys/mount.h>
15174 #ifdef HAVE_SYS_VFS_H
15175 # include <sys/vfs.h>
15177 #ifdef HAVE_SYS_STATFS_H
15178 # include <sys/statfs.h>
15181 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15183 cat >>confdefs.h
<<_ACEOF
15184 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15191 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15192 #include <sys/statvfs.h>
15195 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15197 cat >>confdefs.h
<<_ACEOF
15198 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15205 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15206 #include <dirent.h>
15209 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15211 cat >>confdefs.h
<<_ACEOF
15212 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15219 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15220 #ifdef HAVE_SYS_SOCKET_H
15221 # include <sys/socket.h>
15223 #ifdef HAVE_SYS_UN_H
15224 # include <sys/un.h>
15227 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15229 cat >>confdefs.h
<<_ACEOF
15230 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15235 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15236 #ifdef HAVE_SYS_SOCKET_H
15237 # include <sys/socket.h>
15239 #ifdef HAVE_SYS_UN_H
15240 # include <sys/un.h>
15243 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15245 cat >>confdefs.h
<<_ACEOF
15246 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15251 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15252 #ifdef HAVE_SYS_SOCKET_H
15253 # include <sys/socket.h>
15255 #ifdef HAVE_SYS_UN_H
15256 # include <sys/un.h>
15259 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15269 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15270 #ifdef HAVE_SCSI_SG_H
15271 #include <scsi/sg.h>
15274 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15276 cat >>confdefs.h
<<_ACEOF
15277 #define HAVE_SCSIREQ_T_CMD 1
15282 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>
15283 #ifdef HAVE_SCSI_SG_H
15284 #include <scsi/sg.h>
15287 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15297 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15299 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15301 cat >>confdefs.h
<<_ACEOF
15302 #define HAVE_SIGINFO_T_SI_FD 1
15309 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15310 #ifdef HAVE_SYS_MTIO_H
15311 #include <sys/mtio.h>
15314 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15316 cat >>confdefs.h
<<_ACEOF
15317 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15322 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15323 #ifdef HAVE_SYS_MTIO_H
15324 #include <sys/mtio.h>
15327 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15335 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15336 #ifdef HAVE_SYS_MTIO_H
15337 #include <sys/mtio.h>
15340 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15342 cat >>confdefs.h
<<_ACEOF
15343 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15350 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15351 #include <getopt.h>
15354 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_STRUCT_OPTION_NAME 1
15364 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15365 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15367 cat >>confdefs.h
<<_ACEOF
15368 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15373 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15374 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15376 cat >>confdefs.h
<<_ACEOF
15377 #define HAVE_STRUCT_STAT_ST_MTIM 1
15382 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15383 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15385 cat >>confdefs.h
<<_ACEOF
15386 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15391 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15392 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15394 cat >>confdefs.h
<<_ACEOF
15395 #define HAVE_STRUCT_STAT_ST_CTIM 1
15400 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15401 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15403 cat >>confdefs.h
<<_ACEOF
15404 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15409 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15410 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15412 cat >>confdefs.h
<<_ACEOF
15413 #define HAVE_STRUCT_STAT_ST_ATIM 1
15418 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15419 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15421 cat >>confdefs.h
<<_ACEOF
15422 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15427 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15428 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15436 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15437 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15439 cat >>confdefs.h
<<_ACEOF
15440 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15445 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15446 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15448 cat >>confdefs.h
<<_ACEOF
15449 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15454 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15455 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15457 cat >>confdefs.h
<<_ACEOF
15458 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15463 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15464 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15474 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
15475 #include <sys/types.h>
15477 #ifdef HAVE_NETINET_IN_H
15478 #include <netinet/in.h>
15481 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15483 cat >>confdefs.h
<<_ACEOF
15484 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15491 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15492 #include <resolv.h>
15495 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15497 cat >>confdefs.h
<<_ACEOF
15498 #define HAVE_STRUCT___RES_STATE 1
15505 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
15506 #include <resolv.h>
15509 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15511 cat >>confdefs.h
<<_ACEOF
15512 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15519 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15520 #include <sys/types.h>
15522 #ifdef HAVE_NETINET_IN_H
15523 # include <netinet/in.h>
15525 #ifdef HAVE_ARPA_NAMESER_H
15526 # include <arpa/nameser.h>
15529 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15531 cat >>confdefs.h
<<_ACEOF
15532 #define HAVE_NS_MSG__MSG_PTR 1
15539 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15540 #include <sys/types.h>
15542 #ifdef HAVE_NETINET_IP_H
15543 #include <netinet/ip.h>
15545 #ifdef HAVE_NETINET_IP_ICMP_H
15546 #include <netinet/ip_icmp.h>
15548 #ifdef HAVE_NETINET_ICMP_VAR_H
15549 #include <netinet/icmp_var.h>
15552 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15554 cat >>confdefs.h
<<_ACEOF
15555 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15562 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15563 #include <sys/types.h>
15565 #ifdef HAVE_ALIAS_H
15568 #ifdef HAVE_SYS_SOCKET_H
15569 #include <sys/socket.h>
15571 #ifdef HAVE_SYS_SOCKETVAR_H
15572 #include <sys/socketvar.h>
15574 #ifdef HAVE_SYS_TIMEOUT_H
15575 #include <sys/timeout.h>
15577 #ifdef HAVE_NETINET_IN_H
15578 #include <netinet/in.h>
15580 #ifdef HAVE_NETINET_IN_SYSTM_H
15581 #include <netinet/in_systm.h>
15583 #ifdef HAVE_NETINET_IP_H
15584 #include <netinet/ip.h>
15586 #ifdef HAVE_NETINET_IP_VAR_H
15587 #include <netinet/ip_var.h>
15589 #ifdef HAVE_NETINET_IP_ICMP_H
15590 #include <netinet/ip_icmp.h>
15592 #ifdef HAVE_NETINET_ICMP_VAR_H
15593 #include <netinet/icmp_var.h>
15596 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15606 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15607 #include <sys/types.h>
15609 #ifdef HAVE_SYS_SOCKETVAR_H
15610 #include <sys/socketvar.h>
15612 #ifdef HAVE_NETINET_IN_H
15613 #include <netinet/in.h>
15615 #ifdef HAVE_NETINET_IP_VAR_H
15616 #include <netinet/ip_var.h>
15619 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15621 cat >>confdefs.h
<<_ACEOF
15622 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15629 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
15630 #include <netinet/ip_var.h>
15633 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15643 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15644 #include <sys/types.h>
15646 #ifdef HAVE_SYS_SOCKETVAR_H
15647 #include <sys/socketvar.h>
15649 #ifdef HAVE_NETINET_IN_H
15650 #include <netinet/in.h>
15652 #ifdef HAVE_NETINET_TCP_H
15653 #include <netinet/tcp.h>
15655 #ifdef HAVE_NETINET_TCP_VAR_H
15656 #include <netinet/tcp_var.h>
15659 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15661 cat >>confdefs.h
<<_ACEOF
15662 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15669 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
15670 #include <netinet/tcp_var.h>
15673 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15675 cat >>confdefs.h
<<_ACEOF
15676 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15683 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15684 #include <sys/types.h>
15686 #ifdef HAVE_NETINET_IN_H
15687 #include <netinet/in.h>
15689 #ifdef HAVE_NETINET_IP_VAR_H
15690 #include <netinet/ip_var.h>
15692 #ifdef HAVE_NETINET_UDP_H
15693 #include <netinet/udp.h>
15695 #ifdef HAVE_NETINET_UDP_VAR_H
15696 #include <netinet/udp_var.h>
15699 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15701 cat >>confdefs.h
<<_ACEOF
15702 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15709 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15710 #include <sys/types.h>
15712 #ifdef HAVE_NET_IF_H
15713 # include <net/if.h>
15716 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15718 cat >>confdefs.h
<<_ACEOF
15719 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15727 $as_echo_n "checking for timezone variable... " >&6; }
15728 if ${ac_cv_have_timezone+:} false
; then :
15729 $as_echo_n "(cached) " >&6
15731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15742 if ac_fn_c_try_link
"$LINENO"; then :
15743 ac_cv_have_timezone
="yes"
15745 ac_cv_have_timezone
="no"
15747 rm -f core conftest.err conftest.
$ac_objext \
15748 conftest
$ac_exeext conftest.
$ac_ext
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15751 $as_echo "$ac_cv_have_timezone" >&6; }
15752 if test "$ac_cv_have_timezone" = "yes"
15755 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15759 $as_echo_n "checking for daylight variable... " >&6; }
15760 if ${ac_cv_have_daylight+:} false
; then :
15761 $as_echo_n "(cached) " >&6
15763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15774 if ac_fn_c_try_link
"$LINENO"; then :
15775 ac_cv_have_daylight
="yes"
15777 ac_cv_have_daylight
="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_daylight" >&5
15783 $as_echo "$ac_cv_have_daylight" >&6; }
15784 if test "$ac_cv_have_daylight" = "yes"
15787 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15791 ac_save_LIBS
="$LIBS"
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15794 $as_echo_n "checking for isinf... " >&6; }
15795 if ${ac_cv_have_isinf+:} false
; then :
15796 $as_echo_n "(cached) " >&6
15798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15804 float f = 0.0; return isinf(f)
15809 if ac_fn_c_try_link
"$LINENO"; then :
15810 ac_cv_have_isinf
="yes"
15812 ac_cv_have_isinf
="no"
15814 rm -f core conftest.err conftest.
$ac_objext \
15815 conftest
$ac_exeext conftest.
$ac_ext
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15818 $as_echo "$ac_cv_have_isinf" >&6; }
15819 if test "$ac_cv_have_isinf" = "yes"
15822 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15827 $as_echo_n "checking for isnan... " >&6; }
15828 if ${ac_cv_have_isnan+:} false
; then :
15829 $as_echo_n "(cached) " >&6
15831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15837 float f = 0.0; return isnan(f)
15842 if ac_fn_c_try_link
"$LINENO"; then :
15843 ac_cv_have_isnan
="yes"
15845 ac_cv_have_isnan
="no"
15847 rm -f core conftest.err conftest.
$ac_objext \
15848 conftest
$ac_exeext conftest.
$ac_ext
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15851 $as_echo "$ac_cv_have_isnan" >&6; }
15852 if test "$ac_cv_have_isnan" = "yes"
15855 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15858 LIBS
="$ac_save_LIBS"
15862 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15863 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15864 if ${ac_cv_cpp_def___i386__+:} false
; then :
15865 $as_echo_n "(cached) " >&6
15867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15874 $EGREP "yes" >/dev
/null
2>&1; then :
15875 ac_cv_cpp_def___i386__
=yes
15877 ac_cv_cpp_def___i386__
=no
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15883 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15884 if test $ac_cv_cpp_def___i386__ = yes; then :
15885 CFLAGS
="$CFLAGS -D__i386__"
15886 LINTFLAGS
="$LINTFLAGS -D__i386__"
15888 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15889 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15890 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15891 $as_echo_n "(cached) " >&6
15893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15900 $EGREP "yes" >/dev
/null
2>&1; then :
15901 ac_cv_cpp_def___x86_64__
=yes
15903 ac_cv_cpp_def___x86_64__
=no
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15909 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15910 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15911 CFLAGS
="$CFLAGS -D__x86_64__"
15912 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15914 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15915 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15916 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15917 $as_echo_n "(cached) " >&6
15919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15921 #ifndef __sparc64__
15925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15926 $EGREP "yes" >/dev
/null
2>&1; then :
15927 ac_cv_cpp_def___sparc64__
=yes
15929 ac_cv_cpp_def___sparc64__
=no
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15935 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15936 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15937 CFLAGS
="$CFLAGS -D__sparc64__"
15938 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15940 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15941 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15942 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15943 $as_echo_n "(cached) " >&6
15945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15952 $EGREP "yes" >/dev
/null
2>&1; then :
15953 ac_cv_cpp_def___sparc__
=yes
15955 ac_cv_cpp_def___sparc__
=no
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15961 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15962 if test $ac_cv_cpp_def___sparc__ = yes; then :
15963 CFLAGS
="$CFLAGS -D__sparc__"
15964 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15966 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15967 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15968 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15969 $as_echo_n "(cached) " >&6
15971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15973 #ifndef __powerpc64__
15977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15978 $EGREP "yes" >/dev
/null
2>&1; then :
15979 ac_cv_cpp_def___powerpc64__
=yes
15981 ac_cv_cpp_def___powerpc64__
=no
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15987 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15988 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15989 CFLAGS
="$CFLAGS -D__powerpc64__"
15990 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15992 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15993 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15994 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15995 $as_echo_n "(cached) " >&6
15997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
15999 #ifndef __powerpc__
16003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16004 $EGREP "yes" >/dev
/null
2>&1; then :
16005 ac_cv_cpp_def___powerpc__
=yes
16007 ac_cv_cpp_def___powerpc__
=no
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16013 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16014 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16015 CFLAGS
="$CFLAGS -D__powerpc__"
16016 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16018 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16019 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16020 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16021 $as_echo_n "(cached) " >&6
16023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16025 #ifndef __aarch64__
16029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16030 $EGREP "yes" >/dev
/null
2>&1; then :
16031 ac_cv_cpp_def___aarch64__
=yes
16033 ac_cv_cpp_def___aarch64__
=no
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16039 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16040 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16041 CFLAGS
="$CFLAGS -D__aarch64__"
16042 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16044 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16045 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16046 if ${ac_cv_cpp_def___arm__+:} false
; then :
16047 $as_echo_n "(cached) " >&6
16049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16056 $EGREP "yes" >/dev
/null
2>&1; then :
16057 ac_cv_cpp_def___arm__
=yes
16059 ac_cv_cpp_def___arm__
=no
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16065 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16066 if test $ac_cv_cpp_def___arm__ = yes; then :
16067 CFLAGS
="$CFLAGS -D__arm__"
16068 LINTFLAGS
="$LINTFLAGS -D__arm__"
16072 case $host_vendor in
16073 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16074 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16075 if ${ac_cv_cpp_def___sun__+:} false
; then :
16076 $as_echo_n "(cached) " >&6
16078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16079 /* end confdefs.h. */
16084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16085 $EGREP "yes" >/dev
/null
2>&1; then :
16086 ac_cv_cpp_def___sun__
=yes
16088 ac_cv_cpp_def___sun__
=no
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16094 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16095 if test $ac_cv_cpp_def___sun__ = yes; then :
16096 CFLAGS
="$CFLAGS -D__sun__"
16097 LINTFLAGS
="$LINTFLAGS -D__sun__"
16105 ac_config_commands
="$ac_config_commands include/stamp-h"
16107 $as_echo_n "creating Makefile rules..." >&6
16109 wine_rules_file
=conf$
$rules.
make
16110 rm -f $wine_rules_file
16112 ALL_TEST_RESOURCES
=""
16115 wine_fn_append_file
()
16117 as_fn_append
$1 " \\$as_nl $2"
16120 wine_fn_append_rule
()
16122 $as_echo "$1" >>$wine_rules_file
16125 wine_fn_has_flag
()
16127 expr ",$2," : ".*,$1,.*" >/dev
/null
16130 wine_fn_all_dir_rules
()
16134 ac_makedep
="\$(MAKEDEP)"
16135 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16136 if test $ac_dir != tools
16138 ac_alldeps
="$2 $ac_makedep"
16140 ac_alldeps
="$2 include/config.h"
16143 *.
in) ac_input
=$ac_input:$2 ;;
16144 *) ac_makedep
="$2 $ac_makedep" ;;
16147 wine_fn_append_rule \
16148 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16149 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16150 depend: $ac_dir/__depend__
16151 .PHONY: $ac_dir/__depend__
16152 $ac_dir/__depend__: $ac_makedep dummy
16153 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16156 wine_fn_pot_rules
()
16161 test "x$with_gettextpo" = xyes ||
return
16163 if wine_fn_has_flag mc
$ac_flags
16165 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16166 wine_fn_append_rule \
16167 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16168 @cd $ac_dir && \$(MAKE) msg.pot
16169 $ac_dir/msg.pot: tools/wmc include"
16171 if wine_fn_has_flag po
$ac_flags
16173 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16174 wine_fn_append_rule \
16175 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16176 @cd $ac_dir && \$(MAKE) rsrc.pot
16177 $ac_dir/rsrc.pot: tools/wrc include"
16181 wine_fn_config_all_make_rules
()
16187 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16191 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
16192 wine_fn_append_rule \
16195 $ac_dir: $ac_dir/Makefile dummy
16196 @cd $ac_dir && \$(MAKE)"
16198 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
16200 wine_fn_append_rule \
16201 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16202 $ac_dir/__install__:: $ac_dir
16203 @cd $ac_dir && \$(MAKE) install
16204 $ac_dir/__uninstall__:: $ac_dir/Makefile
16205 @cd $ac_dir && \$(MAKE) uninstall
16206 install:: $ac_dir/__install__
16207 __uninstall__: $ac_dir/__uninstall__"
16209 if wine_fn_has_flag install-lib
$ac_flags
16211 wine_fn_append_rule \
16212 ".PHONY: $ac_dir/__install-lib__
16213 $ac_dir/__install-lib__:: $ac_dir
16214 @cd $ac_dir && \$(MAKE) install-lib
16215 install-lib:: $ac_dir/__install-lib__"
16218 if wine_fn_has_flag install-dev
$ac_flags
16220 wine_fn_append_rule \
16221 ".PHONY: $ac_dir/__install-dev
16222 $ac_dir/__install-dev__:: $ac_dir
16223 @cd $ac_dir && \$(MAKE) install-dev
16224 install-dev:: $ac_dir/__install-dev__"
16228 wine_fn_clean_rules
()
16235 if wine_fn_has_flag clean
$ac_flags
16237 wine_fn_append_rule \
16238 "__clean__: $ac_dir/__clean__
16239 .PHONY: $ac_dir/__clean__
16240 $ac_dir/__clean__: $ac_dir/Makefile
16241 @cd $ac_dir && \$(MAKE) clean
16242 \$(RM) $ac_dir/Makefile"
16244 wine_fn_append_rule \
16246 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16250 wine_fn_config_makefile
()
16256 wine_fn_config_all_make_rules
$ac_dir $ac_enable $ac_flags
16257 wine_fn_clean_rules
$ac_dir $ac_flags
16260 wine_fn_config_lib
()
16264 ac_dir
=dlls
/$ac_name
16265 wine_fn_config_all_make_rules
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
16266 wine_fn_clean_rules
$ac_dir $ac_flags
16268 if wine_fn_has_flag install-dev
$ac_flags
16271 wine_fn_append_rule \
16272 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16273 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
16274 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16275 $ac_dir/__uninstall__::
16276 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16277 install install-dev:: $ac_dir/__install__
16278 __uninstall__: $ac_dir/__uninstall__"
16281 wine_fn_append_rule \
16282 "__builddeps__: $ac_dir
16283 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16286 wine_fn_config_dll
()
16289 ac_dir
=dlls
/$ac_name
16292 ac_implib
=${4:-$ac_name}
16293 ac_file
=$ac_dir/lib
$ac_implib
16295 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16299 *16) ac_implibflags
=" -m16" ;;
16301 *) ac_dll
=$ac_dll.dll
;;
16304 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
16307 wine_fn_has_flag implib
$ac_flags && ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16308 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16309 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16310 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16312 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16313 test "$ac_enable" != enable_win16 ||
return 0
16314 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
16316 wine_fn_append_rule \
16317 "$ac_dir: __builddeps__
16318 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16319 @cd $ac_dir && \$(MAKE) \$@"
16321 if wine_fn_has_flag install-lib
$ac_flags
16324 wine_fn_append_rule \
16325 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
16326 install install-lib:: $ac_dir/__install-lib__
16327 __uninstall__: $ac_dir/__uninstall__"
16328 if test -n "$DLLEXT"
16330 wine_fn_append_rule \
16331 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16332 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16333 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16334 $ac_dir/__uninstall__::
16335 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16337 wine_fn_append_rule \
16338 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16339 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16340 $ac_dir/__uninstall__::
16341 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16345 wine_fn_pot_rules
$ac_dir $ac_flags
16348 if wine_fn_has_flag staticimplib
$ac_flags
16350 wine_fn_append_rule \
16351 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16352 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16353 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16354 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16355 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16356 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16357 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16358 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16359 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16360 $ac_dir/__uninstall__::
16361 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16362 install install-dev:: $ac_dir/__install-dev__
16363 __uninstall__: $ac_dir/__uninstall__"
16365 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16367 wine_fn_append_rule \
16368 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16369 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16370 $ac_dir/__uninstall__::
16371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16374 if test "x$CROSSTEST_DISABLE" = x
16376 wine_fn_append_rule \
16377 "__builddeps__: $ac_file.cross.a
16378 $ac_file.cross.a: $ac_dir/Makefile dummy
16379 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16382 elif wine_fn_has_flag implib
$ac_flags
16384 wine_fn_append_rule \
16385 "__builddeps__: $ac_file.$IMPLIBEXT
16386 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16387 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16388 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16389 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16390 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16391 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16392 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16393 $ac_dir/__uninstall__::
16394 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16395 install install-dev:: $ac_dir/__install-dev__
16396 __uninstall__: $ac_dir/__uninstall__"
16397 if test "x$CROSSTEST_DISABLE" = x
16399 wine_fn_append_rule \
16400 "__builddeps__: $ac_file.cross.a
16401 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16402 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16405 if test "$ac_name" != "$ac_implib"
16407 wine_fn_append_rule \
16408 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16409 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16410 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16412 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16413 if test "x$CROSSTEST_DISABLE" = x
16415 wine_fn_append_rule \
16416 "__builddeps__: dlls/lib$ac_implib.cross.a
16417 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16418 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16424 wine_fn_config_program
()
16427 ac_dir
=programs
/$ac_name
16430 ac_program
=$ac_name
16434 *) ac_program
=$ac_program.exe
;;
16437 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
16440 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16441 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16442 wine_fn_has_flag manpage
$ac_flags && ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16443 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16444 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16446 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16449 wine_fn_append_rule
"$ac_dir: __builddeps__"
16451 wine_fn_pot_rules
$ac_dir $ac_flags
16453 wine_fn_has_flag
install $ac_flags ||
return
16454 wine_fn_append_rule \
16455 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16456 install install-lib:: $ac_dir/__install__
16457 __uninstall__: $ac_dir/__uninstall__"
16459 if test -n "$DLLEXT"
16461 wine_fn_append_rule \
16462 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16463 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16464 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16465 $ac_dir/__uninstall__::
16466 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16468 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
16470 wine_fn_append_rule \
16471 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
16472 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16473 $ac_dir/__uninstall__::
16474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16477 wine_fn_append_rule \
16478 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16479 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
16480 $ac_dir/__uninstall__::
16481 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
16484 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
16486 wine_fn_append_rule \
16487 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16488 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16489 $ac_dir/__uninstall__::
16490 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16495 wine_fn_config_test
()
16502 test "x$CROSSTEST_DISABLE" = x
&& ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16503 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16504 ac_clean
="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
16506 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16507 wine_fn_all_dir_rules
$ac_dir Maketest.rules
16508 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16510 if test "x$enable_tests" = xno
; then :
16513 wine_fn_append_rule \
16516 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
16517 @cd $ac_dir && \$(MAKE)
16518 programs/winetest: $ac_dir
16519 check test: $ac_dir/__test__
16520 .PHONY: $ac_dir/__test__
16521 $ac_dir/__test__: dummy
16522 @cd $ac_dir && \$(MAKE) test
16524 \$(RM) $ac_dir/*.ok"
16526 if test "x$CROSSTEST_DISABLE" = x
16528 wine_fn_append_rule \
16529 "crosstest: $ac_dir/__crosstest__
16530 .PHONY: $ac_dir/__crosstest__
16531 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
16532 @cd $ac_dir && \$(MAKE) crosstest"
16537 wine_fn_config_tool
()
16541 if test "x$enable_tools" = xno
; then :
16545 wine_fn_config_all_make_rules
$ac_dir enable_tools
$ac_flags
16546 wine_fn_clean_rules
$ac_dir $ac_flags
16548 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16549 wine_fn_append_rule
"$ac_dir: libs/port"
16551 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16555 wine_fn_config_makerules
()
16559 wine_fn_append_rule \
16560 "$ac_rules: $ac_rules.in $ac_deps config.status
16561 @./config.status $ac_rules
16566 wine_fn_config_symlink
()
16569 if test "x$1" = "x-d"
16575 wine_fn_append_rule \
16577 @./config.status \$@
16580 test -n "$ac_linkdir" ||
return
16581 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16584 if test "x$CROSSTEST_DISABLE" != x
16586 wine_fn_append_rule \
16588 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16590 wine_fn_append_rule
"
16591 # Rules automatically generated by configure
16596 Makefile: Makefile.in Make.vars.in Make.rules config.status
16597 @./config.status Make.tmp Makefile"
16599 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16600 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16601 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16602 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
16603 if test "x$enable_fonts" != xno
; then
16604 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16605 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16606 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16607 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16608 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16610 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16611 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16612 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16613 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16614 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16615 wine_fn_config_symlink wine
16616 if test "x$enable_win64" != xno
; then
16617 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16618 wine_fn_config_symlink wine64
16621 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16622 wine_fn_append_rule \
16624 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16625 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16626 wine_fn_append_rule \
16628 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16629 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16630 wine_fn_append_rule \
16632 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16633 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16634 wine_fn_append_rule \
16636 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16637 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16638 wine_fn_append_rule \
16640 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16641 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16642 wine_fn_append_rule \
16644 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16645 ac_config_commands
="$ac_config_commands include/wine"
16646 wine_fn_append_rule \
16648 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16650 wine_fn_config_makerules Make.rules
16651 MAKE_RULES
=Make.rules
16652 ac_config_files
="$ac_config_files Make.rules"
16654 wine_fn_config_makerules Maketest.rules Make.rules
16655 MAKE_TEST_RULES
=Maketest.rules
16656 ac_config_files
="$ac_config_files Maketest.rules"
16658 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
16659 MAKE_DLL_RULES
=dlls
/Makedll.rules
16660 ac_config_files
="$ac_config_files dlls/Makedll.rules"
16662 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
16663 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
16664 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
16666 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
16667 MAKE_PROG_RULES
=programs
/Makeprog.rules
16668 ac_config_files
="$ac_config_files programs/Makeprog.rules"
16671 wine_fn_config_dll acledit enable_acledit
16672 wine_fn_config_dll aclui enable_aclui implib
16673 wine_fn_config_dll activeds enable_activeds implib
16674 wine_fn_config_dll actxprxy enable_actxprxy clean
16675 wine_fn_config_lib adsiid
16676 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16677 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16678 wine_fn_config_dll advpack enable_advpack implib
16679 wine_fn_config_test dlls
/advpack
/tests advpack_test
16680 wine_fn_config_dll amstream enable_amstream clean
16681 wine_fn_config_test dlls
/amstream
/tests amstream_test
16682 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16695 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16696 wine_fn_config_dll apphelp enable_apphelp
16697 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16698 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16699 wine_fn_config_dll atl enable_atl clean
,implib
16700 wine_fn_config_test dlls
/atl
/tests atl_test
16701 wine_fn_config_dll atl100 enable_atl100 implib
16702 wine_fn_config_test dlls
/atl100
/tests atl100_test
16703 wine_fn_config_dll atl110 enable_atl110
16704 wine_fn_config_dll atl80 enable_atl80 implib
16705 wine_fn_config_test dlls
/atl80
/tests atl80_test
16706 wine_fn_config_dll authz enable_authz
16707 wine_fn_config_dll avicap32 enable_avicap32 implib
16708 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16709 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16710 wine_fn_config_dll avifile.dll16 enable_win16
16711 wine_fn_config_dll avrt enable_avrt implib
16712 wine_fn_config_dll bcrypt enable_bcrypt
16713 wine_fn_config_dll browseui enable_browseui clean
,po
16714 wine_fn_config_test dlls
/browseui
/tests browseui_test
16715 wine_fn_config_dll cabinet enable_cabinet implib
16716 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16717 wine_fn_config_dll capi2032 enable_capi2032 implib
16718 wine_fn_config_dll cards enable_cards implib
16719 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16720 wine_fn_config_dll clusapi enable_clusapi implib
16721 wine_fn_config_dll comcat enable_comcat
16722 wine_fn_config_test dlls
/comcat
/tests comcat_test
16723 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16724 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16725 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16726 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16727 wine_fn_config_dll
comm.drv16 enable_win16
16728 wine_fn_config_dll commdlg.dll16 enable_win16
16729 wine_fn_config_dll compobj.dll16 enable_win16
16730 wine_fn_config_dll compstui enable_compstui implib
16731 wine_fn_config_dll comsvcs enable_comsvcs implib
16732 wine_fn_config_dll credui enable_credui implib
,po
16733 wine_fn_config_test dlls
/credui
/tests credui_test
16734 wine_fn_config_dll crtdll enable_crtdll implib
16735 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16736 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16737 wine_fn_config_dll cryptdlg enable_cryptdlg po
16738 wine_fn_config_dll cryptdll enable_cryptdll implib
16739 wine_fn_config_dll cryptnet enable_cryptnet implib
16740 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16741 wine_fn_config_dll cryptui enable_cryptui implib
,po
16742 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16743 wine_fn_config_dll ctapi32 enable_ctapi32
16744 wine_fn_config_dll ctl3d.dll16 enable_win16
16745 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16746 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16747 wine_fn_config_dll d3d10 enable_d3d10 implib
16748 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16749 wine_fn_config_dll d3d10core enable_d3d10core implib
16750 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16751 wine_fn_config_dll d3d11 enable_d3d11
16752 wine_fn_config_dll d3d8 enable_d3d8 implib
16753 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16754 wine_fn_config_dll d3d9 enable_d3d9 implib
16755 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16756 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16757 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16758 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16759 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16760 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16761 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16762 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16763 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16764 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16765 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16766 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16767 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16768 wine_fn_config_dll d3dim enable_d3dim implib
16769 wine_fn_config_dll d3drm enable_d3drm implib
16770 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16771 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16772 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16773 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16774 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16775 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16776 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16777 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16778 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16779 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16780 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16781 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16782 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16783 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16784 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16785 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16786 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16787 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16788 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16789 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16790 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16791 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16792 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16793 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16794 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16795 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16796 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16797 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16798 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16799 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16800 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16801 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16802 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16803 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16804 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16805 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16806 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16807 wine_fn_config_dll dbgeng enable_dbgeng implib
16808 wine_fn_config_dll dbghelp enable_dbghelp implib
16809 wine_fn_config_dll dciman32 enable_dciman32 implib
16810 wine_fn_config_dll ddeml.dll16 enable_win16
16811 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16812 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16813 wine_fn_config_dll ddrawex enable_ddrawex clean
16814 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16815 wine_fn_config_dll devenum enable_devenum clean
,po
16816 wine_fn_config_test dlls
/devenum
/tests devenum_test
16817 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16818 wine_fn_config_dll difxapi enable_difxapi
16819 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16820 wine_fn_config_test dlls
/dinput
/tests dinput_test
16821 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16822 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16823 wine_fn_config_dll dispdib.dll16 enable_win16
16824 wine_fn_config_dll dispex enable_dispex clean
16825 wine_fn_config_test dlls
/dispex
/tests dispex_test
16826 wine_fn_config_dll display.drv16 enable_win16
16827 wine_fn_config_dll dmband enable_dmband clean
16828 wine_fn_config_test dlls
/dmband
/tests dmband_test
16829 wine_fn_config_dll dmcompos enable_dmcompos clean
16830 wine_fn_config_dll dmime enable_dmime clean
16831 wine_fn_config_test dlls
/dmime
/tests dmime_test
16832 wine_fn_config_dll dmloader enable_dmloader clean
16833 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16834 wine_fn_config_dll dmscript enable_dmscript clean
16835 wine_fn_config_dll dmstyle enable_dmstyle clean
16836 wine_fn_config_dll dmsynth enable_dmsynth clean
16837 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16838 wine_fn_config_dll dmusic enable_dmusic clean
16839 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16840 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16841 wine_fn_config_dll dnsapi enable_dnsapi implib
16842 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16843 wine_fn_config_dll dplay enable_dplay implib
16844 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16845 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16846 wine_fn_config_dll dpnaddr enable_dpnaddr
16847 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16848 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16849 wine_fn_config_dll dpnhpast enable_dpnhpast
16850 wine_fn_config_dll dpnlobby enable_dpnlobby
16851 wine_fn_config_dll dpwsockx enable_dpwsockx
16852 wine_fn_config_dll drmclien enable_drmclien
16853 wine_fn_config_dll dsound enable_dsound clean
,implib
16854 wine_fn_config_test dlls
/dsound
/tests dsound_test
16855 wine_fn_config_dll dssenh enable_dssenh
16856 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16857 wine_fn_config_dll dswave enable_dswave clean
16858 wine_fn_config_dll dwmapi enable_dwmapi implib
16859 wine_fn_config_dll dwrite enable_dwrite implib
16860 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16861 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16862 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16863 wine_fn_config_lib dxerr8
16864 wine_fn_config_lib dxerr9
16865 wine_fn_config_dll dxgi enable_dxgi implib
16866 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16867 wine_fn_config_lib dxguid
16868 wine_fn_config_dll explorerframe enable_explorerframe clean
16869 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16870 wine_fn_config_dll faultrep enable_faultrep implib
16871 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16872 wine_fn_config_dll fltlib enable_fltlib
16873 wine_fn_config_dll fusion enable_fusion
16874 wine_fn_config_test dlls
/fusion
/tests fusion_test
16875 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16876 wine_fn_config_dll gameux enable_gameux clean
16877 wine_fn_config_test dlls
/gameux
/tests gameux_test
16878 wine_fn_config_dll gdi.exe16 enable_win16
16879 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16880 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16881 wine_fn_config_dll gdiplus enable_gdiplus implib
16882 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16883 wine_fn_config_dll glu32 enable_glu32 implib
16884 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16885 wine_fn_config_dll gpkcsp enable_gpkcsp
16886 wine_fn_config_dll hal enable_hal
16887 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16888 wine_fn_config_dll hid enable_hid implib
16889 wine_fn_config_dll hlink enable_hlink clean
,implib
16890 wine_fn_config_test dlls
/hlink
/tests hlink_test
16891 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16892 wine_fn_config_dll httpapi enable_httpapi
16893 wine_fn_config_dll iccvid enable_iccvid po
16894 wine_fn_config_dll icmp enable_icmp
16895 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16896 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16897 wine_fn_config_dll ifsmgr.vxd enable_win16
16898 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16899 wine_fn_config_dll imagehlp enable_imagehlp implib
16900 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16901 wine_fn_config_dll imm.dll16 enable_win16
16902 wine_fn_config_dll imm32 enable_imm32 implib
16903 wine_fn_config_test dlls
/imm32
/tests imm32_test
16904 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16905 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16906 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16907 wine_fn_config_dll inetmib1 enable_inetmib1
16908 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16909 wine_fn_config_dll infosoft enable_infosoft clean
16910 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16911 wine_fn_config_dll initpki enable_initpki
16912 wine_fn_config_dll inkobj enable_inkobj
16913 wine_fn_config_dll inseng enable_inseng clean
16914 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16915 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16916 wine_fn_config_dll itircl enable_itircl
16917 wine_fn_config_dll itss enable_itss clean
16918 wine_fn_config_test dlls
/itss
/tests itss_test
16919 wine_fn_config_dll joy.cpl enable_joy_cpl po
16920 wine_fn_config_dll jscript enable_jscript clean
,po
16921 wine_fn_config_test dlls
/jscript
/tests jscript_test
16922 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16923 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16924 wine_fn_config_dll keyboard.drv16 enable_win16
16925 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16926 wine_fn_config_dll ktmw32 enable_ktmw32
16927 wine_fn_config_dll loadperf enable_loadperf implib
16928 wine_fn_config_dll localspl enable_localspl po
16929 wine_fn_config_test dlls
/localspl
/tests localspl_test
16930 wine_fn_config_dll localui enable_localui po
16931 wine_fn_config_test dlls
/localui
/tests localui_test
16932 wine_fn_config_dll lz32 enable_lz32 implib
16933 wine_fn_config_test dlls
/lz32
/tests lz32_test
16934 wine_fn_config_dll lzexpand.dll16 enable_win16
16935 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16936 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16937 wine_fn_config_dll mapistub enable_mapistub
16938 wine_fn_config_dll mciavi32 enable_mciavi32
16939 wine_fn_config_dll mcicda enable_mcicda
16940 wine_fn_config_dll mciqtz32 enable_mciqtz32
16941 wine_fn_config_dll mciseq enable_mciseq
16942 wine_fn_config_dll mciwave enable_mciwave
16943 wine_fn_config_dll mgmtapi enable_mgmtapi
16944 wine_fn_config_dll midimap enable_midimap
16945 wine_fn_config_dll mlang enable_mlang clean
,implib
16946 wine_fn_config_test dlls
/mlang
/tests mlang_test
16947 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16948 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16949 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16950 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16951 wine_fn_config_dll mmdevldr.vxd enable_win16
16952 wine_fn_config_dll mmsystem.dll16 enable_win16
16953 wine_fn_config_dll monodebg.vxd enable_win16
16954 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16955 wine_fn_config_dll mouse.drv16 enable_win16
16956 wine_fn_config_dll mpr enable_mpr implib
,po
16957 wine_fn_config_test dlls
/mpr
/tests mpr_test
16958 wine_fn_config_dll mprapi enable_mprapi implib
16959 wine_fn_config_dll msacm.dll16 enable_win16
16960 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16961 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16962 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16963 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16964 wine_fn_config_dll mscat32 enable_mscat32
16965 wine_fn_config_dll mscms enable_mscms implib
16966 wine_fn_config_test dlls
/mscms
/tests mscms_test
16967 wine_fn_config_dll mscoree enable_mscoree clean
16968 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16969 wine_fn_config_dll msctf enable_msctf clean
16970 wine_fn_config_test dlls
/msctf
/tests msctf_test
16971 wine_fn_config_dll msdaps enable_msdaps clean
16972 wine_fn_config_dll msdmo enable_msdmo implib
16973 wine_fn_config_dll msftedit enable_msftedit
16974 wine_fn_config_dll msg711.acm enable_msg711_acm
16975 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16976 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16977 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16978 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16979 wine_fn_config_dll msi enable_msi clean
,implib
,po
16980 wine_fn_config_test dlls
/msi
/tests msi_test
16981 wine_fn_config_dll msident enable_msident clean
16982 wine_fn_config_dll msimg32 enable_msimg32 implib
16983 wine_fn_config_dll msimsg enable_msimsg
16984 wine_fn_config_dll msimtf enable_msimtf clean
16985 wine_fn_config_dll msisip enable_msisip
16986 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16987 wine_fn_config_dll msls31 enable_msls31
16988 wine_fn_config_dll msnet32 enable_msnet32
16989 wine_fn_config_dll mspatcha enable_mspatcha
16990 wine_fn_config_dll msrle32 enable_msrle32 po
16991 wine_fn_config_dll mssign32 enable_mssign32
16992 wine_fn_config_dll mssip32 enable_mssip32
16993 wine_fn_config_dll mstask enable_mstask clean
16994 wine_fn_config_test dlls
/mstask
/tests mstask_test
16995 wine_fn_config_dll msvcirt enable_msvcirt
16996 wine_fn_config_dll msvcm80 enable_msvcm80
16997 wine_fn_config_dll msvcm90 enable_msvcm90
16998 wine_fn_config_dll msvcp100 enable_msvcp100
16999 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17000 wine_fn_config_dll msvcp110 enable_msvcp110
17001 wine_fn_config_dll msvcp60 enable_msvcp60
17002 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17003 wine_fn_config_dll msvcp70 enable_msvcp70
17004 wine_fn_config_dll msvcp71 enable_msvcp71
17005 wine_fn_config_dll msvcp80 enable_msvcp80
17006 wine_fn_config_dll msvcp90 enable_msvcp90
17007 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17008 wine_fn_config_dll msvcr100 enable_msvcr100
17009 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17010 wine_fn_config_dll msvcr110 enable_msvcr110
17011 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17012 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17013 wine_fn_config_dll msvcr80 enable_msvcr80
17014 wine_fn_config_dll msvcr90 enable_msvcr90
17015 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17016 wine_fn_config_dll msvcrt enable_msvcrt implib
17017 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17018 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17019 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17020 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17021 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17022 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17023 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17024 wine_fn_config_dll msvidc32 enable_msvidc32 po
17025 wine_fn_config_dll msvideo.dll16 enable_win16
17026 wine_fn_config_dll mswsock enable_mswsock implib
17027 wine_fn_config_dll msxml enable_msxml clean
17028 wine_fn_config_dll msxml2 enable_msxml2 clean
17029 wine_fn_config_dll msxml3 enable_msxml3 clean
17030 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17031 wine_fn_config_dll msxml4 enable_msxml4 clean
17032 wine_fn_config_dll msxml6 enable_msxml6 clean
17033 wine_fn_config_dll nddeapi enable_nddeapi implib
17034 wine_fn_config_dll netapi32 enable_netapi32 implib
17035 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17036 wine_fn_config_dll netcfgx enable_netcfgx
17037 wine_fn_config_dll newdev enable_newdev implib
17038 wine_fn_config_dll normaliz enable_normaliz implib
17039 wine_fn_config_dll npmshtml enable_npmshtml
17040 wine_fn_config_dll ntdll enable_ntdll implib
17041 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17042 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17043 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17044 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17045 wine_fn_config_dll ntprint enable_ntprint
17046 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17047 wine_fn_config_dll objsel enable_objsel clean
17048 wine_fn_config_dll odbc32 enable_odbc32 implib
17049 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17050 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17051 wine_fn_config_dll odbccu32 enable_odbccu32
17052 wine_fn_config_dll ole2.dll16 enable_win16
17053 wine_fn_config_dll ole2conv.dll16 enable_win16
17054 wine_fn_config_dll ole2disp.dll16 enable_win16
17055 wine_fn_config_dll ole2nls.dll16 enable_win16
17056 wine_fn_config_dll ole2prox.dll16 enable_win16
17057 wine_fn_config_dll ole2thk.dll16 enable_win16
17058 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17059 wine_fn_config_test dlls
/ole32
/tests ole32_test
17060 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17061 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17062 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17063 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17064 wine_fn_config_dll olecli.dll16 enable_win16
17065 wine_fn_config_dll olecli32 enable_olecli32 implib
17066 wine_fn_config_dll oledb32 enable_oledb32 clean
17067 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17068 wine_fn_config_dll oledlg enable_oledlg implib
,po
17069 wine_fn_config_dll olepro32 enable_olepro32 implib
17070 wine_fn_config_dll olesvr.dll16 enable_win16
17071 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17072 wine_fn_config_dll olethk32 enable_olethk32
17073 wine_fn_config_dll openal32 enable_openal32
17074 wine_fn_config_dll opencl enable_opencl
17075 wine_fn_config_dll opengl32 enable_opengl32 implib
17076 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17077 wine_fn_config_dll pdh enable_pdh implib
17078 wine_fn_config_test dlls
/pdh
/tests pdh_test
17079 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17080 wine_fn_config_dll pidgen enable_pidgen
17081 wine_fn_config_dll powrprof enable_powrprof implib
17082 wine_fn_config_dll printui enable_printui
17083 wine_fn_config_dll propsys enable_propsys clean
,implib
17084 wine_fn_config_test dlls
/propsys
/tests propsys_test
17085 wine_fn_config_dll psapi enable_psapi implib
17086 wine_fn_config_test dlls
/psapi
/tests psapi_test
17087 wine_fn_config_dll pstorec enable_pstorec clean
17088 wine_fn_config_dll qcap enable_qcap
17089 wine_fn_config_test dlls
/qcap
/tests qcap_test
17090 wine_fn_config_dll qedit enable_qedit clean
17091 wine_fn_config_test dlls
/qedit
/tests qedit_test
17092 wine_fn_config_dll qmgr enable_qmgr clean
17093 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17094 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17095 wine_fn_config_dll quartz enable_quartz clean
,implib
17096 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17097 wine_fn_config_dll query enable_query
17098 wine_fn_config_dll rasapi16.dll16 enable_win16
17099 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17100 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17101 wine_fn_config_dll rasdlg enable_rasdlg implib
17102 wine_fn_config_dll regapi enable_regapi
17103 wine_fn_config_dll resutils enable_resutils implib
17104 wine_fn_config_dll riched20 enable_riched20 implib
17105 wine_fn_config_test dlls
/riched20
/tests riched20_test
17106 wine_fn_config_dll riched32 enable_riched32
17107 wine_fn_config_test dlls
/riched32
/tests riched32_test
17108 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17109 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17110 wine_fn_config_dll rsabase enable_rsabase
17111 wine_fn_config_dll rsaenh enable_rsaenh implib
17112 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17113 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17114 wine_fn_config_dll rtutils enable_rtutils implib
17115 wine_fn_config_dll samlib enable_samlib
17116 wine_fn_config_dll sane.ds enable_sane_ds po
17117 wine_fn_config_dll scarddlg enable_scarddlg
17118 wine_fn_config_dll sccbase enable_sccbase
17119 wine_fn_config_dll schannel enable_schannel
17120 wine_fn_config_test dlls
/schannel
/tests schannel_test
17121 wine_fn_config_dll scrrun enable_scrrun clean
17122 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17123 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17124 wine_fn_config_dll secur32 enable_secur32 implib
17125 wine_fn_config_test dlls
/secur32
/tests secur32_test
17126 wine_fn_config_dll security enable_security
17127 wine_fn_config_dll sensapi enable_sensapi implib
17128 wine_fn_config_dll serialui enable_serialui implib
,po
17129 wine_fn_config_test dlls
/serialui
/tests serialui_test
17130 wine_fn_config_dll setupapi enable_setupapi implib
,po
17131 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17132 wine_fn_config_dll setupx.dll16 enable_win16
17133 wine_fn_config_dll sfc enable_sfc implib
17134 wine_fn_config_dll sfc_os enable_sfc_os implib
17135 wine_fn_config_dll shdoclc enable_shdoclc po
17136 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17137 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17138 wine_fn_config_dll shell.dll16 enable_win16
17139 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17140 wine_fn_config_test dlls
/shell32
/tests shell32_test
17141 wine_fn_config_dll shfolder enable_shfolder implib
17142 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17143 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17144 wine_fn_config_dll slbcsp enable_slbcsp
17145 wine_fn_config_dll slc enable_slc implib
17146 wine_fn_config_dll snmpapi enable_snmpapi implib
17147 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17148 wine_fn_config_dll softpub enable_softpub
17149 wine_fn_config_dll sound.drv16 enable_win16
17150 wine_fn_config_dll spoolss enable_spoolss implib
17151 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17152 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17153 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17154 wine_fn_config_dll sti enable_sti clean
,implib
17155 wine_fn_config_test dlls
/sti
/tests sti_test
17156 wine_fn_config_dll storage.dll16 enable_win16
17157 wine_fn_config_dll stress.dll16 enable_win16
17158 wine_fn_config_lib strmbase
17159 wine_fn_config_lib strmiids
17160 wine_fn_config_dll svrapi enable_svrapi
17161 wine_fn_config_dll sxs enable_sxs implib
17162 wine_fn_config_test dlls
/sxs
/tests sxs_test
17163 wine_fn_config_dll system.drv16 enable_win16
17164 wine_fn_config_dll t2embed enable_t2embed
17165 wine_fn_config_dll tapi32 enable_tapi32 implib
17166 wine_fn_config_dll toolhelp.dll16 enable_win16
17167 wine_fn_config_dll traffic enable_traffic
17168 wine_fn_config_dll twain.dll16 enable_win16
17169 wine_fn_config_dll twain_32 enable_twain_32
17170 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17171 wine_fn_config_dll typelib.dll16 enable_win16
17172 wine_fn_config_dll unicows enable_unicows implib
17173 wine_fn_config_dll updspapi enable_updspapi
17174 wine_fn_config_dll url enable_url implib
17175 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17176 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17177 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17178 wine_fn_config_dll user.exe16 enable_win16
17179 wine_fn_config_dll user32 enable_user32 implib
,po
17180 wine_fn_config_test dlls
/user32
/tests user32_test
17181 wine_fn_config_dll userenv enable_userenv implib
17182 wine_fn_config_test dlls
/userenv
/tests userenv_test
17183 wine_fn_config_dll usp10 enable_usp10 implib
17184 wine_fn_config_test dlls
/usp10
/tests usp10_test
17185 wine_fn_config_lib uuid
17186 wine_fn_config_dll uxtheme enable_uxtheme implib
17187 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17188 wine_fn_config_dll vbscript enable_vbscript clean
17189 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17190 wine_fn_config_dll vcomp enable_vcomp
17191 wine_fn_config_dll vcomp100 enable_vcomp100
17192 wine_fn_config_dll vcomp90 enable_vcomp90
17193 wine_fn_config_dll vdhcp.vxd enable_win16
17194 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17195 wine_fn_config_dll ver.dll16 enable_win16
17196 wine_fn_config_dll version enable_version implib
17197 wine_fn_config_test dlls
/version
/tests version_test
17198 wine_fn_config_dll vmm.vxd enable_win16
17199 wine_fn_config_dll vnbt.vxd enable_win16
17200 wine_fn_config_dll vnetbios.vxd enable_win16
17201 wine_fn_config_dll vtdapi.vxd enable_win16
17202 wine_fn_config_dll vwin32.vxd enable_win16
17203 wine_fn_config_dll w32skrnl enable_win16
17204 wine_fn_config_dll w32sys.dll16 enable_win16
17205 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17206 wine_fn_config_dll wbemprox enable_wbemprox clean
17207 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17208 wine_fn_config_dll webservices enable_webservices implib
17209 wine_fn_config_dll wer enable_wer implib
17210 wine_fn_config_test dlls
/wer
/tests wer_test
17211 wine_fn_config_dll wevtapi enable_wevtapi
17212 wine_fn_config_dll wiaservc enable_wiaservc clean
17213 wine_fn_config_dll win32s16.dll16 enable_win16
17214 wine_fn_config_dll win87em.dll16 enable_win16
17215 wine_fn_config_dll winaspi.dll16 enable_win16
17216 wine_fn_config_dll windebug.dll16 enable_win16
17217 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17218 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17219 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17220 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17221 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17222 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17223 wine_fn_config_lib winecrt0
17224 wine_fn_config_dll wined3d enable_wined3d implib
17225 wine_fn_config_dll winegstreamer enable_winegstreamer
17226 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17227 wine_fn_config_dll winemac.drv enable_winemac_drv
17228 wine_fn_config_dll winemapi enable_winemapi
17229 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17230 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17231 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
17232 wine_fn_config_dll wineps16.drv16 enable_win16
17233 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17234 wine_fn_config_dll winex11.drv enable_winex11_drv
17235 wine_fn_config_dll wing.dll16 enable_win16
17236 wine_fn_config_dll wing32 enable_wing32
17237 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17238 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17239 wine_fn_config_dll wininet enable_wininet implib
,po
17240 wine_fn_config_test dlls
/wininet
/tests wininet_test
17241 wine_fn_config_dll winmm enable_winmm implib
,po
17242 wine_fn_config_test dlls
/winmm
/tests winmm_test
17243 wine_fn_config_dll winnls.dll16 enable_win16
17244 wine_fn_config_dll winnls32 enable_winnls32 implib
17245 wine_fn_config_dll winscard enable_winscard implib
17246 wine_fn_config_dll winsock.dll16 enable_win16
17247 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17248 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17249 wine_fn_config_dll winsta enable_winsta
17250 wine_fn_config_dll wintab.dll16 enable_win16
17251 wine_fn_config_dll wintab32 enable_wintab32 implib
17252 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17253 wine_fn_config_dll wintrust enable_wintrust implib
17254 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17255 wine_fn_config_dll wlanapi enable_wlanapi
17256 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17257 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17258 wine_fn_config_dll wmi enable_wmi
17259 wine_fn_config_dll wmiutils enable_wmiutils clean
17260 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17261 wine_fn_config_dll wmvcore enable_wmvcore
17262 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17263 wine_fn_config_dll wow32 enable_win16 implib
17264 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17265 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17266 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17267 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17268 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17269 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17270 wine_fn_config_dll wsock32 enable_wsock32 implib
17271 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17272 wine_fn_config_dll wuapi enable_wuapi clean
17273 wine_fn_config_dll wuaueng enable_wuaueng
17274 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17275 wine_fn_config_dll xinput1_1 enable_xinput1_1
17276 wine_fn_config_dll xinput1_2 enable_xinput1_2
17277 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17278 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17279 wine_fn_config_dll xinput1_4 enable_xinput1_4
17280 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17281 wine_fn_config_dll xmllite enable_xmllite
17282 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17283 wine_fn_config_dll xolehlp enable_xolehlp
17284 wine_fn_config_dll xpsprint enable_xpsprint
17285 wine_fn_config_dll xpssvcs enable_xpssvcs
17286 wine_fn_config_makefile documentation enable_documentation clean
17287 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17288 wine_fn_config_makefile include enable_include clean
,install-dev
17289 wine_fn_config_makefile libs
/port enable_libs_port
17290 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17291 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17292 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17293 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17294 wine_fn_config_program attrib enable_attrib
install,po
17295 wine_fn_config_program cabarc enable_cabarc
install
17296 wine_fn_config_program cacls enable_cacls
install
17297 wine_fn_config_program
clock enable_clock
install,po
17298 wine_fn_config_program cmd enable_cmd
install,po
17299 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17300 wine_fn_config_program conhost enable_conhost
install
17301 wine_fn_config_program control enable_control
install
17302 wine_fn_config_program cscript enable_cscript
install
17303 wine_fn_config_program dxdiag enable_dxdiag
install,po
17304 wine_fn_config_program eject enable_eject
install
17305 wine_fn_config_program
expand enable_expand
install
17306 wine_fn_config_program explorer enable_explorer
install,po
17307 wine_fn_config_program extrac32 enable_extrac32
install
17308 wine_fn_config_program findstr enable_findstr
install
17309 wine_fn_config_program hh enable_hh
install
17310 wine_fn_config_program hostname enable_hostname
install,po
17311 wine_fn_config_program icinfo enable_icinfo
install
17312 wine_fn_config_program iexplore enable_iexplore
install
17313 wine_fn_config_program ipconfig enable_ipconfig
install,po
17314 wine_fn_config_program lodctr enable_lodctr
install
17315 wine_fn_config_program mofcomp enable_mofcomp
install
17316 wine_fn_config_program mshta enable_mshta
install
17317 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17318 wine_fn_config_program net enable_net
install,po
17319 wine_fn_config_program netsh enable_netsh
install
17320 wine_fn_config_program netstat enable_netstat
install,po
17321 wine_fn_config_program ngen enable_ngen
install
17322 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17323 wine_fn_config_program oleview enable_oleview
install,po
17324 wine_fn_config_program
ping enable_ping
install
17325 wine_fn_config_program plugplay enable_plugplay
install
17326 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17327 wine_fn_config_program progman enable_progman
install,po
17328 wine_fn_config_program reg enable_reg
install,po
17329 wine_fn_config_program regasm enable_regasm
install
17330 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17331 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17332 wine_fn_config_program regsvcs enable_regsvcs
install
17333 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17334 wine_fn_config_program rpcss enable_rpcss clean
,install
17335 wine_fn_config_program rundll.exe16 enable_win16
install
17336 wine_fn_config_program rundll32 enable_rundll32
install
17337 wine_fn_config_program sc enable_sc
install
17338 wine_fn_config_program schtasks enable_schtasks
install
17339 wine_fn_config_program secedit enable_secedit
install
17340 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17341 wine_fn_config_program services enable_services clean
,install
17342 wine_fn_config_test programs
/services
/tests services.exe_test
17343 wine_fn_config_program spoolsv enable_spoolsv
install
17344 wine_fn_config_program start enable_start
install,po
17345 wine_fn_config_program svchost enable_svchost
install
17346 wine_fn_config_program taskkill enable_taskkill
install,po
17347 wine_fn_config_program tasklist enable_tasklist
install
17348 wine_fn_config_program taskmgr enable_taskmgr
install,po
17349 wine_fn_config_program termsv enable_termsv
install
17350 wine_fn_config_program uninstaller enable_uninstaller
install,po
17351 wine_fn_config_program unlodctr enable_unlodctr
install
17352 wine_fn_config_program view enable_view
install,po
17353 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17354 wine_fn_config_program winebrowser enable_winebrowser
install
17355 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17356 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17357 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17358 wine_fn_config_program winedevice enable_winedevice
install
17359 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17360 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17361 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17362 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17363 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17364 wine_fn_config_program winetest enable_winetest clean
17365 wine_fn_config_program winevdm enable_win16
install
17366 wine_fn_config_program winhelp.exe16 enable_win16
install
17367 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17368 wine_fn_config_program winoldap.mod16 enable_win16
install
17369 wine_fn_config_program winver enable_winver
install
17370 wine_fn_config_program wmic enable_wmic
install,po
17371 wine_fn_config_program wordpad enable_wordpad
install,po
17372 wine_fn_config_program
write enable_write
install,po
17373 wine_fn_config_program wscript enable_wscript clean
,install
17374 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17375 wine_fn_config_program wusa enable_wusa
install
17376 wine_fn_config_program xcopy enable_xcopy
install,po
17377 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17378 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17379 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17380 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17381 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17382 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17383 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17384 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17435 ac_config_commands
="$ac_config_commands Makefile"
17438 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17442 if test "x$enable_maintainer_mode" = xyes
17444 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17445 cd \$(srcdir) && autoconf --warnings=all
17446 \$(srcdir)/include/config.h.in: include/stamp-h.in
17447 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17448 cd \$(srcdir) && autoheader --warnings=all
17449 @echo timestamp > \$@"
17452 if test "x$with_gettextpo" = xyes
17454 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17455 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17456 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17457 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17458 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17459 msgcat -o \$@ \$(ALL_POT_FILES)"
17462 if test "$MSGFMT" != false
17464 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17466 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17471 if test "x$enable_tools" != xno
17473 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17475 \$(RM) tools/makedep\$(EXEEXT)"
17478 if test -n "$with_wine64"
17480 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17481 fonts server tools:
17482 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17483 $with_wine64/loader/wine:
17484 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17485 $with_wine64/loader/wine-preloader:
17486 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17488 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17490 as_fn_append LOADER_RULES
"
17493 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17494 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17496 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17497 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17498 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17501 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17505 $as_echo " done" >&6
17506 cat >confcache
<<\_ACEOF
17507 # This file is a shell script that caches the results of configure
17508 # tests run on this system so they can be shared between configure
17509 # scripts and configure runs, see configure's option --config-cache.
17510 # It is not useful on other systems. If it contains results you don't
17511 # want to keep, you may remove or edit it.
17513 # config.status only pays attention to the cache file if you give it
17514 # the --recheck option to rerun configure.
17516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17518 # following values.
17522 # The following way of writing the cache mishandles newlines in values,
17523 # but we know of no workaround that is simple, portable, and efficient.
17524 # So, we kill variables containing newlines.
17525 # Ultrix sh set writes to stderr and can't be redirected directly,
17526 # and sets the high bit in the cache file unless we assign to the vars.
17528 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17529 eval ac_val
=\$
$ac_var
17533 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17537 _ | IFS | as_nl
) ;; #(
17538 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17539 *) { eval $ac_var=; unset $ac_var;} ;;
17545 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17546 *${as_nl}ac_space
=\
*)
17547 # `set' does not quote correctly, so add quotes: double-quote
17548 # substitution turns \\\\ into \\, and sed turns \\ into \.
17551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17554 # `set' quotes correctly as required by POSIX, so do not add quotes.
17555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17566 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17568 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17569 if test -w "$cache_file"; then
17570 if test "x$cache_file" != "x/dev/null"; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17572 $as_echo "$as_me: updating cache $cache_file" >&6;}
17573 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17574 cat confcache
>"$cache_file"
17576 case $cache_file in #(
17578 mv -f confcache
"$cache_file"$$
&&
17579 mv -f "$cache_file"$$
"$cache_file" ;; #(
17581 mv -f confcache
"$cache_file" ;;
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17592 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17593 # Let make expand exec_prefix.
17594 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17596 DEFS
=-DHAVE_CONFIG_H
17601 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17602 # 1. Remove the extension, and $U if already installed.
17603 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17604 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17606 # will be set to the directory where LIBOBJS objects are built.
17607 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17608 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17610 LIBOBJS
=$ac_libobjs
17612 LTLIBOBJS
=$ac_ltlibobjs
17616 : "${CONFIG_STATUS=./config.status}"
17618 ac_clean_files_save
=$ac_clean_files
17619 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17621 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17623 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17625 # Generated by $as_me.
17626 # Run this file to recreate the current configuration.
17627 # Compiler output produced by configure, useful for debugging
17628 # configure, is in config.log if it exists.
17631 ac_cs_recheck=false
17634 SHELL=\${CONFIG_SHELL-$SHELL}
17637 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17638 ## -------------------- ##
17639 ## M4sh Initialization. ##
17640 ## -------------------- ##
17642 # Be more Bourne compatible
17643 DUALCASE
=1; export DUALCASE
# for MKS sh
17644 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17647 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17648 # is contrary to our usage. Disable this feature.
17649 alias -g '${1+"$@"}'='"$@"'
17650 setopt NO_GLOB_SUBST
17652 case `(set -o) 2>/dev/null` in #(
17664 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17665 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17668 # Prefer a ksh shell builtin over an external printf program on Solaris,
17669 # but without wasting forks for bash or zsh.
17670 if test -z "$BASH_VERSION$ZSH_VERSION" \
17671 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17672 as_echo='print
-r --'
17673 as_echo_n='print
-rn --'
17674 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17675 as_echo='printf %s
\n'
17676 as_echo_n='printf %s
'
17678 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17679 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17680 as_echo_n='/usr
/ucb
/echo -n'
17682 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17683 as_echo_n_body='eval
17687 expr "X$arg" : "X\\(.*\\)$as_nl";
17688 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17690 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17692 export as_echo_n_body
17693 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17695 export as_echo_body
17696 as_echo='sh
-c $as_echo_body as_echo
'
17699 # The user is always right.
17700 if test "${PATH_SEPARATOR+set}" != set; then
17702 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17703 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17710 # We need space, tab and new line, in precisely that order. Quoting is
17711 # there to prevent editors from complaining about space-tab.
17712 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17713 # splitting by setting IFS to empty value.)
17716 # Find who we are. Look in the path if we contain no directory separator.
17719 *[\\/]* ) as_myself=$0 ;;
17720 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17721 for as_dir in $PATH
17724 test -z "$as_dir" && as_dir=.
17725 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17731 # We did not find ourselves, most probably we were run as `sh COMMAND'
17732 # in which case we are not to be found in the path.
17733 if test "x$as_myself" = x
; then
17736 if test ! -f "$as_myself"; then
17737 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17741 # Unset variables that we do not need and which cause bugs (e.g. in
17742 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17743 # suppresses any "Segmentation fault" message there. '((' could
17744 # trigger a bug in pdksh 5.2.14.
17745 for as_var
in BASH_ENV ENV MAIL MAILPATH
17746 do eval test x\
${$as_var+set} = xset \
17747 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17760 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17763 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17764 # ----------------------------------------
17765 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17766 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17767 # script with STATUS, using 1 if that was 0.
17770 as_status
=$1; test $as_status -eq 0 && as_status
=1
17772 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17773 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17775 $as_echo "$as_me: error: $2" >&2
17776 as_fn_exit
$as_status
17780 # as_fn_set_status STATUS
17781 # -----------------------
17782 # Set $? to STATUS, without forking.
17783 as_fn_set_status
()
17786 } # as_fn_set_status
17788 # as_fn_exit STATUS
17789 # -----------------
17790 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17794 as_fn_set_status
$1
17800 # Portably unset VAR.
17803 { eval $1=; unset $1;}
17805 as_unset
=as_fn_unset
17806 # as_fn_append VAR VALUE
17807 # ----------------------
17808 # Append the text in VALUE to the end of the definition contained in VAR. Take
17809 # advantage of any shell optimizations that allow amortized linear growth over
17810 # repeated appends, instead of the typical quadratic growth present in naive
17812 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17813 eval 'as_fn_append ()
17824 # as_fn_arith ARG...
17825 # ------------------
17826 # Perform arithmetic evaluation on the ARGs, and store the result in the
17827 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17828 # must be portable across $(()) and expr.
17829 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17830 eval 'as_fn_arith ()
17837 as_val
=`expr "$@" || test $? -eq 1`
17842 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17843 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17849 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17850 as_basename
=basename
17855 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17861 as_me
=`$as_basename -- "$0" ||
17862 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17863 X"$0" : 'X\(//\)$' \| \
17864 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17866 sed '/^.*\/\([^/][^/]*\)\/*$/{
17880 # Avoid depending upon Character Ranges.
17881 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17882 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17883 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17884 as_cr_digits
='0123456789'
17885 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17887 ECHO_C
= ECHO_N
= ECHO_T
=
17888 case `echo -n x` in #(((((
17890 case `echo 'xy\c'` in
17891 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17893 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17900 rm -f conf$$ conf$$.exe conf$$.
file
17901 if test -d conf$$.dir
; then
17902 rm -f conf$$.dir
/conf$$.
file
17905 mkdir conf$$.dir
2>/dev
/null
17907 if (echo >conf$$.
file) 2>/dev
/null
; then
17908 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17910 # ... but there are two gotchas:
17911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17913 # In both cases, we have to default to `cp -pR'.
17914 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17916 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17924 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17925 rmdir conf$$.dir
2>/dev
/null
17930 # Create "$as_dir" as a directory, including parents if necessary.
17935 -*) as_dir
=.
/$as_dir;;
17937 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17941 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17942 *) as_qdir
=$as_dir;;
17944 as_dirs
="'$as_qdir' $as_dirs"
17945 as_dir
=`$as_dirname -- "$as_dir" ||
17946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17947 X"$as_dir" : 'X\(//\)[^/]' \| \
17948 X"$as_dir" : 'X\(//\)$' \| \
17949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17950 $as_echo X"$as_dir" |
17951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17955 /^X\(\/\/\)[^/].*/{
17968 test -d "$as_dir" && break
17970 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17971 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17975 if mkdir
-p .
2>/dev
/null
; then
17976 as_mkdir_p
='mkdir -p "$as_dir"'
17978 test -d .
/-p && rmdir .
/-p
17983 # as_fn_executable_p FILE
17984 # -----------------------
17985 # Test if FILE is an executable regular file.
17986 as_fn_executable_p
()
17988 test -f "$1" && test -x "$1"
17989 } # as_fn_executable_p
17990 as_test_x
='test -x'
17991 as_executable_p
=as_fn_executable_p
17993 # Sed expression to map a string onto a valid CPP name.
17994 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17996 # Sed expression to map a string onto a valid variable name.
17997 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18001 ## ----------------------------------- ##
18002 ## Main body of $CONFIG_STATUS script. ##
18003 ## ----------------------------------- ##
18005 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18008 # Save the log message, to keep $0 and so on meaningful, and to
18009 # report actual input values of CONFIG_FILES etc. instead of their
18010 # values after options handling.
18012 This file was extended by Wine $as_me 1.7.3, which was
18013 generated by GNU Autoconf 2.69. Invocation command line was
18015 CONFIG_FILES = $CONFIG_FILES
18016 CONFIG_HEADERS = $CONFIG_HEADERS
18017 CONFIG_LINKS = $CONFIG_LINKS
18018 CONFIG_COMMANDS = $CONFIG_COMMANDS
18021 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18026 case $ac_config_files in *"
18027 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18030 case $ac_config_headers in *"
18031 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18036 # Files that config.status was made for.
18037 config_files="$ac_config_files"
18038 config_headers="$ac_config_headers"
18039 config_links="$ac_config_links"
18040 config_commands="$ac_config_commands"
18044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18046 \`$as_me' instantiates files and other configuration actions
18047 from templates according to the current configuration. Unless the files
18048 and actions are specified as TAGs, all are instantiated by default.
18050 Usage: $0 [OPTION]... [TAG]...
18052 -h, --help print this help, then exit
18053 -V, --version print version number and configuration settings, then exit
18054 --config print configuration, then exit
18055 -q, --quiet, --silent
18056 do not print progress messages
18057 -d, --debug don't remove temporary files
18058 --recheck update $as_me by reconfiguring in the same conditions
18059 --file=FILE[:TEMPLATE]
18060 instantiate the configuration file FILE
18061 --header=FILE[:TEMPLATE]
18062 instantiate the configuration header FILE
18064 Configuration files:
18067 Configuration headers:
18070 Configuration links:
18073 Configuration commands:
18076 Report bugs to <wine-devel@winehq.org>.
18077 Wine home page: <http://www.winehq.org>."
18080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18083 Wine config.status 1.7.3
18084 configured by $0, generated by GNU Autoconf 2.69,
18085 with options \\"\$ac_cs_config\\"
18087 Copyright (C) 2012 Free Software Foundation, Inc.
18088 This config.status script is free software; the Free Software Foundation
18089 gives unlimited permission to copy, distribute and modify it."
18095 test -n "\$AWK" || AWK=awk
18098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18099 # The default lists apply if the user does not specify any file.
18105 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18106 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18110 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18122 # Handling of the options.
18123 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18125 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18126 $as_echo "$ac_cs_version"; exit ;;
18127 --config |
--confi |
--conf |
--con |
--co |
--c )
18128 $as_echo "$ac_cs_config"; exit ;;
18129 --debug |
--debu |
--deb |
--de |
--d |
-d )
18131 --file |
--fil |
--fi |
--f )
18134 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18135 '') as_fn_error $?
"missing file argument" ;;
18137 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18138 ac_need_defaults
=false
;;
18139 --header |
--heade |
--head |
--hea )
18142 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18144 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18145 ac_need_defaults
=false
;;
18147 # Conflict between --help and --header
18148 as_fn_error $?
"ambiguous option: \`$1'
18149 Try \`$0 --help' for more information.";;
18150 --help |
--hel |
-h )
18151 $as_echo "$ac_cs_usage"; exit ;;
18152 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18153 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18156 # This is an error.
18157 -*) as_fn_error $?
"unrecognized option: \`$1'
18158 Try \`$0 --help' for more information." ;;
18160 *) as_fn_append ac_config_targets
" $1"
18161 ac_need_defaults
=false
;;
18167 ac_configure_extra_args
=
18169 if $ac_cs_silent; then
18171 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18176 if \$ac_cs_recheck; then
18177 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18180 CONFIG_SHELL='$SHELL'
18181 export CONFIG_SHELL
18186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18191 ## Running $as_me. ##
18197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18201 wine_fn_output_makefile ()
18203 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18204 `cat $wine_rules_file`
18206 as_fn_error $? "could not create Makefile" "$LINENO" 5
18211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18213 # Handling of arguments.
18214 for ac_config_target
in $ac_config_targets
18216 case $ac_config_target in
18217 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18218 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18219 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18220 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
18221 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18222 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18223 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18224 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18225 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18226 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18227 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18228 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18229 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18230 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18231 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18232 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18233 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18234 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18235 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18236 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18237 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
18238 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
18239 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18240 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
18241 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18242 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18244 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18249 # If the user did not use the arguments to specify the items to instantiate,
18250 # then the envvar interface is used. Set only those that are not.
18251 # We use the long form for the default assignment because of an extremely
18252 # bizarre bug on SunOS 4.1.3.
18253 if $ac_need_defaults; then
18254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18256 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18257 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18260 # Have a temporary directory for convenience. Make it in the build tree
18261 # simply because there is no reason against having it here, and in addition,
18262 # creating and moving files from /tmp can sometimes cause problems.
18263 # Hook for its removal unless debugging.
18264 # Note that there is a small window in which the directory will not be cleaned:
18265 # after its creation but before its name has been assigned to `$tmp'.
18269 trap 'exit_status=$?
18270 : "${ac_tmp:=$tmp}"
18271 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18273 trap 'as_fn_exit 1' 1 2 13 15
18275 # Create a (secure) tmp directory for tmp files.
18278 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18282 tmp
=.
/conf$$
-$RANDOM
18283 (umask 077 && mkdir
"$tmp")
18284 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18287 # Set up the scripts for CONFIG_FILES section.
18288 # No need to generate them if there are no CONFIG_FILES.
18289 # This happens for instance with `./config.status config.h'.
18290 if test -n "$CONFIG_FILES"; then
18292 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18293 ac_cs_awk_getline
=:
18294 ac_cs_awk_pipe_init
=
18295 ac_cs_awk_read_file
='
18296 while ((getline aline < (F[key])) > 0)
18299 ac_cs_awk_pipe_fini
=
18301 ac_cs_awk_getline
=false
18302 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18303 ac_cs_awk_read_file
='
18305 print "cat " F[key] " &&"
18306 '$ac_cs_awk_pipe_init
18307 # The final `:' finishes the AND list.
18308 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18310 ac_cr
=`echo X | tr X '\015'`
18311 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18312 # But we know of no other shell where ac_cr would be empty at this
18313 # point, so we can use a bashism as a fallback.
18314 if test "x$ac_cr" = x
; then
18315 eval ac_cr
=\$
\'\\r
\'
18317 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18318 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18321 ac_cs_awk_cr
=$ac_cr
18324 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18327 # Create commands to substitute file output variables.
18329 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18330 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18331 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18334 } >conf$
$files.sh
&&
18335 . .
/conf$
$files.sh ||
18336 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18337 rm -f conf$
$files.sh
18340 echo "cat >conf$$subs.awk <<_ACEOF" &&
18341 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18343 } >conf$$subs.sh ||
18344 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18345 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18347 for ac_last_try in false false false false false :; do
18348 . ./conf$$subs.sh ||
18349 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18351 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18352 if test $ac_delim_n = $ac_delim_num; then
18354 elif $ac_last_try; then
18355 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18357 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18360 rm -f conf$$subs.sh
18362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18363 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18367 s/^/S["/; s
/!.
*/"]=/
18377 s/\(.\{148\}\)..*/\1/
18379 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18384 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18391 s/\(.\{148\}\)..*/\1/
18393 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18397 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18402 ' <conf$$subs.awk | sed '
18407 ' >>$CONFIG_STATUS || ac_write_fail=1
18408 rm -f conf$$subs.awk
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18412 for (key in S) S_is_set[key] = 1
18414 \$ac_cs_awk_pipe_init
18418 nfields = split(line, field, "@
")
18420 len = length(field[1])
18421 for (i = 2; i < nfields; i++) {
18423 keylen = length(key)
18424 if (S_is_set[key]) {
18426 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18427 len += length(value) + length(field[++i])
18432 if (nfields == 3 && !substed) {
18434 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18435 \$ac_cs_awk_read_file
18441 \$ac_cs_awk_pipe_fini
18444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18445 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18446 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18449 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18450 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18453 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18454 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18455 # trailing colons and then remove the whole line if VPATH becomes empty
18456 # (actually we leave an empty line to preserve line numbers).
18457 if test "x
$srcdir" = x.; then
18458 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18477 fi # test -n "$CONFIG_FILES"
18479 # Set up the scripts for CONFIG_HEADERS section.
18480 # No need to generate them if there are no CONFIG_HEADERS.
18481 # This happens for instance with `./config.status Makefile'.
18482 if test -n "$CONFIG_HEADERS"; then
18483 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18487 # Transform confdefs.h into an awk script `defines.awk', embedded as
18488 # here-document in config.status, that substitutes the proper values into
18489 # config.h.in to produce config.h.
18491 # Create a delimiter string that does not exist in confdefs.h, to ease
18492 # handling of long lines.
18494 for ac_last_try in false false :; do
18495 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18496 if test -z "$ac_tt"; then
18498 elif $ac_last_try; then
18499 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18501 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18505 # For the awk script, D is an array of macro values keyed by name,
18506 # likewise P contains macro parameters if any. Preserve backslash
18507 # newline sequences.
18509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18511 s/.\{148\}/&'"$ac_delim"'/g
18514 s/^[ ]*#[ ]*define[ ][ ]*/ /
18521 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18523 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18528 D["\
1"]=" \
3\\\\\\n
"\\/p
18530 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18535 s/.\{148\}/&'"$ac_delim"'/g
18540 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18543 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18545 ' <confdefs.h | sed '
18546 s/'"$ac_delim"'/"\\\
18547 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 for (key in D) D_is_set[key] = 1
18553 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18555 split(line, arg, " ")
18556 if (arg[1] == "#") {
18560 defundef
= substr
(arg
[1], 2)
18563 split(mac1
, mac2
, "(") #)
18565 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18566 if (D_is_set
[macro
]) {
18567 # Preserve the white space surrounding the "#".
18568 print prefix
"define", macro P
[macro
] D
[macro
]
18571 # Replace #undef with comments. This is necessary, for example,
18572 # in the case of _POSIX_SOURCE, which is predefined and required
18573 # on some systems where configure will not decide to define it.
18574 if (defundef
== "undef") {
18575 print
"/*", prefix defundef
, macro
, "*/"
18583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18584 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18585 fi # test -n "$CONFIG_HEADERS"
18588 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18593 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18595 case $ac_mode$ac_tag in
18597 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18598 :[FH
]-) ac_tag
=-:-;;
18599 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18616 -) ac_f
="$ac_tmp/stdin";;
18617 *) # Look for the file first in the build tree, then in the source tree
18618 # (if the path is not absolute). The absolute path cannot be DOS-style,
18619 # because $ac_f cannot contain `:'.
18623 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18625 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18627 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18628 as_fn_append ac_file_inputs
" '$ac_f'"
18631 # Let's still pretend it is `configure' which instantiates (i.e., don't
18632 # use $as_me), people would be surprised to read:
18633 # /* config.h. Generated by config.status. */
18634 configure_input
='Generated from '`
18635 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18637 if test x
"$ac_file" != x-
; then
18638 configure_input
="$ac_file. $configure_input"
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18640 $as_echo "$as_me: creating $ac_file" >&6;}
18642 # Neutralize special characters interpreted by sed in replacement strings.
18643 case $configure_input in #(
18644 *\
&* |
*\|
* |
*\\* )
18645 ac_sed_conf_input
=`$as_echo "$configure_input" |
18646 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18647 *) ac_sed_conf_input
=$configure_input;;
18651 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18652 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18657 ac_dir
=`$as_dirname -- "$ac_file" ||
18658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18659 X"$ac_file" : 'X\(//\)[^/]' \| \
18660 X"$ac_file" : 'X\(//\)$' \| \
18661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18662 $as_echo X"$ac_file" |
18663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18667 /^X\(\/\/\)[^/].*/{
18680 as_dir
="$ac_dir"; as_fn_mkdir_p
18684 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18686 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18687 # A ".." for each directory in $ac_dir_suffix.
18688 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18689 case $ac_top_builddir_sub in
18690 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18691 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18694 ac_abs_top_builddir
=$ac_pwd
18695 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18696 # for backward compatibility:
18697 ac_top_builddir
=$ac_top_build_prefix
18700 .
) # We are building in place.
18702 ac_top_srcdir
=$ac_top_builddir_sub
18703 ac_abs_top_srcdir
=$ac_pwd ;;
18704 [\\/]* | ?
:[\\/]* ) # Absolute name.
18705 ac_srcdir
=$srcdir$ac_dir_suffix;
18706 ac_top_srcdir
=$srcdir
18707 ac_abs_top_srcdir
=$srcdir ;;
18708 *) # Relative name.
18709 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18710 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18711 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18713 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18723 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18724 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18726 ac_MKDIR_P
=$MKDIR_P
18728 [\\/$
]* | ?
:[\\/]* ) ;;
18729 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18734 # If the template does not know about datarootdir, expand it.
18735 # FIXME: This hack should be removed a few years after 2.60.
18736 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18748 *datarootdir
*) ac_datarootdir_seen
=yes;;
18749 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18754 ac_datarootdir_hack='
18755 s&@datadir@&$datadir&g
18756 s&@docdir@&$docdir&g
18757 s&@infodir@&$infodir&g
18758 s&@localedir@&$localedir&g
18759 s&@mandir@&$mandir&g
18760 s&\\\${datarootdir}&$datarootdir&g' ;;
18764 # Neutralize VPATH when `$srcdir' = `.'.
18765 # Shell code in configure.ac might set extrasub.
18766 # FIXME: do we really want to maintain this feature?
18767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18768 ac_sed_extra="$ac_vpsub
18771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18773 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18774 s|@configure_input@|
$ac_sed_conf_input|
;t t
18775 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18776 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18777 s
&@srcdir@
&$ac_srcdir&;t t
18778 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18779 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18780 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18781 s
&@builddir@
&$ac_builddir&;t t
18782 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18783 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18784 s
&@INSTALL@
&$ac_INSTALL&;t t
18785 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18786 $ac_datarootdir_hack
18788 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18789 if $ac_cs_awk_getline; then
18790 $AWK -f "$ac_tmp/subs.
awk"
18792 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18794 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18796 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18797 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18798 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18799 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18801 which seems to be undefined. Please make sure it is defined" >&5
18802 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18803 which seems to be undefined. Please make sure it is defined" >&2;}
18805 rm -f "$ac_tmp/stdin"
18807 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18808 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18816 if test x"$ac_file" != x-; then
18818 $as_echo "/* $configure_input */" \
18819 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18820 } >"$ac_tmp/config.h" \
18821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18822 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18824 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18827 mv "$ac_tmp/config.h" "$ac_file" \
18828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18831 $as_echo "/* $configure_input */" \
18832 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18833 || as_fn_error $? "could not create -" "$LINENO" 5
18841 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18844 # Prefer the file from the source tree if names are identical.
18845 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18846 ac_source=$srcdir/$ac_source
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18850 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18852 if test ! -r "$ac_source"; then
18853 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18857 # Try a relative symlink, then a hard link, then a copy.
18859 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18860 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18862 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18863 ln "$ac_source" "$ac_file" 2>/dev/null ||
18864 cp -p "$ac_source" "$ac_file" ||
18865 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18868 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18869 $as_echo "$as_me: executing $ac_file commands" >&6;}
18874 case $ac_file$ac_mode in
18875 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18876 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18877 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18878 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18879 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18880 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18881 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18882 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18883 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18884 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18885 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18886 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18887 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18888 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18889 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18890 "Makefile":C) wine_fn_output_makefile Makefile ;;
18898 ac_clean_files=$ac_clean_files_save
18900 test $ac_write_fail = 0 ||
18901 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18904 # configure is writing to config.log, and then calls config.status.
18905 # config.status does its own redirection, appending to config.log.
18906 # Unfortunately, on DOS this fails, as config.log is still kept open
18907 # by configure, so config.status won't be able to
write to it
; its
18908 # output is simply discarded. So we exec the FD to /dev/null,
18909 # effectively closing config.log, so it can be properly (re)opened and
18910 # appended to by config.status. When coming back to configure, we
18911 # need to make the FD available again.
18912 if test "$no_create" != yes; then
18914 ac_config_status_args
=
18915 test "$silent" = yes &&
18916 ac_config_status_args
="$ac_config_status_args --quiet"
18918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18921 # would make configure fail if this is the last instruction.
18922 $ac_cs_success || as_fn_exit
1
18924 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18926 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18930 if test "$no_create" = "yes"
18936 if test "x$wine_notices != "x
; then
18939 for msg
in $wine_notices; do
18941 if test -n "$msg"; then
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18943 $as_echo "$as_me: $msg" >&6;}
18948 for msg
in $wine_warnings; do
18950 if test -n "$msg"; then
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18953 $as_echo "$as_me: WARNING: $msg" >&2;}
18959 $as_me: Finished. Do '${ac_make}' to compile Wine.