2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.5.
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.5'
584 PACKAGE_STRING
='Wine 1.7.5'
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
702 APPLICATIONSERVICESLIB
792 program_transform_name
803 ac_subst_files
='MAKE_RULES'
805 enable_option_checking
809 enable_maintainer_mode
864 enable_api_ms_win_core_localregistry_l1_1_0
865 enable_api_ms_win_core_processthreads_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_security_base_l1_1_0
915 enable_d3dcompiler_33
916 enable_d3dcompiler_34
917 enable_d3dcompiler_35
918 enable_d3dcompiler_36
919 enable_d3dcompiler_37
920 enable_d3dcompiler_38
921 enable_d3dcompiler_39
922 enable_d3dcompiler_40
923 enable_d3dcompiler_41
924 enable_d3dcompiler_42
925 enable_d3dcompiler_43
1137 enable_photometadatahandler
1215 enable_windowscodecs
1216 enable_windowscodecsext
1218 enable_winecoreaudio_drv
1220 enable_winegstreamer
1221 enable_winejoystick_drv
1227 enable_wineqtdecoder
1262 enable_documentation
1269 enable_aspnet_regiis
1301 enable_presentationfontcache
1313 enable_servicemodelreg
1332 enable_winemenubuilder
1334 enable_winemsibuilder
1348 ac_precious_vars
='build_alias
1395 # Initialize some variables set by options.
1397 ac_init_version
=false
1398 ac_unrecognized_opts
=
1399 ac_unrecognized_sep
=
1400 # The variables have the same names as the options, with
1401 # dashes changed to underlines.
1402 cache_file
=/dev
/null
1409 program_transform_name
=s
,x
,x
,
1417 # Installation directory options.
1418 # These are left unexpanded so users can "make install exec_prefix=/foo"
1419 # and all the variables that are supposed to be based on exec_prefix
1420 # by default will actually change.
1421 # Use braces instead of parens because sh, perl, etc. also accept them.
1422 # (The list follows the same order as the GNU Coding Standards.)
1423 bindir
='${exec_prefix}/bin'
1424 sbindir
='${exec_prefix}/sbin'
1425 libexecdir
='${exec_prefix}/libexec'
1426 datarootdir
='${prefix}/share'
1427 datadir
='${datarootdir}'
1428 sysconfdir
='${prefix}/etc'
1429 sharedstatedir
='${prefix}/com'
1430 localstatedir
='${prefix}/var'
1431 includedir
='${prefix}/include'
1432 oldincludedir
='/usr/include'
1433 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1434 infodir
='${datarootdir}/info'
1439 libdir
='${exec_prefix}/lib'
1440 localedir
='${datarootdir}/locale'
1441 mandir
='${datarootdir}/man'
1447 # If the previous option needs an argument, assign it.
1448 if test -n "$ac_prev"; then
1449 eval $ac_prev=\
$ac_option
1455 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1460 # Accept the important Cygnus configure options, so we can diagnose typos.
1462 case $ac_dashdash$ac_option in
1466 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1468 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1469 bindir
=$ac_optarg ;;
1471 -build |
--build |
--buil |
--bui |
--bu)
1472 ac_prev
=build_alias
;;
1473 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1474 build_alias
=$ac_optarg ;;
1476 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1477 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1478 ac_prev
=cache_file
;;
1479 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1480 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1481 cache_file
=$ac_optarg ;;
1483 --config-cache |
-C)
1484 cache_file
=config.cache
;;
1486 -datadir |
--datadir |
--datadi |
--datad)
1488 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1489 datadir
=$ac_optarg ;;
1491 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1492 |
--dataroo |
--dataro |
--datar)
1493 ac_prev
=datarootdir
;;
1494 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1495 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1496 datarootdir
=$ac_optarg ;;
1498 -disable-* |
--disable-*)
1499 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1500 # Reject names that are not valid shell variable names.
1501 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1502 as_fn_error $?
"invalid feature name: $ac_useropt"
1503 ac_useropt_orig
=$ac_useropt
1504 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1505 case $ac_user_opts in
1507 "enable_
$ac_useropt"
1509 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1510 ac_unrecognized_sep
=', ';;
1512 eval enable_
$ac_useropt=no
;;
1514 -docdir |
--docdir |
--docdi |
--doc |
--do)
1516 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1517 docdir
=$ac_optarg ;;
1519 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1521 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1522 dvidir
=$ac_optarg ;;
1524 -enable-* |
--enable-*)
1525 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1526 # Reject names that are not valid shell variable names.
1527 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1528 as_fn_error $?
"invalid feature name: $ac_useropt"
1529 ac_useropt_orig
=$ac_useropt
1530 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1531 case $ac_user_opts in
1533 "enable_
$ac_useropt"
1535 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1536 ac_unrecognized_sep
=', ';;
1538 eval enable_
$ac_useropt=\
$ac_optarg ;;
1540 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1541 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1542 |
--exec |
--exe |
--ex)
1543 ac_prev
=exec_prefix
;;
1544 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1545 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1546 |
--exec=* |
--exe=* |
--ex=*)
1547 exec_prefix
=$ac_optarg ;;
1549 -gas |
--gas |
--ga |
--g)
1550 # Obsolete; use --with-gas.
1553 -help |
--help |
--hel |
--he |
-h)
1554 ac_init_help
=long
;;
1555 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1556 ac_init_help
=recursive
;;
1557 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1558 ac_init_help
=short
;;
1560 -host |
--host |
--hos |
--ho)
1561 ac_prev
=host_alias
;;
1562 -host=* |
--host=* |
--hos=* |
--ho=*)
1563 host_alias
=$ac_optarg ;;
1565 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1567 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1569 htmldir
=$ac_optarg ;;
1571 -includedir |
--includedir |
--includedi |
--included |
--include \
1572 |
--includ |
--inclu |
--incl |
--inc)
1573 ac_prev
=includedir
;;
1574 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1575 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1576 includedir
=$ac_optarg ;;
1578 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1580 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1581 infodir
=$ac_optarg ;;
1583 -libdir |
--libdir |
--libdi |
--libd)
1585 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1586 libdir
=$ac_optarg ;;
1588 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1589 |
--libexe |
--libex |
--libe)
1590 ac_prev
=libexecdir
;;
1591 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1592 |
--libexe=* |
--libex=* |
--libe=*)
1593 libexecdir
=$ac_optarg ;;
1595 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1596 ac_prev
=localedir
;;
1597 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1598 localedir
=$ac_optarg ;;
1600 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1601 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1602 ac_prev
=localstatedir
;;
1603 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1604 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1605 localstatedir
=$ac_optarg ;;
1607 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1609 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1610 mandir
=$ac_optarg ;;
1612 -nfp |
--nfp |
--nf)
1613 # Obsolete; use --without-fp.
1616 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1617 |
--no-cr |
--no-c |
-n)
1620 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1621 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1624 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1625 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1626 |
--oldin |
--oldi |
--old |
--ol |
--o)
1627 ac_prev
=oldincludedir
;;
1628 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1629 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1630 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1631 oldincludedir
=$ac_optarg ;;
1633 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1635 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1636 prefix
=$ac_optarg ;;
1638 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1639 |
--program-pre |
--program-pr |
--program-p)
1640 ac_prev
=program_prefix
;;
1641 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1642 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1643 program_prefix
=$ac_optarg ;;
1645 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1646 |
--program-suf |
--program-su |
--program-s)
1647 ac_prev
=program_suffix
;;
1648 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1649 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1650 program_suffix
=$ac_optarg ;;
1652 -program-transform-name |
--program-transform-name \
1653 |
--program-transform-nam |
--program-transform-na \
1654 |
--program-transform-n |
--program-transform- \
1655 |
--program-transform |
--program-transfor \
1656 |
--program-transfo |
--program-transf \
1657 |
--program-trans |
--program-tran \
1658 |
--progr-tra |
--program-tr |
--program-t)
1659 ac_prev
=program_transform_name
;;
1660 -program-transform-name=* |
--program-transform-name=* \
1661 |
--program-transform-nam=* |
--program-transform-na=* \
1662 |
--program-transform-n=* |
--program-transform-=* \
1663 |
--program-transform=* |
--program-transfor=* \
1664 |
--program-transfo=* |
--program-transf=* \
1665 |
--program-trans=* |
--program-tran=* \
1666 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1667 program_transform_name
=$ac_optarg ;;
1669 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1671 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1672 pdfdir
=$ac_optarg ;;
1674 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1676 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1679 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1680 |
-silent |
--silent |
--silen |
--sile |
--sil)
1683 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1685 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1687 sbindir
=$ac_optarg ;;
1689 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1690 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1691 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1693 ac_prev
=sharedstatedir
;;
1694 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1695 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1696 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1698 sharedstatedir
=$ac_optarg ;;
1700 -site |
--site |
--sit)
1702 -site=* |
--site=* |
--sit=*)
1705 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1707 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1708 srcdir
=$ac_optarg ;;
1710 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1711 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1712 ac_prev
=sysconfdir
;;
1713 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1714 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1715 sysconfdir
=$ac_optarg ;;
1717 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1718 ac_prev
=target_alias
;;
1719 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1720 target_alias
=$ac_optarg ;;
1722 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1725 -version |
--version |
--versio |
--versi |
--vers |
-V)
1726 ac_init_version
=: ;;
1729 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1730 # Reject names that are not valid shell variable names.
1731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1732 as_fn_error $?
"invalid package name: $ac_useropt"
1733 ac_useropt_orig
=$ac_useropt
1734 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1735 case $ac_user_opts in
1739 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1740 ac_unrecognized_sep
=', ';;
1742 eval with_
$ac_useropt=\
$ac_optarg ;;
1744 -without-* |
--without-*)
1745 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1746 # Reject names that are not valid shell variable names.
1747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1748 as_fn_error $?
"invalid package name: $ac_useropt"
1749 ac_useropt_orig
=$ac_useropt
1750 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1751 case $ac_user_opts in
1755 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1756 ac_unrecognized_sep
=', ';;
1758 eval with_
$ac_useropt=no
;;
1761 # Obsolete; use --with-x.
1764 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1765 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1766 ac_prev
=x_includes
;;
1767 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1768 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1769 x_includes
=$ac_optarg ;;
1771 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1772 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1773 ac_prev
=x_libraries
;;
1774 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1775 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1776 x_libraries
=$ac_optarg ;;
1778 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1779 Try \`$0 --help' for more information"
1783 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1784 # Reject names that are not valid shell variable names.
1785 case $ac_envvar in #(
1786 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1787 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1789 eval $ac_envvar=\
$ac_optarg
1790 export $ac_envvar ;;
1793 # FIXME: should be removed in autoconf 3.0.
1794 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1796 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1797 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1803 if test -n "$ac_prev"; then
1804 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1805 as_fn_error $?
"missing argument to $ac_option"
1808 if test -n "$ac_unrecognized_opts"; then
1809 case $enable_option_checking in
1811 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1812 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1816 # Check all directory arguments for consistency.
1817 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1818 datadir sysconfdir sharedstatedir localstatedir includedir \
1819 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1820 libdir localedir mandir
1822 eval ac_val
=\$
$ac_var
1823 # Remove trailing slashes.
1826 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1827 eval $ac_var=\
$ac_val;;
1829 # Be sure to have absolute directory names.
1831 [\\/$
]* | ?
:[\\/]* ) continue;;
1832 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1834 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1837 # There might be people who depend on the old broken behavior: `$host'
1838 # used to hold the argument of --host etc.
1839 # FIXME: To remove some day.
1842 target
=$target_alias
1844 # FIXME: To remove some day.
1845 if test "x$host_alias" != x
; then
1846 if test "x$build_alias" = x
; then
1847 cross_compiling
=maybe
1848 elif test "x$build_alias" != "x$host_alias"; then
1854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1856 test "$silent" = yes && exec 6>/dev
/null
1859 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1860 ac_ls_di
=`ls -di .` &&
1861 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1862 as_fn_error $?
"working directory cannot be determined"
1863 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1864 as_fn_error $?
"pwd does not report name of working directory"
1867 # Find the source files, if location was not specified.
1868 if test -z "$srcdir"; then
1869 ac_srcdir_defaulted
=yes
1870 # Try the directory containing this script, then the parent directory.
1871 ac_confdir
=`$as_dirname -- "$as_myself" ||
1872 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1873 X"$as_myself" : 'X\(//\)[^/]' \| \
1874 X"$as_myself" : 'X\(//\)$' \| \
1875 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1876 $as_echo X"$as_myself" |
1877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1895 if test ! -r "$srcdir/$ac_unique_file"; then
1899 ac_srcdir_defaulted
=no
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1902 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1903 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1905 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1907 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1909 # When building in place, set srcdir=.
1910 if test "$ac_abs_confdir" = "$ac_pwd"; then
1913 # Remove unnecessary trailing slashes from srcdir.
1914 # Double slashes in file names in object file debugging info
1915 # mess up M-x gdb in Emacs.
1917 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1919 for ac_var
in $ac_precious_vars; do
1920 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1921 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1922 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1923 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1927 # Report the --help message.
1929 if test "$ac_init_help" = "long"; then
1930 # Omit some internal or obsolete options to make the list less imposing.
1931 # This message is too long to be a string in the A/UX 3.1 sh.
1933 \`configure' configures Wine 1.7.5 to adapt to many kinds of systems.
1935 Usage: $0 [OPTION]... [VAR=VALUE]...
1937 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1938 VAR=VALUE. See below for descriptions of some of the useful variables.
1940 Defaults for the options are specified in brackets.
1943 -h, --help display this help and exit
1944 --help=short display options specific to this package
1945 --help=recursive display the short help of all the included packages
1946 -V, --version display version information and exit
1947 -q, --quiet, --silent do not print \`checking ...' messages
1948 --cache-file=FILE cache test results in FILE [disabled]
1949 -C, --config-cache alias for \`--cache-file=config.cache'
1950 -n, --no-create do not create output files
1951 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1953 Installation directories:
1954 --prefix=PREFIX install architecture-independent files in PREFIX
1955 [$ac_default_prefix]
1956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1959 By default, \`make install' will install all the files in
1960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1962 for instance \`--prefix=\$HOME'.
1964 For better control, use the options below.
1966 Fine tuning of the installation directories:
1967 --bindir=DIR user executables [EPREFIX/bin]
1968 --sbindir=DIR system admin executables [EPREFIX/sbin]
1969 --libexecdir=DIR program executables [EPREFIX/libexec]
1970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1973 --libdir=DIR object code libraries [EPREFIX/lib]
1974 --includedir=DIR C header files [PREFIX/include]
1975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1976 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1977 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1978 --infodir=DIR info documentation [DATAROOTDIR/info]
1979 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1980 --mandir=DIR man documentation [DATAROOTDIR/man]
1981 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1982 --htmldir=DIR html documentation [DOCDIR]
1983 --dvidir=DIR dvi documentation [DOCDIR]
1984 --pdfdir=DIR pdf documentation [DOCDIR]
1985 --psdir=DIR ps documentation [DOCDIR]
1991 --x-includes=DIR X include files are
in DIR
1992 --x-libraries=DIR X library files are
in DIR
1995 --build=BUILD configure
for building on BUILD
[guessed
]
1996 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2000 if test -n "$ac_init_help"; then
2001 case $ac_init_help in
2002 short | recursive
) echo "Configuration of Wine 1.7.5:";;
2007 --disable-option-checking ignore unrecognized
--enable/--with options
2008 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2009 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2010 --disable-win16 do not include Win16 support
2011 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2013 --disable-tests do not build the regression tests
2014 --enable-maintainer-mode
2015 enable maintainer-specific build rules
2016 --disable-largefile omit support for large files
2019 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2020 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2021 --without-alsa do not use the Alsa sound support
2022 --without-capi do not use CAPI (ISDN support)
2023 --without-cms do not use CMS (color management support)
2024 --without-coreaudio do not use the CoreAudio sound support
2025 --without-cups do not use CUPS
2026 --without-curses do not use (n)curses
2027 --without-dbus do not use DBus (dynamic device support)
2028 --without-fontconfig do not use fontconfig
2029 --without-freetype do not use the FreeType library
2030 --without-gettext do not use gettext
2031 --with-gettextpo use the GetTextPO library to rebuild po files
2032 --without-gphoto do not use gphoto (Digital Camera support)
2033 --without-glu do not use the GLU library
2034 --without-gnutls do not use GnuTLS (schannel support)
2035 --without-gsm do not use libgsm (GSM 06.10 codec support)
2036 --without-gstreamer do not use GStreamer (codecs support)
2037 --without-hal do not use HAL (dynamic device support)
2038 --without-jpeg do not use JPEG
2039 --without-ldap do not use LDAP
2040 --without-mpg123 do not use the mpg123 library
2041 --without-openal do not use OpenAL
2042 --without-opencl do not use OpenCL
2043 --without-opengl do not use OpenGL
2044 --without-osmesa do not use the OSMesa library
2045 --without-oss do not use the OSS sound support
2046 --without-png do not use PNG
2047 --without-pthread do not use the pthread library
2048 --without-sane do not use SANE (scanner support)
2049 --without-tiff do not use TIFF
2050 --without-v4l do not use v4l1 (v4l support)
2051 --without-xcomposite do not use the Xcomposite extension
2052 --without-xcursor do not use the Xcursor extension
2053 --without-xinerama do not use Xinerama (multi-monitor support)
2054 --without-xinput do not use the Xinput extension
2055 --without-xinput2 do not use the Xinput 2 extension
2056 --without-xml do not use XML
2057 --without-xrandr do not use Xrandr (resolution changes)
2058 --without-xrender do not use the Xrender extension
2059 --without-xshape do not use the Xshape extension
2060 --without-xshm do not use XShm (shared memory extension)
2061 --without-xslt do not use XSLT
2062 --without-xxf86vm do not use XFree video mode extension
2063 --without-zlib do not use Zlib (data compression)
2064 --with-wine-tools=DIR use Wine tools from directory DIR
2065 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2066 --with-x use the X Window System
2068 Some influential environment variables:
2069 CC C compiler command
2070 CFLAGS C compiler flags
2071 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2072 nonstandard directory <lib dir>
2073 LIBS libraries to pass to the linker, e.g. -l<library>
2074 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2075 you have headers in a nonstandard directory <include dir>
2076 CXX C++ compiler command
2077 CXXFLAGS C++ compiler flags
2079 XMKMF Path to xmkmf, Makefile generator for X Window System
2080 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2081 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2082 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2083 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2084 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2085 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2086 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2087 HAL_LIBS Linker flags for hal, overriding pkg-config
2089 C compiler flags for gnutls, overriding pkg-config
2090 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2091 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2092 SANE_LIBS Linker flags for libsane, overriding pkg-config
2094 C compiler flags for libgphoto2, overriding pkg-config
2096 Linker flags for libgphoto2, overriding pkg-config
2098 C compiler flags for libgphoto2_port, overriding pkg-config
2100 Linker flags for libgphoto2_port, overriding pkg-config
2102 C compiler flags for lcms2, overriding pkg-config
2103 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2105 C compiler flags for freetype2, overriding pkg-config
2107 Linker flags for freetype2, overriding pkg-config
2109 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2111 Linker flags for gstreamer-app-0.10, overriding pkg-config
2113 C compiler flags for capi20, overriding pkg-config
2114 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2115 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2116 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2117 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2118 PNG_LIBS Linker flags for libpng, overriding pkg-config
2119 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2120 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2122 C compiler flags for libmpg123, overriding pkg-config
2123 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2125 Use these variables to override the choices made by `configure' or to
help
2126 it to
find libraries and programs with nonstandard names
/locations.
2128 Report bugs to
<wine-devel@winehq.org
>.
2129 Wine home page
: <http
://www.winehq.org
>.
2134 if test "$ac_init_help" = "recursive"; then
2135 # If there are subdirs, report their specific --help.
2136 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2137 test -d "$ac_dir" ||
2138 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2143 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2145 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2146 # A ".." for each directory in $ac_dir_suffix.
2147 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2148 case $ac_top_builddir_sub in
2149 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2150 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2153 ac_abs_top_builddir
=$ac_pwd
2154 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2155 # for backward compatibility:
2156 ac_top_builddir
=$ac_top_build_prefix
2159 .
) # We are building in place.
2161 ac_top_srcdir
=$ac_top_builddir_sub
2162 ac_abs_top_srcdir
=$ac_pwd ;;
2163 [\\/]* | ?
:[\\/]* ) # Absolute name.
2164 ac_srcdir
=$srcdir$ac_dir_suffix;
2165 ac_top_srcdir
=$srcdir
2166 ac_abs_top_srcdir
=$srcdir ;;
2168 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2169 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2170 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2172 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2174 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2175 # Check for guested configure.
2176 if test -f "$ac_srcdir/configure.gnu"; then
2178 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2179 elif test -f "$ac_srcdir/configure"; then
2181 $SHELL "$ac_srcdir/configure" --help=recursive
2183 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2185 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2189 test -n "$ac_init_help" && exit $ac_status
2190 if $ac_init_version; then
2192 Wine configure
1.7.5
2193 generated by GNU Autoconf
2.69
2195 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2196 This configure
script is free software
; the Free Software Foundation
2197 gives unlimited permission to copy
, distribute and modify it.
2202 ## ------------------------ ##
2203 ## Autoconf initialization. ##
2204 ## ------------------------ ##
2206 # ac_fn_c_try_compile LINENO
2207 # --------------------------
2208 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_c_try_compile
()
2211 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2212 rm -f conftest.
$ac_objext
2213 if { { ac_try
="$ac_compile"
2215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_compile") 2>conftest.err
2222 if test -s conftest.err; then
2223 grep -v '^ *+' conftest.err >conftest.er1
2224 cat conftest.er1 >&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_c_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest.$ac_objext; then :
2234 $as_echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 as_fn_set_status $ac_retval
2242 } # ac_fn_c_try_compile
2244 # ac_fn_cxx_try_compile LINENO
2245 # ----------------------------
2246 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2247 ac_fn_cxx_try_compile ()
2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250 rm -f conftest.$ac_objext
2251 if { { ac_try="$ac_compile"
2253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2254 *) ac_try_echo
=$ac_try;;
2256 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257 $as_echo "$ac_try_echo"; } >&5
2258 (eval "$ac_compile") 2>conftest.err
2260 if test -s conftest.err
; then
2261 grep -v '^ *+' conftest.err
>conftest.er1
2262 cat conftest.er1
>&5
2263 mv -f conftest.er1 conftest.err
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; } && {
2267 test -z "$ac_cxx_werror_flag" ||
2268 test ! -s conftest.err
2269 } && test -s conftest.
$ac_objext; then :
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.
$ac_ext >&5
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 as_fn_set_status
$ac_retval
2280 } # ac_fn_cxx_try_compile
2282 # ac_fn_c_try_link LINENO
2283 # -----------------------
2284 # Try to link conftest.$ac_ext, and return whether this succeeded.
2287 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2288 rm -f conftest.
$ac_objext conftest
$ac_exeext
2289 if { { ac_try
="$ac_link"
2291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_link") 2>conftest.err
2298 if test -s conftest.err; then
2299 grep -v '^ *+' conftest.err >conftest.er1
2300 cat conftest.er1 >&5
2301 mv -f conftest.er1 conftest.err
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && {
2305 test -z "$ac_c_werror_flag" ||
2306 test ! -s conftest.err
2307 } && test -s conftest$ac_exeext && {
2308 test "$cross_compiling" = yes ||
2309 test -x conftest$ac_exeext
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2318 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2319 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2320 # interfere with the next link command; also delete a directory that is
2321 # left behind by Apple's compiler. We do this before executing the actions.
2322 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_link
2328 # ac_fn_c_try_cpp LINENO
2329 # ----------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if { { ac_try="$ac_cpp conftest.$ac_ext"
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2343 if test -s conftest.err
; then
2344 grep -v '^ *+' conftest.err
>conftest.er1
2345 cat conftest.er1
>&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } > conftest.i
&& {
2350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.
$ac_ext >&5
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 as_fn_set_status
$ac_retval
2365 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2366 # -------------------------------------------------------
2367 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2368 # the include files in INCLUDES and setting the cache variable VAR
2370 ac_fn_c_check_header_mongrel
()
2372 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2373 if eval \
${$3+:} false
; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2375 $as_echo_n "checking for $2... " >&6; }
2376 if eval \
${$3+:} false
; then :
2377 $as_echo_n "(cached) " >&6
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2383 # Is the header compilable?
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2385 $as_echo_n "checking $2 usability... " >&6; }
2386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2391 if ac_fn_c_try_compile
"$LINENO"; then :
2392 ac_header_compiler
=yes
2394 ac_header_compiler
=no
2396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2398 $as_echo "$ac_header_compiler" >&6; }
2400 # Is the header present?
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2402 $as_echo_n "checking $2 presence... " >&6; }
2403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2407 if ac_fn_c_try_cpp
"$LINENO"; then :
2408 ac_header_preproc
=yes
2410 ac_header_preproc
=no
2412 rm -f conftest.err conftest.i conftest.
$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2414 $as_echo "$ac_header_preproc" >&6; }
2416 # So? What about this header?
2417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2420 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2422 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2426 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2428 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2430 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2432 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2435 ( $as_echo "## ------------------------------------ ##
2436 ## Report this to wine-devel@winehq.org ##
2437 ## ------------------------------------ ##"
2438 ) |
sed "s/^/$as_me: WARNING: /" >&2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2442 $as_echo_n "checking for $2... " >&6; }
2443 if eval \
${$3+:} false
; then :
2444 $as_echo_n "(cached) " >&6
2446 eval "$3=\$ac_header_compiler"
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 } # ac_fn_c_check_header_mongrel
2456 # ac_fn_c_try_run LINENO
2457 # ----------------------
2458 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2459 # that executables *can* be run.
2462 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2463 if { { ac_try
="$ac_link"
2465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_link") 2>&5
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2474 { { case "(($ac_try" in
2475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2476 *) ac_try_echo
=$ac_try;;
2478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_try") 2>&5
2482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483 test $ac_status = 0; }; }; then :
2486 $as_echo "$as_me: program exited with status $ac_status" >&5
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.
$ac_ext >&5
2490 ac_retval
=$ac_status
2492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status
$ac_retval
2498 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2499 # -------------------------------------------------------
2500 # Tests whether HEADER exists and can be compiled using the include files in
2501 # INCLUDES, setting the cache variable VAR accordingly.
2502 ac_fn_c_check_header_compile
()
2504 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \
${$3+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2515 if ac_fn_c_try_compile
"$LINENO"; then :
2520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2524 $as_echo "$ac_res" >&6; }
2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 } # ac_fn_c_check_header_compile
2529 # ac_fn_c_check_func LINENO FUNC VAR
2530 # ----------------------------------
2531 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2532 ac_fn_c_check_func
()
2534 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \
${$3+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2541 /* end confdefs.h. */
2542 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2544 #define $2 innocuous_$2
2546 /* System header to define __stub macros and hopefully few prototypes,
2547 which can conflict with char $2 (); below.
2548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2549 <limits.h> exists even on freestanding compilers. */
2552 # include <limits.h>
2554 # include <assert.h>
2559 /* Override any GCC internal prototype to avoid an error.
2560 Use char because int might match the return type of a GCC
2561 builtin and then its argument prototype would still apply. */
2566 /* The GNU C library defines this for functions which it implements
2567 to always fail with ENOSYS. Some functions are actually named
2568 something starting with __ and the normal name is an alias. */
2569 #if defined __stub_$2 || defined __stub___$2
2581 if ac_fn_c_try_link
"$LINENO"; then :
2586 rm -f core conftest.err conftest.
$ac_objext \
2587 conftest
$ac_exeext conftest.
$ac_ext
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 } # ac_fn_c_check_func
2596 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2597 # ----------------------------------------------------
2598 # Tries to find if the field MEMBER exists in type AGGR, after including
2599 # INCLUDES, setting cache variable VAR accordingly.
2600 ac_fn_c_check_member
()
2602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2604 $as_echo_n "checking for $2.$3... " >&6; }
2605 if eval \
${$4+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2621 if ac_fn_c_try_compile
"$LINENO"; then :
2624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2631 if (sizeof ac_aggr.$3)
2637 if ac_fn_c_try_compile
"$LINENO"; then :
2642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 } # ac_fn_c_check_member
2653 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2654 # -------------------------------------------
2655 # Tests whether TYPE exists after having included INCLUDES, setting cache
2656 # variable VAR accordingly.
2657 ac_fn_c_check_type
()
2659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \
${$3+:} false
; then :
2663 $as_echo_n "(cached) " >&6
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2678 if ac_fn_c_try_compile
"$LINENO"; then :
2679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2691 if ac_fn_c_try_compile
"$LINENO"; then :
2696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2702 $as_echo "$ac_res" >&6; }
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 } # ac_fn_c_check_type
2706 cat >config.log
<<_ACEOF
2707 This file contains any messages produced by compilers while
2708 running configure, to aid debugging if configure makes a mistake.
2710 It was created by Wine $as_me 1.7.5, which was
2711 generated by GNU Autoconf 2.69. Invocation command line was
2723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2724 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2725 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2726 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2727 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2729 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2730 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2732 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2733 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2734 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2735 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2736 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2737 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2738 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 $as_echo "PATH: $as_dir"
2763 # Keep a trace of the command line.
2764 # Strip out --no-create and --no-recursion so they do not pile up.
2765 # Strip out --silent because we don't want to record it for future runs.
2766 # Also quote any args containing shell meta-characters.
2767 # Make two passes to allow for proper duplicate-argument suppression.
2771 ac_must_keep_next
=false
2777 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2778 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2779 |
-silent |
--silent |
--silen |
--sile |
--sil)
2782 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2785 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2787 as_fn_append ac_configure_args1
" '$ac_arg'"
2788 if test $ac_must_keep_next = true
; then
2789 ac_must_keep_next
=false
# Got value, back to normal.
2792 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2793 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2794 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2795 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2796 case "$ac_configure_args0 " in
2797 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2800 -* ) ac_must_keep_next
=true
;;
2803 as_fn_append ac_configure_args
" '$ac_arg'"
2808 { ac_configure_args0
=; unset ac_configure_args0
;}
2809 { ac_configure_args1
=; unset ac_configure_args1
;}
2811 # When interrupted or exit'd, cleanup temporary files, and complete
2812 # config.log. We remove comments because anyway the quotes in there
2813 # would cause problems or look ugly.
2814 # WARNING: Use '\'' to represent an apostrophe within the trap.
2815 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2816 trap 'exit_status=$?
2817 # Save into config.log some information that might help in debugging.
2821 $as_echo "## ---------------- ##
2822 ## Cache variables. ##
2823 ## ---------------- ##"
2825 # The following way of writing the cache mishandles newlines in values,
2827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2828 eval ac_val=\$$ac_var
2832 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2836 _ | IFS | as_nl) ;; #(
2837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2838 *) { eval $ac_var=; unset $ac_var;} ;;
2843 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2844 *${as_nl}ac_space=\ *)
2846 "s/'\''/'\''\\\\'\'''\''/g;
2847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2857 $as_echo "## ----------------- ##
2858 ## Output variables. ##
2859 ## ----------------- ##"
2861 for ac_var in $ac_subst_vars
2863 eval ac_val=\$$ac_var
2865 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2867 $as_echo "$ac_var='\''$ac_val'\''"
2871 if test -n "$ac_subst_files"; then
2872 $as_echo "## ------------------- ##
2873 ## File substitutions. ##
2874 ## ------------------- ##"
2876 for ac_var
in $ac_subst_files
2878 eval ac_val
=\$
$ac_var
2880 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2882 $as_echo "$ac_var='\''$ac_val'\''"
2887 if test -s confdefs.h; then
2888 $as_echo "## ----------- ##
2895 test "$ac_signal" != 0 &&
2896 $as_echo "$as_me: caught signal $ac_signal"
2897 $as_echo "$as_me: exit $exit_status"
2899 rm -f core *.core core.conftest.* &&
2900 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2903 for ac_signal
in 1 2 13 15; do
2904 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2909 rm -f -r conftest
* confdefs.h
2911 $as_echo "/* confdefs.h */" > confdefs.h
2913 # Predefined preprocessor variables.
2915 cat >>confdefs.h
<<_ACEOF
2916 #define PACKAGE_NAME "$PACKAGE_NAME"
2919 cat >>confdefs.h
<<_ACEOF
2920 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2923 cat >>confdefs.h
<<_ACEOF
2924 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2927 cat >>confdefs.h
<<_ACEOF
2928 #define PACKAGE_STRING "$PACKAGE_STRING"
2931 cat >>confdefs.h
<<_ACEOF
2932 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2935 cat >>confdefs.h
<<_ACEOF
2936 #define PACKAGE_URL "$PACKAGE_URL"
2940 # Let the site file select an alternate cache file if it wants to.
2941 # Prefer an explicitly selected file to automatically selected ones.
2944 if test -n "$CONFIG_SITE"; then
2945 # We do not want a PATH search for config.site.
2946 case $CONFIG_SITE in #((
2947 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2948 */*) ac_site_file1
=$CONFIG_SITE;;
2949 *) ac_site_file1
=.
/$CONFIG_SITE;;
2951 elif test "x$prefix" != xNONE
; then
2952 ac_site_file1
=$prefix/share
/config.site
2953 ac_site_file2
=$prefix/etc
/config.site
2955 ac_site_file1
=$ac_default_prefix/share
/config.site
2956 ac_site_file2
=$ac_default_prefix/etc
/config.site
2958 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2960 test "x$ac_site_file" = xNONE
&& continue
2961 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2963 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2964 sed 's/^/| /' "$ac_site_file" >&5
2966 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $?
"failed to load site script $ac_site_file
2969 See \`config.log' for more details" "$LINENO" 5; }
2973 if test -r "$cache_file"; then
2974 # Some versions of bash will fail to source /dev/null (special files
2975 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2976 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2978 $as_echo "$as_me: loading cache $cache_file" >&6;}
2980 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2981 *) .
"./$cache_file";;
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2986 $as_echo "$as_me: creating cache $cache_file" >&6;}
2990 # Check that the precious variables saved in the cache have kept the same
2992 ac_cache_corrupted
=false
2993 for ac_var
in $ac_precious_vars; do
2994 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2995 eval ac_new_set
=\
$ac_env_${ac_var}_set
2996 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2997 eval ac_new_val
=\
$ac_env_${ac_var}_value
2998 case $ac_old_set,$ac_new_set in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3002 ac_cache_corrupted
=: ;;
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3006 ac_cache_corrupted
=: ;;
3009 if test "x$ac_old_val" != "x$ac_new_val"; then
3010 # differences in whitespace do not lead to failure.
3011 ac_old_val_w
=`echo x $ac_old_val`
3012 ac_new_val_w
=`echo x $ac_new_val`
3013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3016 ac_cache_corrupted
=:
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3020 eval $ac_var=\
$ac_old_val
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3028 # Pass precious variables to config.status.
3029 if test "$ac_new_set" = set; then
3031 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3032 *) ac_arg
=$ac_var=$ac_new_val ;;
3034 case " $ac_configure_args " in
3035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3036 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3040 if $ac_cache_corrupted; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3045 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3047 ## -------------------- ##
3048 ## Main body of script. ##
3049 ## -------------------- ##
3052 ac_cpp
='$CPP $CPPFLAGS'
3053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3059 ac_config_headers
="$ac_config_headers include/config.h"
3062 for ac_dir
in tools
"$srcdir"/tools
; do
3063 if test -f "$ac_dir/install-sh"; then
3065 ac_install_sh
="$ac_aux_dir/install-sh -c"
3067 elif test -f "$ac_dir/install.sh"; then
3069 ac_install_sh
="$ac_aux_dir/install.sh -c"
3071 elif test -f "$ac_dir/shtool"; then
3073 ac_install_sh
="$ac_aux_dir/shtool install -c"
3077 if test -z "$ac_aux_dir"; then
3078 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3081 # These three variables are undocumented and unsupported,
3082 # and are intended to be withdrawn in a future Autoconf release.
3083 # They can cause serious problems if a builder's source tree is in a directory
3084 # whose full name contains unusual characters.
3085 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3086 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3087 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3093 # Check whether --enable-win16 was given.
3094 if test "${enable_win16+set}" = set; then :
3095 enableval
=$enable_win16;
3098 # Check whether --enable-win64 was given.
3099 if test "${enable_win64+set}" = set; then :
3100 enableval
=$enable_win64;
3103 # Check whether --enable-tests was given.
3104 if test "${enable_tests+set}" = set; then :
3105 enableval
=$enable_tests;
3108 # Check whether --enable-maintainer-mode was given.
3109 if test "${enable_maintainer_mode+set}" = set; then :
3110 enableval
=$enable_maintainer_mode;
3115 # Check whether --with-alsa was given.
3116 if test "${with_alsa+set}" = set; then :
3117 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3121 # Check whether --with-capi was given.
3122 if test "${with_capi+set}" = set; then :
3127 # Check whether --with-cms was given.
3128 if test "${with_cms+set}" = set; then :
3133 # Check whether --with-coreaudio was given.
3134 if test "${with_coreaudio+set}" = set; then :
3135 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3139 # Check whether --with-cups was given.
3140 if test "${with_cups+set}" = set; then :
3145 # Check whether --with-curses was given.
3146 if test "${with_curses+set}" = set; then :
3147 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3151 # Check whether --with-dbus was given.
3152 if test "${with_dbus+set}" = set; then :
3157 # Check whether --with-fontconfig was given.
3158 if test "${with_fontconfig+set}" = set; then :
3159 withval
=$with_fontconfig;
3163 # Check whether --with-freetype was given.
3164 if test "${with_freetype+set}" = set; then :
3165 withval
=$with_freetype;
3169 # Check whether --with-gettext was given.
3170 if test "${with_gettext+set}" = set; then :
3171 withval
=$with_gettext;
3175 # Check whether --with-gettextpo was given.
3176 if test "${with_gettextpo+set}" = set; then :
3177 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3181 # Check whether --with-gphoto was given.
3182 if test "${with_gphoto+set}" = set; then :
3183 withval
=$with_gphoto;
3187 # Check whether --with-glu was given.
3188 if test "${with_glu+set}" = set; then :
3193 # Check whether --with-gnutls was given.
3194 if test "${with_gnutls+set}" = set; then :
3195 withval
=$with_gnutls;
3199 # Check whether --with-gsm was given.
3200 if test "${with_gsm+set}" = set; then :
3201 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3205 # Check whether --with-gstreamer was given.
3206 if test "${with_gstreamer+set}" = set; then :
3207 withval
=$with_gstreamer;
3211 # Check whether --with-hal was given.
3212 if test "${with_hal+set}" = set; then :
3217 # Check whether --with-jpeg was given.
3218 if test "${with_jpeg+set}" = set; then :
3223 # Check whether --with-ldap was given.
3224 if test "${with_ldap+set}" = set; then :
3225 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3229 # Check whether --with-mpg123 was given.
3230 if test "${with_mpg123+set}" = set; then :
3231 withval
=$with_mpg123;
3235 # Check whether --with-openal was given.
3236 if test "${with_openal+set}" = set; then :
3237 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3241 # Check whether --with-opencl was given.
3242 if test "${with_opencl+set}" = set; then :
3243 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3247 # Check whether --with-opengl was given.
3248 if test "${with_opengl+set}" = set; then :
3249 withval
=$with_opengl;
3253 # Check whether --with-osmesa was given.
3254 if test "${with_osmesa+set}" = set; then :
3255 withval
=$with_osmesa;
3259 # Check whether --with-oss was given.
3260 if test "${with_oss+set}" = set; then :
3265 # Check whether --with-png was given.
3266 if test "${with_png+set}" = set; then :
3271 # Check whether --with-pthread was given.
3272 if test "${with_pthread+set}" = set; then :
3273 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3277 # Check whether --with-sane was given.
3278 if test "${with_sane+set}" = set; then :
3283 # Check whether --with-tiff was given.
3284 if test "${with_tiff+set}" = set; then :
3289 # Check whether --with-v4l was given.
3290 if test "${with_v4l+set}" = set; then :
3295 # Check whether --with-xcomposite was given.
3296 if test "${with_xcomposite+set}" = set; then :
3297 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3301 # Check whether --with-xcursor was given.
3302 if test "${with_xcursor+set}" = set; then :
3303 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3307 # Check whether --with-xinerama was given.
3308 if test "${with_xinerama+set}" = set; then :
3309 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3313 # Check whether --with-xinput was given.
3314 if test "${with_xinput+set}" = set; then :
3315 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3319 # Check whether --with-xinput2 was given.
3320 if test "${with_xinput2+set}" = set; then :
3321 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3325 # Check whether --with-xml was given.
3326 if test "${with_xml+set}" = set; then :
3331 # Check whether --with-xrandr was given.
3332 if test "${with_xrandr+set}" = set; then :
3333 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3337 # Check whether --with-xrender was given.
3338 if test "${with_xrender+set}" = set; then :
3339 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3343 # Check whether --with-xshape was given.
3344 if test "${with_xshape+set}" = set; then :
3345 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3349 # Check whether --with-xshm was given.
3350 if test "${with_xshm+set}" = set; then :
3351 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3355 # Check whether --with-xslt was given.
3356 if test "${with_xslt+set}" = set; then :
3361 # Check whether --with-xxf86vm was given.
3362 if test "${with_xxf86vm+set}" = set; then :
3363 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
3367 # Check whether --with-zlib was given.
3368 if test "${with_zlib+set}" = set; then :
3369 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3374 # Check whether --with-wine-tools was given.
3375 if test "${with_wine_tools+set}" = set; then :
3376 withval
=$with_wine_tools;
3380 # Check whether --with-wine64 was given.
3381 if test "${with_wine64+set}" = set; then :
3382 withval
=$with_wine64;
3386 # Make sure we can run config.sub.
3387 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3388 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3391 $as_echo_n "checking build system type... " >&6; }
3392 if ${ac_cv_build+:} false
; then :
3393 $as_echo_n "(cached) " >&6
3395 ac_build_alias
=$build_alias
3396 test "x$ac_build_alias" = x
&&
3397 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3398 test "x$ac_build_alias" = x
&&
3399 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3400 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3401 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3405 $as_echo "$ac_cv_build" >&6; }
3406 case $ac_cv_build in
3408 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3411 ac_save_IFS
=$IFS; IFS
='-'
3417 # Remember, the first character of IFS is used to create $*,
3418 # except with old shells:
3421 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3425 $as_echo_n "checking host system type... " >&6; }
3426 if ${ac_cv_host+:} false
; then :
3427 $as_echo_n "(cached) " >&6
3429 if test "x$host_alias" = x
; then
3430 ac_cv_host
=$ac_cv_build
3432 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3433 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3438 $as_echo "$ac_cv_host" >&6; }
3441 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3444 ac_save_IFS
=$IFS; IFS
='-'
3450 # Remember, the first character of IFS is used to create $*,
3451 # except with old shells:
3454 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3460 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3461 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3462 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3468 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3470 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3471 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3472 $as_echo_n "(cached) " >&6
3474 cat >conftest.
make <<\_ACEOF
3477 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3479 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3480 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3482 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3484 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3488 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 $as_echo "yes" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 SET_MAKE
="MAKE=${MAKE-make}"
3499 ac_cpp
='$CPP $CPPFLAGS'
3500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3503 if test -n "$ac_tool_prefix"; then
3504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3505 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if ${ac_cv_prog_CC+:} false
; then :
3509 $as_echo_n "(cached) " >&6
3511 if test -n "$CC"; then
3512 ac_cv_prog_CC
="$CC" # Let the user override the test.
3514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir
=.
3519 for ac_exec_ext
in '' $ac_executable_extensions; do
3520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3521 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 if test -n "$CC"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3534 $as_echo "$CC" >&6; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3542 if test -z "$ac_cv_prog_CC"; then
3544 # Extract the first word of "gcc", so it can be a program name with args.
3545 set dummy gcc
; ac_word
=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3549 $as_echo_n "(cached) " >&6
3551 if test -n "$ac_ct_CC"; then
3552 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir
=.
3559 for ac_exec_ext
in '' $ac_executable_extensions; do
3560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_ac_ct_CC
="gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3572 if test -n "$ac_ct_CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3574 $as_echo "$ac_ct_CC" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3580 if test "x$ac_ct_CC" = x
; then
3583 case $cross_compiling:$ac_tool_warned in
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned
=yes ;;
3595 if test -z "$CC"; then
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3598 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_CC+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC
="$CC" # Let the user override the test.
3607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir
=.
3612 for ac_exec_ext
in '' $ac_executable_extensions; do
3613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 if test -n "$CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3627 $as_echo "$CC" >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3636 if test -z "$CC"; then
3637 # Extract the first word of "cc", so it can be a program name with args.
3638 set dummy cc
; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC
="$CC" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3655 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3656 ac_prog_rejected
=yes
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 if test $ac_prog_rejected = yes; then
3668 # We found a bogon in the path, so make sure we never use it.
3669 set dummy
$ac_cv_prog_CC
3671 if test $# != 0; then
3672 # We chose a different compiler from the bogus one.
3673 # However, it has the same basename, so the bogon will be chosen
3674 # first if we set CC to just the basename; use the full file name.
3676 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 for ac_prog
in cl.exe
3696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3697 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC
="$CC" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3733 test -n "$CC" && break
3736 if test -z "$CC"; then
3738 for ac_prog
in cl.exe
3740 # Extract the first word of "$ac_prog", so it can be a program name with args.
3741 set dummy
$ac_prog; ac_word
=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$ac_ct_CC"; then
3748 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_ac_ct_CC
="$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3768 if test -n "$ac_ct_CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3770 $as_echo "$ac_ct_CC" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$ac_ct_CC" && break
3780 if test "x$ac_ct_CC" = x
; then
3783 case $cross_compiling:$ac_tool_warned in
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned
=yes ;;
3796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798 as_fn_error $?
"no acceptable C compiler found in \$PATH
3799 See \`config.log' for more details" "$LINENO" 5; }
3801 # Provide some information about the compiler.
3802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3805 for ac_option
in --version -v -V -qversion; do
3806 { { ac_try
="$ac_compiler $ac_option >&5"
3808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 $as_echo "$ac_try_echo"; } >&5
3813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3815 if test -s conftest.err; then
3817 ... rest of stderr output deleted ...
3818 10q' conftest.err >conftest.er1
3819 cat conftest.er1 >&5
3821 rm -f conftest.er1 conftest.err
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3837 ac_clean_files_save=$ac_clean_files
3838 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3839 # Try to create an executable without -o first, disregard a.out.
3840 # It will help us diagnose broken compilers, and finding out an intuition
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3843 $as_echo_n "checking whether the C compiler works... " >&6; }
3844 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3846 # The possible output files:
3847 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3850 for ac_file in $ac_files
3853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3854 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3859 if { { ac_try="$ac_link_default"
3861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3862 *) ac_try_echo
=$ac_try;;
3864 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_link_default") 2>&5
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }; then :
3870 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3871 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3872 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3873 # so that the user can short-circuit this test for compilers unknown to
3875 for ac_file
in $ac_files ''
3877 test -f "$ac_file" ||
continue
3879 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3882 # We found the default executable, but exeext='' is most
3886 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3888 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 # We set ac_cv_exeext here because the later test for it is not
3891 # safe: cross compilers may not add the suffix if given an `-o'
3892 # argument, so we may need to know it at that point already.
3893 # Even if this section looks crufty: it has the advantage of
3900 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3905 if test -z "$ac_file"; then :
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3908 $as_echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.
$ac_ext >&5
3911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913 as_fn_error
77 "C compiler cannot create executables
3914 See \`config.log' for more details" "$LINENO" 5; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3917 $as_echo "yes" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3922 $as_echo "$ac_file" >&6; }
3923 ac_exeext
=$ac_cv_exeext
3925 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3926 ac_clean_files
=$ac_clean_files_save
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3928 $as_echo_n "checking for suffix of executables... " >&6; }
3929 if { { ac_try
="$ac_link"
3931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link") 2>&5
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3941 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3942 # work properly (i.e., refer to `conftest.exe'), while it won't with
3944 for ac_file
in conftest.exe conftest conftest.
*; do
3945 test -f "$ac_file" ||
continue
3947 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3948 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3957 See \`config.log' for more details" "$LINENO" 5; }
3959 rm -f conftest conftest
$ac_cv_exeext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3961 $as_echo "$ac_cv_exeext" >&6; }
3963 rm -f conftest.
$ac_ext
3964 EXEEXT
=$ac_cv_exeext
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3972 FILE *f = fopen ("conftest.out", "w");
3973 return ferror (f) || fclose (f) != 0;
3979 ac_clean_files
="$ac_clean_files conftest.out"
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3983 $as_echo_n "checking whether we are cross compiling... " >&6; }
3984 if test "$cross_compiling" != yes; then
3985 { { ac_try
="$ac_link"
3987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link") 2>&5
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }
3996 if { ac_try='./conftest$ac_cv_exeext'
3997 { { case "(($ac_try" in
3998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3999 *) ac_try_echo
=$ac_try;;
4001 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_try") 2>&5
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }; }; then
4009 if test "$cross_compiling" = maybe
; then
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $?
"cannot run C compiled programs.
4015 If you meant to cross compile, use \`--host'.
4016 See \`config.log' for more details" "$LINENO" 5; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4021 $as_echo "$cross_compiling" >&6; }
4023 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4024 ac_clean_files
=$ac_clean_files_save
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4026 $as_echo_n "checking for suffix of object files... " >&6; }
4027 if ${ac_cv_objext+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4041 rm -f conftest.o conftest.obj
4042 if { { ac_try
="$ac_compile"
4044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_compile") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 for ac_file in conftest.o conftest.obj conftest.*; do
4054 test -f "$ac_file" || continue;
4056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4062 $as_echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4068 See \
`config.log' for more details" "$LINENO" 5; }
4070 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4073 $as_echo "$ac_cv_objext" >&6; }
4074 OBJEXT=$ac_cv_objext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4077 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4078 if ${ac_cv_c_compiler_gnu+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4095 if ac_fn_c_try_compile "$LINENO"; then :
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4105 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4106 if test $ac_compiler_gnu = yes; then
4111 ac_test_CFLAGS=${CFLAGS+set}
4112 ac_save_CFLAGS=$CFLAGS
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4114 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4115 if ${ac_cv_prog_cc_g+:} false; then :
4116 $as_echo_n "(cached) " >&6
4118 ac_save_c_werror_flag=$ac_c_werror_flag
4119 ac_c_werror_flag=yes
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4133 if ac_fn_c_try_compile "$LINENO"; then :
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4148 if ac_fn_c_try_compile "$LINENO"; then :
4151 ac_c_werror_flag=$ac_save_c_werror_flag
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_c_werror_flag=$ac_save_c_werror_flag
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4175 $as_echo "$ac_cv_prog_cc_g" >&6; }
4176 if test "$ac_test_CFLAGS" = set; then
4177 CFLAGS=$ac_save_CFLAGS
4178 elif test $ac_cv_prog_cc_g = yes; then
4179 if test "$GCC" = yes; then
4185 if test "$GCC" = yes; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4192 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4193 if ${ac_cv_prog_cc_c89+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 ac_cv_prog_cc_c89=no
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4204 struct buf { int x; };
4205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4206 static char *e (p, i)
4212 static char *f (char * (*g) (char **, int), char **p, ...)
4217 s = g (p, va_arg (v,int));
4222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4223 function prototypes and stuff, but not '\xHH' hex character constants.
4224 These don't provoke an error unfortunately, instead are silently treated
4225 as 'x'. The following induces an error, until -std is added to get
4226 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4227 array size at least. It's necessary to write '\x00'==0 to get something
4228 that's true only with -std. */
4229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4231 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4232 inside strings and character constants. */
4234 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4236 int test (int i, double x);
4237 struct s1 {int (*f) (int a);};
4238 struct s2 {int (*f) (double a);};
4239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4245 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4250 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4251 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4253 CC="$ac_save_CC $ac_arg"
4254 if ac_fn_c_try_compile "$LINENO"; then :
4255 ac_cv_prog_cc_c89=$ac_arg
4257 rm -f core conftest.err conftest.$ac_objext
4258 test "x$ac_cv_prog_cc_c89" != "xno" && break
4260 rm -f conftest.$ac_ext
4265 case "x$ac_cv_prog_cc_c89" in
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4268 $as_echo "none needed" >&6; } ;;
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4271 $as_echo "unsupported" >&6; } ;;
4273 CC="$CC $ac_cv_prog_cc_c89"
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4275 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4277 if test "x$ac_cv_prog_cc_c89" != xno; then :
4282 ac_cpp='$CPP $CPPFLAGS'
4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4288 ac_cpp='$CXXCPP $CPPFLAGS'
4289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4292 if test -z "$CXX"; then
4293 if test -n "$CCC"; then
4296 if test -n "$ac_tool_prefix"; then
4297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_CXX+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$CXX"; then
4307 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 if test -n "$CXX"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4329 $as_echo "$CXX" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$CXX" && break
4339 if test -z "$CXX"; then
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy $ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_CXX"; then
4351 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4371 if test -n "$ac_ct_CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4373 $as_echo "$ac_ct_CXX" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$ac_ct_CXX" && break
4383 if test "x$ac_ct_CXX" = x; then
4386 case $cross_compiling:$ac_tool_warned in
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4390 ac_tool_warned=yes ;;
4398 # Provide some information about the compiler.
4399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4402 for ac_option in --version -v -V -qversion; do
4403 { { ac_try="$ac_compiler $ac_option >&5"
4405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4406 *) ac_try_echo
=$ac_try;;
4408 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4412 if test -s conftest.err
; then
4414 ... rest of stderr output deleted ...
4415 10q' conftest.err
>conftest.er1
4416 cat conftest.er1
>&5
4418 rm -f conftest.er1 conftest.err
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4424 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4425 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4426 $as_echo_n "(cached) " >&6
4428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4442 if ac_fn_cxx_try_compile
"$LINENO"; then :
4447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4448 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4452 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4453 if test $ac_compiler_gnu = yes; then
4458 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4459 ac_save_CXXFLAGS
=$CXXFLAGS
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4461 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4462 if ${ac_cv_prog_cxx_g+:} false
; then :
4463 $as_echo_n "(cached) " >&6
4465 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4466 ac_cxx_werror_flag
=yes
4469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4480 if ac_fn_cxx_try_compile
"$LINENO"; then :
4481 ac_cv_prog_cxx_g
=yes
4484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4495 if ac_fn_cxx_try_compile
"$LINENO"; then :
4498 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4511 if ac_fn_cxx_try_compile
"$LINENO"; then :
4512 ac_cv_prog_cxx_g
=yes
4514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4522 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4523 if test "$ac_test_CXXFLAGS" = set; then
4524 CXXFLAGS
=$ac_save_CXXFLAGS
4525 elif test $ac_cv_prog_cxx_g = yes; then
4526 if test "$GXX" = yes; then
4532 if test "$GXX" = yes; then
4539 ac_cpp
='$CPP $CPPFLAGS'
4540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4546 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CPPBIN+:} false
; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$CPPBIN"; then
4553 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 CPPBIN
=$ac_cv_prog_CPPBIN
4573 if test -n "$CPPBIN"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4575 $as_echo "$CPPBIN" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4583 if test -z "$ac_cv_prog_CPPBIN"; then
4584 ac_ct_CPPBIN
=$CPPBIN
4585 # Extract the first word of "cpp", so it can be a program name with args.
4586 set dummy cpp
; ac_word
=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -n "$ac_ct_CPPBIN"; then
4593 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_exec_ext
in '' $ac_executable_extensions; do
4601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4613 if test -n "$ac_ct_CPPBIN"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4615 $as_echo "$ac_ct_CPPBIN" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4621 if test "x$ac_ct_CPPBIN" = x
; then
4624 case $cross_compiling:$ac_tool_warned in
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned
=yes ;;
4630 CPPBIN
=$ac_ct_CPPBIN
4633 CPPBIN
="$ac_cv_prog_CPPBIN"
4637 cat >>confdefs.h
<<_ACEOF
4638 #define EXEEXT "$ac_exeext"
4644 if test "x$enable_win64" = "xyes"
4649 notice_platform
="64-bit "
4656 notice_platform
="32-bit "
4659 enable_win16
=${enable_win16:-yes}
4661 with_fontconfig
=${with_fontconfig:-no}
4664 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4669 $as_echo_n "checking whether $CC works... " >&6; }
4671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4682 if ac_fn_c_try_link
"$LINENO"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4684 $as_echo "yes" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4688 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4690 rm -f core conftest.err conftest.
$ac_objext \
4691 conftest
$ac_exeext conftest.
$ac_ext
4693 notice_platform
="32-bit "
4696 enable_win16
=${enable_win16:-yes}
4698 if test "x${GCC}" = "xyes"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4701 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4708 void func(__builtin_ms_va_list *args);
4713 if ac_fn_c_try_compile
"$LINENO"; then :
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4715 $as_echo "yes" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4729 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 int ac_test(int i) { return i; }
4736 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4741 if ac_fn_c_try_link
"$LINENO"; then :
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4747 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4749 rm -f core conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4751 CFLAGS
="$CFLAGS -marm"
4753 *-mingw32*|
*-cygwin*)
4754 enable_win16
=${enable_win16:-no}
4755 CFLAGS
="$CFLAGS -D_WIN32"
4758 enable_win16
=${enable_win16:-yes}
4762 enable_win16
=${enable_win16:-no}
4763 enable_win64
=${enable_win64:-no}
4765 enable_winetest
=${enable_winetest:-$enable_tests}
4767 if test -n "$with_wine64"
4769 if test "x$enable_win64" = "xyes"
4771 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4772 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4774 enable_fonts
=${enable_fonts:-no}
4775 enable_server
=${enable_server:-no}
4776 elif test "x$enable_win64" = "xyes"
4778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4783 if ${wine_cv_toolsdir+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4786 wine_cv_toolsdir
="$with_wine_tools"
4787 if test -z "$with_wine_tools"; then
4788 if test "$cross_compiling" = "yes"; then
4789 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4790 elif test -n "$with_wine64"; then
4791 wine_cv_toolsdir
="$with_wine64"
4794 if test -z "$wine_cv_toolsdir"; then
4795 wine_cv_toolsdir
="\$(top_builddir)"
4796 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4797 case "$wine_cv_toolsdir" in
4799 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4801 enable_tools
=${enable_tools:-no}
4803 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4807 $as_echo "$wine_cv_toolsdir" >&6; }
4808 TOOLSDIR
=$wine_cv_toolsdir
4810 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4812 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy
$ac_prog; ac_word
=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_FLEX+:} false
; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$FLEX"; then
4826 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_FLEX
="$ac_prog"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 FLEX
=$ac_cv_prog_FLEX
4846 if test -n "$FLEX"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4848 $as_echo "$FLEX" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$FLEX" && break
4857 test -n "$FLEX" || FLEX
="none"
4859 if test "$FLEX" = "none"
4861 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4864 $as_echo_n "checking whether flex is recent enough... " >&6; }
4865 cat >conftest.l
<<EOF
4867 #include "prediluvian.h"
4871 if $FLEX -t conftest.l
>/dev
/null
2>&5
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4878 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4881 for ac_prog
in bison
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy
$ac_prog; ac_word
=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_BISON+:} false
; then :
4888 $as_echo_n "(cached) " >&6
4890 if test -n "$BISON"; then
4891 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir
=.
4898 for ac_exec_ext
in '' $ac_executable_extensions; do
4899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_BISON
="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 BISON
=$ac_cv_prog_BISON
4911 if test -n "$BISON"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4913 $as_echo "$BISON" >&6; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$BISON" && break
4922 test -n "$BISON" || BISON
="none"
4924 if test "$BISON" = "none"
4926 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4929 if test -n "$ac_tool_prefix"; then
4930 for ac_prog
in ar gar
4932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4933 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_AR+:} false
; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$AR"; then
4940 ac_cv_prog_AR
="$AR" # Let the user override the test.
4942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir
=.
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 if test -n "$AR"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4962 $as_echo "$AR" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$AR" && break
4972 if test -z "$AR"; then
4974 for ac_prog
in ar gar
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy
$ac_prog; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$ac_ct_AR"; then
4984 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_AR
="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5004 if test -n "$ac_ct_AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5006 $as_echo "$ac_ct_AR" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$ac_ct_AR" && break
5016 if test "x$ac_ct_AR" = x
; then
5019 case $cross_compiling:$ac_tool_warned in
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned
=yes ;;
5029 if test -n "$ac_tool_prefix"; then
5030 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5031 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_STRIP+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$STRIP"; then
5038 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 STRIP
=$ac_cv_prog_STRIP
5058 if test -n "$STRIP"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5060 $as_echo "$STRIP" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_prog_STRIP"; then
5070 # Extract the first word of "strip", so it can be a program name with args.
5071 set dummy strip
; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$ac_ct_STRIP"; then
5078 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_STRIP
="strip"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5098 if test -n "$ac_ct_STRIP"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5100 $as_echo "$ac_ct_STRIP" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 if test "x$ac_ct_STRIP" = x
; then
5109 case $cross_compiling:$ac_tool_warned in
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned
=yes ;;
5118 STRIP
="$ac_cv_prog_STRIP"
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5125 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_RANLIB+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$RANLIB"; then
5132 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 RANLIB
=$ac_cv_prog_RANLIB
5152 if test -n "$RANLIB"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5154 $as_echo "$RANLIB" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_RANLIB"; then
5163 ac_ct_RANLIB
=$RANLIB
5164 # Extract the first word of "ranlib", so it can be a program name with args.
5165 set dummy ranlib
; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$ac_ct_RANLIB"; then
5172 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5192 if test -n "$ac_ct_RANLIB"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5194 $as_echo "$ac_ct_RANLIB" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_RANLIB" = x
; then
5203 case $cross_compiling:$ac_tool_warned in
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned
=yes ;;
5209 RANLIB
=$ac_ct_RANLIB
5212 RANLIB
="$ac_cv_prog_RANLIB"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5216 $as_echo_n "checking whether ln -s works... " >&6; }
5218 if test "$LN_S" = "ln -s"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5223 $as_echo "no, using $LN_S" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5227 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5228 if ${ac_cv_path_GREP+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -z "$GREP"; then
5232 ac_path_GREP_found
=false
5233 # Loop through the user's path and test for each of PROGNAME-LIST
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_prog
in grep ggrep
; do
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5242 as_fn_executable_p
"$ac_path_GREP" ||
continue
5243 # Check for GNU ac_path_GREP and select it if it is found.
5244 # Check for GNU $ac_path_GREP
5245 case `"$ac_path_GREP" --version 2>&1` in
5247 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5250 $as_echo_n 0123456789 >"conftest.in"
5253 cat "conftest.in" "conftest.in" >"conftest.tmp"
5254 mv "conftest.tmp" "conftest.in"
5255 cp "conftest.in" "conftest.nl"
5256 $as_echo 'GREP' >> "conftest.nl"
5257 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5258 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5259 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5260 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5261 # Best one so far, save it but keep looking for a better one
5262 ac_cv_path_GREP
="$ac_path_GREP"
5263 ac_path_GREP_max
=$ac_count
5265 # 10*(2^10) chars as input seems more than enough
5266 test $ac_count -gt 10 && break
5268 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5271 $ac_path_GREP_found && break 3
5276 if test -z "$ac_cv_path_GREP"; then
5277 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5280 ac_cv_path_GREP
=$GREP
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5285 $as_echo "$ac_cv_path_GREP" >&6; }
5286 GREP
="$ac_cv_path_GREP"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5290 $as_echo_n "checking for egrep... " >&6; }
5291 if ${ac_cv_path_EGREP+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5295 then ac_cv_path_EGREP
="$GREP -E"
5297 if test -z "$EGREP"; then
5298 ac_path_EGREP_found
=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5304 test -z "$as_dir" && as_dir
=.
5305 for ac_prog
in egrep; do
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5309 # Check for GNU ac_path_EGREP and select it if it is found.
5310 # Check for GNU $ac_path_EGREP
5311 case `"$ac_path_EGREP" --version 2>&1` in
5313 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5316 $as_echo_n 0123456789 >"conftest.in"
5319 cat "conftest.in" "conftest.in" >"conftest.tmp"
5320 mv "conftest.tmp" "conftest.in"
5321 cp "conftest.in" "conftest.nl"
5322 $as_echo 'EGREP' >> "conftest.nl"
5323 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5324 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5325 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5326 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_EGREP
="$ac_path_EGREP"
5329 ac_path_EGREP_max
=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5334 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5337 $ac_path_EGREP_found && break 3
5342 if test -z "$ac_cv_path_EGREP"; then
5343 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5346 ac_cv_path_EGREP
=$EGREP
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5352 $as_echo "$ac_cv_path_EGREP" >&6; }
5353 EGREP
="$ac_cv_path_EGREP"
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5357 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5358 if test -z "$MKDIR_P"; then
5359 if ${ac_cv_path_mkdir+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5366 test -z "$as_dir" && as_dir
=.
5367 for ac_prog
in mkdir gmkdir
; do
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5370 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5371 'mkdir (GNU coreutils) '* | \
5372 'mkdir (coreutils) '* | \
5373 'mkdir (fileutils) '4.1*)
5374 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5384 test -d .
/--version && rmdir .
/--version
5385 if test "${ac_cv_path_mkdir+set}" = set; then
5386 MKDIR_P
="$ac_cv_path_mkdir -p"
5388 # As a last resort, use the slow shell script. Don't cache a
5389 # value for MKDIR_P within a source directory, because that will
5390 # break other packages using the cache if that directory is
5391 # removed, or if the value is a relative name.
5392 MKDIR_P
="$ac_install_sh -d"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5396 $as_echo "$MKDIR_P" >&6; }
5398 # Extract the first word of "ldconfig", so it can be a program name with args.
5399 set dummy ldconfig
; ac_word
=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_path_LDCONFIG+:} false
; then :
5403 $as_echo_n "(cached) " >&6
5407 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 for as_dir
in /sbin
/usr
/sbin
$PATH
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5429 LDCONFIG
=$ac_cv_path_LDCONFIG
5430 if test -n "$LDCONFIG"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5432 $as_echo "$LDCONFIG" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5440 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5441 # Find a good install program. We prefer a C program (faster),
5442 # so one script is as good as another. But avoid the broken or
5443 # incompatible versions:
5444 # SysV /etc/install, /usr/sbin/install
5445 # SunOS /usr/etc/install
5446 # IRIX /sbin/install
5448 # AmigaOS /C/install, which installs bootblocks on floppy discs
5449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5452 # OS/2's system install, which has a completely different semantic
5453 # ./install, which can be erroneously created by make from ./install.sh.
5454 # Reject install programs that cannot install multiple files.
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5456 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5457 if test -z "$INSTALL"; then
5458 if ${ac_cv_path_install+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5465 test -z "$as_dir" && as_dir
=.
5466 # Account for people who put trailing slashes in PATH elements.
5467 case $as_dir/ in #((
5468 .
/ | .
// |
/[cC
]/* | \
5469 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5470 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5473 # OSF1 and SCO ODT 3.0 have their own names for install.
5474 # Don't use installbsd from OSF since it installs stuff as root
5476 for ac_prog
in ginstall scoinst
install; do
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5479 if test $ac_prog = install &&
5480 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5481 # AIX install. It has an incompatible calling convention.
5483 elif test $ac_prog = install &&
5484 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5485 # program-specific install script used by HP pwplus--don't use.
5488 rm -rf conftest.one conftest.two conftest.dir
5489 echo one
> conftest.one
5490 echo two
> conftest.two
5492 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5493 test -s conftest.one
&& test -s conftest.two
&&
5494 test -s conftest.dir
/conftest.one
&&
5495 test -s conftest.dir
/conftest.two
5497 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5510 rm -rf conftest.one conftest.two conftest.dir
5513 if test "${ac_cv_path_install+set}" = set; then
5514 INSTALL
=$ac_cv_path_install
5516 # As a last resort, use the slow shell script. Don't cache a
5517 # value for INSTALL within a source directory, because that will
5518 # break other packages using the cache if that directory is
5519 # removed, or if the value is a relative name.
5520 INSTALL
=$ac_install_sh
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5524 $as_echo "$INSTALL" >&6; }
5526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5527 # It thinks the first close brace ends the variable substitution.
5528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5532 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5535 for ac_prog
in fontforge
5537 # Extract the first word of "$ac_prog", so it can be a program name with args.
5538 set dummy
$ac_prog; ac_word
=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$FONTFORGE"; then
5545 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_exec_ext
in '' $ac_executable_extensions; do
5553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_FONTFORGE
="$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 FONTFORGE
=$ac_cv_prog_FONTFORGE
5565 if test -n "$FONTFORGE"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5567 $as_echo "$FONTFORGE" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$FONTFORGE" && break
5576 test -n "$FONTFORGE" || FONTFORGE
="false"
5580 # Extract the first word of "$ac_prog", so it can be a program name with args.
5581 set dummy
$ac_prog; ac_word
=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_RSVG+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5587 if test -n "$RSVG"; then
5588 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_RSVG
="$ac_prog"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 RSVG
=$ac_cv_prog_RSVG
5608 if test -n "$RSVG"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5610 $as_echo "$RSVG" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5617 test -n "$RSVG" && break
5619 test -n "$RSVG" || RSVG
="false"
5621 for ac_prog
in convert
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy
$ac_prog; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_CONVERT+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$CONVERT"; then
5631 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_CONVERT
="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 CONVERT
=$ac_cv_prog_CONVERT
5651 if test -n "$CONVERT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5653 $as_echo "$CONVERT" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$CONVERT" && break
5662 test -n "$CONVERT" || CONVERT
="false"
5664 for ac_prog
in icotool
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy
$ac_prog; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$ICOTOOL"; then
5674 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_ICOTOOL
="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 ICOTOOL
=$ac_cv_prog_ICOTOOL
5694 if test -n "$ICOTOOL"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5696 $as_echo "$ICOTOOL" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$ICOTOOL" && break
5705 test -n "$ICOTOOL" || ICOTOOL
="false"
5707 for ac_prog
in msgfmt
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy
$ac_prog; ac_word
=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_MSGFMT+:} false
; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$MSGFMT"; then
5717 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_MSGFMT
="$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 MSGFMT
=$ac_cv_prog_MSGFMT
5737 if test -n "$MSGFMT"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5739 $as_echo "$MSGFMT" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$MSGFMT" && break
5748 test -n "$MSGFMT" || MSGFMT
="false"
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5752 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$PKG_CONFIG"; then
5759 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir
=.
5766 for ac_exec_ext
in '' $ac_executable_extensions; do
5767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5779 if test -n "$PKG_CONFIG"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5781 $as_echo "$PKG_CONFIG" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5790 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5791 elif test "$cross_compiling" != yes; then
5792 unset ac_cv_prog_PKG_CONFIG
5793 # Extract the first word of "pkg-config", so it can be a program name with args.
5794 set dummy pkg-config
; ac_word
=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$PKG_CONFIG"; then
5801 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_PKG_CONFIG
="pkg-config"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5821 if test -n "$PKG_CONFIG"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5823 $as_echo "$PKG_CONFIG" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5832 if test "x$enable_maintainer_mode" != "xyes"
5837 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5838 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5840 if test "$CONVERT" = false
5842 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5845 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5846 convert_version
=`convert --version | head -n1`
5847 if test "x$convert_version" != "x"
5849 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5850 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5851 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5856 if test "$CONVERT" = false
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5859 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5860 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5863 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5867 if test "$ICOTOOL" = false
5869 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5872 $as_echo_n "checking for recent enough icotool... " >&6; }
5873 icotool_version
=`icotool --version | head -n1`
5874 if test "x$icotool_version" != "x"
5876 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5877 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5878 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5881 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5884 if test "$ICOTOOL" = false
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5887 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5888 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5891 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5897 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5900 test "x$with_gettext" != xno || MSGFMT
=false
5901 if test "$MSGFMT" != "false"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5904 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5905 cat >conftest.po
<<EOF
5911 if $MSGFMT -o /dev
/null conftest.po
2>&5
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5914 $as_echo "yes" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 if test "$MSGFMT" = false
; then :
5922 case "x$with_gettext" in
5923 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5925 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5926 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5932 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5933 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5934 $as_echo_n "(cached) " >&6
5936 ac_check_lib_save_LIBS
=$LIBS
5938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5941 /* Override any GCC internal prototype to avoid an error.
5942 Use char because int might match the return type of a GCC
5943 builtin and then its argument prototype would still apply. */
5947 char i386_set_ldt ();
5951 return i386_set_ldt ();
5956 if ac_fn_c_try_link
"$LINENO"; then :
5957 ac_cv_lib_i386_i386_set_ldt
=yes
5959 ac_cv_lib_i386_i386_set_ldt
=no
5961 rm -f core conftest.err conftest.
$ac_objext \
5962 conftest
$ac_exeext conftest.
$ac_ext
5963 LIBS
=$ac_check_lib_save_LIBS
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5966 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5967 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5968 cat >>confdefs.h
<<_ACEOF
5969 #define HAVE_LIBI386 1
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5977 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5978 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 ac_check_lib_save_LIBS
=$LIBS
5982 LIBS
="-lossaudio $LIBS"
5983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5986 /* Override any GCC internal prototype to avoid an error.
5987 Use char because int might match the return type of a GCC
5988 builtin and then its argument prototype would still apply. */
5996 return _oss_ioctl ();
6001 if ac_fn_c_try_link
"$LINENO"; then :
6002 ac_cv_lib_ossaudio__oss_ioctl
=yes
6004 ac_cv_lib_ossaudio__oss_ioctl
=no
6006 rm -f core conftest.err conftest.
$ac_objext \
6007 conftest
$ac_exeext conftest.
$ac_ext
6008 LIBS
=$ac_check_lib_save_LIBS
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6011 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6012 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6013 cat >>confdefs.h
<<_ACEOF
6014 #define HAVE_LIBOSSAUDIO 1
6017 LIBS
="-lossaudio $LIBS"
6028 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6030 # Check whether --enable-largefile was given.
6031 if test "${enable_largefile+set}" = set; then :
6032 enableval
=$enable_largefile;
6035 if test "$enable_largefile" != no
; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6038 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6039 if ${ac_cv_sys_largefile_CC+:} false
; then :
6040 $as_echo_n "(cached) " >&6
6042 ac_cv_sys_largefile_CC
=no
6043 if test "$GCC" != yes; then
6046 # IRIX 6.2 and later do not support large files by default,
6047 # so use the C compiler's -n32 option if that helps.
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 #include <sys/types.h>
6051 /* Check that off_t can represent 2**63 - 1 correctly.
6052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6053 since some C++ compilers masquerading as C compilers
6054 incorrectly reject 9223372036854775807. */
6055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6057 && LARGE_OFF_T % 2147483647 == 1)
6067 if ac_fn_c_try_compile
"$LINENO"; then :
6070 rm -f core conftest.err conftest.
$ac_objext
6072 if ac_fn_c_try_compile
"$LINENO"; then :
6073 ac_cv_sys_largefile_CC
=' -n32'; break
6075 rm -f core conftest.err conftest.
$ac_objext
6079 rm -f conftest.
$ac_ext
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6083 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6084 if test "$ac_cv_sys_largefile_CC" != no
; then
6085 CC
=$CC$ac_cv_sys_largefile_CC
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6089 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6090 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6096 #include <sys/types.h>
6097 /* Check that off_t can represent 2**63 - 1 correctly.
6098 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6099 since some C++ compilers masquerading as C compilers
6100 incorrectly reject 9223372036854775807. */
6101 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6102 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6103 && LARGE_OFF_T % 2147483647 == 1)
6113 if ac_fn_c_try_compile
"$LINENO"; then :
6114 ac_cv_sys_file_offset_bits
=no
; break
6116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 #define _FILE_OFFSET_BITS 64
6120 #include <sys/types.h>
6121 /* Check that off_t can represent 2**63 - 1 correctly.
6122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6123 since some C++ compilers masquerading as C compilers
6124 incorrectly reject 9223372036854775807. */
6125 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6127 && LARGE_OFF_T % 2147483647 == 1)
6137 if ac_fn_c_try_compile
"$LINENO"; then :
6138 ac_cv_sys_file_offset_bits
=64; break
6140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6141 ac_cv_sys_file_offset_bits
=unknown
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6146 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6147 case $ac_cv_sys_file_offset_bits in #(
6150 cat >>confdefs.h
<<_ACEOF
6151 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6156 if test $ac_cv_sys_file_offset_bits = unknown
; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6158 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6159 if ${ac_cv_sys_large_files+:} false
; then :
6160 $as_echo_n "(cached) " >&6
6163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6165 #include <sys/types.h>
6166 /* Check that off_t can represent 2**63 - 1 correctly.
6167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6168 since some C++ compilers masquerading as C compilers
6169 incorrectly reject 9223372036854775807. */
6170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6172 && LARGE_OFF_T % 2147483647 == 1)
6182 if ac_fn_c_try_compile
"$LINENO"; then :
6183 ac_cv_sys_large_files
=no
; break
6185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #define _LARGE_FILES 1
6189 #include <sys/types.h>
6190 /* Check that off_t can represent 2**63 - 1 correctly.
6191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6192 since some C++ compilers masquerading as C compilers
6193 incorrectly reject 9223372036854775807. */
6194 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6196 && LARGE_OFF_T % 2147483647 == 1)
6206 if ac_fn_c_try_compile
"$LINENO"; then :
6207 ac_cv_sys_large_files
=1; break
6209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6210 ac_cv_sys_large_files
=unknown
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6215 $as_echo "$ac_cv_sys_large_files" >&6; }
6216 case $ac_cv_sys_large_files in #(
6219 cat >>confdefs.h
<<_ACEOF
6220 #define _LARGE_FILES $ac_cv_sys_large_files
6232 ac_cpp
='$CPP $CPPFLAGS'
6233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6237 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6238 # On Suns, sometimes $CPP names a directory.
6239 if test -n "$CPP" && test -d "$CPP"; then
6242 if test -z "$CPP"; then
6243 if ${ac_cv_prog_CPP+:} false
; then :
6244 $as_echo_n "(cached) " >&6
6246 # Double quotes because CPP needs to be expanded
6247 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6250 for ac_c_preproc_warn_flag
in '' yes
6252 # Use a header file that comes with gcc, so configuring glibc
6253 # with a fresh cross-compiler works.
6254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 # <limits.h> exists even on freestanding compilers.
6256 # On the NeXT, cc -E runs the code through the compiler's parser,
6257 # not just through cpp. "Syntax error" is here to catch this case.
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6261 # include <limits.h>
6263 # include <assert.h>
6267 if ac_fn_c_try_cpp
"$LINENO"; then :
6270 # Broken: fails on valid input.
6273 rm -f conftest.err conftest.i conftest.
$ac_ext
6275 # OK, works on sane cases. Now check whether nonexistent headers
6276 # can be detected and how.
6277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #include <ac_nonexistent.h>
6281 if ac_fn_c_try_cpp
"$LINENO"; then :
6282 # Broken: success on invalid input.
6285 # Passes both tests.
6289 rm -f conftest.err conftest.i conftest.
$ac_ext
6292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6293 rm -f conftest.i conftest.err conftest.
$ac_ext
6294 if $ac_preproc_ok; then :
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6307 $as_echo "$CPP" >&6; }
6309 for ac_c_preproc_warn_flag
in '' yes
6311 # Use a header file that comes with gcc, so configuring glibc
6312 # with a fresh cross-compiler works.
6313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6314 # <limits.h> exists even on freestanding compilers.
6315 # On the NeXT, cc -E runs the code through the compiler's parser,
6316 # not just through cpp. "Syntax error" is here to catch this case.
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6320 # include <limits.h>
6322 # include <assert.h>
6326 if ac_fn_c_try_cpp
"$LINENO"; then :
6329 # Broken: fails on valid input.
6332 rm -f conftest.err conftest.i conftest.
$ac_ext
6334 # OK, works on sane cases. Now check whether nonexistent headers
6335 # can be detected and how.
6336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6338 #include <ac_nonexistent.h>
6340 if ac_fn_c_try_cpp
"$LINENO"; then :
6341 # Broken: success on invalid input.
6344 # Passes both tests.
6348 rm -f conftest.err conftest.i conftest.
$ac_ext
6351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6352 rm -f conftest.i conftest.err conftest.
$ac_ext
6353 if $ac_preproc_ok; then :
6356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6358 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6359 See \`config.log' for more details" "$LINENO" 5; }
6363 ac_cpp
='$CPP $CPPFLAGS'
6364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6370 $as_echo_n "checking for ANSI C header files... " >&6; }
6371 if ${ac_cv_header_stdc+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6389 if ac_fn_c_try_compile
"$LINENO"; then :
6390 ac_cv_header_stdc
=yes
6392 ac_cv_header_stdc
=no
6394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6396 if test $ac_cv_header_stdc = yes; then
6397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6404 $EGREP "memchr" >/dev
/null
2>&1; then :
6407 ac_cv_header_stdc
=no
6413 if test $ac_cv_header_stdc = yes; then
6414 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6421 $EGREP "free" >/dev
/null
2>&1; then :
6424 ac_cv_header_stdc
=no
6430 if test $ac_cv_header_stdc = yes; then
6431 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6432 if test "$cross_compiling" = yes; then :
6435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6439 #if ((' ' & 0x0FF) == 0x020)
6440 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6441 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6443 # define ISLOWER(c) \
6444 (('a' <= (c) && (c) <= 'i') \
6445 || ('j' <= (c) && (c) <= 'r') \
6446 || ('s' <= (c) && (c) <= 'z'))
6447 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6450 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6455 for (i = 0; i < 256; i++)
6456 if (XOR (islower (i), ISLOWER (i))
6457 || toupper (i) != TOUPPER (i))
6462 if ac_fn_c_try_run
"$LINENO"; then :
6465 ac_cv_header_stdc
=no
6467 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6468 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6474 $as_echo "$ac_cv_header_stdc" >&6; }
6475 if test $ac_cv_header_stdc = yes; then
6477 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6482 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6483 inttypes.h stdint.h unistd.h
6485 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6486 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6488 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6489 cat >>confdefs.h
<<_ACEOF
6490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6500 ApplicationServices
/ApplicationServices.h \
6501 AudioToolbox
/AudioConverter.h \
6502 AudioUnit
/AudioUnit.h \
6503 AudioUnit
/AudioComponent.h \
6506 CoreAudio
/CoreAudio.h \
6507 CoreServices
/CoreServices.h \
6508 DiskArbitration
/DiskArbitration.h \
6510 IOKit
/hid
/IOHIDLib.h \
6513 QuickTime
/ImageCompression.h \
6514 Security
/Security.h \
6528 fontconfig
/fontconfig.h \
6566 netinet
/in_systm.h \
6627 valgrind
/memcheck.h \
6628 valgrind
/valgrind.h \
6632 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6634 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6635 cat >>confdefs.h
<<_ACEOF
6636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6644 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6645 if ${ac_cv_header_stat_broken+:} false
; then :
6646 $as_echo_n "(cached) " >&6
6648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <sys/types.h>
6651 #include <sys/stat.h>
6653 #if defined S_ISBLK && defined S_IFDIR
6654 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6657 #if defined S_ISBLK && defined S_IFCHR
6658 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6661 #if defined S_ISLNK && defined S_IFREG
6662 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6665 #if defined S_ISSOCK && defined S_IFREG
6666 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6670 if ac_fn_c_try_compile
"$LINENO"; then :
6671 ac_cv_header_stat_broken
=no
6673 ac_cv_header_stat_broken
=yes
6675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6678 $as_echo "$ac_cv_header_stat_broken" >&6; }
6679 if test $ac_cv_header_stat_broken = yes; then
6681 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6687 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6689 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6690 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6691 #ifdef HAVE_SYS_PARAM_H
6692 # include <sys/param.h>
6695 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6696 cat >>confdefs.h
<<_ACEOF
6697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6712 netinet
/if_ether.h \
6713 netinet
/if_inarp.h \
6722 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6724 #ifdef HAVE_SYS_SOCKET_H
6725 # include <sys/socket.h>
6727 #ifdef HAVE_SYS_SOCKETVAR_H
6728 # include <sys/socketvar.h>
6730 #ifdef HAVE_NET_ROUTE_H
6731 # include <net/route.h>
6733 #ifdef HAVE_NETINET_IN_H
6734 # include <netinet/in.h>
6736 #ifdef HAVE_NETINET_IN_SYSTM_H
6737 # include <netinet/in_systm.h>
6739 #ifdef HAVE_NET_IF_H
6740 # include <net/if.h>
6742 #ifdef HAVE_NETINET_IP_H
6743 # include <netinet/ip.h>
6746 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6747 cat >>confdefs.h
<<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6756 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6766 #ifdef HAVE_SYS_SOCKETVAR_H
6767 # include <sys/socketvar.h>
6769 #ifdef HAVE_SYS_TIMEOUT_H
6770 # include <sys/timeout.h>
6772 #ifdef HAVE_NETINET_IN_H
6773 # include <netinet/in.h>
6775 #ifdef HAVE_NETINET_IN_SYSTM_H
6776 # include <netinet/in_systm.h>
6778 #ifdef HAVE_NETINET_IP_H
6779 # include <netinet/ip.h>
6781 #ifdef HAVE_NETINET_IP_VAR_H
6782 # include <netinet/ip_var.h>
6784 #ifdef HAVE_NETINET_IP_ICMP_H
6785 # include <netinet/ip_icmp.h>
6787 #ifdef HAVE_NETINET_UDP_H
6788 # include <netinet/udp.h>
6790 #ifdef HAVE_NETINET_TCP_H
6791 # include <netinet/tcp.h>
6793 #ifdef HAVE_NETINET_TCP_TIMER_H
6794 #include <netinet/tcp_timer.h>
6797 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6798 cat >>confdefs.h
<<_ACEOF
6799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6807 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6809 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6810 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6811 #ifdef HAVE_ASM_TYPES_H
6812 # include <asm/types.h>
6814 #ifdef HAVE_SYS_SOCKET_H
6815 # include <sys/socket.h>
6817 #ifdef HAVE_LINUX_TYPES_H
6818 # include <linux/types.h>
6821 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 for ac_header
in mach-o
/dyld_images.h
6833 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6834 # include <stdbool.h>
6836 #ifdef HAVE_STDINT_H
6837 # include <stdint.h>
6840 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6841 cat >>confdefs.h
<<_ACEOF
6842 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6850 for ac_header
in resolv.h
6852 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6853 #ifdef HAVE_SYS_SOCKET_H
6854 # include <sys/socket.h>
6856 #ifdef HAVE_NETINET_IN_H
6857 # include <netinet/in.h>
6859 #ifdef HAVE_ARPA_NAMESER_H
6860 # include <arpa/nameser.h>
6863 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_RESOLV_H 1
6873 for ac_header
in ifaddrs.h
6875 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6877 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define HAVE_IFADDRS_H 1
6887 for ac_header
in ucontext.h
6889 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6891 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define HAVE_UCONTEXT_H 1
6901 for ac_header
in sys
/thr.h
6903 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6904 #ifdef HAVE_UCONTEXT_H
6905 #include <ucontext.h>
6908 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6909 cat >>confdefs.h
<<_ACEOF
6910 #define HAVE_SYS_THR_H 1
6918 for ac_header
in pthread_np.h
6920 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6921 #include <pthread.h>
6924 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6925 cat >>confdefs.h
<<_ACEOF
6926 #define HAVE_PTHREAD_NP_H 1
6934 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6938 #include <sys/time.h>
6940 #include <sys/types.h>
6941 #ifdef HAVE_ASM_TYPES_H
6942 #include <asm/types.h>
6945 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6946 cat >>confdefs.h
<<_ACEOF
6947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6955 for ac_header
in libprocstat.h
6957 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6958 #include <sys/param.h>
6960 #ifdef HAVE_SYS_QUEUE_H
6961 #include <sys/queue.h>
6963 #ifdef HAVE_SYS_SOCKET_H
6964 #include <sys/socket.h>
6967 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_LIBPROCSTAT_H 1
6978 dlldir
="\${libdir}/wine"
6982 DLLFLAGS
="-D_REENTRANT"
6992 STATIC_IMPLIBEXT
="def.a"
6993 # Extract the first word of "ldd", so it can be a program name with args.
6994 set dummy ldd
; ac_word
=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_path_LDD+:} false
; then :
6998 $as_echo_n "(cached) " >&6
7002 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7006 as_dummy
="/sbin:/usr/sbin:$PATH"
7007 for as_dir
in $as_dummy
7010 test -z "$as_dir" && as_dir
=.
7011 for ac_exec_ext
in '' $ac_executable_extensions; do
7012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7026 if test -n "$LDD"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7028 $as_echo "$LDD" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7037 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_READELF+:} false
; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$READELF"; then
7044 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir
=.
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 READELF
=$ac_cv_prog_READELF
7064 if test -n "$READELF"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7066 $as_echo "$READELF" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_READELF"; then
7075 ac_ct_READELF
=$READELF
7076 # Extract the first word of "readelf", so it can be a program name with args.
7077 set dummy readelf
; ac_word
=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$ac_ct_READELF"; then
7084 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir
=.
7091 for ac_exec_ext
in '' $ac_executable_extensions; do
7092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_ac_ct_READELF
="readelf"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7104 if test -n "$ac_ct_READELF"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7106 $as_echo "$ac_ct_READELF" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_READELF" = x
; then
7115 case $cross_compiling:$ac_tool_warned in
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned
=yes ;;
7121 READELF
=$ac_ct_READELF
7124 READELF
="$ac_cv_prog_READELF"
7129 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7132 all: $wine_binary wine-installed
7134 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7135 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7138 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7146 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7150 $as_echo_n "(cached) " >&6
7152 if test -n "$DLLTOOL"; then
7153 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir
=.
7160 for ac_exec_ext
in '' $ac_executable_extensions; do
7161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 DLLTOOL
=$ac_cv_prog_DLLTOOL
7173 if test -n "$DLLTOOL"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7175 $as_echo "$DLLTOOL" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_DLLTOOL"; then
7184 ac_ct_DLLTOOL
=$DLLTOOL
7185 # Extract the first word of "dlltool", so it can be a program name with args.
7186 set dummy dlltool
; ac_word
=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$ac_ct_DLLTOOL"; then
7193 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir
=.
7200 for ac_exec_ext
in '' $ac_executable_extensions; do
7201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7213 if test -n "$ac_ct_DLLTOOL"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7215 $as_echo "$ac_ct_DLLTOOL" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_DLLTOOL" = x
; then
7224 case $cross_compiling:$ac_tool_warned in
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned
=yes ;;
7230 DLLTOOL
=$ac_ct_DLLTOOL
7233 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7239 STATIC_IMPLIBEXT
="a"
7240 enable_iphlpapi
=${enable_iphlpapi:-no}
7241 enable_kernel32
=${enable_kernel32:-no}
7242 enable_msvcrt
=${enable_msvcrt:-no}
7243 enable_ntdll
=${enable_ntdll:-no}
7244 enable_ws2_32
=${enable_ws2_32:-no}
7245 enable_loader
=${enable_loader:-no}
7246 enable_server
=${enable_server:-no}
7247 with_x
=${with_x:-no}
7248 with_pthread
=${with_pthread:-no}
7254 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7259 all: libwine.dll libwine.a
7262 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7264 libwine.dll: \$(OBJS) wine.def Makefile.in
7265 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7267 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7268 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7270 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7271 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7274 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7277 \$(RM) libwine.dll version.c
7284 DLLFLAGS
="$DLLFLAGS -fPIC"
7285 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7286 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7287 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7288 COREFOUNDATIONLIB
="-framework CoreFoundation"
7290 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7292 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7294 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7296 CORESERVICESLIB
="-framework CoreServices"
7298 APPKITLIB
="-framework AppKit"
7300 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7302 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7304 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7306 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7309 if test "$ac_cv_header_Security_Security_h" = "yes"
7311 SECURITYLIB
="-framework Security -framework CoreFoundation"
7313 ac_save_LIBS
="$LIBS"
7314 LIBS
="$LIBS $SECURITYLIB"
7315 for ac_func
in SSLCopyPeerCertificates
7317 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7318 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7319 cat >>confdefs.h
<<_ACEOF
7320 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7326 LIBS
="$ac_save_LIBS"
7327 with_gnutls
=${with_gnutls:-no}
7329 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7331 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7333 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7336 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7339 ac_save_LIBS
="$LIBS"
7340 LIBS
="$LIBS $COREAUDIO"
7341 for ac_func
in AUGraphAddNode
7343 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7344 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7345 cat >>confdefs.h
<<_ACEOF
7346 #define HAVE_AUGRAPHADDNODE 1
7352 LIBS
="$ac_save_LIBS"
7354 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7356 FRAMEWORK_OPENAL
="-framework OpenAL"
7359 cat >>confdefs.h
<<_ACEOF
7360 #define HAVE_OPENAL 1
7363 ac_cv_lib_openal
=yes
7365 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7367 LIBOPENCL
="-framework OpenCL"
7369 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7371 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7373 ac_save_LIBS
="$LIBS"
7374 LIBS
="$LIBS $IOKITLIB"
7375 for ac_func
in IOHIDManagerCreate
7377 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7378 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7379 cat >>confdefs.h
<<_ACEOF
7380 #define HAVE_IOHIDMANAGERCREATE 1
7386 LIBS
="$ac_save_LIBS"
7388 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7390 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7392 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7394 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7396 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7398 CARBONLIB
="-framework Carbon"
7402 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7404 ac_save_LIBS
="$LIBS"
7405 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7406 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7407 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7408 enable_winemac_drv
=${enable_winemac_drv:-yes}
7411 LIBS
="$ac_save_LIBS"
7414 if test "x$enable_win16" = "xyes"
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7417 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7418 if test "$cross_compiling" = yes; then :
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7420 $as_echo "cross-compiling, assuming yes" >&6; }
7422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7426 "good:\tnop;nop\n\t"
7427 ".globl _testfunc\n"
7428 "_testfunc:\tcallw good");
7429 extern void testfunc();
7433 unsigned short *p = (unsigned short *)testfunc;
7434 return p[0] != 0xe866 || p[1] != 0xfffa
7439 if ac_fn_c_try_run
"$LINENO"; then :
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7441 $as_echo "yes" >&6; }
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7445 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
7447 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7448 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7456 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7457 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7459 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7460 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7462 libwine.dylib: libwine.\$(SOVERSION).dylib
7463 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7465 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7466 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7469 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7473 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7476 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7480 as_fn_append LOADER_RULES
"
7481 $wine_binary: main.o Makefile.in wine_info.plist
7482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7484 wine-installed: main.o Makefile.in wine_info.plist
7485 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7487 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7488 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7493 DLLFLAGS
="$DLLFLAGS -fPIC"
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7499 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7500 $as_echo_n "(cached) " >&6
7502 ac_wine_try_cflags_saved
=$CFLAGS
7503 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 int main(int argc, char **argv) { return 0; }
7508 if ac_fn_c_try_link
"$LINENO"; then :
7509 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7511 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7513 rm -f core conftest.err conftest.
$ac_objext \
7514 conftest
$ac_exeext conftest.
$ac_ext
7515 CFLAGS
=$ac_wine_try_cflags_saved
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7518 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7519 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7520 LDEXECFLAGS
="-Wl,--export-dynamic"
7522 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7525 if eval \
${$as_ac_var+:} false
; then :
7526 $as_echo_n "(cached) " >&6
7528 ac_wine_try_cflags_saved
=$CFLAGS
7529 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 int main(int argc, char **argv) { return 0; }
7534 if ac_fn_c_try_link
"$LINENO"; then :
7535 eval "$as_ac_var=yes"
7537 eval "$as_ac_var=no"
7539 rm -f core conftest.err conftest.
$ac_objext \
7540 conftest
$ac_exeext conftest.
$ac_ext
7541 CFLAGS
=$ac_wine_try_cflags_saved
7543 eval ac_res
=\$
$as_ac_var
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7545 $as_echo "$ac_res" >&6; }
7546 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7547 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7548 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7550 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7553 if eval \
${$as_ac_var+:} false
; then :
7554 $as_echo_n "(cached) " >&6
7556 ac_wine_try_cflags_saved
=$CFLAGS
7557 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7560 int main(int argc, char **argv) { return 0; }
7562 if ac_fn_c_try_link
"$LINENO"; then :
7563 eval "$as_ac_var=yes"
7565 eval "$as_ac_var=no"
7567 rm -f core conftest.err conftest.
$ac_objext \
7568 conftest
$ac_exeext conftest.
$ac_ext
7569 CFLAGS
=$ac_wine_try_cflags_saved
7571 eval ac_res
=\$
$as_ac_var
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7573 $as_echo "$ac_res" >&6; }
7574 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7575 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7576 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7581 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7582 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7583 $as_echo_n "(cached) " >&6
7585 ac_wine_try_cflags_saved
=$CFLAGS
7586 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7588 /* end confdefs.h. */
7589 int main(int argc, char **argv) { return 0; }
7591 if ac_fn_c_try_link
"$LINENO"; then :
7592 ac_cv_cflags__Wl___enable_new_dtags
=yes
7594 ac_cv_cflags__Wl___enable_new_dtags
=no
7596 rm -f core conftest.err conftest.
$ac_objext \
7597 conftest
$ac_exeext conftest.
$ac_ext
7598 CFLAGS
=$ac_wine_try_cflags_saved
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7601 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7602 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7603 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7607 *i
[3456789]86* | x86_64
)
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7609 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7610 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7613 ac_wine_try_cflags_saved
=$CFLAGS
7614 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7616 /* end confdefs.h. */
7617 int main(int argc, char **argv) { return 0; }
7619 if ac_fn_c_try_link
"$LINENO"; then :
7620 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7622 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7624 rm -f core conftest.err conftest.
$ac_objext \
7625 conftest
$ac_exeext conftest.
$ac_ext
7626 CFLAGS
=$ac_wine_try_cflags_saved
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7629 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7630 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7631 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7639 libwine.so: \$(OBJS) Makefile.in
7640 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7642 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7643 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7646 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7649 \$(RM) libwine.so version.c
7653 as_fn_append LOADER_RULES
"
7654 $wine_binary: main.o Makefile.in
7655 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7657 wine-installed: main.o Makefile.in
7658 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7663 DLLFLAGS
="$DLLFLAGS -fPIC"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7666 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7667 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7668 $as_echo_n "(cached) " >&6
7670 ac_wine_try_cflags_saved
=$CFLAGS
7671 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7676 if ac_fn_c_try_link
"$LINENO"; then :
7677 ac_cv_c_dll_gnuelf
="yes"
7679 ac_cv_c_dll_gnuelf
="no"
7681 rm -f core conftest.err conftest.
$ac_objext \
7682 conftest
$ac_exeext conftest.
$ac_ext
7683 CFLAGS
=$ac_wine_try_cflags_saved
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7686 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7687 if test "$ac_cv_c_dll_gnuelf" = "yes"
7689 LDSHARED
="\$(CC) -shared"
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7691 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7692 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7693 $as_echo_n "(cached) " >&6
7695 ac_wine_try_cflags_saved
=$CFLAGS
7696 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 int main(int argc, char **argv) { return 0; }
7701 if ac_fn_c_try_link
"$LINENO"; then :
7702 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7704 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7706 rm -f core conftest.err conftest.
$ac_objext \
7707 conftest
$ac_exeext conftest.
$ac_ext
7708 CFLAGS
=$ac_wine_try_cflags_saved
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7711 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7712 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7713 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7716 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7717 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7718 $as_echo_n "(cached) " >&6
7720 ac_wine_try_cflags_saved
=$CFLAGS
7721 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 int main(int argc, char **argv) { return 0; }
7726 if ac_fn_c_try_link
"$LINENO"; then :
7727 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7729 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7731 rm -f core conftest.err conftest.
$ac_objext \
7732 conftest
$ac_exeext conftest.
$ac_ext
7733 CFLAGS
=$ac_wine_try_cflags_saved
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7736 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7737 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7738 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7742 echo '{ global: *; };' >conftest.map
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7744 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7745 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7748 ac_wine_try_cflags_saved
=$CFLAGS
7749 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 int main(int argc, char **argv) { return 0; }
7754 if ac_fn_c_try_link
"$LINENO"; then :
7755 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7757 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7759 rm -f core conftest.err conftest.
$ac_objext \
7760 conftest
$ac_exeext conftest.
$ac_ext
7761 CFLAGS
=$ac_wine_try_cflags_saved
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7764 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7765 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7766 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7771 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7772 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7775 ac_wine_try_cflags_saved
=$CFLAGS
7776 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7779 int main(int argc, char **argv) { return 0; }
7781 if ac_fn_c_try_link
"$LINENO"; then :
7782 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7784 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7786 rm -f core conftest.err conftest.
$ac_objext \
7787 conftest
$ac_exeext conftest.
$ac_ext
7788 CFLAGS
=$ac_wine_try_cflags_saved
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7791 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7792 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7793 LDEXECFLAGS
="-Wl,--export-dynamic"
7796 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7798 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7799 if eval \
${$as_ac_var+:} false
; then :
7800 $as_echo_n "(cached) " >&6
7802 ac_wine_try_cflags_saved
=$CFLAGS
7803 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7806 int main(int argc, char **argv) { return 0; }
7808 if ac_fn_c_try_link
"$LINENO"; then :
7809 eval "$as_ac_var=yes"
7811 eval "$as_ac_var=no"
7813 rm -f core conftest.err conftest.
$ac_objext \
7814 conftest
$ac_exeext conftest.
$ac_ext
7815 CFLAGS
=$ac_wine_try_cflags_saved
7817 eval ac_res
=\$
$as_ac_var
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7819 $as_echo "$ac_res" >&6; }
7820 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7821 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7822 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7824 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7826 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7827 if eval \
${$as_ac_var+:} false
; then :
7828 $as_echo_n "(cached) " >&6
7830 ac_wine_try_cflags_saved
=$CFLAGS
7831 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 int main(int argc, char **argv) { return 0; }
7836 if ac_fn_c_try_link
"$LINENO"; then :
7837 eval "$as_ac_var=yes"
7839 eval "$as_ac_var=no"
7841 rm -f core conftest.err conftest.
$ac_objext \
7842 conftest
$ac_exeext conftest.
$ac_ext
7843 CFLAGS
=$ac_wine_try_cflags_saved
7845 eval ac_res
=\$
$as_ac_var
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7847 $as_echo "$ac_res" >&6; }
7848 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7849 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7850 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7855 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7856 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7859 ac_wine_try_cflags_saved
=$CFLAGS
7860 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
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 ac_cv_cflags__Wl___enable_new_dtags
=yes
7868 ac_cv_cflags__Wl___enable_new_dtags
=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7875 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7876 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7877 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7881 *i
[3456789]86* | x86_64
)
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7883 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7884 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7887 ac_wine_try_cflags_saved
=$CFLAGS
7888 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
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 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7896 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7903 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7904 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7906 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7907 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7911 # Extract the first word of "prelink", so it can be a program name with args.
7912 set dummy prelink
; ac_word
=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_path_PRELINK+:} false
; then :
7916 $as_echo_n "(cached) " >&6
7920 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7924 for as_dir
in /sbin
/usr
/sbin
$PATH
7927 test -z "$as_dir" && as_dir
=.
7928 for ac_exec_ext
in '' $ac_executable_extensions; do
7929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7942 PRELINK
=$ac_cv_path_PRELINK
7943 if test -n "$PRELINK"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7945 $as_echo "$PRELINK" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7952 if test "x$PRELINK" = xfalse
7954 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7961 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7962 if ${ac_cv_c_dll_unixware+:} false
; then :
7963 $as_echo_n "(cached) " >&6
7965 ac_wine_try_cflags_saved
=$CFLAGS
7966 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7971 if ac_fn_c_try_link
"$LINENO"; then :
7972 ac_cv_c_dll_unixware
="yes"
7974 ac_cv_c_dll_unixware
="no"
7976 rm -f core conftest.err conftest.
$ac_objext \
7977 conftest
$ac_exeext conftest.
$ac_ext
7978 CFLAGS
=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7981 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7982 if test "$ac_cv_c_dll_unixware" = "yes"
7984 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7990 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7991 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7993 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7994 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7996 libwine.so: libwine.so.\$(SOVERSION)
7997 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7999 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8000 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8001 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8003 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8004 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8007 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8010 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8014 as_fn_append LOADER_RULES
"
8015 $wine_binary: main.o Makefile.in
8016 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8018 wine-installed: main.o Makefile.in
8019 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8024 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8025 enable_winemac_drv
=${enable_winemac_drv:-no}
8029 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8033 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
8036 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 " ;;
8038 ac_prefix_list
="" ;;
8040 for ac_prog
in $ac_prefix_list
8042 # Extract the first word of "$ac_prog", so it can be a program name with args.
8043 set dummy
$ac_prog; ac_word
=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_CROSSCC+:} false
; then :
8047 $as_echo_n "(cached) " >&6
8049 if test -n "$CROSSCC"; then
8050 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8056 test -z "$as_dir" && as_dir
=.
8057 for ac_exec_ext
in '' $ac_executable_extensions; do
8058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_CROSSCC
="$ac_prog"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 CROSSCC
=$ac_cv_prog_CROSSCC
8070 if test -n "$CROSSCC"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8072 $as_echo "$CROSSCC" >&6; }
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8079 test -n "$CROSSCC" && break
8081 test -n "$CROSSCC" || CROSSCC
="false"
8083 if test "$CROSSCC" != "false"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8088 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8100 if ac_fn_c_try_compile
"$LINENO"; then :
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8102 $as_echo "yes" >&6; }
8108 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8122 if test "$ac_cv_header_pthread_h" = "yes"
8124 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8125 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8129 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8130 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8131 $as_echo_n "(cached) " >&6
8133 ac_check_lib_save_LIBS
=$LIBS
8134 LIBS
="-lpthread $LIBS"
8135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8138 /* Override any GCC internal prototype to avoid an error.
8139 Use char because int might match the return type of a GCC
8140 builtin and then its argument prototype would still apply. */
8144 char pthread_create ();
8148 return pthread_create ();
8153 if ac_fn_c_try_link
"$LINENO"; then :
8154 ac_cv_lib_pthread_pthread_create
=yes
8156 ac_cv_lib_pthread_pthread_create
=no
8158 rm -f core conftest.err conftest.
$ac_objext \
8159 conftest
$ac_exeext conftest.
$ac_ext
8160 LIBS
=$ac_check_lib_save_LIBS
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8163 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8164 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8165 LIBPTHREAD
="-lpthread"
8172 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8173 case "x$with_pthread" in
8175 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8176 Wine cannot support threads without libpthread.
8177 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8183 $as_echo_n "checking for X... " >&6; }
8186 # Check whether --with-x was given.
8187 if test "${with_x+set}" = set; then :
8191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8192 if test "x$with_x" = xno
; then
8193 # The user explicitly disabled X.
8196 case $x_includes,$x_libraries in #(
8197 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8198 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 # One or both of the vars are not set, and there is no cached value.
8202 ac_x_includes
=no ac_x_libraries
=no
8203 rm -f -r conftest.dir
8204 if mkdir conftest.dir
; then
8206 cat >Imakefile
<<'_ACEOF'
8208 @echo incroot='${INCROOT}'
8210 @echo usrlibdir='${USRLIBDIR}'
8212 @echo libdir='${LIBDIR}'
8214 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8215 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8216 for ac_var
in incroot usrlibdir libdir
; do
8217 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8219 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8220 for ac_extension
in a so sl dylib la dll
; do
8221 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8222 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8223 ac_im_usrlibdir
=$ac_im_libdir; break
8226 # Screen out bogus values from the imake configuration. They are
8227 # bogus both because they are the default anyway, and because
8228 # using them would break gcc on systems where it needs fixed includes.
8229 case $ac_im_incroot in
8230 /usr
/include
) ac_x_includes
= ;;
8231 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8233 case $ac_im_usrlibdir in
8234 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8235 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8239 rm -f -r conftest.dir
8242 # Standard set of common directories for X headers.
8243 # Check X11 before X11Rn because it is often a symlink to the current release.
8257 /usr/local/X11/include
8258 /usr/local/X11R7/include
8259 /usr/local/X11R6/include
8260 /usr/local/X11R5/include
8261 /usr/local/X11R4/include
8263 /usr/local/include/X11
8264 /usr/local/include/X11R7
8265 /usr/local/include/X11R6
8266 /usr/local/include/X11R5
8267 /usr/local/include/X11R4
8271 /usr/XFree86/include/X11
8275 /usr/unsupported/include
8277 /usr/local/x11r5/include
8278 /usr/lpp/Xamples/include
8280 /usr/openwin/include
8281 /usr/openwin/share/include'
8283 if test "$ac_x_includes" = no
; then
8284 # Guess where to find include files, by looking for Xlib.h.
8285 # First, try using that file with no special directory specified.
8286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 #include <X11/Xlib.h>
8290 if ac_fn_c_try_cpp
"$LINENO"; then :
8291 # We can compile using X headers with no special include directory.
8294 for ac_dir
in $ac_x_header_dirs; do
8295 if test -r "$ac_dir/X11/Xlib.h"; then
8296 ac_x_includes
=$ac_dir
8301 rm -f conftest.err conftest.i conftest.
$ac_ext
8302 fi # $ac_x_includes = no
8304 if test "$ac_x_libraries" = no
; then
8305 # Check for the libraries.
8306 # See if we find them without any special options.
8307 # Don't add to $LIBS permanently.
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 #include <X11/Xlib.h>
8321 if ac_fn_c_try_link
"$LINENO"; then :
8323 # We can link X programs with no special library path.
8327 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8329 # Don't even attempt the hair of trying to link an X program!
8330 for ac_extension
in a so sl dylib la dll
; do
8331 if test -r "$ac_dir/libX11.$ac_extension"; then
8332 ac_x_libraries
=$ac_dir
8338 rm -f core conftest.err conftest.
$ac_objext \
8339 conftest
$ac_exeext conftest.
$ac_ext
8340 fi # $ac_x_libraries = no
8342 case $ac_x_includes,$ac_x_libraries in #(
8344 # Didn't find X, or a directory has "'" in its name.
8345 ac_cv_have_x
="have_x=no";; #(
8347 # Record where we found X for the cache.
8348 ac_cv_have_x
="have_x=yes\
8349 ac_x_includes='$ac_x_includes'\
8350 ac_x_libraries='$ac_x_libraries'"
8356 eval "$ac_cv_have_x"
8359 if test "$have_x" != yes; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8361 $as_echo "$have_x" >&6; }
8364 # If each of the values was on the command line, it overrides each guess.
8365 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8366 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8367 # Update the cache value to reflect the command line values.
8368 ac_cv_have_x
="have_x=yes\
8369 ac_x_includes='$x_includes'\
8370 ac_x_libraries='$x_libraries'"
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8372 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8375 if test "$no_x" = yes; then
8376 # Not all programs may use this symbol, but it does not hurt to define it.
8378 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8380 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8382 if test -n "$x_includes"; then
8383 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8386 # It would also be nice to do this for all -L options, not just this one.
8387 if test -n "$x_libraries"; then
8388 X_LIBS
="$X_LIBS -L$x_libraries"
8389 # For Solaris; some versions of Sun CC require a space after -R and
8390 # others require no space. Words are not sufficient . . . .
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8392 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8393 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8394 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8395 ac_c_werror_flag
=yes
8396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8407 if ac_fn_c_try_link
"$LINENO"; then :
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8410 X_LIBS
="$X_LIBS -R$x_libraries"
8412 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8424 if ac_fn_c_try_link
"$LINENO"; then :
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8426 $as_echo "yes" >&6; }
8427 X_LIBS
="$X_LIBS -R $x_libraries"
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8430 $as_echo "neither works" >&6; }
8432 rm -f core conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8441 # Check for system-dependent libraries X programs must link with.
8442 # Do this before checking for the system-independent R6 libraries
8443 # (-lICE), since we may need -lsocket or whatever for X linking.
8445 if test "$ISC" = yes; then
8446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8448 # Martyn Johnson says this is needed for Ultrix, if the X
8449 # libraries were built with DECnet support. And Karl Berry says
8450 # the Alpha needs dnet_stub (dnet does not exist).
8451 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8455 /* Override any GCC internal prototype to avoid an error.
8456 Use char because int might match the return type of a GCC
8457 builtin and then its argument prototype would still apply. */
8461 char XOpenDisplay ();
8465 return XOpenDisplay ();
8470 if ac_fn_c_try_link
"$LINENO"; then :
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8474 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8475 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8476 $as_echo_n "(cached) " >&6
8478 ac_check_lib_save_LIBS
=$LIBS
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8483 /* Override any GCC internal prototype to avoid an error.
8484 Use char because int might match the return type of a GCC
8485 builtin and then its argument prototype would still apply. */
8493 return dnet_ntoa ();
8498 if ac_fn_c_try_link
"$LINENO"; then :
8499 ac_cv_lib_dnet_dnet_ntoa
=yes
8501 ac_cv_lib_dnet_dnet_ntoa
=no
8503 rm -f core conftest.err conftest.
$ac_objext \
8504 conftest
$ac_exeext conftest.
$ac_ext
8505 LIBS
=$ac_check_lib_save_LIBS
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8508 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8509 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8510 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8513 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8515 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8516 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 ac_check_lib_save_LIBS
=$LIBS
8520 LIBS
="-ldnet_stub $LIBS"
8521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8524 /* Override any GCC internal prototype to avoid an error.
8525 Use char because int might match the return type of a GCC
8526 builtin and then its argument prototype would still apply. */
8534 return dnet_ntoa ();
8539 if ac_fn_c_try_link
"$LINENO"; then :
8540 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8542 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8544 rm -f core conftest.err conftest.
$ac_objext \
8545 conftest
$ac_exeext conftest.
$ac_ext
8546 LIBS
=$ac_check_lib_save_LIBS
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8549 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8550 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8551 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8556 rm -f core conftest.err conftest.
$ac_objext \
8557 conftest
$ac_exeext conftest.
$ac_ext
8558 LIBS
="$ac_xsave_LIBS"
8560 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8561 # to get the SysV transport functions.
8562 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8564 # The nsl library prevents programs from opening the X display
8565 # on Irix 5.2, according to T.E. Dickey.
8566 # The functions gethostbyname, getservbyname, and inet_addr are
8567 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8568 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8569 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8573 if test $ac_cv_func_gethostbyname = no
; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8575 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8576 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8577 $as_echo_n "(cached) " >&6
8579 ac_check_lib_save_LIBS
=$LIBS
8581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 /* Override any GCC internal prototype to avoid an error.
8585 Use char because int might match the return type of a GCC
8586 builtin and then its argument prototype would still apply. */
8590 char gethostbyname ();
8594 return gethostbyname ();
8599 if ac_fn_c_try_link
"$LINENO"; then :
8600 ac_cv_lib_nsl_gethostbyname
=yes
8602 ac_cv_lib_nsl_gethostbyname
=no
8604 rm -f core conftest.err conftest.
$ac_objext \
8605 conftest
$ac_exeext conftest.
$ac_ext
8606 LIBS
=$ac_check_lib_save_LIBS
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8609 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8610 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8611 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8614 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8616 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8617 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 ac_check_lib_save_LIBS
=$LIBS
8622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8625 /* Override any GCC internal prototype to avoid an error.
8626 Use char because int might match the return type of a GCC
8627 builtin and then its argument prototype would still apply. */
8631 char gethostbyname ();
8635 return gethostbyname ();
8640 if ac_fn_c_try_link
"$LINENO"; then :
8641 ac_cv_lib_bsd_gethostbyname
=yes
8643 ac_cv_lib_bsd_gethostbyname
=no
8645 rm -f core conftest.err conftest.
$ac_objext \
8646 conftest
$ac_exeext conftest.
$ac_ext
8647 LIBS
=$ac_check_lib_save_LIBS
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8650 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8651 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8652 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8658 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8659 # socket/setsockopt and other routines are undefined under SCO ODT
8660 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8661 # on later versions), says Simon Leinen: it contains gethostby*
8662 # variants that don't use the name server (or something). -lsocket
8663 # must be given before -lnsl if both are needed. We assume that
8664 # if connect needs -lnsl, so does gethostbyname.
8665 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8666 if test "x$ac_cv_func_connect" = xyes
; then :
8670 if test $ac_cv_func_connect = no
; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8672 $as_echo_n "checking for connect in -lsocket... " >&6; }
8673 if ${ac_cv_lib_socket_connect+:} false
; then :
8674 $as_echo_n "(cached) " >&6
8676 ac_check_lib_save_LIBS
=$LIBS
8677 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8681 /* Override any GCC internal prototype to avoid an error.
8682 Use char because int might match the return type of a GCC
8683 builtin and then its argument prototype would still apply. */
8696 if ac_fn_c_try_link
"$LINENO"; then :
8697 ac_cv_lib_socket_connect
=yes
8699 ac_cv_lib_socket_connect
=no
8701 rm -f core conftest.err conftest.
$ac_objext \
8702 conftest
$ac_exeext conftest.
$ac_ext
8703 LIBS
=$ac_check_lib_save_LIBS
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8706 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8707 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8708 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8713 # Guillermo Gomez says -lposix is necessary on A/UX.
8714 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8715 if test "x$ac_cv_func_remove" = xyes
; then :
8719 if test $ac_cv_func_remove = no
; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8721 $as_echo_n "checking for remove in -lposix... " >&6; }
8722 if ${ac_cv_lib_posix_remove+:} false
; then :
8723 $as_echo_n "(cached) " >&6
8725 ac_check_lib_save_LIBS
=$LIBS
8726 LIBS
="-lposix $LIBS"
8727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8730 /* Override any GCC internal prototype to avoid an error.
8731 Use char because int might match the return type of a GCC
8732 builtin and then its argument prototype would still apply. */
8745 if ac_fn_c_try_link
"$LINENO"; then :
8746 ac_cv_lib_posix_remove
=yes
8748 ac_cv_lib_posix_remove
=no
8750 rm -f core conftest.err conftest.
$ac_objext \
8751 conftest
$ac_exeext conftest.
$ac_ext
8752 LIBS
=$ac_check_lib_save_LIBS
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8755 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8756 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8763 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8764 if test "x$ac_cv_func_shmat" = xyes
; then :
8768 if test $ac_cv_func_shmat = no
; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8770 $as_echo_n "checking for shmat in -lipc... " >&6; }
8771 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8772 $as_echo_n "(cached) " >&6
8774 ac_check_lib_save_LIBS
=$LIBS
8776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8794 if ac_fn_c_try_link
"$LINENO"; then :
8795 ac_cv_lib_ipc_shmat
=yes
8797 ac_cv_lib_ipc_shmat
=no
8799 rm -f core conftest.err conftest.
$ac_objext \
8800 conftest
$ac_exeext conftest.
$ac_ext
8801 LIBS
=$ac_check_lib_save_LIBS
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8804 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8805 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8812 # Check for libraries that X11R6 Xt/Xaw programs need.
8813 ac_save_LDFLAGS
=$LDFLAGS
8814 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8815 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8816 # check for ICE first), but we must link in the order -lSM -lICE or
8817 # we get undefined symbols. So assume we have SM if we have ICE.
8818 # These have to be linked with before -lX11, unlike the other
8819 # libraries we check for below, so use a different variable.
8820 # John Interrante, Karl Berry
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8822 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8823 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8824 $as_echo_n "(cached) " >&6
8826 ac_check_lib_save_LIBS
=$LIBS
8827 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8831 /* Override any GCC internal prototype to avoid an error.
8832 Use char because int might match the return type of a GCC
8833 builtin and then its argument prototype would still apply. */
8837 char IceConnectionNumber ();
8841 return IceConnectionNumber ();
8846 if ac_fn_c_try_link
"$LINENO"; then :
8847 ac_cv_lib_ICE_IceConnectionNumber
=yes
8849 ac_cv_lib_ICE_IceConnectionNumber
=no
8851 rm -f core conftest.err conftest.
$ac_objext \
8852 conftest
$ac_exeext conftest.
$ac_ext
8853 LIBS
=$ac_check_lib_save_LIBS
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8856 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8857 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8858 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8861 LDFLAGS
=$ac_save_LDFLAGS
8866 if test "$have_x" = "yes"
8869 ac_save_CPPFLAGS
="$CPPFLAGS"
8870 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8873 $as_echo_n "checking for -lX11... " >&6; }
8874 if ${ac_cv_lib_soname_X11+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 ac_check_soname_save_LIBS
=$LIBS
8878 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8888 char XCreateWindow ();
8892 return XCreateWindow ();
8897 if ac_fn_c_try_link
"$LINENO"; then :
8899 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8900 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'` ;;
8901 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8902 if test "x$ac_cv_lib_soname_X11" = x
; then :
8903 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8907 rm -f core conftest.err conftest.
$ac_objext \
8908 conftest
$ac_exeext conftest.
$ac_ext
8909 LIBS
=$ac_check_soname_save_LIBS
8911 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8913 $as_echo "not found" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8917 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8919 cat >>confdefs.h
<<_ACEOF
8920 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8926 $as_echo_n "checking for -lXext... " >&6; }
8927 if ${ac_cv_lib_soname_Xext+:} false
; then :
8928 $as_echo_n "(cached) " >&6
8930 ac_check_soname_save_LIBS
=$LIBS
8931 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8941 char XextCreateExtension ();
8945 return XextCreateExtension ();
8950 if ac_fn_c_try_link
"$LINENO"; then :
8952 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8953 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'` ;;
8954 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8955 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8956 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8960 rm -f core conftest.err conftest.
$ac_objext \
8961 conftest
$ac_exeext conftest.
$ac_ext
8962 LIBS
=$ac_check_soname_save_LIBS
8964 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8966 $as_echo "not found" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8970 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8972 cat >>confdefs.h
<<_ACEOF
8973 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8979 for ac_header
in X11
/Xlib.h \
8982 X11
/Xcursor
/Xcursor.h \
8983 X11
/extensions
/shape.h \
8984 X11
/extensions
/XInput.h \
8985 X11
/extensions
/XInput2.h \
8986 X11
/extensions
/XShm.h \
8987 X11
/extensions
/Xcomposite.h \
8988 X11
/extensions
/Xinerama.h \
8989 X11
/extensions
/Xrandr.h \
8990 X11
/extensions
/Xrender.h \
8991 X11
/extensions
/xf86vmode.h \
8992 X11
/extensions
/xf86vmproto.h
8994 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8996 # include <X11/Xlib.h>
8998 #ifdef HAVE_X11_XUTIL_H
8999 # include <X11/Xutil.h>
9002 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9003 cat >>confdefs.h
<<_ACEOF
9004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9012 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9015 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9016 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9017 $as_echo_n "(cached) " >&6
9019 ac_check_lib_save_LIBS
=$LIBS
9020 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9030 char XkbQueryExtension ();
9034 return XkbQueryExtension ();
9039 if ac_fn_c_try_link
"$LINENO"; then :
9040 ac_cv_lib_X11_XkbQueryExtension
=yes
9042 ac_cv_lib_X11_XkbQueryExtension
=no
9044 rm -f core conftest.err conftest.
$ac_objext \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 LIBS
=$ac_check_lib_save_LIBS
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9049 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9050 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9052 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9058 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9061 $as_echo_n "checking for -lXcursor... " >&6; }
9062 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9063 $as_echo_n "(cached) " >&6
9065 ac_check_soname_save_LIBS
=$LIBS
9066 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9070 /* Override any GCC internal prototype to avoid an error.
9071 Use char because int might match the return type of a GCC
9072 builtin and then its argument prototype would still apply. */
9076 char XcursorImageLoadCursor ();
9080 return XcursorImageLoadCursor ();
9085 if ac_fn_c_try_link
"$LINENO"; then :
9087 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9088 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'` ;;
9089 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9090 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9091 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9095 rm -f core conftest.err conftest.
$ac_objext \
9096 conftest
$ac_exeext conftest.
$ac_ext
9097 LIBS
=$ac_check_soname_save_LIBS
9099 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9101 $as_echo "not found" >&6; }
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9105 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9107 cat >>confdefs.h
<<_ACEOF
9108 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9114 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9115 case "x$with_xcursor" in
9116 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9118 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9119 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9123 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9126 $as_echo_n "checking for -lXi... " >&6; }
9127 if ${ac_cv_lib_soname_Xi+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 ac_check_soname_save_LIBS
=$LIBS
9131 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9141 char XOpenDevice ();
9145 return XOpenDevice ();
9150 if ac_fn_c_try_link
"$LINENO"; then :
9152 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9153 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'` ;;
9154 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9155 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9156 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 LIBS
=$ac_check_soname_save_LIBS
9164 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9166 $as_echo "not found" >&6; }
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9170 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9172 cat >>confdefs.h
<<_ACEOF
9173 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9179 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9180 case "x$with_xinput" in
9181 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9183 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9184 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9188 if test "x$ac_cv_lib_soname_Xi" != x
9190 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9191 case "x$with_xinput2" in
9192 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9194 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9195 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9200 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9203 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9204 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9205 $as_echo_n "(cached) " >&6
9207 ac_check_lib_save_LIBS
=$LIBS
9208 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9218 char XShmQueryExtension ();
9222 return XShmQueryExtension ();
9227 if ac_fn_c_try_link
"$LINENO"; then :
9228 ac_cv_lib_Xext_XShmQueryExtension
=yes
9230 ac_cv_lib_Xext_XShmQueryExtension
=no
9232 rm -f core conftest.err conftest.
$ac_objext \
9233 conftest
$ac_exeext conftest.
$ac_ext
9234 LIBS
=$ac_check_lib_save_LIBS
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9237 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9238 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9240 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9245 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9246 case "x$with_xshm" in
9247 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9249 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9250 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9254 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9257 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9258 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9259 $as_echo_n "(cached) " >&6
9261 ac_check_lib_save_LIBS
=$LIBS
9262 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9272 char XShapeQueryExtension ();
9276 return XShapeQueryExtension ();
9281 if ac_fn_c_try_link
"$LINENO"; then :
9282 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9284 ac_cv_lib_Xext_XShapeQueryExtension
=no
9286 rm -f core conftest.err conftest.
$ac_objext \
9287 conftest
$ac_exeext conftest.
$ac_ext
9288 LIBS
=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9291 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9292 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9294 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9299 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9300 case "x$with_xshape" in
9301 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9303 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9304 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9308 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9311 $as_echo_n "checking for -lXxf86vm... " >&6; }
9312 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9313 $as_echo_n "(cached) " >&6
9315 ac_check_soname_save_LIBS
=$LIBS
9316 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9326 char XF86VidModeQueryExtension ();
9330 return XF86VidModeQueryExtension ();
9335 if ac_fn_c_try_link
"$LINENO"; then :
9337 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9338 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'` ;;
9339 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9340 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9341 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9345 rm -f core conftest.err conftest.
$ac_objext \
9346 conftest
$ac_exeext conftest.
$ac_ext
9347 LIBS
=$ac_check_soname_save_LIBS
9349 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9351 $as_echo "not found" >&6; }
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9355 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9357 cat >>confdefs.h
<<_ACEOF
9358 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9365 case "x$with_xxf86vm" in
9366 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9368 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9369 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9373 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"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9376 $as_echo_n "checking for -lXrender... " >&6; }
9377 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9378 $as_echo_n "(cached) " >&6
9380 ac_check_soname_save_LIBS
=$LIBS
9381 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9391 char XRenderQueryExtension ();
9395 return XRenderQueryExtension ();
9400 if ac_fn_c_try_link
"$LINENO"; then :
9402 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9403 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'` ;;
9404 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9405 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9406 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9410 rm -f core conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LIBS
=$ac_check_soname_save_LIBS
9414 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9416 $as_echo "not found" >&6; }
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9420 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9422 cat >>confdefs.h
<<_ACEOF
9423 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9427 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9428 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 ac_check_lib_save_LIBS
=$LIBS
9432 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9442 char XRenderSetPictureTransform ();
9446 return XRenderSetPictureTransform ();
9451 if ac_fn_c_try_link
"$LINENO"; then :
9452 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9454 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9456 rm -f core conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9458 LIBS
=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9461 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9462 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9464 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9469 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9470 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 ac_check_lib_save_LIBS
=$LIBS
9474 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9484 char XRenderCreateLinearGradient ();
9488 return XRenderCreateLinearGradient ();
9493 if ac_fn_c_try_link
"$LINENO"; then :
9494 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9496 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LIBS
=$ac_check_lib_save_LIBS
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9503 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9504 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9506 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9513 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9514 case "x$with_xrender" in
9515 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9517 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9518 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9522 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 #include <X11/Xlib.h>
9527 #include <X11/extensions/Xrandr.h>
9531 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9536 if ac_fn_c_try_compile
"$LINENO"; then :
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9538 $as_echo_n "checking for -lXrandr... " >&6; }
9539 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9542 ac_check_soname_save_LIBS
=$LIBS
9543 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9553 char XRRQueryExtension ();
9557 return XRRQueryExtension ();
9562 if ac_fn_c_try_link
"$LINENO"; then :
9564 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9565 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'` ;;
9566 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9567 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9568 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9572 rm -f core conftest.err conftest.
$ac_objext \
9573 conftest
$ac_exeext conftest.
$ac_ext
9574 LIBS
=$ac_check_soname_save_LIBS
9576 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9578 $as_echo "not found" >&6; }
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9582 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9584 cat >>confdefs.h
<<_ACEOF
9585 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
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(XRRGetScreenResources) *f; if (f) return 0;
9600 if ac_fn_c_try_compile
"$LINENO"; then :
9602 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9610 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9611 case "x$with_xrandr" in
9612 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9614 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9615 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9619 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9623 #include <X11/Xlib.h>
9624 #include <X11/extensions/Xinerama.h>
9628 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9633 if ac_fn_c_try_compile
"$LINENO"; then :
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9635 $as_echo_n "checking for -lXinerama... " >&6; }
9636 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9637 $as_echo_n "(cached) " >&6
9639 ac_check_soname_save_LIBS
=$LIBS
9640 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9650 char XineramaQueryScreens ();
9654 return XineramaQueryScreens ();
9659 if ac_fn_c_try_link
"$LINENO"; then :
9661 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9662 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'` ;;
9663 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9664 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9665 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9669 rm -f core conftest.err conftest.
$ac_objext \
9670 conftest
$ac_exeext conftest.
$ac_ext
9671 LIBS
=$ac_check_soname_save_LIBS
9673 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9675 $as_echo "not found" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9679 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9681 cat >>confdefs.h
<<_ACEOF
9682 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9690 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9691 case "x$with_xinerama" in
9692 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9694 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9695 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9699 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9702 $as_echo_n "checking for -lXcomposite... " >&6; }
9703 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 ac_check_soname_save_LIBS
=$LIBS
9707 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9717 char XCompositeRedirectWindow ();
9721 return XCompositeRedirectWindow ();
9726 if ac_fn_c_try_link
"$LINENO"; then :
9728 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9729 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'` ;;
9730 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9731 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9732 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9736 rm -f core conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9738 LIBS
=$ac_check_soname_save_LIBS
9740 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9742 $as_echo "not found" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9746 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9748 cat >>confdefs.h
<<_ACEOF
9749 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9755 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9756 case "x$with_xcomposite" in
9757 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9759 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9760 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9764 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9765 #include <X11/Xlib.h>
9768 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9770 cat >>confdefs.h
<<_ACEOF
9771 #define HAVE_XICCALLBACK_CALLBACK 1
9776 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9777 #include <X11/Xlib.h>
9780 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9782 cat >>confdefs.h
<<_ACEOF
9783 #define HAVE_XEVENT_XCOOKIE 1
9792 if test "x$with_opengl" != "xno"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9795 $as_echo_n "checking for -lGL... " >&6; }
9796 if ${ac_cv_lib_soname_GL+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 ac_check_soname_save_LIBS
=$LIBS
9800 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9810 char glXCreateContext ();
9814 return glXCreateContext ();
9819 if ac_fn_c_try_link
"$LINENO"; then :
9821 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if test "x$ac_cv_lib_soname_GL" = x
; then :
9825 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9829 rm -f core conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 LIBS
=$ac_check_soname_save_LIBS
9833 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9837 $as_echo_n "checking for -lGL... " >&6; }
9838 if ${ac_cv_lib_soname_GL+:} false
; then :
9839 $as_echo_n "(cached) " >&6
9841 ac_check_soname_save_LIBS
=$LIBS
9842 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"
9843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9852 char glXCreateContext ();
9856 return glXCreateContext ();
9861 if ac_fn_c_try_link
"$LINENO"; then :
9863 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9864 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'` ;;
9865 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9866 if test "x$ac_cv_lib_soname_GL" = x
; then :
9867 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LIBS
=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9877 $as_echo "not found" >&6; }
9878 if test -f /usr
/X11R
6/lib
/libGL.a
9880 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9881 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9883 opengl_msg
="No OpenGL library found on this system."
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9887 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9889 cat >>confdefs.h
<<_ACEOF
9890 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9893 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"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9897 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9899 cat >>confdefs.h
<<_ACEOF
9900 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9905 if test "x$with_glu" != "xno"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9908 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9909 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9910 $as_echo_n "(cached) " >&6
9912 ac_check_lib_save_LIBS
=$LIBS
9913 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9917 /* Override any GCC internal prototype to avoid an error.
9918 Use char because int might match the return type of a GCC
9919 builtin and then its argument prototype would still apply. */
9927 return gluLookAt ();
9932 if ac_fn_c_try_link
"$LINENO"; then :
9933 ac_cv_lib_GLU_gluLookAt
=yes
9935 ac_cv_lib_GLU_gluLookAt
=no
9937 rm -f core conftest.err conftest.
$ac_objext \
9938 conftest
$ac_exeext conftest.
$ac_ext
9939 LIBS
=$ac_check_lib_save_LIBS
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9942 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9943 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9947 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9948 case "x$with_glu" in
9949 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9951 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9952 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9957 if test "x$with_osmesa" != "xno"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9960 $as_echo_n "checking for -lOSMesa... " >&6; }
9961 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 ac_check_soname_save_LIBS
=$LIBS
9965 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9984 if ac_fn_c_try_link
"$LINENO"; then :
9986 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9990 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9994 rm -f core conftest.err conftest.
$ac_objext \
9995 conftest
$ac_exeext conftest.
$ac_ext
9996 LIBS
=$ac_check_soname_save_LIBS
9998 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10004 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10006 cat >>confdefs.h
<<_ACEOF
10007 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10012 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10013 case "x$with_osmesa" in
10014 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10016 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10017 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10022 if test -n "$opengl_msg"; then :
10023 case "x$with_opengl" in
10024 x
) as_fn_append wine_warnings
"|$opengl_msg
10025 OpenGL and Direct3D won't be supported." ;;
10027 *) as_fn_error $?
"$opengl_msg
10028 OpenGL and Direct3D won't be supported.
10029 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10033 CPPFLAGS
="$ac_save_CPPFLAGS"
10038 enable_winex11_drv
=${enable_winex11_drv:-no}
10040 if test "x$XLIB" = "x"; then :
10043 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10044 without X support, which probably isn't what you want. You will need
10045 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10046 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10050 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10052 if test "$ac_cv_header_CL_cl_h" = "yes"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10055 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10056 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_check_lib_save_LIBS
=$LIBS
10060 LIBS
="-lOpenCL $LIBS"
10061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10070 char clGetPlatformInfo ();
10074 return clGetPlatformInfo ();
10079 if ac_fn_c_try_link
"$LINENO"; then :
10080 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10082 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10084 rm -f core conftest.err conftest.
$ac_objext \
10085 conftest
$ac_exeext conftest.
$ac_ext
10086 LIBS
=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10089 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10090 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10091 LIBOPENCL
="-lOpenCL"
10096 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10097 case "x$with_opencl" in
10098 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10100 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10101 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10104 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10107 if test "x$with_xml" != "xno"
10109 if test -n "$XML2_CFLAGS"; then :
10111 elif test -n "$PKG_CONFIG"; then :
10112 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10114 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10115 if test -n "$XML2_LIBS"; then :
10117 elif test -n "$PKG_CONFIG"; then :
10118 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10120 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10121 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10122 ac_save_CPPFLAGS
=$CPPFLAGS
10123 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10124 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10127 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10128 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10129 cat >>confdefs.h
<<_ACEOF
10130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10137 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"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10140 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10141 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10142 $as_echo_n "(cached) " >&6
10144 ac_check_lib_save_LIBS
=$LIBS
10145 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10155 char xmlParseMemory ();
10159 return xmlParseMemory ();
10164 if ac_fn_c_try_link
"$LINENO"; then :
10165 ac_cv_lib_xml2_xmlParseMemory
=yes
10167 ac_cv_lib_xml2_xmlParseMemory
=no
10169 rm -f core conftest.err conftest.
$ac_objext \
10170 conftest
$ac_exeext conftest.
$ac_ext
10171 LIBS
=$ac_check_lib_save_LIBS
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10174 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10175 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10177 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10184 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10185 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10186 $as_echo_n "(cached) " >&6
10188 ac_check_lib_save_LIBS
=$LIBS
10189 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10199 char xmlReadMemory ();
10203 return xmlReadMemory ();
10208 if ac_fn_c_try_link
"$LINENO"; then :
10209 ac_cv_lib_xml2_xmlReadMemory
=yes
10211 ac_cv_lib_xml2_xmlReadMemory
=no
10213 rm -f core conftest.err conftest.
$ac_objext \
10214 conftest
$ac_exeext conftest.
$ac_ext
10215 LIBS
=$ac_check_lib_save_LIBS
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10218 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10219 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10221 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10226 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10227 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10228 $as_echo_n "(cached) " >&6
10230 ac_check_lib_save_LIBS
=$LIBS
10231 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10241 char xmlNewDocPI ();
10245 return xmlNewDocPI ();
10250 if ac_fn_c_try_link
"$LINENO"; then :
10251 ac_cv_lib_xml2_xmlNewDocPI
=yes
10253 ac_cv_lib_xml2_xmlNewDocPI
=no
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 LIBS
=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10260 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10261 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10263 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10268 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10269 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 ac_check_lib_save_LIBS
=$LIBS
10273 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10283 char xmlSchemaSetParserStructuredErrors ();
10287 return xmlSchemaSetParserStructuredErrors ();
10292 if ac_fn_c_try_link
"$LINENO"; then :
10293 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10295 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10297 rm -f core conftest.err conftest.
$ac_objext \
10298 conftest
$ac_exeext conftest.
$ac_ext
10299 LIBS
=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10302 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10303 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10305 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10310 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10311 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 ac_check_lib_save_LIBS
=$LIBS
10315 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10325 char xmlSchemaSetValidStructuredErrors ();
10329 return xmlSchemaSetValidStructuredErrors ();
10334 if ac_fn_c_try_link
"$LINENO"; then :
10335 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10337 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10339 rm -f core conftest.err conftest.
$ac_objext \
10340 conftest
$ac_exeext conftest.
$ac_ext
10341 LIBS
=$ac_check_lib_save_LIBS
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10344 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10345 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10347 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10352 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10353 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_lib_save_LIBS
=$LIBS
10357 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10367 char xmlFirstElementChild ();
10371 return xmlFirstElementChild ();
10376 if ac_fn_c_try_link
"$LINENO"; then :
10377 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10379 ac_cv_lib_xml2_xmlFirstElementChild
=no
10381 rm -f core conftest.err conftest.
$ac_objext \
10382 conftest
$ac_exeext conftest.
$ac_ext
10383 LIBS
=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10386 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10387 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10389 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10393 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10395 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10397 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10405 CPPFLAGS
=$ac_save_CPPFLAGS
10406 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10407 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10410 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10411 case "x$with_xml" in
10412 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10414 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10415 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10419 if test "x$with_xslt" != "xno"
10421 if test -n "$XSLT_CFLAGS"; then :
10423 elif test -n "$PKG_CONFIG"; then :
10424 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10426 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10427 if test -n "$XSLT_LIBS"; then :
10429 elif test -n "$PKG_CONFIG"; then :
10430 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10432 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10433 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10434 ac_save_CPPFLAGS
=$CPPFLAGS
10435 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10436 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10439 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10440 # include <libxslt/pattern.h>
10443 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10444 cat >>confdefs.h
<<_ACEOF
10445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10452 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10455 $as_echo_n "checking for -lxslt... " >&6; }
10456 if ${ac_cv_lib_soname_xslt+:} false
; then :
10457 $as_echo_n "(cached) " >&6
10459 ac_check_soname_save_LIBS
=$LIBS
10460 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10470 char xsltCompilePattern ();
10474 return xsltCompilePattern ();
10479 if ac_fn_c_try_link
"$LINENO"; then :
10481 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10482 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'` ;;
10483 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10484 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10485 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10489 rm -f core conftest.err conftest.
$ac_objext \
10490 conftest
$ac_exeext conftest.
$ac_ext
10491 LIBS
=$ac_check_soname_save_LIBS
10493 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10495 $as_echo "not found" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10499 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10501 cat >>confdefs.h
<<_ACEOF
10502 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10510 CPPFLAGS
=$ac_save_CPPFLAGS
10511 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10512 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10515 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10516 case "x$with_xslt" in
10517 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10519 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10520 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10524 if test "x$with_dbus" != "xno"
10526 if test -n "$DBUS_CFLAGS"; then :
10528 elif test -n "$PKG_CONFIG"; then :
10529 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10532 if test -n "$DBUS_LIBS"; then :
10534 elif test -n "$PKG_CONFIG"; then :
10535 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10539 ac_save_CPPFLAGS
=$CPPFLAGS
10540 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10541 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10542 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10544 $as_echo_n "checking for -ldbus-1... " >&6; }
10545 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10546 $as_echo_n "(cached) " >&6
10548 ac_check_soname_save_LIBS
=$LIBS
10549 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10559 char dbus_connection_close ();
10563 return dbus_connection_close ();
10568 if ac_fn_c_try_link
"$LINENO"; then :
10570 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10571 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'` ;;
10572 *) 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'`
10573 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10574 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10578 rm -f core conftest.err conftest.
$ac_objext \
10579 conftest
$ac_exeext conftest.
$ac_ext
10580 LIBS
=$ac_check_soname_save_LIBS
10582 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10584 $as_echo "not found" >&6; }
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10588 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10590 cat >>confdefs.h
<<_ACEOF
10591 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10601 CPPFLAGS
=$ac_save_CPPFLAGS
10602 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10603 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10606 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10607 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10608 case "x$with_dbus" in
10609 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10611 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10612 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10616 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10618 if test -n "$HAL_CFLAGS"; then :
10620 elif test -n "$PKG_CONFIG"; then :
10621 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10624 if test -n "$HAL_LIBS"; then :
10626 elif test -n "$PKG_CONFIG"; then :
10627 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10630 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10631 ac_save_CPPFLAGS
=$CPPFLAGS
10632 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10633 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10634 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10636 $as_echo_n "checking for -lhal... " >&6; }
10637 if ${ac_cv_lib_soname_hal+:} false
; then :
10638 $as_echo_n "(cached) " >&6
10640 ac_check_soname_save_LIBS
=$LIBS
10641 LIBS
="-lhal $HAL_LIBS $LIBS"
10642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10651 char libhal_ctx_new ();
10655 return libhal_ctx_new ();
10660 if ac_fn_c_try_link
"$LINENO"; then :
10662 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10663 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'` ;;
10664 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10665 if test "x$ac_cv_lib_soname_hal" = x
; then :
10666 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10670 rm -f core conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_soname_save_LIBS
10674 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10676 $as_echo "not found" >&6; }
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10680 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10682 cat >>confdefs.h
<<_ACEOF
10683 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10693 CPPFLAGS
=$ac_save_CPPFLAGS
10694 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10695 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10697 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10698 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10699 case "x$with_hal" in
10700 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10702 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10703 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10708 if test "x$with_gnutls" != "xno"
10710 if test -n "$GNUTLS_CFLAGS"; then :
10712 elif test -n "$PKG_CONFIG"; then :
10713 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10716 if test -n "$GNUTLS_LIBS"; then :
10718 elif test -n "$PKG_CONFIG"; then :
10719 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10723 ac_save_CPPFLAGS
=$CPPFLAGS
10724 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10725 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10726 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 #include <gnutls/gnutls.h>
10730 #include <gnutls/crypto.h>
10734 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10739 if ac_fn_c_try_compile
"$LINENO"; then :
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10741 $as_echo_n "checking for -lgnutls... " >&6; }
10742 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_soname_save_LIBS
=$LIBS
10746 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char gnutls_global_init ();
10760 return gnutls_global_init ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10767 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10768 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'` ;;
10769 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10770 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10771 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_check_soname_save_LIBS
10779 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10781 $as_echo "not found" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10785 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10787 cat >>confdefs.h
<<_ACEOF
10788 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10800 CPPFLAGS
=$ac_save_CPPFLAGS
10801 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10802 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10805 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10806 case "x$with_gnutls" in
10807 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10809 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10810 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10815 if test "$ac_cv_header_ncurses_h" = "yes"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10818 $as_echo_n "checking for -lncurses... " >&6; }
10819 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_soname_save_LIBS
=$LIBS
10823 LIBS
="-lncurses $LIBS"
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10842 if ac_fn_c_try_link
"$LINENO"; then :
10844 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10847 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10848 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10852 rm -f core conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10854 LIBS
=$ac_check_soname_save_LIBS
10856 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10858 $as_echo "not found" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10862 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10864 cat >>confdefs.h
<<_ACEOF
10865 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10868 CURSESLIBS
="-lncurses"
10870 elif test "$ac_cv_header_curses_h" = "yes"
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10873 $as_echo_n "checking for -lcurses... " >&6; }
10874 if ${ac_cv_lib_soname_curses+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10877 ac_check_soname_save_LIBS
=$LIBS
10878 LIBS
="-lcurses $LIBS"
10879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10897 if ac_fn_c_try_link
"$LINENO"; then :
10899 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10900 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'` ;;
10901 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10902 if test "x$ac_cv_lib_soname_curses" = x
; then :
10903 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10907 rm -f core conftest.err conftest.
$ac_objext \
10908 conftest
$ac_exeext conftest.
$ac_ext
10909 LIBS
=$ac_check_soname_save_LIBS
10911 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10913 $as_echo "not found" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10917 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10919 cat >>confdefs.h
<<_ACEOF
10920 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10923 CURSESLIBS
="-lcurses"
10926 ac_save_LIBS
="$LIBS"
10927 LIBS
="$LIBS $CURSESLIBS"
10928 for ac_func
in mousemask
10930 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10931 if test "x$ac_cv_func_mousemask" = xyes
; then :
10932 cat >>confdefs.h
<<_ACEOF
10933 #define HAVE_MOUSEMASK 1
10939 LIBS
="$ac_save_LIBS"
10940 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10941 case "x$with_curses" in
10942 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10944 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10945 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10949 if test "x$with_sane" != "xno"
10951 if test -n "$SANE_CFLAGS"; then :
10953 elif test -n "$PKG_CONFIG"; then :
10954 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10956 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10957 if test -n "$SANE_LIBS"; then :
10959 elif test -n "$PKG_CONFIG"; then :
10960 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10962 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10964 ac_save_CPPFLAGS
=$CPPFLAGS
10965 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10966 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10967 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10969 $as_echo_n "checking for -lsane... " >&6; }
10970 if ${ac_cv_lib_soname_sane+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 ac_check_soname_save_LIBS
=$LIBS
10974 LIBS
="-lsane $SANE_LIBS $LIBS"
10975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10988 return sane_init ();
10993 if ac_fn_c_try_link
"$LINENO"; then :
10995 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10996 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'` ;;
10997 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10998 if test "x$ac_cv_lib_soname_sane" = x
; then :
10999 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11003 rm -f core conftest.err conftest.
$ac_objext \
11004 conftest
$ac_exeext conftest.
$ac_ext
11005 LIBS
=$ac_check_soname_save_LIBS
11007 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11009 $as_echo "not found" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11013 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11015 cat >>confdefs.h
<<_ACEOF
11016 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11026 CPPFLAGS
=$ac_save_CPPFLAGS
11027 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11028 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11031 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11032 case "x$with_sane" in
11033 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11035 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11036 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11040 if test "x$with_v4l" != "xno"
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11043 $as_echo_n "checking for -lv4l1... " >&6; }
11044 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11045 $as_echo_n "(cached) " >&6
11047 ac_check_soname_save_LIBS
=$LIBS
11048 LIBS
="-lv4l1 $LIBS"
11049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11062 return v4l1_open ();
11067 if ac_fn_c_try_link
"$LINENO"; then :
11069 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11070 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'` ;;
11071 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11072 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11073 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11077 rm -f core conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LIBS
=$ac_check_soname_save_LIBS
11081 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11083 $as_echo "not found" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11087 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11089 cat >>confdefs.h
<<_ACEOF
11090 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11096 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11097 case "x$with_v4l" in
11098 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11100 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11101 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11105 if test "x$with_gphoto" != "xno"
11107 if test -n "$GPHOTO2_CFLAGS"; then :
11109 elif test -n "$PKG_CONFIG"; then :
11110 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11112 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11113 if test -n "$GPHOTO2_LIBS"; then :
11115 elif test -n "$PKG_CONFIG"; then :
11116 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11118 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11119 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11120 ac_save_CPPFLAGS
=$CPPFLAGS
11121 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11122 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11123 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11125 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11126 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11127 $as_echo_n "(cached) " >&6
11129 ac_check_lib_save_LIBS
=$LIBS
11130 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11140 char gp_camera_new ();
11144 return gp_camera_new ();
11149 if ac_fn_c_try_link
"$LINENO"; then :
11150 ac_cv_lib_gphoto2_gp_camera_new
=yes
11152 ac_cv_lib_gphoto2_gp_camera_new
=no
11154 rm -f core conftest.err conftest.
$ac_objext \
11155 conftest
$ac_exeext conftest.
$ac_ext
11156 LIBS
=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11159 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11160 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11162 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11165 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11169 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11173 CPPFLAGS
=$ac_save_CPPFLAGS
11174 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11175 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11179 elif test -n "$PKG_CONFIG"; then :
11180 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11182 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11183 if test -n "$GPHOTO2_PORT_LIBS"; then :
11185 elif test -n "$PKG_CONFIG"; then :
11186 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11188 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11189 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11190 ac_save_CPPFLAGS
=$CPPFLAGS
11191 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11192 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11195 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11196 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_lib_save_LIBS
=$LIBS
11200 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11210 char gp_port_info_list_new ();
11214 return gp_port_info_list_new ();
11219 if ac_fn_c_try_link
"$LINENO"; then :
11220 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11222 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11224 rm -f core conftest.err conftest.
$ac_objext \
11225 conftest
$ac_exeext conftest.
$ac_ext
11226 LIBS
=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11229 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11230 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11232 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11235 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11239 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11243 CPPFLAGS
=$ac_save_CPPFLAGS
11244 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11245 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11248 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11249 case "x$with_gphoto" in
11250 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11252 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11253 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11256 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11257 case "x$with_gphoto" in
11258 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11260 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11261 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11266 if test "$ac_cv_header_resolv_h" = "yes"
11268 ac_save_LIBS
="$LIBS"
11269 for lib
in '' -lresolv
11271 LIBS
="$lib $ac_save_LIBS"
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11274 #ifdef HAVE_NETINET_IN_H
11275 #include <netinet/in.h>
11277 #include <resolv.h>
11281 res_query("foo",ns_c_in,0,0,0);
11286 if ac_fn_c_try_link
"$LINENO"; then :
11288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11293 rm -f core conftest.err conftest.
$ac_objext \
11294 conftest
$ac_exeext conftest.
$ac_ext
11295 if test "${RESOLVLIBS+set}" = set; then
11299 LIBS
="$ac_save_LIBS"
11302 if test "x$with_lcms2" != "xno"
11304 if test -n "$LCMS2_CFLAGS"; then :
11306 elif test -n "$PKG_CONFIG"; then :
11307 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11310 if test -n "$LCMS2_LIBS"; then :
11312 elif test -n "$PKG_CONFIG"; then :
11313 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11316 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11317 ac_save_CPPFLAGS
=$CPPFLAGS
11318 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11319 for ac_header
in lcms2.h
11321 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11322 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11323 cat >>confdefs.h
<<_ACEOF
11324 #define HAVE_LCMS2_H 1
11331 if test "$ac_cv_header_lcms2_h" = "yes"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11334 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11335 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11336 $as_echo_n "(cached) " >&6
11338 ac_check_lib_save_LIBS
=$LIBS
11339 LIBS
="-llcms2 $LIBS"
11340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11349 char cmsOpenProfileFromFile ();
11353 return cmsOpenProfileFromFile ();
11358 if ac_fn_c_try_link
"$LINENO"; then :
11359 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11361 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11363 rm -f core conftest.err conftest.
$ac_objext \
11364 conftest
$ac_exeext conftest.
$ac_ext
11365 LIBS
=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11368 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11369 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11371 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11381 CPPFLAGS
=$ac_save_CPPFLAGS
11382 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11383 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11386 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11387 case "x$with_cms" in
11388 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11390 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11391 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11395 if test "x$with_freetype" != "xno"
11397 if test -n "$FREETYPE_CFLAGS"; then :
11399 elif test -n "$PKG_CONFIG"; then :
11400 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11402 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11403 if test -n "$FREETYPE_LIBS"; then :
11405 elif test -n "$PKG_CONFIG"; then :
11406 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11408 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11409 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11410 ac_save_CPPFLAGS
=$CPPFLAGS
11411 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11413 $as_echo_n "checking for -lfreetype... " >&6; }
11414 if ${ac_cv_lib_soname_freetype+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 ac_check_soname_save_LIBS
=$LIBS
11418 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11428 char FT_Init_FreeType ();
11432 return FT_Init_FreeType ();
11437 if ac_fn_c_try_link
"$LINENO"; then :
11439 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11442 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11443 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11447 rm -f core conftest.err conftest.
$ac_objext \
11448 conftest
$ac_exeext conftest.
$ac_ext
11449 LIBS
=$ac_check_soname_save_LIBS
11451 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11453 $as_echo "not found" >&6; }
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11457 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11459 cat >>confdefs.h
<<_ACEOF
11460 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11465 if test "$ft_lib" = "yes"
11467 for ac_header
in ft2build.h \
11468 freetype
/freetype.h \
11469 freetype
/ftglyph.h \
11470 freetype
/fttypes.h \
11471 freetype
/tttables.h \
11472 freetype
/ftsnames.h \
11473 freetype
/ttnameid.h \
11474 freetype
/ftoutln.h \
11475 freetype
/ftwinfnt.h \
11476 freetype
/ftmodapi.h \
11477 freetype
/ftlcdfil.h
11479 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11480 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11481 # include <ft2build.h>
11484 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11485 cat >>confdefs.h
<<_ACEOF
11486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 #include <ft2build.h>
11496 #include <freetype/fttrigon.h>
11498 if ac_fn_c_try_cpp
"$LINENO"; then :
11500 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11502 wine_cv_fttrigon
=yes
11504 wine_cv_fttrigon
=no
11506 rm -f conftest.err conftest.i conftest.
$ac_ext
11507 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11509 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11511 cat >>confdefs.h
<<_ACEOF
11512 #define HAVE_FT_TRUETYPEENGINETYPE 1
11518 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11521 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11529 CPPFLAGS
=$ac_save_CPPFLAGS
11530 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11531 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11534 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11535 case "x$with_freetype" in
11537 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11538 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11541 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11544 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11545 if ${ac_cv_c_ppdev+:} false
; then :
11546 $as_echo_n "(cached) " >&6
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11550 #ifdef HAVE_SYS_IOCTL_H
11551 # include <sys/ioctl.h>
11553 #include <linux/ppdev.h>
11557 ioctl (1,PPCLAIM,0)
11562 if ac_fn_c_try_compile
"$LINENO"; then :
11563 ac_cv_c_ppdev
="yes"
11567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11570 $as_echo "$ac_cv_c_ppdev" >&6; }
11571 if test "$ac_cv_c_ppdev" = "yes"
11574 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11578 ac_wine_check_funcs_save_LIBS
="$LIBS"
11579 LIBS
="$LIBS $LIBPTHREAD"
11581 pthread_attr_get_np \
11582 pthread_getattr_np \
11583 pthread_getthreadid_np \
11584 pthread_get_stackaddr_np \
11585 pthread_get_stacksize_np
11587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11589 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11590 cat >>confdefs.h
<<_ACEOF
11591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11597 LIBS
="$ac_wine_check_funcs_save_LIBS"
11599 if test "$ac_cv_header_zlib_h" = "yes"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11602 $as_echo_n "checking for inflate in -lz... " >&6; }
11603 if ${ac_cv_lib_z_inflate+:} false
; then :
11604 $as_echo_n "(cached) " >&6
11606 ac_check_lib_save_LIBS
=$LIBS
11608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11626 if ac_fn_c_try_link
"$LINENO"; then :
11627 ac_cv_lib_z_inflate
=yes
11629 ac_cv_lib_z_inflate
=no
11631 rm -f core conftest.err conftest.
$ac_objext \
11632 conftest
$ac_exeext conftest.
$ac_ext
11633 LIBS
=$ac_check_lib_save_LIBS
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11636 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11637 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11639 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11646 if test "x$ZLIB" = "x"; then :
11647 case "x$with_zlib" in
11648 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11650 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11651 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11655 if test "x$enable_tools" != xno
11657 if test "$ac_cv_header_gettext_po_h" = "yes"
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11660 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11661 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11662 $as_echo_n "(cached) " >&6
11664 ac_check_lib_save_LIBS
=$LIBS
11665 LIBS
="-lgettextpo $LIBS"
11666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11675 char po_message_msgctxt ();
11679 return po_message_msgctxt ();
11684 if ac_fn_c_try_link
"$LINENO"; then :
11685 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11687 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11689 rm -f core conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11694 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11695 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11697 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11699 LIBGETTEXTPO
="-lgettextpo"
11704 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11705 case "x$with_gettextpo" in
11706 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11708 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11709 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11714 if test "x$with_gstreamer" != "xno"
11716 if test -n "$GSTREAMER_CFLAGS"; then :
11718 elif test -n "$PKG_CONFIG"; then :
11719 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11722 if test -n "$GSTREAMER_LIBS"; then :
11724 elif test -n "$PKG_CONFIG"; then :
11725 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11729 ac_save_CPPFLAGS
=$CPPFLAGS
11730 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11732 for i
in $GSTREAMER_CFLAGS
11735 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11738 GSTREAMER_CFLAGS
=$ac_gst_incl
11739 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11740 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11741 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11742 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11745 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 #include <gst/app/gstappsink.h>
11752 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11757 if ac_fn_c_try_compile
"$LINENO"; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11759 $as_echo "yes" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11761 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11762 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11763 $as_echo_n "(cached) " >&6
11765 ac_check_lib_save_LIBS
=$LIBS
11766 LIBS
="-lgstreamer-0.10 $LIBS"
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11776 char gst_pad_get_caps_reffed ();
11780 return gst_pad_get_caps_reffed ();
11785 if ac_fn_c_try_link
"$LINENO"; then :
11786 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11788 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11790 rm -f core conftest.err conftest.
$ac_objext \
11791 conftest
$ac_exeext conftest.
$ac_ext
11792 LIBS
=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11795 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11796 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11798 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11799 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11800 $as_echo_n "(cached) " >&6
11802 ac_check_lib_save_LIBS
=$LIBS
11803 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11813 char gst_app_buffer_new ();
11817 return gst_app_buffer_new ();
11822 if ac_fn_c_try_link
"$LINENO"; then :
11823 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11825 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11827 rm -f core conftest.err conftest.
$ac_objext \
11828 conftest
$ac_exeext conftest.
$ac_ext
11829 LIBS
=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11832 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11833 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11848 GSTREAMER_CFLAGS
=""
11852 CPPFLAGS
=$ac_save_CPPFLAGS
11853 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11854 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11857 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11858 case "x$with_gstreamer" in
11859 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11861 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11862 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11865 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11869 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11872 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11873 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 ac_check_lib_save_LIBS
=$LIBS
11877 LIBS
="-lasound $LIBS"
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11887 char snd_pcm_hw_params_get_access_mask ();
11891 return snd_pcm_hw_params_get_access_mask ();
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11899 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11906 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11907 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #ifdef HAVE_ALSA_ASOUNDLIB_H
11911 #include <alsa/asoundlib.h>
11912 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11913 #include <sys/asoundlib.h>
11918 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11923 if ac_fn_c_try_compile
"$LINENO"; then :
11924 ALSALIBS
="-lasound"
11926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11931 if test "x$with_oss" != xno
11933 ac_save_CPPFLAGS
="$CPPFLAGS"
11934 if test -f /etc
/oss.conf
11938 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11939 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11940 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11941 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11942 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11944 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11946 cat >>confdefs.h
<<_ACEOF
11947 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11950 OSS4INCL
="$ac_oss_incl"
11957 CPPFLAGS
="$ac_save_CPPFLAGS"
11958 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11960 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11964 if test "x$with_capi" != "xno"
11966 if test -n "$CAPI20_CFLAGS"; then :
11968 elif test -n "$PKG_CONFIG"; then :
11969 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11972 if test -n "$CAPI20_LIBS"; then :
11974 elif test -n "$PKG_CONFIG"; then :
11975 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11979 ac_save_CPPFLAGS
=$CPPFLAGS
11980 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11981 for ac_header
in capi20.h linux
/capi.h
11983 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11984 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11986 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11987 cat >>confdefs.h
<<_ACEOF
11988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11995 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11998 $as_echo_n "checking for -lcapi20... " >&6; }
11999 if ${ac_cv_lib_soname_capi20+:} false
; then :
12000 $as_echo_n "(cached) " >&6
12002 ac_check_soname_save_LIBS
=$LIBS
12003 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12013 char capi20_register ();
12017 return capi20_register ();
12022 if ac_fn_c_try_link
"$LINENO"; then :
12024 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12025 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'` ;;
12026 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12027 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12028 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12032 rm -f core conftest.err conftest.
$ac_objext \
12033 conftest
$ac_exeext conftest.
$ac_ext
12034 LIBS
=$ac_check_soname_save_LIBS
12036 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12038 $as_echo "not found" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12042 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12044 cat >>confdefs.h
<<_ACEOF
12045 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12051 CPPFLAGS
=$ac_save_CPPFLAGS
12052 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12056 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12057 case "x$with_capi" in
12058 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12060 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12061 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12067 if test "x$with_cups" != "xno"
12069 ac_save_CPPFLAGS
="$CPPFLAGS"
12070 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12071 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12072 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12073 for ac_header
in cups
/cups.h
12075 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12077 cat >>confdefs.h
<<_ACEOF
12078 #define HAVE_CUPS_CUPS_H 1
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12081 $as_echo_n "checking for -lcups... " >&6; }
12082 if ${ac_cv_lib_soname_cups+:} false
; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_soname_save_LIBS
=$LIBS
12086 LIBS
="-lcups $ac_cups_libs $LIBS"
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12096 char cupsGetDefault ();
12100 return cupsGetDefault ();
12105 if ac_fn_c_try_link
"$LINENO"; then :
12107 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12108 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'` ;;
12109 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12110 if test "x$ac_cv_lib_soname_cups" = x
; then :
12111 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12115 rm -f core conftest.err conftest.
$ac_objext \
12116 conftest
$ac_exeext conftest.
$ac_ext
12117 LIBS
=$ac_check_soname_save_LIBS
12119 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12121 $as_echo "not found" >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12125 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12127 cat >>confdefs.h
<<_ACEOF
12128 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12131 CUPSINCL
="$ac_cups_cflags"
12137 CPPFLAGS
="$ac_save_CPPFLAGS"
12139 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12140 case "x$with_cups" in
12141 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12143 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12144 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12148 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12151 $as_echo_n "checking for -lfontconfig... " >&6; }
12152 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_soname_save_LIBS
=$LIBS
12156 LIBS
="-lfontconfig $LIBS"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12175 if ac_fn_c_try_link
"$LINENO"; then :
12177 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12178 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'` ;;
12179 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12180 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12181 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_soname_save_LIBS
12189 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12195 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12197 cat >>confdefs.h
<<_ACEOF
12198 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12203 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12205 ac_save_CPPFLAGS
="$CPPFLAGS"
12206 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12207 $as_unset ac_cv_header_fontconfig_fontconfig_h
12208 for ac_header
in fontconfig
/fontconfig.h
12210 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12211 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12212 cat >>confdefs.h
<<_ACEOF
12213 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12220 CPPFLAGS
="$ac_save_CPPFLAGS"
12221 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12223 FONTCONFIGINCL
="$X_CFLAGS"
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12226 $as_echo_n "checking for -lfontconfig... " >&6; }
12227 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12228 $as_echo_n "(cached) " >&6
12230 ac_check_soname_save_LIBS
=$LIBS
12231 LIBS
="-lfontconfig $X_LIBS $LIBS"
12232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12250 if ac_fn_c_try_link
"$LINENO"; then :
12252 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12253 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'` ;;
12254 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12255 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12256 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12260 rm -f core conftest.err conftest.
$ac_objext \
12261 conftest
$ac_exeext conftest.
$ac_ext
12262 LIBS
=$ac_check_soname_save_LIBS
12264 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12266 $as_echo "not found" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12270 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12272 cat >>confdefs.h
<<_ACEOF
12273 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12280 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12281 case "x$with_fontconfig" in
12282 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12284 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12285 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12289 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12292 $as_echo_n "checking for -lgsm... " >&6; }
12293 if ${ac_cv_lib_soname_gsm+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 ac_check_soname_save_LIBS
=$LIBS
12298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12307 char gsm_create ();
12311 return gsm_create ();
12316 if ac_fn_c_try_link
"$LINENO"; then :
12318 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12319 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'` ;;
12320 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12321 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12322 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12326 rm -f core conftest.err conftest.
$ac_objext \
12327 conftest
$ac_exeext conftest.
$ac_ext
12328 LIBS
=$ac_check_soname_save_LIBS
12330 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12332 $as_echo "not found" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12336 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12338 cat >>confdefs.h
<<_ACEOF
12339 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12345 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12346 case "x$with_gsm" in
12347 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12349 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12350 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12354 if test "x$with_jpeg" != "xno"
12356 if test -n "$JPEG_CFLAGS"; then :
12358 elif test -n "$PKG_CONFIG"; then :
12359 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12362 if test -n "$JPEG_LIBS"; then :
12364 elif test -n "$PKG_CONFIG"; then :
12365 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12369 ac_save_CPPFLAGS
=$CPPFLAGS
12370 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12371 for ac_header
in jpeglib.h
12373 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12374 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12375 cat >>confdefs.h
<<_ACEOF
12376 #define HAVE_JPEGLIB_H 1
12383 if test "$ac_cv_header_jpeglib_h" = "yes"
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12386 $as_echo_n "checking for -ljpeg... " >&6; }
12387 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 ac_check_soname_save_LIBS
=$LIBS
12391 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12401 char jpeg_start_decompress ();
12405 return jpeg_start_decompress ();
12410 if ac_fn_c_try_link
"$LINENO"; then :
12412 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12413 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'` ;;
12414 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12415 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12416 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12420 rm -f core conftest.err conftest.
$ac_objext \
12421 conftest
$ac_exeext conftest.
$ac_ext
12422 LIBS
=$ac_check_soname_save_LIBS
12424 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12426 $as_echo "not found" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12430 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12432 cat >>confdefs.h
<<_ACEOF
12433 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12441 CPPFLAGS
=$ac_save_CPPFLAGS
12442 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12447 case "x$with_jpeg" in
12448 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12450 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12451 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12455 if test "x$with_png" != "xno"
12457 if test -n "$PNG_CFLAGS"; then :
12459 elif test -n "$PKG_CONFIG"; then :
12460 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12462 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12463 if test -n "$PNG_LIBS"; then :
12465 elif test -n "$PKG_CONFIG"; then :
12466 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12468 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12470 ac_save_CPPFLAGS
=$CPPFLAGS
12471 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12472 for ac_header
in png.h
12474 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12475 if test "x$ac_cv_header_png_h" = xyes
; then :
12476 cat >>confdefs.h
<<_ACEOF
12477 #define HAVE_PNG_H 1
12484 if test "$ac_cv_header_png_h" = "yes"
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12487 $as_echo_n "checking for -lpng... " >&6; }
12488 if ${ac_cv_lib_soname_png+:} false
; then :
12489 $as_echo_n "(cached) " >&6
12491 ac_check_soname_save_LIBS
=$LIBS
12492 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12502 char png_create_read_struct ();
12506 return png_create_read_struct ();
12511 if ac_fn_c_try_link
"$LINENO"; then :
12513 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12514 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'` ;;
12515 *) 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'`
12516 if test "x$ac_cv_lib_soname_png" = x
; then :
12517 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12521 rm -f core conftest.err conftest.
$ac_objext \
12522 conftest
$ac_exeext conftest.
$ac_ext
12523 LIBS
=$ac_check_soname_save_LIBS
12525 if test "x$ac_cv_lib_soname_png" = "x"; then :
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12527 $as_echo "not found" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12531 $as_echo "$ac_cv_lib_soname_png" >&6; }
12533 cat >>confdefs.h
<<_ACEOF
12534 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12543 typeof(png_set_expand_gray_1_2_4_to_8) *p
12548 if ac_fn_c_try_compile
"$LINENO"; then :
12550 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12558 CPPFLAGS
=$ac_save_CPPFLAGS
12559 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12560 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12563 if test "x$ac_cv_lib_soname_png" = "x"; then :
12564 case "x$with_png" in
12565 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12567 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12568 This is an error since --with-png was requested." "$LINENO" 5 ;;
12572 if test "x$with_tiff" != "xno"
12574 if test -n "$TIFF_CFLAGS"; then :
12576 elif test -n "$PKG_CONFIG"; then :
12577 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12580 if test -n "$TIFF_LIBS"; then :
12582 elif test -n "$PKG_CONFIG"; then :
12583 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12587 ac_save_CPPFLAGS
=$CPPFLAGS
12588 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12589 for ac_header
in tiffio.h
12591 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12593 cat >>confdefs.h
<<_ACEOF
12594 #define HAVE_TIFFIO_H 1
12601 if test "$ac_cv_header_tiffio_h" = "yes"
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12604 $as_echo_n "checking for -ltiff... " >&6; }
12605 if ${ac_cv_lib_soname_tiff+:} false
; then :
12606 $as_echo_n "(cached) " >&6
12608 ac_check_soname_save_LIBS
=$LIBS
12609 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12619 char TIFFClientOpen ();
12623 return TIFFClientOpen ();
12628 if ac_fn_c_try_link
"$LINENO"; then :
12630 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12633 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12634 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12638 rm -f core conftest.err conftest.
$ac_objext \
12639 conftest
$ac_exeext conftest.
$ac_ext
12640 LIBS
=$ac_check_soname_save_LIBS
12642 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12644 $as_echo "not found" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12648 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12650 cat >>confdefs.h
<<_ACEOF
12651 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12657 CPPFLAGS
=$ac_save_CPPFLAGS
12658 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12659 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12662 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12663 case "x$with_tiff" in
12664 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12666 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12667 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12671 if test "x$with_mpg123" != "xno"
12673 if test -n "$MPG123_CFLAGS"; then :
12675 elif test -n "$PKG_CONFIG"; then :
12676 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12679 if test -n "$MPG123_LIBS"; then :
12681 elif test -n "$PKG_CONFIG"; then :
12682 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12685 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12686 ac_save_CPPFLAGS
=$CPPFLAGS
12687 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12688 for ac_header
in mpg123.h
12690 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12691 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12692 cat >>confdefs.h
<<_ACEOF
12693 #define HAVE_MPG123_H 1
12700 if test "$ac_cv_header_mpg123_h" = "yes"
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12703 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12704 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12705 $as_echo_n "(cached) " >&6
12707 ac_check_lib_save_LIBS
=$LIBS
12708 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12718 char mpg123_feed ();
12722 return mpg123_feed ();
12727 if ac_fn_c_try_link
"$LINENO"; then :
12728 ac_cv_lib_mpg123_mpg123_feed
=yes
12730 ac_cv_lib_mpg123_mpg123_feed
=no
12732 rm -f core conftest.err conftest.
$ac_objext \
12733 conftest
$ac_exeext conftest.
$ac_ext
12734 LIBS
=$ac_check_lib_save_LIBS
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12737 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12738 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12748 CPPFLAGS
=$ac_save_CPPFLAGS
12749 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12754 case "x$with_mpg123" in
12755 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12757 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12758 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12761 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}
12763 if test "$ac_cv_header_AL_al_h" = "yes"
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12766 $as_echo_n "checking for -lopenal... " >&6; }
12767 if ${ac_cv_lib_soname_openal+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_soname_save_LIBS
=$LIBS
12771 LIBS
="-lopenal $LIBS"
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12781 char alGetSource3i ();
12785 return alGetSource3i ();
12790 if ac_fn_c_try_link
"$LINENO"; then :
12792 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if test "x$ac_cv_lib_soname_openal" = x
; then :
12796 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12800 rm -f core conftest.err conftest.
$ac_objext \
12801 conftest
$ac_exeext conftest.
$ac_ext
12802 LIBS
=$ac_check_soname_save_LIBS
12804 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12810 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12812 cat >>confdefs.h
<<_ACEOF
12813 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12816 LIBOPENAL
="-lopenal"
12818 ac_cv_lib_openal
=yes
12820 cat >>confdefs.h
<<_ACEOF
12821 #define HAVE_OPENAL 1
12826 if test "x$ac_cv_lib_openal" != xyes
; then :
12827 case "x$with_openal" in
12828 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12830 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12831 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12834 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12836 if test "$ac_cv_header_kstat_h" = "yes"
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12839 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12840 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12841 $as_echo_n "(cached) " >&6
12843 ac_check_lib_save_LIBS
=$LIBS
12844 LIBS
="-lkstat $LIBS"
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12854 char kstat_open ();
12858 return kstat_open ();
12863 if ac_fn_c_try_link
"$LINENO"; then :
12864 ac_cv_lib_kstat_kstat_open
=yes
12866 ac_cv_lib_kstat_kstat_open
=no
12868 rm -f core conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LIBS
=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12873 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12874 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12876 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12884 if test "$ac_cv_header_libprocstat_h" = "yes"
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12887 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12888 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12889 $as_echo_n "(cached) " >&6
12891 ac_check_lib_save_LIBS
=$LIBS
12892 LIBS
="-lprocstat $LIBS"
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12902 char procstat_open_sysctl ();
12906 return procstat_open_sysctl ();
12911 if ac_fn_c_try_link
"$LINENO"; then :
12912 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12914 ac_cv_lib_procstat_procstat_open_sysctl
=no
12916 rm -f core conftest.err conftest.
$ac_objext \
12917 conftest
$ac_exeext conftest.
$ac_ext
12918 LIBS
=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12921 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12922 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12924 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12926 LIBPROCSTAT
="-lprocstat"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12933 $as_echo_n "checking for -lodbc... " >&6; }
12934 if ${ac_cv_lib_soname_odbc+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 ac_check_soname_save_LIBS
=$LIBS
12938 LIBS
="-lodbc $LIBS"
12939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12948 char SQLConnect ();
12952 return SQLConnect ();
12957 if ac_fn_c_try_link
"$LINENO"; then :
12959 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12962 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12963 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 rm -f core conftest.err conftest.
$ac_objext \
12968 conftest
$ac_exeext conftest.
$ac_ext
12969 LIBS
=$ac_check_soname_save_LIBS
12971 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12974 cat >>confdefs.h
<<_ACEOF
12975 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12980 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12982 cat >>confdefs.h
<<_ACEOF
12983 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12989 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12990 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12991 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12992 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12994 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12995 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12996 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12998 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13004 if test "x${GCC}" = "xyes"
13006 EXTRACFLAGS
="-Wall -pipe"
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13009 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13010 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13011 $as_echo_n "(cached) " >&6
13013 if test "$cross_compiling" = yes; then :
13014 ac_cv_c_gcc_strength_bug
="yes"
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 int L[4] = {0,1,2,3};
13022 static int Array[3];
13023 unsigned int B = 3;
13025 for(i=0; i<B; i++) Array[i] = i - 3;
13026 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13028 return (Array[1] != -2 || L[2] != 3)
13033 if ac_fn_c_try_run
"$LINENO"; then :
13034 ac_cv_c_gcc_strength_bug
="no"
13036 ac_cv_c_gcc_strength_bug
="yes"
13038 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13039 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13044 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13045 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13047 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13051 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13052 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13053 $as_echo_n "(cached) " >&6
13055 ac_wine_try_cflags_saved
=$CFLAGS
13056 CFLAGS
="$CFLAGS -fno-builtin"
13057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 int main(int argc, char **argv) { return 0; }
13061 if ac_fn_c_try_link
"$LINENO"; then :
13062 ac_cv_cflags__fno_builtin
=yes
13064 ac_cv_cflags__fno_builtin
=no
13066 rm -f core conftest.err conftest.
$ac_objext \
13067 conftest
$ac_exeext conftest.
$ac_ext
13068 CFLAGS
=$ac_wine_try_cflags_saved
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13071 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13072 if test $ac_cv_cflags__fno_builtin = yes; then :
13073 BUILTINFLAG
="-fno-builtin"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13077 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13078 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 ac_wine_try_cflags_saved
=$CFLAGS
13082 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13085 int main(int argc, char **argv) { return 0; }
13087 if ac_fn_c_try_link
"$LINENO"; then :
13088 ac_cv_cflags__fno_strict_aliasing
=yes
13090 ac_cv_cflags__fno_strict_aliasing
=no
13092 rm -f core conftest.err conftest.
$ac_objext \
13093 conftest
$ac_exeext conftest.
$ac_ext
13094 CFLAGS
=$ac_wine_try_cflags_saved
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13097 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13098 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13099 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13101 saved_CFLAGS
=$CFLAGS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13103 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13104 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 ac_wine_try_cflags_saved
=$CFLAGS
13108 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 int main(int argc, char **argv) { return 0; }
13113 if ac_fn_c_try_link
"$LINENO"; then :
13114 ac_cv_cflags__Werror_unknown_warning_option
=yes
13116 ac_cv_cflags__Werror_unknown_warning_option
=no
13118 rm -f core conftest.err conftest.
$ac_objext \
13119 conftest
$ac_exeext conftest.
$ac_ext
13120 CFLAGS
=$ac_wine_try_cflags_saved
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13123 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13124 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13125 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13128 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13129 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13130 $as_echo_n "(cached) " >&6
13132 ac_wine_try_cflags_saved
=$CFLAGS
13133 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13136 int main(int argc, char **argv) { return 0; }
13138 if ac_fn_c_try_link
"$LINENO"; then :
13139 ac_cv_cflags__Wdeclaration_after_statement
=yes
13141 ac_cv_cflags__Wdeclaration_after_statement
=no
13143 rm -f core conftest.err conftest.
$ac_objext \
13144 conftest
$ac_exeext conftest.
$ac_ext
13145 CFLAGS
=$ac_wine_try_cflags_saved
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13148 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13149 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13150 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13153 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13154 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13155 $as_echo_n "(cached) " >&6
13157 ac_wine_try_cflags_saved
=$CFLAGS
13158 CFLAGS
="$CFLAGS -Wempty-body"
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 int main(int argc, char **argv) { return 0; }
13163 if ac_fn_c_try_link
"$LINENO"; then :
13164 ac_cv_cflags__Wempty_body
=yes
13166 ac_cv_cflags__Wempty_body
=no
13168 rm -f core conftest.err conftest.
$ac_objext \
13169 conftest
$ac_exeext conftest.
$ac_ext
13170 CFLAGS
=$ac_wine_try_cflags_saved
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13173 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13174 if test $ac_cv_cflags__Wempty_body = yes; then :
13175 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13178 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13179 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13180 $as_echo_n "(cached) " >&6
13182 ac_wine_try_cflags_saved
=$CFLAGS
13183 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13186 int main(int argc, char **argv) { return 0; }
13188 if ac_fn_c_try_link
"$LINENO"; then :
13189 ac_cv_cflags__Wignored_qualifiers
=yes
13191 ac_cv_cflags__Wignored_qualifiers
=no
13193 rm -f core conftest.err conftest.
$ac_objext \
13194 conftest
$ac_exeext conftest.
$ac_ext
13195 CFLAGS
=$ac_wine_try_cflags_saved
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13198 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13199 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13200 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13203 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13204 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13205 $as_echo_n "(cached) " >&6
13207 ac_wine_try_cflags_saved
=$CFLAGS
13208 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13211 int main(int argc, char **argv) { return 0; }
13213 if ac_fn_c_try_link
"$LINENO"; then :
13214 ac_cv_cflags__Wstrict_prototypes
=yes
13216 ac_cv_cflags__Wstrict_prototypes
=no
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 CFLAGS
=$ac_wine_try_cflags_saved
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13223 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13224 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13225 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13228 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13229 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 ac_wine_try_cflags_saved
=$CFLAGS
13233 CFLAGS
="$CFLAGS -Wtype-limits"
13234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13236 int main(int argc, char **argv) { return 0; }
13238 if ac_fn_c_try_link
"$LINENO"; then :
13239 ac_cv_cflags__Wtype_limits
=yes
13241 ac_cv_cflags__Wtype_limits
=no
13243 rm -f core conftest.err conftest.
$ac_objext \
13244 conftest
$ac_exeext conftest.
$ac_ext
13245 CFLAGS
=$ac_wine_try_cflags_saved
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13248 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13249 if test $ac_cv_cflags__Wtype_limits = yes; then :
13250 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13253 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13254 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13255 $as_echo_n "(cached) " >&6
13257 ac_wine_try_cflags_saved
=$CFLAGS
13258 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13261 int main(int argc, char **argv) { return 0; }
13263 if ac_fn_c_try_link
"$LINENO"; then :
13264 ac_cv_cflags__Wunused_but_set_parameter
=yes
13266 ac_cv_cflags__Wunused_but_set_parameter
=no
13268 rm -f core conftest.err conftest.
$ac_objext \
13269 conftest
$ac_exeext conftest.
$ac_ext
13270 CFLAGS
=$ac_wine_try_cflags_saved
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13273 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13274 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13275 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13278 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13279 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 ac_wine_try_cflags_saved
=$CFLAGS
13283 CFLAGS
="$CFLAGS -Wwrite-strings"
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13286 int main(int argc, char **argv) { return 0; }
13288 if ac_fn_c_try_link
"$LINENO"; then :
13289 ac_cv_cflags__Wwrite_strings
=yes
13291 ac_cv_cflags__Wwrite_strings
=no
13293 rm -f core conftest.err conftest.
$ac_objext \
13294 conftest
$ac_exeext conftest.
$ac_ext
13295 CFLAGS
=$ac_wine_try_cflags_saved
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13298 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13299 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13300 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13304 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13305 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13306 $as_echo_n "(cached) " >&6
13308 ac_wine_try_cflags_saved
=$CFLAGS
13309 CFLAGS
="$CFLAGS -Wpointer-arith"
13310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13312 int main(int argc, char **argv) { return 0; }
13314 if ac_fn_c_try_link
"$LINENO"; then :
13315 ac_cv_cflags__Wpointer_arith
=yes
13317 ac_cv_cflags__Wpointer_arith
=no
13319 rm -f core conftest.err conftest.
$ac_objext \
13320 conftest
$ac_exeext conftest.
$ac_ext
13321 CFLAGS
=$ac_wine_try_cflags_saved
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13324 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13325 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13326 saved_string_h_CFLAGS
=$CFLAGS
13327 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13329 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13330 if ${ac_cv_c_string_h_warnings+:} false
; then :
13331 $as_echo_n "(cached) " >&6
13333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13335 #include <string.h>
13344 if ac_fn_c_try_compile
"$LINENO"; then :
13345 ac_cv_c_string_h_warnings
=no
13347 ac_cv_c_string_h_warnings
=yes
13349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13352 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13353 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13354 CFLAGS
=$saved_string_h_CFLAGS
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13358 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13359 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13360 $as_echo_n "(cached) " >&6
13362 ac_wine_try_cflags_saved
=$CFLAGS
13363 CFLAGS
="$CFLAGS -Wlogical-op"
13364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 int main(int argc, char **argv) { return 0; }
13368 if ac_fn_c_try_link
"$LINENO"; then :
13369 ac_cv_cflags__Wlogical_op
=yes
13371 ac_cv_cflags__Wlogical_op
=no
13373 rm -f core conftest.err conftest.
$ac_objext \
13374 conftest
$ac_exeext conftest.
$ac_ext
13375 CFLAGS
=$ac_wine_try_cflags_saved
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13378 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13379 if test $ac_cv_cflags__Wlogical_op = yes; then :
13380 saved_string_h_CFLAGS
=$CFLAGS
13381 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13383 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13384 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 #include <string.h>
13390 char*f(const char *h,char n) {return strchr(h,n);}
13399 if ac_fn_c_try_compile
"$LINENO"; then :
13400 ac_cv_c_logicalop_noisy
=no
13402 ac_cv_c_logicalop_noisy
=yes
13404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13407 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13408 CFLAGS
=$saved_string_h_CFLAGS
13409 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13412 CFLAGS
=$saved_CFLAGS
13414 for ac_flag
in $CFLAGS; do
13416 -g) case $host_os in
13417 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13418 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13419 if ${ac_cv_cflags__gstabsp+:} false
; then :
13420 $as_echo_n "(cached) " >&6
13422 ac_wine_try_cflags_saved
=$CFLAGS
13423 CFLAGS
="$CFLAGS -gstabs+"
13424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 int main(int argc, char **argv) { return 0; }
13428 if ac_fn_c_try_link
"$LINENO"; then :
13429 ac_cv_cflags__gstabsp
=yes
13431 ac_cv_cflags__gstabsp
=no
13433 rm -f core conftest.err conftest.
$ac_objext \
13434 conftest
$ac_exeext conftest.
$ac_ext
13435 CFLAGS
=$ac_wine_try_cflags_saved
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13438 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13439 if test $ac_cv_cflags__gstabsp = yes; then :
13440 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13442 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13443 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13444 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13445 $as_echo_n "(cached) " >&6
13447 ac_wine_try_cflags_saved
=$CFLAGS
13448 CFLAGS
="$CFLAGS -gdwarf-2"
13449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13451 int main(int argc, char **argv) { return 0; }
13453 if ac_fn_c_try_link
"$LINENO"; then :
13454 ac_cv_cflags__gdwarf_2
=yes
13456 ac_cv_cflags__gdwarf_2
=no
13458 rm -f core conftest.err conftest.
$ac_objext \
13459 conftest
$ac_exeext conftest.
$ac_ext
13460 CFLAGS
=$ac_wine_try_cflags_saved
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13463 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13464 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13465 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13468 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13469 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13470 $as_echo_n "(cached) " >&6
13472 ac_wine_try_cflags_saved
=$CFLAGS
13473 CFLAGS
="$CFLAGS -gstrict-dwarf"
13474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 int main(int argc, char **argv) { return 0; }
13478 if ac_fn_c_try_link
"$LINENO"; then :
13479 ac_cv_cflags__gstrict_dwarf
=yes
13481 ac_cv_cflags__gstrict_dwarf
=no
13483 rm -f core conftest.err conftest.
$ac_objext \
13484 conftest
$ac_exeext conftest.
$ac_ext
13485 CFLAGS
=$ac_wine_try_cflags_saved
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13488 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13489 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13490 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13497 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13498 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13499 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13500 $as_echo_n "(cached) " >&6
13502 ac_wine_try_cflags_saved
=$CFLAGS
13503 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13506 int main(int argc, char **argv) { return 0; }
13508 if ac_fn_c_try_link
"$LINENO"; then :
13509 ac_cv_cflags__fno_omit_frame_pointer
=yes
13511 ac_cv_cflags__fno_omit_frame_pointer
=no
13513 rm -f core conftest.err conftest.
$ac_objext \
13514 conftest
$ac_exeext conftest.
$ac_ext
13515 CFLAGS
=$ac_wine_try_cflags_saved
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13518 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13519 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13520 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13525 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13526 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13527 if ${ac_cv_cflags__Wno_format+:} false
; then :
13528 $as_echo_n "(cached) " >&6
13530 ac_wine_try_cflags_saved
=$CFLAGS
13531 CFLAGS
="$CFLAGS -Wno-format"
13532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13534 int main(int argc, char **argv) { return 0; }
13536 if ac_fn_c_try_link
"$LINENO"; then :
13537 ac_cv_cflags__Wno_format
=yes
13539 ac_cv_cflags__Wno_format
=no
13541 rm -f core conftest.err conftest.
$ac_objext \
13542 conftest
$ac_exeext conftest.
$ac_ext
13543 CFLAGS
=$ac_wine_try_cflags_saved
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13546 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13547 if test $ac_cv_cflags__Wno_format = yes; then :
13548 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13552 if test "x$enable_maintainer_mode" = "xyes"
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13555 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13556 if ${ac_cv_cflags__Werror+:} false
; then :
13557 $as_echo_n "(cached) " >&6
13559 ac_wine_try_cflags_saved
=$CFLAGS
13560 CFLAGS
="$CFLAGS -Werror"
13561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int main(int argc, char **argv) { return 0; }
13565 if ac_fn_c_try_link
"$LINENO"; then :
13566 ac_cv_cflags__Werror
=yes
13568 ac_cv_cflags__Werror
=no
13570 rm -f core conftest.err conftest.
$ac_objext \
13571 conftest
$ac_exeext conftest.
$ac_ext
13572 CFLAGS
=$ac_wine_try_cflags_saved
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13575 $as_echo "$ac_cv_cflags__Werror" >&6; }
13576 if test $ac_cv_cflags__Werror = yes; then :
13577 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13581 saved_CFLAGS
="$CFLAGS"
13582 CFLAGS
="$CFLAGS -Werror"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13584 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13585 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13586 $as_echo_n "(cached) " >&6
13588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13590 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13599 if ac_fn_c_try_compile
"$LINENO"; then :
13600 ac_cv_have_ms_hook_prologue
="yes"
13602 ac_cv_have_ms_hook_prologue
="no"
13604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13607 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13608 CFLAGS
="$saved_CFLAGS"
13609 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13612 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13615 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13622 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13623 if ${ac_cv_c_fortify_enabled+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <string.h>
13632 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13633 #error Fortify enabled
13639 if ac_fn_c_try_compile
"$LINENO"; then :
13640 ac_cv_c_fortify_enabled
=no
13642 ac_cv_c_fortify_enabled
=yes
13644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13647 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13648 if test "$ac_cv_c_fortify_enabled" = yes
13650 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13655 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13656 if ${ac_cv_c_extern_prefix+:} false
; then :
13657 $as_echo_n "(cached) " >&6
13659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 extern int ac_test;
13665 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13670 if ac_fn_c_try_link
"$LINENO"; then :
13671 ac_cv_c_extern_prefix
="yes"
13673 ac_cv_c_extern_prefix
="no"
13675 rm -f core conftest.err conftest.
$ac_objext \
13676 conftest
$ac_exeext conftest.
$ac_ext
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13679 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13684 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13685 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13686 $as_echo_n "(cached) " >&6
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13691 #define __stdcall __attribute__((__stdcall__))
13693 int __stdcall ac_test(int i) { return i; }
13697 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13702 if ac_fn_c_try_link
"$LINENO"; then :
13703 ac_cv_c_stdcall_suffix
="yes"
13705 ac_cv_c_stdcall_suffix
="no"
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13711 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13712 *) ac_cv_c_stdcall_suffix
="no" ;;
13716 if test "$ac_cv_c_extern_prefix" = "yes"
13718 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13720 asm_name_prefix
="_"
13722 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13728 if test "$ac_cv_c_stdcall_suffix" = "yes"
13730 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13733 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13739 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13740 if ${ac_cv_asm_func_def+:} false
; then :
13741 $as_echo_n "(cached) " >&6
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13749 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13754 if ac_fn_c_try_link
"$LINENO"; then :
13755 ac_cv_asm_func_def
=".def"
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13763 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13768 if ac_fn_c_try_link
"$LINENO"; then :
13769 ac_cv_asm_func_def
=".type @function"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13777 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13782 if ac_fn_c_try_link
"$LINENO"; then :
13783 ac_cv_asm_func_def
=".type 2"
13785 ac_cv_asm_func_def
="unknown"
13787 rm -f core conftest.err conftest.
$ac_objext \
13788 conftest
$ac_exeext conftest.
$ac_ext
13790 rm -f core conftest.err conftest.
$ac_objext \
13791 conftest
$ac_exeext conftest.
$ac_ext
13793 rm -f core conftest.err conftest.
$ac_objext \
13794 conftest
$ac_exeext conftest.
$ac_ext
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13797 $as_echo "$ac_cv_asm_func_def" >&6; }
13800 case "$ac_cv_asm_func_def" in
13802 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13804 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13806 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13808 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13810 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13812 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13814 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13816 asm_func_header
="" ;;
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13820 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13821 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13822 $as_echo_n "(cached) " >&6
13824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826 asm(".text\n\t.long 0");
13835 if ac_fn_c_try_compile
"$LINENO"; then :
13836 ac_cv_c_asm_outside_funcs
="yes"
13838 ac_cv_c_asm_outside_funcs
="no"
13840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13843 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13846 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13847 if ${ac_cv_c_dot_previous+:} false
; then :
13848 $as_echo_n "(cached) " >&6
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13856 asm(".text\nac_test:\t.long 0\n\t.previous");
13861 if ac_fn_c_try_link
"$LINENO"; then :
13862 ac_cv_c_dot_previous
="yes"
13864 ac_cv_c_dot_previous
="no"
13866 rm -f core conftest.err conftest.
$ac_objext \
13867 conftest
$ac_exeext conftest.
$ac_ext
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13870 $as_echo "$ac_cv_c_dot_previous" >&6; }
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13873 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13874 if ${ac_cv_c_cfi_support+:} false
; then :
13875 $as_echo_n "(cached) " >&6
13877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13879 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13888 if ac_fn_c_try_compile
"$LINENO"; then :
13889 ac_cv_c_cfi_support
="yes"
13891 ac_cv_c_cfi_support
="no"
13893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13896 $as_echo "$ac_cv_c_cfi_support" >&6; }
13898 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13899 asm_func_trailer
=""
13900 if test "$ac_cv_c_dot_previous" = "yes"
13902 asm_func_trailer
="\\n\\t.previous"
13904 if test "$ac_cv_c_cfi_support" = "yes"
13906 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13907 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13909 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13911 UNWINDFLAGS
=-fasynchronous-unwind-tables
13914 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13918 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13921 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13923 cat >>confdefs.h
<<_ACEOF
13924 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13928 cat >>confdefs.h
<<_ACEOF
13929 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13934 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13937 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13942 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
13949 *i
[3456789]86*|x86_64
*)
13950 as_fn_append LOADER_RULES
"
13951 all: $wine_binary-preloader
13953 $wine_binary-preloader: preloader.o Makefile.in
13954 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13956 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13957 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13960 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13967 ac_save_CFLAGS
="$CFLAGS"
13968 CFLAGS
="$CFLAGS $BUILTINFLAG"
14046 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14047 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14048 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14049 cat >>confdefs.h
<<_ACEOF
14050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14056 CFLAGS
="$ac_save_CFLAGS"
14058 if test "$ac_cv_func_dlopen" = no
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14061 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14062 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 ac_check_lib_save_LIBS
=$LIBS
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 ac_cv_lib_dl_dlopen
=yes
14088 ac_cv_lib_dl_dlopen
=no
14090 rm -f core conftest.err conftest.
$ac_objext \
14091 conftest
$ac_exeext conftest.
$ac_ext
14092 LIBS
=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14095 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14096 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14097 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14103 ac_wine_check_funcs_save_LIBS
="$LIBS"
14104 LIBS
="$LIBS $LIBDL"
14105 for ac_func
in dladdr
14107 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14108 if test "x$ac_cv_func_dladdr" = xyes
; then :
14109 cat >>confdefs.h
<<_ACEOF
14110 #define HAVE_DLADDR 1
14116 LIBS
="$ac_wine_check_funcs_save_LIBS"
14118 if test "$ac_cv_func_poll" = no
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14121 $as_echo_n "checking for poll in -lpoll... " >&6; }
14122 if ${ac_cv_lib_poll_poll+:} false
; then :
14123 $as_echo_n "(cached) " >&6
14125 ac_check_lib_save_LIBS
=$LIBS
14126 LIBS
="-lpoll $LIBS"
14127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14145 if ac_fn_c_try_link
"$LINENO"; then :
14146 ac_cv_lib_poll_poll
=yes
14148 ac_cv_lib_poll_poll
=no
14150 rm -f core conftest.err conftest.
$ac_objext \
14151 conftest
$ac_exeext conftest.
$ac_ext
14152 LIBS
=$ac_check_lib_save_LIBS
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14155 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14156 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14157 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14165 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14166 if ${ac_cv_search_gethostbyname+:} false
; then :
14167 $as_echo_n "(cached) " >&6
14169 ac_func_search_save_LIBS
=$LIBS
14170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14179 char gethostbyname ();
14183 return gethostbyname ();
14188 for ac_lib
in '' nsl
; do
14189 if test -z "$ac_lib"; then
14190 ac_res
="none required"
14193 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14195 if ac_fn_c_try_link
"$LINENO"; then :
14196 ac_cv_search_gethostbyname
=$ac_res
14198 rm -f core conftest.err conftest.
$ac_objext \
14200 if ${ac_cv_search_gethostbyname+:} false
; then :
14204 if ${ac_cv_search_gethostbyname+:} false
; then :
14207 ac_cv_search_gethostbyname
=no
14209 rm conftest.
$ac_ext
14210 LIBS
=$ac_func_search_save_LIBS
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14213 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14214 ac_res
=$ac_cv_search_gethostbyname
14215 if test "$ac_res" != no
; then :
14216 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14222 $as_echo_n "checking for library containing connect... " >&6; }
14223 if ${ac_cv_search_connect+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 ac_func_search_save_LIBS
=$LIBS
14227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14230 /* Override any GCC internal prototype to avoid an error.
14231 Use char because int might match the return type of a GCC
14232 builtin and then its argument prototype would still apply. */
14245 for ac_lib
in '' socket
; do
14246 if test -z "$ac_lib"; then
14247 ac_res
="none required"
14250 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14252 if ac_fn_c_try_link
"$LINENO"; then :
14253 ac_cv_search_connect
=$ac_res
14255 rm -f core conftest.err conftest.
$ac_objext \
14257 if ${ac_cv_search_connect+:} false
; then :
14261 if ${ac_cv_search_connect+:} false
; then :
14264 ac_cv_search_connect
=no
14266 rm conftest.
$ac_ext
14267 LIBS
=$ac_func_search_save_LIBS
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14270 $as_echo "$ac_cv_search_connect" >&6; }
14271 ac_res
=$ac_cv_search_connect
14272 if test "$ac_res" != no
; then :
14273 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14279 $as_echo_n "checking for library containing inet_aton... " >&6; }
14280 if ${ac_cv_search_inet_aton+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 ac_func_search_save_LIBS
=$LIBS
14284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14297 return inet_aton ();
14302 for ac_lib
in '' resolv
; do
14303 if test -z "$ac_lib"; then
14304 ac_res
="none required"
14307 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14309 if ac_fn_c_try_link
"$LINENO"; then :
14310 ac_cv_search_inet_aton
=$ac_res
14312 rm -f core conftest.err conftest.
$ac_objext \
14314 if ${ac_cv_search_inet_aton+:} false
; then :
14318 if ${ac_cv_search_inet_aton+:} false
; then :
14321 ac_cv_search_inet_aton
=no
14323 rm conftest.
$ac_ext
14324 LIBS
=$ac_func_search_save_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14327 $as_echo "$ac_cv_search_inet_aton" >&6; }
14328 ac_res
=$ac_cv_search_inet_aton
14329 if test "$ac_res" != no
; then :
14330 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14350 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14351 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14352 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14353 cat >>confdefs.h
<<_ACEOF
14354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14363 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14364 if ${ac_cv_search_clock_gettime+:} false
; then :
14365 $as_echo_n "(cached) " >&6
14367 ac_func_search_save_LIBS
=$LIBS
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14377 char clock_gettime ();
14381 return clock_gettime ();
14386 for ac_lib
in '' rt
; do
14387 if test -z "$ac_lib"; then
14388 ac_res
="none required"
14391 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14393 if ac_fn_c_try_link
"$LINENO"; then :
14394 ac_cv_search_clock_gettime
=$ac_res
14396 rm -f core conftest.err conftest.
$ac_objext \
14398 if ${ac_cv_search_clock_gettime+:} false
; then :
14402 if ${ac_cv_search_clock_gettime+:} false
; then :
14405 ac_cv_search_clock_gettime
=no
14407 rm conftest.
$ac_ext
14408 LIBS
=$ac_func_search_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14411 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14412 ac_res
=$ac_cv_search_clock_gettime
14413 if test "$ac_res" != no
; then :
14414 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14416 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14418 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14426 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14428 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14430 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14432 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14433 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_check_lib_save_LIBS
=$LIBS
14437 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14447 char ldap_initialize ();
14451 return ldap_initialize ();
14456 if ac_fn_c_try_link
"$LINENO"; then :
14457 ac_cv_lib_ldap_r_ldap_initialize
=yes
14459 ac_cv_lib_ldap_r_ldap_initialize
=no
14461 rm -f core conftest.err conftest.
$ac_objext \
14462 conftest
$ac_exeext conftest.
$ac_ext
14463 LIBS
=$ac_check_lib_save_LIBS
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14466 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14467 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14469 $as_echo_n "checking for ber_init in -llber... " >&6; }
14470 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14471 $as_echo_n "(cached) " >&6
14473 ac_check_lib_save_LIBS
=$LIBS
14474 LIBS
="-llber $LIBPTHREAD $LIBS"
14475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14488 return ber_init ();
14493 if ac_fn_c_try_link
"$LINENO"; then :
14494 ac_cv_lib_lber_ber_init
=yes
14496 ac_cv_lib_lber_ber_init
=no
14498 rm -f core conftest.err conftest.
$ac_objext \
14499 conftest
$ac_exeext conftest.
$ac_ext
14500 LIBS
=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14503 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14504 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14506 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14508 LDAPLIBS
="-lldap_r -llber"
14515 ac_wine_check_funcs_save_LIBS
="$LIBS"
14516 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14518 ldap_count_references \
14519 ldap_first_reference \
14520 ldap_next_reference \
14521 ldap_parse_reference \
14522 ldap_parse_sort_control \
14523 ldap_parse_sortresponse_control \
14524 ldap_parse_vlv_control \
14525 ldap_parse_vlvresponse_control
14527 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14529 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14530 cat >>confdefs.h
<<_ACEOF
14531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14537 LIBS
="$ac_wine_check_funcs_save_LIBS"
14539 if test "x$LDAPLIBS" = "x"; then :
14540 case "x$with_ldap" in
14541 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14543 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14544 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14549 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14550 if ${wine_cv_one_arg_mkdir+:} false
; then :
14551 $as_echo_n "(cached) " >&6
14553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 #include <sys/stat.h>
14564 if ac_fn_c_try_compile
"$LINENO"; then :
14565 wine_cv_one_arg_mkdir
=yes
14567 wine_cv_one_arg_mkdir
=no
14569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14572 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14573 if test "$wine_cv_one_arg_mkdir" = "yes"
14576 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14581 $as_echo_n "checking for sched_setaffinity... " >&6; }
14582 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 #define _GNU_SOURCE
14592 sched_setaffinity(0, 0, 0);
14597 if ac_fn_c_try_link
"$LINENO"; then :
14598 wine_cv_have_sched_setaffinity
=yes
14600 wine_cv_have_sched_setaffinity
=no
14602 rm -f core conftest.err conftest.
$ac_objext \
14603 conftest
$ac_exeext conftest.
$ac_ext
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14606 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14607 if test "$wine_cv_have_sched_setaffinity" = "yes"
14610 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14615 $as_echo_n "checking for fallocate... " >&6; }
14616 if ${wine_cv_have_fallocate+:} false
; then :
14617 $as_echo_n "(cached) " >&6
14619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 #define _GNU_SOURCE
14626 fallocate(-1, 0, 0, 0);
14631 if ac_fn_c_try_link
"$LINENO"; then :
14632 wine_cv_have_fallocate
=yes
14634 wine_cv_have_fallocate
=no
14636 rm -f core conftest.err conftest.
$ac_objext \
14637 conftest
$ac_exeext conftest.
$ac_ext
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14640 $as_echo "$wine_cv_have_fallocate" >&6; }
14641 if test "$wine_cv_have_fallocate" = "yes"
14644 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14650 $as_echo_n "checking for inline... " >&6; }
14651 if ${ac_cv_c_inline+:} false
; then :
14652 $as_echo_n "(cached) " >&6
14655 for ac_kw
in inline __inline__ __inline
; do
14656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 #ifndef __cplusplus
14660 static $ac_kw foo_t static_foo () {return 0; }
14661 $ac_kw foo_t foo () {return 0; }
14665 if ac_fn_c_try_compile
"$LINENO"; then :
14666 ac_cv_c_inline
=$ac_kw
14668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14669 test "$ac_cv_c_inline" != no
&& break
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14674 $as_echo "$ac_cv_c_inline" >&6; }
14676 case $ac_cv_c_inline in
14679 case $ac_cv_c_inline in
14681 *) ac_val
=$ac_cv_c_inline;;
14683 cat >>confdefs.h
<<_ACEOF
14684 #ifndef __cplusplus
14685 #define inline $ac_val
14691 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14692 if test "x$ac_cv_type_mode_t" = xyes
; then :
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_MODE_T 1
14700 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14701 if test "x$ac_cv_type_off_t" = xyes
; then :
14703 cat >>confdefs.h
<<_ACEOF
14704 #define HAVE_OFF_T 1
14709 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14710 if test "x$ac_cv_type_pid_t" = xyes
; then :
14712 cat >>confdefs.h
<<_ACEOF
14713 #define HAVE_PID_T 1
14718 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14719 if test "x$ac_cv_type_size_t" = xyes
; then :
14721 cat >>confdefs.h
<<_ACEOF
14722 #define HAVE_SIZE_T 1
14727 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14728 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14730 cat >>confdefs.h
<<_ACEOF
14731 #define HAVE_SSIZE_T 1
14736 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14737 if test "x$ac_cv_type_long_long" = xyes
; then :
14739 cat >>confdefs.h
<<_ACEOF
14740 #define HAVE_LONG_LONG 1
14745 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14746 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14748 cat >>confdefs.h
<<_ACEOF
14749 #define HAVE_FSBLKCNT_T 1
14754 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14755 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14757 cat >>confdefs.h
<<_ACEOF
14758 #define HAVE_FSFILCNT_T 1
14764 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14765 #include <signal.h>
14767 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define HAVE_SIGSET_T 1
14776 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14778 if test "x$ac_cv_type_request_sense" = xyes
; then :
14780 cat >>confdefs.h
<<_ACEOF
14781 #define HAVE_REQUEST_SENSE 1
14788 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14789 #ifdef HAVE_SYS_SOCKET_H
14790 #include <sys/socket.h>
14792 #ifdef HAVE_SYS_SOCKETVAR_H
14793 #include <sys/socketvar.h>
14795 #ifdef HAVE_NET_ROUTE_H
14796 #include <net/route.h>
14798 #ifdef HAVE_NETINET_IN_H
14799 #include <netinet/in.h>
14801 #ifdef HAVE_NETINET_IN_SYSTM_H
14802 #include <netinet/in_systm.h>
14804 #ifdef HAVE_NETINET_IP_H
14805 #include <netinet/ip.h>
14807 #ifdef HAVE_NETINET_IN_PCB_H
14808 #include <netinet/in_pcb.h>
14811 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14813 cat >>confdefs.h
<<_ACEOF
14814 #define HAVE_STRUCT_XINPGEN 1
14821 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14824 #ifdef HAVE_SYS_LINK_H
14825 #include <sys/link.h>
14828 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14830 cat >>confdefs.h
<<_ACEOF
14831 #define HAVE_STRUCT_R_DEBUG 1
14836 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14839 #ifdef HAVE_SYS_LINK_H
14840 #include <sys/link.h>
14843 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14845 cat >>confdefs.h
<<_ACEOF
14846 #define HAVE_STRUCT_LINK_MAP 1
14853 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14854 #include <linux/input.h>
14857 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14859 cat >>confdefs.h
<<_ACEOF
14860 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14868 $as_echo_n "checking for sigaddset... " >&6; }
14869 if ${wine_cv_have_sigaddset+:} false
; then :
14870 $as_echo_n "(cached) " >&6
14872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14874 #include <signal.h>
14878 sigset_t set; sigaddset(&set,SIGTERM);
14883 if ac_fn_c_try_link
"$LINENO"; then :
14884 wine_cv_have_sigaddset
=yes
14886 wine_cv_have_sigaddset
=no
14888 rm -f core conftest.err conftest.
$ac_objext \
14889 conftest
$ac_exeext conftest.
$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14892 $as_echo "$wine_cv_have_sigaddset" >&6; }
14893 if test "$wine_cv_have_sigaddset" = "yes"
14896 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14902 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14903 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14904 $as_echo_n "(cached) " >&6
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14915 struct hostent *result;
14922 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14923 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14929 if ac_fn_c_try_link
"$LINENO"; then :
14930 wine_cv_linux_gethostbyname_r_6
=yes
14932 wine_cv_linux_gethostbyname_r_6
=no
14935 rm -f core conftest.err conftest.
$ac_objext \
14936 conftest
$ac_exeext conftest.
$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14940 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14941 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14944 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14948 if test "$ac_cv_header_linux_joystick_h" = "yes"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14951 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14952 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 #include <sys/ioctl.h>
14959 #include <sys/types.h>
14960 #include <linux/joystick.h>
14962 struct js_event blub;
14963 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14964 #error "no 2.2 header"
14975 if ac_fn_c_try_compile
"$LINENO"; then :
14976 wine_cv_linux_joystick_22_api
=yes
14978 wine_cv_linux_joystick_22_api
=no
14980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14984 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14985 if test "$wine_cv_linux_joystick_22_api" = "yes"
14988 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14994 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14995 #ifdef HAVE_SYS_PARAM_H
14996 # include <sys/param.h>
14998 #ifdef HAVE_SYS_MOUNT_H
14999 # include <sys/mount.h>
15001 #ifdef HAVE_SYS_VFS_H
15002 # include <sys/vfs.h>
15004 #ifdef HAVE_SYS_STATFS_H
15005 # include <sys/statfs.h>
15008 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15010 cat >>confdefs.h
<<_ACEOF
15011 #define HAVE_STRUCT_STATFS_F_BFREE 1
15016 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15017 #ifdef HAVE_SYS_PARAM_H
15018 # include <sys/param.h>
15020 #ifdef HAVE_SYS_MOUNT_H
15021 # include <sys/mount.h>
15023 #ifdef HAVE_SYS_VFS_H
15024 # include <sys/vfs.h>
15026 #ifdef HAVE_SYS_STATFS_H
15027 # include <sys/statfs.h>
15030 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15032 cat >>confdefs.h
<<_ACEOF
15033 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15038 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15039 #ifdef HAVE_SYS_PARAM_H
15040 # include <sys/param.h>
15042 #ifdef HAVE_SYS_MOUNT_H
15043 # include <sys/mount.h>
15045 #ifdef HAVE_SYS_VFS_H
15046 # include <sys/vfs.h>
15048 #ifdef HAVE_SYS_STATFS_H
15049 # include <sys/statfs.h>
15052 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15054 cat >>confdefs.h
<<_ACEOF
15055 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15060 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15061 #ifdef HAVE_SYS_PARAM_H
15062 # include <sys/param.h>
15064 #ifdef HAVE_SYS_MOUNT_H
15065 # include <sys/mount.h>
15067 #ifdef HAVE_SYS_VFS_H
15068 # include <sys/vfs.h>
15070 #ifdef HAVE_SYS_STATFS_H
15071 # include <sys/statfs.h>
15074 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15076 cat >>confdefs.h
<<_ACEOF
15077 #define HAVE_STRUCT_STATFS_F_FFREE 1
15082 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15083 #ifdef HAVE_SYS_PARAM_H
15084 # include <sys/param.h>
15086 #ifdef HAVE_SYS_MOUNT_H
15087 # include <sys/mount.h>
15089 #ifdef HAVE_SYS_VFS_H
15090 # include <sys/vfs.h>
15092 #ifdef HAVE_SYS_STATFS_H
15093 # include <sys/statfs.h>
15096 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15098 cat >>confdefs.h
<<_ACEOF
15099 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15104 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15105 #ifdef HAVE_SYS_PARAM_H
15106 # include <sys/param.h>
15108 #ifdef HAVE_SYS_MOUNT_H
15109 # include <sys/mount.h>
15111 #ifdef HAVE_SYS_VFS_H
15112 # include <sys/vfs.h>
15114 #ifdef HAVE_SYS_STATFS_H
15115 # include <sys/statfs.h>
15118 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15120 cat >>confdefs.h
<<_ACEOF
15121 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15128 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15129 #include <sys/statvfs.h>
15132 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15134 cat >>confdefs.h
<<_ACEOF
15135 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15142 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15143 #include <dirent.h>
15146 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15148 cat >>confdefs.h
<<_ACEOF
15149 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15156 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15157 #ifdef HAVE_SYS_SOCKET_H
15158 # include <sys/socket.h>
15160 #ifdef HAVE_SYS_UN_H
15161 # include <sys/un.h>
15164 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15166 cat >>confdefs.h
<<_ACEOF
15167 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15172 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15173 #ifdef HAVE_SYS_SOCKET_H
15174 # include <sys/socket.h>
15176 #ifdef HAVE_SYS_UN_H
15177 # include <sys/un.h>
15180 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15182 cat >>confdefs.h
<<_ACEOF
15183 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15188 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15189 #ifdef HAVE_SYS_SOCKET_H
15190 # include <sys/socket.h>
15192 #ifdef HAVE_SYS_UN_H
15193 # include <sys/un.h>
15196 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15198 cat >>confdefs.h
<<_ACEOF
15199 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15206 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15207 #ifdef HAVE_SCSI_SG_H
15208 #include <scsi/sg.h>
15211 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15213 cat >>confdefs.h
<<_ACEOF
15214 #define HAVE_SCSIREQ_T_CMD 1
15219 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>
15220 #ifdef HAVE_SCSI_SG_H
15221 #include <scsi/sg.h>
15224 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15226 cat >>confdefs.h
<<_ACEOF
15227 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15234 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15236 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15238 cat >>confdefs.h
<<_ACEOF
15239 #define HAVE_SIGINFO_T_SI_FD 1
15246 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15247 #ifdef HAVE_SYS_MTIO_H
15248 #include <sys/mtio.h>
15251 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15253 cat >>confdefs.h
<<_ACEOF
15254 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15259 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15260 #ifdef HAVE_SYS_MTIO_H
15261 #include <sys/mtio.h>
15264 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15266 cat >>confdefs.h
<<_ACEOF
15267 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15272 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15273 #ifdef HAVE_SYS_MTIO_H
15274 #include <sys/mtio.h>
15277 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15279 cat >>confdefs.h
<<_ACEOF
15280 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15287 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15288 #include <getopt.h>
15291 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15293 cat >>confdefs.h
<<_ACEOF
15294 #define HAVE_STRUCT_OPTION_NAME 1
15301 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15302 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15304 cat >>confdefs.h
<<_ACEOF
15305 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15310 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15311 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define HAVE_STRUCT_STAT_ST_MTIM 1
15319 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15320 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15322 cat >>confdefs.h
<<_ACEOF
15323 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15328 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15329 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15331 cat >>confdefs.h
<<_ACEOF
15332 #define HAVE_STRUCT_STAT_ST_CTIM 1
15337 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15338 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15340 cat >>confdefs.h
<<_ACEOF
15341 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15346 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15347 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15349 cat >>confdefs.h
<<_ACEOF
15350 #define HAVE_STRUCT_STAT_ST_ATIM 1
15355 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15356 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15358 cat >>confdefs.h
<<_ACEOF
15359 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15364 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15365 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15367 cat >>confdefs.h
<<_ACEOF
15368 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15373 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15374 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15376 cat >>confdefs.h
<<_ACEOF
15377 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15382 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15383 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15385 cat >>confdefs.h
<<_ACEOF
15386 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15391 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15392 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15394 cat >>confdefs.h
<<_ACEOF
15395 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15400 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15401 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15403 cat >>confdefs.h
<<_ACEOF
15404 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15411 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
15412 #include <sys/types.h>
15414 #ifdef HAVE_NETINET_IN_H
15415 #include <netinet/in.h>
15418 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15428 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15429 #include <resolv.h>
15432 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15434 cat >>confdefs.h
<<_ACEOF
15435 #define HAVE_STRUCT___RES_STATE 1
15442 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
15443 #include <resolv.h>
15446 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15448 cat >>confdefs.h
<<_ACEOF
15449 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15456 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15457 #include <sys/types.h>
15459 #ifdef HAVE_NETINET_IN_H
15460 # include <netinet/in.h>
15462 #ifdef HAVE_ARPA_NAMESER_H
15463 # include <arpa/nameser.h>
15466 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15468 cat >>confdefs.h
<<_ACEOF
15469 #define HAVE_NS_MSG__MSG_PTR 1
15476 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15477 #include <sys/types.h>
15479 #ifdef HAVE_NETINET_IP_H
15480 #include <netinet/ip.h>
15482 #ifdef HAVE_NETINET_IP_ICMP_H
15483 #include <netinet/ip_icmp.h>
15485 #ifdef HAVE_NETINET_ICMP_VAR_H
15486 #include <netinet/icmp_var.h>
15489 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15491 cat >>confdefs.h
<<_ACEOF
15492 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15499 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15500 #include <sys/types.h>
15502 #ifdef HAVE_ALIAS_H
15505 #ifdef HAVE_SYS_SOCKET_H
15506 #include <sys/socket.h>
15508 #ifdef HAVE_SYS_SOCKETVAR_H
15509 #include <sys/socketvar.h>
15511 #ifdef HAVE_SYS_TIMEOUT_H
15512 #include <sys/timeout.h>
15514 #ifdef HAVE_NETINET_IN_H
15515 #include <netinet/in.h>
15517 #ifdef HAVE_NETINET_IN_SYSTM_H
15518 #include <netinet/in_systm.h>
15520 #ifdef HAVE_NETINET_IP_H
15521 #include <netinet/ip.h>
15523 #ifdef HAVE_NETINET_IP_VAR_H
15524 #include <netinet/ip_var.h>
15526 #ifdef HAVE_NETINET_IP_ICMP_H
15527 #include <netinet/ip_icmp.h>
15529 #ifdef HAVE_NETINET_ICMP_VAR_H
15530 #include <netinet/icmp_var.h>
15533 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15535 cat >>confdefs.h
<<_ACEOF
15536 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15543 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15544 #include <sys/types.h>
15546 #ifdef HAVE_SYS_SOCKETVAR_H
15547 #include <sys/socketvar.h>
15549 #ifdef HAVE_NETINET_IN_H
15550 #include <netinet/in.h>
15552 #ifdef HAVE_NETINET_IP_VAR_H
15553 #include <netinet/ip_var.h>
15556 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15558 cat >>confdefs.h
<<_ACEOF
15559 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15566 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
15567 #include <netinet/ip_var.h>
15570 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15580 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15581 #include <sys/types.h>
15583 #ifdef HAVE_SYS_SOCKETVAR_H
15584 #include <sys/socketvar.h>
15586 #ifdef HAVE_NETINET_IN_H
15587 #include <netinet/in.h>
15589 #ifdef HAVE_NETINET_TCP_H
15590 #include <netinet/tcp.h>
15592 #ifdef HAVE_NETINET_TCP_VAR_H
15593 #include <netinet/tcp_var.h>
15596 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15606 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
15607 #include <netinet/tcp_var.h>
15610 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15612 cat >>confdefs.h
<<_ACEOF
15613 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15620 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15621 #include <sys/types.h>
15623 #ifdef HAVE_NETINET_IN_H
15624 #include <netinet/in.h>
15626 #ifdef HAVE_NETINET_IP_VAR_H
15627 #include <netinet/ip_var.h>
15629 #ifdef HAVE_NETINET_UDP_H
15630 #include <netinet/udp.h>
15632 #ifdef HAVE_NETINET_UDP_VAR_H
15633 #include <netinet/udp_var.h>
15636 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15646 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15647 #include <sys/types.h>
15649 #ifdef HAVE_NET_IF_H
15650 # include <net/if.h>
15653 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15655 cat >>confdefs.h
<<_ACEOF
15656 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15664 $as_echo_n "checking for timezone variable... " >&6; }
15665 if ${ac_cv_have_timezone+:} false
; then :
15666 $as_echo_n "(cached) " >&6
15668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15679 if ac_fn_c_try_link
"$LINENO"; then :
15680 ac_cv_have_timezone
="yes"
15682 ac_cv_have_timezone
="no"
15684 rm -f core conftest.err conftest.
$ac_objext \
15685 conftest
$ac_exeext conftest.
$ac_ext
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15688 $as_echo "$ac_cv_have_timezone" >&6; }
15689 if test "$ac_cv_have_timezone" = "yes"
15692 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15696 $as_echo_n "checking for daylight variable... " >&6; }
15697 if ${ac_cv_have_daylight+:} false
; then :
15698 $as_echo_n "(cached) " >&6
15700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15711 if ac_fn_c_try_link
"$LINENO"; then :
15712 ac_cv_have_daylight
="yes"
15714 ac_cv_have_daylight
="no"
15716 rm -f core conftest.err conftest.
$ac_objext \
15717 conftest
$ac_exeext conftest.
$ac_ext
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15720 $as_echo "$ac_cv_have_daylight" >&6; }
15721 if test "$ac_cv_have_daylight" = "yes"
15724 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15728 ac_save_LIBS
="$LIBS"
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15731 $as_echo_n "checking for isinf... " >&6; }
15732 if ${ac_cv_have_isinf+:} false
; then :
15733 $as_echo_n "(cached) " >&6
15735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15741 float f = 0.0; return isinf(f)
15746 if ac_fn_c_try_link
"$LINENO"; then :
15747 ac_cv_have_isinf
="yes"
15749 ac_cv_have_isinf
="no"
15751 rm -f core conftest.err conftest.
$ac_objext \
15752 conftest
$ac_exeext conftest.
$ac_ext
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15755 $as_echo "$ac_cv_have_isinf" >&6; }
15756 if test "$ac_cv_have_isinf" = "yes"
15759 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15764 $as_echo_n "checking for isnan... " >&6; }
15765 if ${ac_cv_have_isnan+:} false
; then :
15766 $as_echo_n "(cached) " >&6
15768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15774 float f = 0.0; return isnan(f)
15779 if ac_fn_c_try_link
"$LINENO"; then :
15780 ac_cv_have_isnan
="yes"
15782 ac_cv_have_isnan
="no"
15784 rm -f core conftest.err conftest.
$ac_objext \
15785 conftest
$ac_exeext conftest.
$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15788 $as_echo "$ac_cv_have_isnan" >&6; }
15789 if test "$ac_cv_have_isnan" = "yes"
15792 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15795 LIBS
="$ac_save_LIBS"
15799 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15800 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15801 if ${ac_cv_cpp_def___i386__+:} false
; then :
15802 $as_echo_n "(cached) " >&6
15804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15811 $EGREP "yes" >/dev
/null
2>&1; then :
15812 ac_cv_cpp_def___i386__
=yes
15814 ac_cv_cpp_def___i386__
=no
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15820 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15821 if test $ac_cv_cpp_def___i386__ = yes; then :
15822 CFLAGS
="$CFLAGS -D__i386__"
15823 LINTFLAGS
="$LINTFLAGS -D__i386__"
15825 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15826 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15827 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15828 $as_echo_n "(cached) " >&6
15830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15837 $EGREP "yes" >/dev
/null
2>&1; then :
15838 ac_cv_cpp_def___x86_64__
=yes
15840 ac_cv_cpp_def___x86_64__
=no
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15846 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15847 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15848 CFLAGS
="$CFLAGS -D__x86_64__"
15849 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15851 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15852 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15853 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15854 $as_echo_n "(cached) " >&6
15856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 #ifndef __sparc64__
15862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15863 $EGREP "yes" >/dev
/null
2>&1; then :
15864 ac_cv_cpp_def___sparc64__
=yes
15866 ac_cv_cpp_def___sparc64__
=no
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15872 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15873 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15874 CFLAGS
="$CFLAGS -D__sparc64__"
15875 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15877 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15878 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15879 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15880 $as_echo_n "(cached) " >&6
15882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15889 $EGREP "yes" >/dev
/null
2>&1; then :
15890 ac_cv_cpp_def___sparc__
=yes
15892 ac_cv_cpp_def___sparc__
=no
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15898 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15899 if test $ac_cv_cpp_def___sparc__ = yes; then :
15900 CFLAGS
="$CFLAGS -D__sparc__"
15901 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15903 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15904 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15905 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #ifndef __powerpc64__
15914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15915 $EGREP "yes" >/dev
/null
2>&1; then :
15916 ac_cv_cpp_def___powerpc64__
=yes
15918 ac_cv_cpp_def___powerpc64__
=no
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15924 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15925 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15926 CFLAGS
="$CFLAGS -D__powerpc64__"
15927 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15929 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15930 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15931 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15932 $as_echo_n "(cached) " >&6
15934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936 #ifndef __powerpc__
15940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15941 $EGREP "yes" >/dev
/null
2>&1; then :
15942 ac_cv_cpp_def___powerpc__
=yes
15944 ac_cv_cpp_def___powerpc__
=no
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15950 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15951 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15952 CFLAGS
="$CFLAGS -D__powerpc__"
15953 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15955 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15956 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15957 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15958 $as_echo_n "(cached) " >&6
15960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15962 #ifndef __aarch64__
15966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15967 $EGREP "yes" >/dev
/null
2>&1; then :
15968 ac_cv_cpp_def___aarch64__
=yes
15970 ac_cv_cpp_def___aarch64__
=no
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15976 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15977 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15978 CFLAGS
="$CFLAGS -D__aarch64__"
15979 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15981 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15982 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15983 if ${ac_cv_cpp_def___arm__+:} false
; then :
15984 $as_echo_n "(cached) " >&6
15986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15993 $EGREP "yes" >/dev
/null
2>&1; then :
15994 ac_cv_cpp_def___arm__
=yes
15996 ac_cv_cpp_def___arm__
=no
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16002 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16003 if test $ac_cv_cpp_def___arm__ = yes; then :
16004 CFLAGS
="$CFLAGS -D__arm__"
16005 LINTFLAGS
="$LINTFLAGS -D__arm__"
16009 case $host_vendor in
16010 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16011 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16012 if ${ac_cv_cpp_def___sun__+:} false
; then :
16013 $as_echo_n "(cached) " >&6
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16022 $EGREP "yes" >/dev
/null
2>&1; then :
16023 ac_cv_cpp_def___sun__
=yes
16025 ac_cv_cpp_def___sun__
=no
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16031 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16032 if test $ac_cv_cpp_def___sun__ = yes; then :
16033 CFLAGS
="$CFLAGS -D__sun__"
16034 LINTFLAGS
="$LINTFLAGS -D__sun__"
16042 ac_config_commands
="$ac_config_commands include/stamp-h"
16044 $as_echo_n "creating Makefile rules..." >&6
16047 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16050 if test -n "$CROSSTARGET"
16052 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16053 all: \$(STATICLIB:.a=.cross.a)
16058 if test -n "$DLLEXT"
16060 deps
="\$(MODULE)$DLLEXT \$(MODULE).fake"
16066 DLLFLAGS = $DLLFLAGS
16067 MAINSPEC = \$(MODULE:%.dll=%).spec
16068 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16069 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16076 DLLFLAGS = $DLLFLAGS
16084 DLLFLAGS = $DLLFLAGS
16085 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16086 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16087 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16088 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16089 EXTRA_OBJS = testlist.o
16091 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16093 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16095 check test: \$(C_SRCS:.c=.ok)
16097 .PHONY: check test crosstest
16100 if test -n "$CROSSTARGET"
16102 as_fn_append MAKE_TEST_RULES
"
16103 MAKEDEPFLAGS = -xo -xcross.o
16104 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16106 crosstest: \$(CROSSTESTMODULE)
16111 wine_rules_file
=conf$
$rules.
make
16112 rm -f $wine_rules_file
16114 ALL_TEST_RESOURCES
=""
16117 wine_fn_append_file
()
16119 as_fn_append
$1 " \\$as_nl $2"
16122 wine_fn_append_rule
()
16124 $as_echo "$1" >>$wine_rules_file
16127 wine_fn_has_flag
()
16129 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16132 wine_fn_depend_rules
()
16135 ac_makedep
="\$(MAKEDEP)"
16136 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16137 if test $ac_dir != tools
16139 ac_alldeps
="$1 $ac_makedep"
16141 ac_alldeps
="$1 include/config.h"
16144 *.
in) ac_input
=$ac_input:$1 ;;
16145 *) ac_makedep
="$1 $ac_makedep" ;;
16148 wine_fn_append_rule \
16149 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16150 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16151 depend: $ac_dir/depend
16152 .PHONY: $ac_dir/depend
16153 $ac_dir/depend: $ac_makedep dummy
16154 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16157 wine_fn_pot_rules
()
16159 test "x$with_gettextpo" = xyes ||
return
16161 if wine_fn_has_flag mc
16163 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16164 wine_fn_append_rule \
16165 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16166 @cd $ac_dir && \$(MAKE) msg.pot
16167 $ac_dir/msg.pot: tools/wmc include"
16169 if wine_fn_has_flag po
16171 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16172 wine_fn_append_rule \
16173 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16174 @cd $ac_dir && \$(MAKE) rsrc.pot
16175 $ac_dir/rsrc.pot: tools/wrc include"
16179 wine_fn_all_rules
()
16183 wine_fn_depend_rules
${ac_rules:-Make.rules}
16184 wine_fn_append_rule \
16187 $ac_dir: $ac_dir/Makefile dummy
16188 @cd $ac_dir && \$(MAKE)"
16191 wine_fn_install_rules
()
16193 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16195 wine_fn_append_rule \
16196 ".PHONY: $ac_dir/install $ac_dir/uninstall
16197 $ac_dir/install:: $ac_dir
16198 @cd $ac_dir && \$(MAKE) install
16199 $ac_dir/uninstall:: $ac_dir/Makefile
16200 @cd $ac_dir && \$(MAKE) uninstall
16201 install:: $ac_dir/install
16202 __uninstall__: $ac_dir/uninstall"
16204 if wine_fn_has_flag install-lib
16206 wine_fn_append_rule \
16207 ".PHONY: $ac_dir/install-lib
16208 $ac_dir/install-lib:: $ac_dir
16209 @cd $ac_dir && \$(MAKE) install-lib
16210 install-lib:: $ac_dir/install-lib"
16213 if wine_fn_has_flag install-dev
16215 wine_fn_append_rule \
16216 ".PHONY: $ac_dir/install-dev
16217 $ac_dir/install-dev:: $ac_dir
16218 @cd $ac_dir && \$(MAKE) install-dev
16219 install-dev:: $ac_dir/install-dev"
16223 wine_fn_clean_rules
()
16227 if wine_fn_has_flag clean
16229 wine_fn_append_rule \
16230 "__clean__: $ac_dir/clean
16231 .PHONY: $ac_dir/clean
16232 $ac_dir/clean: $ac_dir/Makefile
16233 @cd $ac_dir && \$(MAKE) clean
16234 \$(RM) $ac_dir/Makefile"
16236 wine_fn_append_rule \
16238 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16242 wine_fn_disabled_rules
()
16246 wine_fn_append_rule \
16248 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16251 wine_fn_config_makefile
()
16257 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16258 wine_fn_disabled_rules
; return
16261 wine_fn_install_rules
16262 wine_fn_clean_rules
16265 wine_fn_config_lib
()
16269 ac_dir
=dlls
/$ac_name
16271 wine_fn_all_rules Make.rules.
in
16272 wine_fn_clean_rules
16274 wine_fn_append_rule \
16275 ".PHONY: $ac_dir/install $ac_dir/uninstall
16276 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16277 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16278 $ac_dir/uninstall::
16279 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16280 install install-dev:: $ac_dir/install
16281 __uninstall__: $ac_dir/uninstall
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
;;
16305 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16306 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16307 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16309 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16310 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16312 wine_fn_depend_rules Make.rules.
in
16313 wine_fn_clean_rules
$ac_clean
16315 wine_fn_disabled_rules
$ac_clean
16319 wine_fn_all_rules Make.rules.
in
16320 wine_fn_clean_rules
$ac_clean
16321 wine_fn_append_rule \
16322 "$ac_dir: __builddeps__
16323 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16324 @cd $ac_dir && \$(MAKE) \$@
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"
16347 if wine_fn_has_flag staticimplib
16349 wine_fn_append_rule \
16350 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16351 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16352 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16353 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16354 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16355 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16356 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16357 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16358 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16359 $ac_dir/uninstall::
16360 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16361 install install-dev:: $ac_dir/install-dev
16362 __uninstall__: $ac_dir/uninstall"
16364 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16366 wine_fn_append_rule \
16367 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16368 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16369 $ac_dir/uninstall::
16370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16373 if test -n "$CROSSTARGET"
16375 wine_fn_append_rule \
16376 "__builddeps__: $ac_file.cross.a
16377 $ac_file.cross.a: $ac_dir/Makefile dummy
16378 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16381 elif wine_fn_has_flag implib
16383 wine_fn_append_rule \
16384 "__builddeps__: $ac_file.$IMPLIBEXT
16385 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16387 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16388 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16389 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16390 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16391 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16392 $ac_dir/uninstall::
16393 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16394 install install-dev:: $ac_dir/install-dev
16395 __uninstall__: $ac_dir/uninstall"
16396 if test -n "$CROSSTARGET"
16398 wine_fn_append_rule \
16399 "__builddeps__: $ac_file.cross.a
16400 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16401 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16404 if test "$ac_name" != "$ac_implib"
16406 wine_fn_append_rule \
16407 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16408 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16411 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16412 if test -n "$CROSSTARGET"
16414 wine_fn_append_rule \
16415 "__builddeps__: dlls/lib$ac_implib.cross.a
16416 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16417 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16423 wine_fn_config_program
()
16426 ac_dir
=programs
/$ac_name
16429 ac_program
=$ac_name
16433 *) ac_program
=$ac_program.exe
;;
16437 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16438 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16439 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16440 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16442 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16443 wine_fn_disabled_rules
$ac_clean; return
16446 wine_fn_all_rules Make.rules.
in
16447 wine_fn_clean_rules
$ac_clean
16448 wine_fn_append_rule
"$ac_dir: __builddeps__"
16451 wine_fn_has_flag
install ||
return
16452 wine_fn_append_rule \
16453 ".PHONY: $ac_dir/install $ac_dir/uninstall
16454 install install-lib:: $ac_dir/install
16455 __uninstall__: $ac_dir/uninstall"
16457 if test -n "$DLLEXT"
16459 wine_fn_append_rule \
16460 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16462 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16463 $ac_dir/uninstall::
16464 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16466 if test -z "$with_wine64" && wine_fn_has_flag installbin
16468 wine_fn_append_rule \
16469 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16470 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16471 $ac_dir/uninstall::
16472 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16475 wine_fn_append_rule \
16476 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16477 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16478 $ac_dir/uninstall::
16479 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16482 if test -z "$with_wine64" && wine_fn_has_flag manpage
16484 wine_fn_append_rule \
16485 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16486 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16487 $ac_dir/uninstall::
16488 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16492 wine_fn_config_test
()
16499 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16500 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16501 ac_clean
="$ac_clean $ac_dir/testlist.c"
16503 if test "x$enable_tests" = xno
; then :
16504 wine_fn_disabled_rules
$ac_clean; return
16507 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16508 wine_fn_all_rules Make.rules.
in
16509 wine_fn_clean_rules
$ac_clean
16511 wine_fn_append_rule \
16512 "$ac_dir: programs/winetest/Makefile __builddeps__
16513 programs/winetest: $ac_dir
16514 check test: $ac_dir/test
16515 .PHONY: $ac_dir/test
16516 $ac_dir/test: dummy
16517 @cd $ac_dir && \$(MAKE) test
16519 \$(RM) $ac_dir/*.ok"
16521 if test -n "$CROSSTARGET"
16523 wine_fn_append_rule \
16524 "crosstest: $ac_dir/crosstest
16525 .PHONY: $ac_dir/crosstest
16526 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16527 @cd $ac_dir && \$(MAKE) crosstest"
16531 wine_fn_config_tool
()
16535 if test "x$enable_tools" = xno
; then :
16540 wine_fn_install_rules
16541 wine_fn_clean_rules
16543 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16544 wine_fn_append_rule
"$ac_dir: libs/port"
16546 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16550 wine_fn_config_makerules
()
16554 wine_fn_append_rule \
16555 "$ac_rules: $ac_rules.in $ac_deps config.status
16556 @./config.status $ac_rules
16561 wine_fn_config_symlink
()
16564 if test "x$1" = "x-d"
16570 wine_fn_append_rule \
16572 @./config.status \$@
16575 test -n "$ac_linkdir" ||
return
16576 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16579 if test -z "$CROSSTARGET"
16581 wine_fn_append_rule \
16583 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16585 wine_fn_append_rule
"
16586 # Rules automatically generated by configure
16591 Makefile: Makefile.in Make.vars.in Make.rules config.status
16592 @./config.status Make.tmp Makefile"
16594 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16595 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16596 if test "x$enable_fonts" != xno
; then
16597 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16598 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16599 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16600 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16601 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16603 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16604 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16605 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16606 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16607 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16608 wine_fn_config_symlink wine
16609 if test "x$enable_win64" != xno
; then
16610 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16611 wine_fn_config_symlink wine64
16614 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16615 wine_fn_append_rule \
16617 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16618 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16619 wine_fn_append_rule \
16621 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16622 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16623 wine_fn_append_rule \
16625 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16626 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16627 wine_fn_append_rule \
16629 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16630 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16631 wine_fn_append_rule \
16633 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16634 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16635 wine_fn_append_rule \
16637 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16638 ac_config_commands
="$ac_config_commands include/wine"
16639 wine_fn_append_rule \
16641 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16643 wine_fn_config_makerules Make.rules
16644 MAKE_RULES
=Make.rules
16645 ac_config_files
="$ac_config_files Make.rules"
16648 wine_fn_config_dll acledit enable_acledit
16649 wine_fn_config_dll aclui enable_aclui implib
16650 wine_fn_config_dll activeds enable_activeds implib
16651 wine_fn_config_dll actxprxy enable_actxprxy clean
16652 wine_fn_config_lib adsiid
16653 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16654 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16655 wine_fn_config_dll advpack enable_advpack implib
16656 wine_fn_config_test dlls
/advpack
/tests advpack_test
16657 wine_fn_config_dll amstream enable_amstream clean
16658 wine_fn_config_test dlls
/amstream
/tests amstream_test
16659 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16662 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16667 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16668 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16669 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16670 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16671 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16672 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16673 wine_fn_config_dll apphelp enable_apphelp
16674 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16675 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16676 wine_fn_config_dll atl enable_atl clean
,implib
16677 wine_fn_config_test dlls
/atl
/tests atl_test
16678 wine_fn_config_dll atl100 enable_atl100 implib
16679 wine_fn_config_test dlls
/atl100
/tests atl100_test
16680 wine_fn_config_dll atl110 enable_atl110
16681 wine_fn_config_dll atl80 enable_atl80 implib
16682 wine_fn_config_test dlls
/atl80
/tests atl80_test
16683 wine_fn_config_dll atl90 enable_atl90
16684 wine_fn_config_dll authz enable_authz
16685 wine_fn_config_dll avicap32 enable_avicap32 implib
16686 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16687 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16688 wine_fn_config_dll avifile.dll16 enable_win16
16689 wine_fn_config_dll avrt enable_avrt implib
16690 wine_fn_config_dll bcrypt enable_bcrypt
16691 wine_fn_config_dll browseui enable_browseui clean
,po
16692 wine_fn_config_test dlls
/browseui
/tests browseui_test
16693 wine_fn_config_dll cabinet enable_cabinet implib
16694 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16695 wine_fn_config_dll capi2032 enable_capi2032 implib
16696 wine_fn_config_dll cards enable_cards implib
16697 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16698 wine_fn_config_dll clusapi enable_clusapi implib
16699 wine_fn_config_dll comcat enable_comcat
16700 wine_fn_config_test dlls
/comcat
/tests comcat_test
16701 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16702 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16703 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16704 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16705 wine_fn_config_dll
comm.drv16 enable_win16
16706 wine_fn_config_dll commdlg.dll16 enable_win16
16707 wine_fn_config_dll compobj.dll16 enable_win16
16708 wine_fn_config_dll compstui enable_compstui implib
16709 wine_fn_config_dll comsvcs enable_comsvcs implib
16710 wine_fn_config_dll credui enable_credui implib
,po
16711 wine_fn_config_test dlls
/credui
/tests credui_test
16712 wine_fn_config_dll crtdll enable_crtdll implib
16713 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16714 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16715 wine_fn_config_dll cryptdlg enable_cryptdlg po
16716 wine_fn_config_dll cryptdll enable_cryptdll implib
16717 wine_fn_config_dll cryptnet enable_cryptnet implib
16718 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16719 wine_fn_config_dll cryptui enable_cryptui implib
,po
16720 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16721 wine_fn_config_dll ctapi32 enable_ctapi32
16722 wine_fn_config_dll ctl3d.dll16 enable_win16
16723 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16724 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16725 wine_fn_config_dll d3d10 enable_d3d10 implib
16726 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16727 wine_fn_config_dll d3d10core enable_d3d10core implib
16728 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16729 wine_fn_config_dll d3d11 enable_d3d11
16730 wine_fn_config_dll d3d8 enable_d3d8 implib
16731 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16732 wine_fn_config_dll d3d9 enable_d3d9 implib
16733 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16734 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16735 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16736 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16737 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16738 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16739 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16740 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16741 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16742 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16743 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16744 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16745 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16746 wine_fn_config_dll d3dim enable_d3dim implib
16747 wine_fn_config_dll d3drm enable_d3drm implib
16748 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16749 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16750 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16751 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16752 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16753 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16754 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16755 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16756 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16757 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16758 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16759 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16760 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16761 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16762 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16763 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16764 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16765 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16766 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16767 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16768 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16769 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16770 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16771 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16772 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16773 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16774 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16775 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16776 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16777 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16778 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16779 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16780 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16781 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16782 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16783 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16784 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16785 wine_fn_config_dll dbgeng enable_dbgeng implib
16786 wine_fn_config_dll dbghelp enable_dbghelp implib
16787 wine_fn_config_dll dciman32 enable_dciman32 implib
16788 wine_fn_config_dll ddeml.dll16 enable_win16
16789 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16790 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16791 wine_fn_config_dll ddrawex enable_ddrawex clean
16792 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16793 wine_fn_config_dll devenum enable_devenum clean
,po
16794 wine_fn_config_test dlls
/devenum
/tests devenum_test
16795 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16796 wine_fn_config_dll difxapi enable_difxapi
16797 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16798 wine_fn_config_test dlls
/dinput
/tests dinput_test
16799 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16800 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16801 wine_fn_config_dll dispdib.dll16 enable_win16
16802 wine_fn_config_dll dispex enable_dispex clean
16803 wine_fn_config_test dlls
/dispex
/tests dispex_test
16804 wine_fn_config_dll display.drv16 enable_win16
16805 wine_fn_config_dll dmband enable_dmband clean
16806 wine_fn_config_test dlls
/dmband
/tests dmband_test
16807 wine_fn_config_dll dmcompos enable_dmcompos clean
16808 wine_fn_config_dll dmime enable_dmime clean
16809 wine_fn_config_test dlls
/dmime
/tests dmime_test
16810 wine_fn_config_dll dmloader enable_dmloader clean
16811 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16812 wine_fn_config_dll dmscript enable_dmscript clean
16813 wine_fn_config_dll dmstyle enable_dmstyle clean
16814 wine_fn_config_dll dmsynth enable_dmsynth clean
16815 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16816 wine_fn_config_dll dmusic enable_dmusic clean
16817 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16818 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16819 wine_fn_config_dll dnsapi enable_dnsapi implib
16820 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16821 wine_fn_config_dll dplay enable_dplay implib
16822 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16823 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16824 wine_fn_config_dll dpnaddr enable_dpnaddr
16825 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16826 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16827 wine_fn_config_dll dpnhpast enable_dpnhpast
16828 wine_fn_config_dll dpnlobby enable_dpnlobby
16829 wine_fn_config_dll dpwsockx enable_dpwsockx
16830 wine_fn_config_dll drmclien enable_drmclien
16831 wine_fn_config_dll dsound enable_dsound clean
,implib
16832 wine_fn_config_test dlls
/dsound
/tests dsound_test
16833 wine_fn_config_dll dssenh enable_dssenh
16834 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16835 wine_fn_config_dll dswave enable_dswave clean
16836 wine_fn_config_dll dwmapi enable_dwmapi implib
16837 wine_fn_config_dll dwrite enable_dwrite implib
16838 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16839 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16840 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16841 wine_fn_config_lib dxerr8
16842 wine_fn_config_lib dxerr9
16843 wine_fn_config_dll dxgi enable_dxgi implib
16844 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16845 wine_fn_config_lib dxguid
16846 wine_fn_config_dll explorerframe enable_explorerframe clean
16847 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16848 wine_fn_config_dll faultrep enable_faultrep implib
16849 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16850 wine_fn_config_dll fltlib enable_fltlib
16851 wine_fn_config_dll fusion enable_fusion
16852 wine_fn_config_test dlls
/fusion
/tests fusion_test
16853 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16854 wine_fn_config_dll gameux enable_gameux clean
16855 wine_fn_config_test dlls
/gameux
/tests gameux_test
16856 wine_fn_config_dll gdi.exe16 enable_win16
16857 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16858 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16859 wine_fn_config_dll gdiplus enable_gdiplus implib
16860 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16861 wine_fn_config_dll glu32 enable_glu32 implib
16862 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16863 wine_fn_config_dll gpkcsp enable_gpkcsp
16864 wine_fn_config_dll hal enable_hal
16865 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16866 wine_fn_config_dll hid enable_hid implib
16867 wine_fn_config_dll hlink enable_hlink clean
,implib
16868 wine_fn_config_test dlls
/hlink
/tests hlink_test
16869 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16870 wine_fn_config_dll httpapi enable_httpapi
16871 wine_fn_config_dll iccvid enable_iccvid po
16872 wine_fn_config_dll icmp enable_icmp
16873 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16874 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16875 wine_fn_config_dll ifsmgr.vxd enable_win16
16876 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16877 wine_fn_config_dll imagehlp enable_imagehlp implib
16878 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16879 wine_fn_config_dll imm.dll16 enable_win16
16880 wine_fn_config_dll imm32 enable_imm32 implib
16881 wine_fn_config_test dlls
/imm32
/tests imm32_test
16882 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16883 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16884 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16885 wine_fn_config_dll inetmib1 enable_inetmib1
16886 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16887 wine_fn_config_dll infosoft enable_infosoft clean
16888 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16889 wine_fn_config_dll initpki enable_initpki
16890 wine_fn_config_dll inkobj enable_inkobj
16891 wine_fn_config_dll inseng enable_inseng clean
16892 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16893 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16894 wine_fn_config_dll itircl enable_itircl
16895 wine_fn_config_dll itss enable_itss clean
16896 wine_fn_config_test dlls
/itss
/tests itss_test
16897 wine_fn_config_dll joy.cpl enable_joy_cpl po
16898 wine_fn_config_dll jscript enable_jscript clean
,po
16899 wine_fn_config_test dlls
/jscript
/tests jscript_test
16900 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16901 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16902 wine_fn_config_dll keyboard.drv16 enable_win16
16903 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16904 wine_fn_config_dll ktmw32 enable_ktmw32
16905 wine_fn_config_dll loadperf enable_loadperf implib
16906 wine_fn_config_dll localspl enable_localspl po
16907 wine_fn_config_test dlls
/localspl
/tests localspl_test
16908 wine_fn_config_dll localui enable_localui po
16909 wine_fn_config_test dlls
/localui
/tests localui_test
16910 wine_fn_config_dll lz32 enable_lz32 implib
16911 wine_fn_config_test dlls
/lz32
/tests lz32_test
16912 wine_fn_config_dll lzexpand.dll16 enable_win16
16913 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16914 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16915 wine_fn_config_dll mapistub enable_mapistub
16916 wine_fn_config_dll mciavi32 enable_mciavi32
16917 wine_fn_config_dll mcicda enable_mcicda
16918 wine_fn_config_dll mciqtz32 enable_mciqtz32
16919 wine_fn_config_dll mciseq enable_mciseq
16920 wine_fn_config_dll mciwave enable_mciwave
16921 wine_fn_config_dll mgmtapi enable_mgmtapi
16922 wine_fn_config_dll midimap enable_midimap
16923 wine_fn_config_dll mlang enable_mlang clean
,implib
16924 wine_fn_config_test dlls
/mlang
/tests mlang_test
16925 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16926 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16927 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16928 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16929 wine_fn_config_dll mmdevldr.vxd enable_win16
16930 wine_fn_config_dll mmsystem.dll16 enable_win16
16931 wine_fn_config_dll monodebg.vxd enable_win16
16932 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16933 wine_fn_config_dll mouse.drv16 enable_win16
16934 wine_fn_config_dll mpr enable_mpr implib
,po
16935 wine_fn_config_test dlls
/mpr
/tests mpr_test
16936 wine_fn_config_dll mprapi enable_mprapi implib
16937 wine_fn_config_dll msacm.dll16 enable_win16
16938 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16939 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16940 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16941 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16942 wine_fn_config_dll mscat32 enable_mscat32
16943 wine_fn_config_dll mscms enable_mscms implib
16944 wine_fn_config_test dlls
/mscms
/tests mscms_test
16945 wine_fn_config_dll mscoree enable_mscoree clean
16946 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16947 wine_fn_config_dll msctf enable_msctf clean
16948 wine_fn_config_test dlls
/msctf
/tests msctf_test
16949 wine_fn_config_dll msdaps enable_msdaps clean
16950 wine_fn_config_dll msdmo enable_msdmo implib
16951 wine_fn_config_dll msftedit enable_msftedit
16952 wine_fn_config_dll msg711.acm enable_msg711_acm
16953 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16954 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16955 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16956 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16957 wine_fn_config_dll msi enable_msi clean
,implib
,po
16958 wine_fn_config_test dlls
/msi
/tests msi_test
16959 wine_fn_config_dll msident enable_msident clean
16960 wine_fn_config_dll msimg32 enable_msimg32 implib
16961 wine_fn_config_dll msimsg enable_msimsg
16962 wine_fn_config_dll msimtf enable_msimtf clean
16963 wine_fn_config_dll msisip enable_msisip
16964 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16965 wine_fn_config_dll msls31 enable_msls31
16966 wine_fn_config_dll msnet32 enable_msnet32
16967 wine_fn_config_dll mspatcha enable_mspatcha
16968 wine_fn_config_dll msrle32 enable_msrle32 po
16969 wine_fn_config_dll mssign32 enable_mssign32
16970 wine_fn_config_dll mssip32 enable_mssip32
16971 wine_fn_config_dll mstask enable_mstask clean
16972 wine_fn_config_test dlls
/mstask
/tests mstask_test
16973 wine_fn_config_dll msvcirt enable_msvcirt
16974 wine_fn_config_dll msvcm80 enable_msvcm80
16975 wine_fn_config_dll msvcm90 enable_msvcm90
16976 wine_fn_config_dll msvcp100 enable_msvcp100
16977 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16978 wine_fn_config_dll msvcp110 enable_msvcp110
16979 wine_fn_config_dll msvcp60 enable_msvcp60
16980 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16981 wine_fn_config_dll msvcp70 enable_msvcp70
16982 wine_fn_config_dll msvcp71 enable_msvcp71
16983 wine_fn_config_dll msvcp80 enable_msvcp80
16984 wine_fn_config_dll msvcp90 enable_msvcp90
16985 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16986 wine_fn_config_dll msvcr100 enable_msvcr100
16987 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16988 wine_fn_config_dll msvcr110 enable_msvcr110
16989 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16990 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16991 wine_fn_config_dll msvcr80 enable_msvcr80
16992 wine_fn_config_dll msvcr90 enable_msvcr90
16993 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16994 wine_fn_config_dll msvcrt enable_msvcrt implib
16995 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16996 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16997 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16998 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16999 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17000 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17001 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17002 wine_fn_config_dll msvidc32 enable_msvidc32 po
17003 wine_fn_config_dll msvideo.dll16 enable_win16
17004 wine_fn_config_dll mswsock enable_mswsock implib
17005 wine_fn_config_dll msxml enable_msxml clean
17006 wine_fn_config_dll msxml2 enable_msxml2 clean
17007 wine_fn_config_dll msxml3 enable_msxml3 clean
17008 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17009 wine_fn_config_dll msxml4 enable_msxml4 clean
17010 wine_fn_config_dll msxml6 enable_msxml6 clean
17011 wine_fn_config_dll nddeapi enable_nddeapi implib
17012 wine_fn_config_dll netapi32 enable_netapi32 implib
17013 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17014 wine_fn_config_dll netcfgx enable_netcfgx
17015 wine_fn_config_dll newdev enable_newdev implib
17016 wine_fn_config_dll normaliz enable_normaliz implib
17017 wine_fn_config_dll npmshtml enable_npmshtml
17018 wine_fn_config_dll ntdll enable_ntdll implib
17019 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17020 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17021 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17022 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17023 wine_fn_config_dll ntprint enable_ntprint
17024 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17025 wine_fn_config_dll objsel enable_objsel clean
17026 wine_fn_config_dll odbc32 enable_odbc32 implib
17027 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17028 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17029 wine_fn_config_dll odbccu32 enable_odbccu32
17030 wine_fn_config_dll ole2.dll16 enable_win16
17031 wine_fn_config_dll ole2conv.dll16 enable_win16
17032 wine_fn_config_dll ole2disp.dll16 enable_win16
17033 wine_fn_config_dll ole2nls.dll16 enable_win16
17034 wine_fn_config_dll ole2prox.dll16 enable_win16
17035 wine_fn_config_dll ole2thk.dll16 enable_win16
17036 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17037 wine_fn_config_test dlls
/ole32
/tests ole32_test
17038 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17039 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17040 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17041 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17042 wine_fn_config_dll olecli.dll16 enable_win16
17043 wine_fn_config_dll olecli32 enable_olecli32 implib
17044 wine_fn_config_dll oledb32 enable_oledb32 clean
17045 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17046 wine_fn_config_dll oledlg enable_oledlg implib
,po
17047 wine_fn_config_dll olepro32 enable_olepro32 implib
17048 wine_fn_config_dll olesvr.dll16 enable_win16
17049 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17050 wine_fn_config_dll olethk32 enable_olethk32
17051 wine_fn_config_dll openal32 enable_openal32
17052 wine_fn_config_dll opencl enable_opencl
17053 wine_fn_config_dll opengl32 enable_opengl32 implib
17054 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17055 wine_fn_config_dll pdh enable_pdh implib
17056 wine_fn_config_test dlls
/pdh
/tests pdh_test
17057 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17058 wine_fn_config_dll pidgen enable_pidgen
17059 wine_fn_config_dll powrprof enable_powrprof implib
17060 wine_fn_config_dll printui enable_printui
17061 wine_fn_config_dll propsys enable_propsys clean
,implib
17062 wine_fn_config_test dlls
/propsys
/tests propsys_test
17063 wine_fn_config_dll psapi enable_psapi implib
17064 wine_fn_config_test dlls
/psapi
/tests psapi_test
17065 wine_fn_config_dll pstorec enable_pstorec clean
17066 wine_fn_config_dll qcap enable_qcap
17067 wine_fn_config_test dlls
/qcap
/tests qcap_test
17068 wine_fn_config_dll qedit enable_qedit clean
17069 wine_fn_config_test dlls
/qedit
/tests qedit_test
17070 wine_fn_config_dll qmgr enable_qmgr clean
17071 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17072 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17073 wine_fn_config_dll quartz enable_quartz clean
,implib
17074 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17075 wine_fn_config_dll query enable_query
17076 wine_fn_config_dll rasapi16.dll16 enable_win16
17077 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17078 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17079 wine_fn_config_dll rasdlg enable_rasdlg implib
17080 wine_fn_config_dll regapi enable_regapi
17081 wine_fn_config_dll resutils enable_resutils implib
17082 wine_fn_config_dll riched20 enable_riched20 implib
17083 wine_fn_config_test dlls
/riched20
/tests riched20_test
17084 wine_fn_config_dll riched32 enable_riched32
17085 wine_fn_config_test dlls
/riched32
/tests riched32_test
17086 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17087 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17088 wine_fn_config_dll rsabase enable_rsabase
17089 wine_fn_config_dll rsaenh enable_rsaenh implib
17090 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17091 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17092 wine_fn_config_dll rtutils enable_rtutils implib
17093 wine_fn_config_dll samlib enable_samlib
17094 wine_fn_config_dll sane.ds enable_sane_ds po
17095 wine_fn_config_dll scarddlg enable_scarddlg
17096 wine_fn_config_dll sccbase enable_sccbase
17097 wine_fn_config_dll schannel enable_schannel
17098 wine_fn_config_test dlls
/schannel
/tests schannel_test
17099 wine_fn_config_dll scrrun enable_scrrun clean
17100 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17101 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17102 wine_fn_config_dll secur32 enable_secur32 implib
17103 wine_fn_config_test dlls
/secur32
/tests secur32_test
17104 wine_fn_config_dll security enable_security
17105 wine_fn_config_dll sensapi enable_sensapi implib
17106 wine_fn_config_dll serialui enable_serialui implib
,po
17107 wine_fn_config_test dlls
/serialui
/tests serialui_test
17108 wine_fn_config_dll setupapi enable_setupapi implib
,po
17109 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17110 wine_fn_config_dll setupx.dll16 enable_win16
17111 wine_fn_config_dll sfc enable_sfc implib
17112 wine_fn_config_dll sfc_os enable_sfc_os implib
17113 wine_fn_config_dll shdoclc enable_shdoclc po
17114 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17115 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17116 wine_fn_config_dll shell.dll16 enable_win16
17117 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17118 wine_fn_config_test dlls
/shell32
/tests shell32_test
17119 wine_fn_config_dll shfolder enable_shfolder implib
17120 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17121 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17122 wine_fn_config_dll slbcsp enable_slbcsp
17123 wine_fn_config_dll slc enable_slc implib
17124 wine_fn_config_dll snmpapi enable_snmpapi implib
17125 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17126 wine_fn_config_dll softpub enable_softpub
17127 wine_fn_config_dll sound.drv16 enable_win16
17128 wine_fn_config_dll spoolss enable_spoolss implib
17129 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17130 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17131 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17132 wine_fn_config_dll sti enable_sti clean
,implib
17133 wine_fn_config_test dlls
/sti
/tests sti_test
17134 wine_fn_config_dll storage.dll16 enable_win16
17135 wine_fn_config_dll stress.dll16 enable_win16
17136 wine_fn_config_lib strmbase
17137 wine_fn_config_lib strmiids
17138 wine_fn_config_dll svrapi enable_svrapi
17139 wine_fn_config_dll sxs enable_sxs implib
17140 wine_fn_config_test dlls
/sxs
/tests sxs_test
17141 wine_fn_config_dll system.drv16 enable_win16
17142 wine_fn_config_dll t2embed enable_t2embed
17143 wine_fn_config_dll tapi32 enable_tapi32 implib
17144 wine_fn_config_dll toolhelp.dll16 enable_win16
17145 wine_fn_config_dll traffic enable_traffic
17146 wine_fn_config_dll twain.dll16 enable_win16
17147 wine_fn_config_dll twain_32 enable_twain_32
17148 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17149 wine_fn_config_dll typelib.dll16 enable_win16
17150 wine_fn_config_dll unicows enable_unicows implib
17151 wine_fn_config_dll updspapi enable_updspapi
17152 wine_fn_config_dll url enable_url implib
17153 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17154 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17155 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17156 wine_fn_config_dll user.exe16 enable_win16
17157 wine_fn_config_dll user32 enable_user32 implib
,po
17158 wine_fn_config_test dlls
/user32
/tests user32_test
17159 wine_fn_config_dll userenv enable_userenv implib
17160 wine_fn_config_test dlls
/userenv
/tests userenv_test
17161 wine_fn_config_dll usp10 enable_usp10 implib
17162 wine_fn_config_test dlls
/usp10
/tests usp10_test
17163 wine_fn_config_lib uuid
17164 wine_fn_config_dll uxtheme enable_uxtheme implib
17165 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17166 wine_fn_config_dll vbscript enable_vbscript clean
17167 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17168 wine_fn_config_dll vcomp enable_vcomp
17169 wine_fn_config_dll vcomp100 enable_vcomp100
17170 wine_fn_config_dll vcomp90 enable_vcomp90
17171 wine_fn_config_dll vdhcp.vxd enable_win16
17172 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17173 wine_fn_config_dll ver.dll16 enable_win16
17174 wine_fn_config_dll version enable_version implib
17175 wine_fn_config_test dlls
/version
/tests version_test
17176 wine_fn_config_dll vmm.vxd enable_win16
17177 wine_fn_config_dll vnbt.vxd enable_win16
17178 wine_fn_config_dll vnetbios.vxd enable_win16
17179 wine_fn_config_dll vtdapi.vxd enable_win16
17180 wine_fn_config_dll vwin32.vxd enable_win16
17181 wine_fn_config_dll w32skrnl enable_win16
17182 wine_fn_config_dll w32sys.dll16 enable_win16
17183 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17184 wine_fn_config_dll wbemprox enable_wbemprox clean
17185 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17186 wine_fn_config_dll webservices enable_webservices implib
17187 wine_fn_config_dll wer enable_wer implib
17188 wine_fn_config_test dlls
/wer
/tests wer_test
17189 wine_fn_config_dll wevtapi enable_wevtapi
17190 wine_fn_config_dll wiaservc enable_wiaservc clean
17191 wine_fn_config_dll win32s16.dll16 enable_win16
17192 wine_fn_config_dll win87em.dll16 enable_win16
17193 wine_fn_config_dll winaspi.dll16 enable_win16
17194 wine_fn_config_dll windebug.dll16 enable_win16
17195 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17196 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17197 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17198 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17199 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17200 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17201 wine_fn_config_lib winecrt0
17202 wine_fn_config_dll wined3d enable_wined3d implib
17203 wine_fn_config_dll winegstreamer enable_winegstreamer
17204 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17205 wine_fn_config_dll winemac.drv enable_winemac_drv
17206 wine_fn_config_dll winemapi enable_winemapi
17207 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17208 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17209 wine_fn_config_dll wineps.drv enable_wineps_drv po
17210 wine_fn_config_dll wineps16.drv16 enable_win16
17211 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17212 wine_fn_config_dll winex11.drv enable_winex11_drv
17213 wine_fn_config_dll wing.dll16 enable_win16
17214 wine_fn_config_dll wing32 enable_wing32
17215 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17216 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17217 wine_fn_config_dll wininet enable_wininet implib
,po
17218 wine_fn_config_test dlls
/wininet
/tests wininet_test
17219 wine_fn_config_dll winmm enable_winmm implib
,po
17220 wine_fn_config_test dlls
/winmm
/tests winmm_test
17221 wine_fn_config_dll winnls.dll16 enable_win16
17222 wine_fn_config_dll winnls32 enable_winnls32 implib
17223 wine_fn_config_dll winscard enable_winscard implib
17224 wine_fn_config_dll winsock.dll16 enable_win16
17225 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17226 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17227 wine_fn_config_dll winsta enable_winsta
17228 wine_fn_config_dll wintab.dll16 enable_win16
17229 wine_fn_config_dll wintab32 enable_wintab32 implib
17230 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17231 wine_fn_config_dll wintrust enable_wintrust implib
17232 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17233 wine_fn_config_dll wlanapi enable_wlanapi
17234 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17235 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17236 wine_fn_config_dll wmi enable_wmi
17237 wine_fn_config_dll wmiutils enable_wmiutils clean
17238 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17239 wine_fn_config_dll wmvcore enable_wmvcore
17240 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17241 wine_fn_config_dll wow32 enable_win16 implib
17242 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17243 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17244 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17245 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17246 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17247 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17248 wine_fn_config_dll wsock32 enable_wsock32 implib
17249 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17250 wine_fn_config_dll wuapi enable_wuapi clean
17251 wine_fn_config_dll wuaueng enable_wuaueng
17252 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17253 wine_fn_config_dll xinput1_1 enable_xinput1_1
17254 wine_fn_config_dll xinput1_2 enable_xinput1_2
17255 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17256 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17257 wine_fn_config_dll xinput1_4 enable_xinput1_4
17258 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17259 wine_fn_config_dll xmllite enable_xmllite
17260 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17261 wine_fn_config_dll xolehlp enable_xolehlp
17262 wine_fn_config_dll xpsprint enable_xpsprint
17263 wine_fn_config_dll xpssvcs enable_xpssvcs
17264 wine_fn_config_makefile documentation enable_documentation clean
17265 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17266 wine_fn_config_makefile include enable_include clean
,install-dev
17267 wine_fn_config_makefile libs
/port enable_libs_port
17268 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17269 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17270 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17271 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17272 wine_fn_config_program attrib enable_attrib
install,po
17273 wine_fn_config_program cabarc enable_cabarc
install
17274 wine_fn_config_program cacls enable_cacls
install
17275 wine_fn_config_program
clock enable_clock
install,po
17276 wine_fn_config_program cmd enable_cmd
install,po
17277 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17278 wine_fn_config_program conhost enable_conhost
install
17279 wine_fn_config_program control enable_control
install
17280 wine_fn_config_program cscript enable_cscript
install
17281 wine_fn_config_program dxdiag enable_dxdiag
install,po
17282 wine_fn_config_program eject enable_eject
install
17283 wine_fn_config_program
expand enable_expand
install
17284 wine_fn_config_program explorer enable_explorer
install,po
17285 wine_fn_config_program extrac32 enable_extrac32
install
17286 wine_fn_config_program findstr enable_findstr
install
17287 wine_fn_config_program hh enable_hh
install
17288 wine_fn_config_program hostname enable_hostname
install,po
17289 wine_fn_config_program icinfo enable_icinfo
install
17290 wine_fn_config_program iexplore enable_iexplore
install
17291 wine_fn_config_program ipconfig enable_ipconfig
install,po
17292 wine_fn_config_program lodctr enable_lodctr
install
17293 wine_fn_config_program mofcomp enable_mofcomp
install
17294 wine_fn_config_program mshta enable_mshta
install
17295 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17296 wine_fn_config_program net enable_net
install,po
17297 wine_fn_config_program netsh enable_netsh
install
17298 wine_fn_config_program netstat enable_netstat
install,po
17299 wine_fn_config_program ngen enable_ngen
install
17300 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17301 wine_fn_config_program oleview enable_oleview
install,po
17302 wine_fn_config_program
ping enable_ping
install
17303 wine_fn_config_program plugplay enable_plugplay
install
17304 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17305 wine_fn_config_program progman enable_progman
install,po
17306 wine_fn_config_program reg enable_reg
install,po
17307 wine_fn_config_program regasm enable_regasm
install
17308 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17309 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17310 wine_fn_config_program regsvcs enable_regsvcs
install
17311 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17312 wine_fn_config_program rpcss enable_rpcss clean
,install
17313 wine_fn_config_program rundll.exe16 enable_win16
install
17314 wine_fn_config_program rundll32 enable_rundll32
install
17315 wine_fn_config_program sc enable_sc
install
17316 wine_fn_config_program schtasks enable_schtasks
install
17317 wine_fn_config_program secedit enable_secedit
install
17318 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17319 wine_fn_config_program services enable_services clean
,install
17320 wine_fn_config_test programs
/services
/tests services.exe_test
17321 wine_fn_config_program spoolsv enable_spoolsv
install
17322 wine_fn_config_program start enable_start
install,po
17323 wine_fn_config_program svchost enable_svchost
install
17324 wine_fn_config_program taskkill enable_taskkill
install,po
17325 wine_fn_config_program tasklist enable_tasklist
install
17326 wine_fn_config_program taskmgr enable_taskmgr
install,po
17327 wine_fn_config_program termsv enable_termsv
install
17328 wine_fn_config_program uninstaller enable_uninstaller
install,po
17329 wine_fn_config_program unlodctr enable_unlodctr
install
17330 wine_fn_config_program view enable_view
install,po
17331 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17332 wine_fn_config_program winebrowser enable_winebrowser
install
17333 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17334 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17335 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17336 wine_fn_config_program winedevice enable_winedevice
install
17337 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17338 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17339 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17340 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17341 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17342 wine_fn_config_program winetest enable_winetest clean
17343 wine_fn_config_program winevdm enable_win16
install
17344 wine_fn_config_program winhelp.exe16 enable_win16
install
17345 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17346 wine_fn_config_program winoldap.mod16 enable_win16
install
17347 wine_fn_config_program winver enable_winver
install
17348 wine_fn_config_program wmic enable_wmic
install,po
17349 wine_fn_config_program wordpad enable_wordpad
install,po
17350 wine_fn_config_program
write enable_write
install,po
17351 wine_fn_config_program wscript enable_wscript clean
,install
17352 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17353 wine_fn_config_program wusa enable_wusa
install
17354 wine_fn_config_program xcopy enable_xcopy
install,po
17355 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17356 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17357 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17358 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17359 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17360 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17361 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17362 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17413 ac_config_commands
="$ac_config_commands Makefile"
17416 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17420 if test "x$enable_maintainer_mode" = xyes
17422 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17423 cd \$(srcdir) && autoconf --warnings=all
17424 \$(srcdir)/include/config.h.in: include/stamp-h.in
17425 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17426 cd \$(srcdir) && autoheader --warnings=all
17427 @echo timestamp > \$@"
17430 if test "x$with_gettextpo" = xyes
17432 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17433 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17434 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17435 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17436 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17437 msgcat -o \$@ \$(ALL_POT_FILES)"
17440 if test "$MSGFMT" != false
17442 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17444 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17449 if test "x$enable_tools" != xno
17451 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17453 \$(RM) tools/makedep\$(EXEEXT)"
17456 if test -n "$with_wine64"
17458 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17459 fonts server tools:
17460 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17461 $with_wine64/loader/wine:
17462 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17463 $with_wine64/loader/wine-preloader:
17464 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17466 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17468 as_fn_append LOADER_RULES
"
17471 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17472 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17474 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17475 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17476 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17479 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17483 $as_echo " done" >&6
17484 cat >confcache
<<\_ACEOF
17485 # This file is a shell script that caches the results of configure
17486 # tests run on this system so they can be shared between configure
17487 # scripts and configure runs, see configure's option --config-cache.
17488 # It is not useful on other systems. If it contains results you don't
17489 # want to keep, you may remove or edit it.
17491 # config.status only pays attention to the cache file if you give it
17492 # the --recheck option to rerun configure.
17494 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17495 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17496 # following values.
17500 # The following way of writing the cache mishandles newlines in values,
17501 # but we know of no workaround that is simple, portable, and efficient.
17502 # So, we kill variables containing newlines.
17503 # Ultrix sh set writes to stderr and can't be redirected directly,
17504 # and sets the high bit in the cache file unless we assign to the vars.
17506 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17507 eval ac_val
=\$
$ac_var
17511 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17515 _ | IFS | as_nl
) ;; #(
17516 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17517 *) { eval $ac_var=; unset $ac_var;} ;;
17523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17524 *${as_nl}ac_space
=\
*)
17525 # `set' does not quote correctly, so add quotes: double-quote
17526 # substitution turns \\\\ into \\, and sed turns \\ into \.
17529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17532 # `set' quotes correctly as required by POSIX, so do not add quotes.
17533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17546 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17547 if test -w "$cache_file"; then
17548 if test "x$cache_file" != "x/dev/null"; then
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17550 $as_echo "$as_me: updating cache $cache_file" >&6;}
17551 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17552 cat confcache
>"$cache_file"
17554 case $cache_file in #(
17556 mv -f confcache
"$cache_file"$$
&&
17557 mv -f "$cache_file"$$
"$cache_file" ;; #(
17559 mv -f confcache
"$cache_file" ;;
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17565 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17570 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17571 # Let make expand exec_prefix.
17572 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17574 DEFS
=-DHAVE_CONFIG_H
17579 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17580 # 1. Remove the extension, and $U if already installed.
17581 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17582 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17584 # will be set to the directory where LIBOBJS objects are built.
17585 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17586 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17588 LIBOBJS
=$ac_libobjs
17590 LTLIBOBJS
=$ac_ltlibobjs
17594 : "${CONFIG_STATUS=./config.status}"
17596 ac_clean_files_save
=$ac_clean_files
17597 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17603 # Generated by $as_me.
17604 # Run this file to recreate the current configuration.
17605 # Compiler output produced by configure, useful for debugging
17606 # configure, is in config.log if it exists.
17609 ac_cs_recheck=false
17612 SHELL=\${CONFIG_SHELL-$SHELL}
17615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17616 ## -------------------- ##
17617 ## M4sh Initialization. ##
17618 ## -------------------- ##
17620 # Be more Bourne compatible
17621 DUALCASE
=1; export DUALCASE
# for MKS sh
17622 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17626 # is contrary to our usage. Disable this feature.
17627 alias -g '${1+"$@"}'='"$@"'
17628 setopt NO_GLOB_SUBST
17630 case `(set -o) 2>/dev/null` in #(
17642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17643 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17646 # Prefer a ksh shell builtin over an external printf program on Solaris,
17647 # but without wasting forks for bash or zsh.
17648 if test -z "$BASH_VERSION$ZSH_VERSION" \
17649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17650 as_echo='print
-r --'
17651 as_echo_n='print
-rn --'
17652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17653 as_echo='printf %s
\n'
17654 as_echo_n='printf %s
'
17656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17657 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17658 as_echo_n='/usr
/ucb
/echo -n'
17660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17661 as_echo_n_body='eval
17665 expr "X$arg" : "X\\(.*\\)$as_nl";
17666 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17668 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17670 export as_echo_n_body
17671 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17673 export as_echo_body
17674 as_echo='sh
-c $as_echo_body as_echo
'
17677 # The user is always right.
17678 if test "${PATH_SEPARATOR+set}" != set; then
17680 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17681 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17688 # We need space, tab and new line, in precisely that order. Quoting is
17689 # there to prevent editors from complaining about space-tab.
17690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17691 # splitting by setting IFS to empty value.)
17694 # Find who we are. Look in the path if we contain no directory separator.
17697 *[\\/]* ) as_myself=$0 ;;
17698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17699 for as_dir in $PATH
17702 test -z "$as_dir" && as_dir=.
17703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17709 # We did not find ourselves, most probably we were run as `sh COMMAND'
17710 # in which case we are not to be found in the path.
17711 if test "x$as_myself" = x
; then
17714 if test ! -f "$as_myself"; then
17715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17719 # Unset variables that we do not need and which cause bugs (e.g. in
17720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17721 # suppresses any "Segmentation fault" message there. '((' could
17722 # trigger a bug in pdksh 5.2.14.
17723 for as_var
in BASH_ENV ENV MAIL MAILPATH
17724 do eval test x\
${$as_var+set} = xset \
17725 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17738 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17742 # ----------------------------------------
17743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17745 # script with STATUS, using 1 if that was 0.
17748 as_status
=$1; test $as_status -eq 0 && as_status
=1
17750 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17753 $as_echo "$as_me: error: $2" >&2
17754 as_fn_exit
$as_status
17758 # as_fn_set_status STATUS
17759 # -----------------------
17760 # Set $? to STATUS, without forking.
17761 as_fn_set_status
()
17764 } # as_fn_set_status
17766 # as_fn_exit STATUS
17767 # -----------------
17768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17772 as_fn_set_status
$1
17778 # Portably unset VAR.
17781 { eval $1=; unset $1;}
17783 as_unset
=as_fn_unset
17784 # as_fn_append VAR VALUE
17785 # ----------------------
17786 # Append the text in VALUE to the end of the definition contained in VAR. Take
17787 # advantage of any shell optimizations that allow amortized linear growth over
17788 # repeated appends, instead of the typical quadratic growth present in naive
17790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17791 eval 'as_fn_append ()
17802 # as_fn_arith ARG...
17803 # ------------------
17804 # Perform arithmetic evaluation on the ARGs, and store the result in the
17805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17806 # must be portable across $(()) and expr.
17807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17808 eval 'as_fn_arith ()
17815 as_val
=`expr "$@" || test $? -eq 1`
17820 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17821 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17827 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17828 as_basename
=basename
17833 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17839 as_me
=`$as_basename -- "$0" ||
17840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17841 X"$0" : 'X\(//\)$' \| \
17842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17844 sed '/^.*\/\([^/][^/]*\)\/*$/{
17858 # Avoid depending upon Character Ranges.
17859 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17860 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17861 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17862 as_cr_digits
='0123456789'
17863 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17865 ECHO_C
= ECHO_N
= ECHO_T
=
17866 case `echo -n x` in #(((((
17868 case `echo 'xy\c'` in
17869 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17871 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17878 rm -f conf$$ conf$$.exe conf$$.
file
17879 if test -d conf$$.dir
; then
17880 rm -f conf$$.dir
/conf$$.
file
17883 mkdir conf$$.dir
2>/dev
/null
17885 if (echo >conf$$.
file) 2>/dev
/null
; then
17886 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17888 # ... but there are two gotchas:
17889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17891 # In both cases, we have to default to `cp -pR'.
17892 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17894 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17902 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17903 rmdir conf$$.dir
2>/dev
/null
17908 # Create "$as_dir" as a directory, including parents if necessary.
17913 -*) as_dir
=.
/$as_dir;;
17915 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17919 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17920 *) as_qdir
=$as_dir;;
17922 as_dirs
="'$as_qdir' $as_dirs"
17923 as_dir
=`$as_dirname -- "$as_dir" ||
17924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17925 X"$as_dir" : 'X\(//\)[^/]' \| \
17926 X"$as_dir" : 'X\(//\)$' \| \
17927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17928 $as_echo X"$as_dir" |
17929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17933 /^X\(\/\/\)[^/].*/{
17946 test -d "$as_dir" && break
17948 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17949 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17953 if mkdir
-p .
2>/dev
/null
; then
17954 as_mkdir_p
='mkdir -p "$as_dir"'
17956 test -d .
/-p && rmdir .
/-p
17961 # as_fn_executable_p FILE
17962 # -----------------------
17963 # Test if FILE is an executable regular file.
17964 as_fn_executable_p
()
17966 test -f "$1" && test -x "$1"
17967 } # as_fn_executable_p
17968 as_test_x
='test -x'
17969 as_executable_p
=as_fn_executable_p
17971 # Sed expression to map a string onto a valid CPP name.
17972 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17974 # Sed expression to map a string onto a valid variable name.
17975 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17979 ## ----------------------------------- ##
17980 ## Main body of $CONFIG_STATUS script. ##
17981 ## ----------------------------------- ##
17983 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17986 # Save the log message, to keep $0 and so on meaningful, and to
17987 # report actual input values of CONFIG_FILES etc. instead of their
17988 # values after options handling.
17990 This file was extended by Wine $as_me 1.7.5, which was
17991 generated by GNU Autoconf 2.69. Invocation command line was
17993 CONFIG_FILES = $CONFIG_FILES
17994 CONFIG_HEADERS = $CONFIG_HEADERS
17995 CONFIG_LINKS = $CONFIG_LINKS
17996 CONFIG_COMMANDS = $CONFIG_COMMANDS
17999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18004 case $ac_config_files in *"
18005 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18008 case $ac_config_headers in *"
18009 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18014 # Files that config.status was made for.
18015 config_files="$ac_config_files"
18016 config_headers="$ac_config_headers"
18017 config_links="$ac_config_links"
18018 config_commands="$ac_config_commands"
18022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18024 \`$as_me' instantiates files and other configuration actions
18025 from templates according to the current configuration. Unless the files
18026 and actions are specified as TAGs, all are instantiated by default.
18028 Usage: $0 [OPTION]... [TAG]...
18030 -h, --help print this help, then exit
18031 -V, --version print version number and configuration settings, then exit
18032 --config print configuration, then exit
18033 -q, --quiet, --silent
18034 do not print progress messages
18035 -d, --debug don't remove temporary files
18036 --recheck update $as_me by reconfiguring in the same conditions
18037 --file=FILE[:TEMPLATE]
18038 instantiate the configuration file FILE
18039 --header=FILE[:TEMPLATE]
18040 instantiate the configuration header FILE
18042 Configuration files:
18045 Configuration headers:
18048 Configuration links:
18051 Configuration commands:
18054 Report bugs to <wine-devel@winehq.org>.
18055 Wine home page: <http://www.winehq.org>."
18058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18059 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18061 Wine config.status 1.7.5
18062 configured by $0, generated by GNU Autoconf 2.69,
18063 with options \\"\$ac_cs_config\\"
18065 Copyright (C) 2012 Free Software Foundation, Inc.
18066 This config.status script is free software; the Free Software Foundation
18067 gives unlimited permission to copy, distribute and modify it."
18073 test -n "\$AWK" || AWK=awk
18076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18077 # The default lists apply if the user does not specify any file.
18083 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18084 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18088 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18100 # Handling of the options.
18101 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18103 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18104 $as_echo "$ac_cs_version"; exit ;;
18105 --config |
--confi |
--conf |
--con |
--co |
--c )
18106 $as_echo "$ac_cs_config"; exit ;;
18107 --debug |
--debu |
--deb |
--de |
--d |
-d )
18109 --file |
--fil |
--fi |
--f )
18112 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18113 '') as_fn_error $?
"missing file argument" ;;
18115 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18116 ac_need_defaults
=false
;;
18117 --header |
--heade |
--head |
--hea )
18120 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18122 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18123 ac_need_defaults
=false
;;
18125 # Conflict between --help and --header
18126 as_fn_error $?
"ambiguous option: \`$1'
18127 Try \`$0 --help' for more information.";;
18128 --help |
--hel |
-h )
18129 $as_echo "$ac_cs_usage"; exit ;;
18130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18131 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18134 # This is an error.
18135 -*) as_fn_error $?
"unrecognized option: \`$1'
18136 Try \`$0 --help' for more information." ;;
18138 *) as_fn_append ac_config_targets
" $1"
18139 ac_need_defaults
=false
;;
18145 ac_configure_extra_args
=
18147 if $ac_cs_silent; then
18149 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18154 if \$ac_cs_recheck; then
18155 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18157 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18158 CONFIG_SHELL='$SHELL'
18159 export CONFIG_SHELL
18164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18168 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18169 ## Running $as_me. ##
18175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18179 wine_fn_output_makefile ()
18181 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18182 `cat $wine_rules_file`
18184 as_fn_error $? "could not create Makefile" "$LINENO" 5
18189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18191 # Handling of arguments.
18192 for ac_config_target
in $ac_config_targets
18194 case $ac_config_target in
18195 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18196 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18197 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18198 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18199 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18200 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18201 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18202 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18203 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18204 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18205 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18206 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18207 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18208 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18209 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18210 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18211 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18212 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18213 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18214 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18215 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18217 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18222 # If the user did not use the arguments to specify the items to instantiate,
18223 # then the envvar interface is used. Set only those that are not.
18224 # We use the long form for the default assignment because of an extremely
18225 # bizarre bug on SunOS 4.1.3.
18226 if $ac_need_defaults; then
18227 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18228 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18229 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18230 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18233 # Have a temporary directory for convenience. Make it in the build tree
18234 # simply because there is no reason against having it here, and in addition,
18235 # creating and moving files from /tmp can sometimes cause problems.
18236 # Hook for its removal unless debugging.
18237 # Note that there is a small window in which the directory will not be cleaned:
18238 # after its creation but before its name has been assigned to `$tmp'.
18242 trap 'exit_status=$?
18243 : "${ac_tmp:=$tmp}"
18244 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18246 trap 'as_fn_exit 1' 1 2 13 15
18248 # Create a (secure) tmp directory for tmp files.
18251 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18255 tmp
=.
/conf$$
-$RANDOM
18256 (umask 077 && mkdir
"$tmp")
18257 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18260 # Set up the scripts for CONFIG_FILES section.
18261 # No need to generate them if there are no CONFIG_FILES.
18262 # This happens for instance with `./config.status config.h'.
18263 if test -n "$CONFIG_FILES"; then
18265 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18266 ac_cs_awk_getline
=:
18267 ac_cs_awk_pipe_init
=
18268 ac_cs_awk_read_file
='
18269 while ((getline aline < (F[key])) > 0)
18272 ac_cs_awk_pipe_fini
=
18274 ac_cs_awk_getline
=false
18275 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18276 ac_cs_awk_read_file
='
18278 print "cat " F[key] " &&"
18279 '$ac_cs_awk_pipe_init
18280 # The final `:' finishes the AND list.
18281 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18283 ac_cr
=`echo X | tr X '\015'`
18284 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18285 # But we know of no other shell where ac_cr would be empty at this
18286 # point, so we can use a bashism as a fallback.
18287 if test "x$ac_cr" = x
; then
18288 eval ac_cr
=\$
\'\\r
\'
18290 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18291 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18294 ac_cs_awk_cr
=$ac_cr
18297 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18300 # Create commands to substitute file output variables.
18302 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18303 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18304 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18307 } >conf$
$files.sh
&&
18308 . .
/conf$
$files.sh ||
18309 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18310 rm -f conf$
$files.sh
18313 echo "cat >conf$$subs.awk <<_ACEOF" &&
18314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18316 } >conf$$subs.sh ||
18317 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18318 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18320 for ac_last_try in false false false false false :; do
18321 . ./conf$$subs.sh ||
18322 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18324 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18325 if test $ac_delim_n = $ac_delim_num; then
18327 elif $ac_last_try; then
18328 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18330 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18333 rm -f conf$$subs.sh
18335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18336 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18340 s/^/S["/; s
/!.
*/"]=/
18350 s/\(.\{148\}\)..*/\1/
18352 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18357 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18364 s/\(.\{148\}\)..*/\1/
18366 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18370 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18375 ' <conf$$subs.awk | sed '
18380 ' >>$CONFIG_STATUS || ac_write_fail=1
18381 rm -f conf$$subs.awk
18382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18384 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18385 for (key in S) S_is_set[key] = 1
18387 \$ac_cs_awk_pipe_init
18391 nfields = split(line, field, "@
")
18393 len = length(field[1])
18394 for (i = 2; i < nfields; i++) {
18396 keylen = length(key)
18397 if (S_is_set[key]) {
18399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18400 len += length(value) + length(field[++i])
18405 if (nfields == 3 && !substed) {
18407 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18408 \$ac_cs_awk_read_file
18414 \$ac_cs_awk_pipe_fini
18417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18418 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18419 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18422 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18423 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18426 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18427 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18428 # trailing colons and then remove the whole line if VPATH becomes empty
18429 # (actually we leave an empty line to preserve line numbers).
18430 if test "x
$srcdir" = x.; then
18431 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18450 fi # test -n "$CONFIG_FILES"
18452 # Set up the scripts for CONFIG_HEADERS section.
18453 # No need to generate them if there are no CONFIG_HEADERS.
18454 # This happens for instance with `./config.status Makefile'.
18455 if test -n "$CONFIG_HEADERS"; then
18456 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18460 # Transform confdefs.h into an awk script `defines.awk', embedded as
18461 # here-document in config.status, that substitutes the proper values into
18462 # config.h.in to produce config.h.
18464 # Create a delimiter string that does not exist in confdefs.h, to ease
18465 # handling of long lines.
18467 for ac_last_try in false false :; do
18468 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18469 if test -z "$ac_tt"; then
18471 elif $ac_last_try; then
18472 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18474 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18478 # For the awk script, D is an array of macro values keyed by name,
18479 # likewise P contains macro parameters if any. Preserve backslash
18480 # newline sequences.
18482 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18484 s/.\{148\}/&'"$ac_delim"'/g
18487 s/^[ ]*#[ ]*define[ ][ ]*/ /
18494 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18496 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18501 D["\
1"]=" \
3\\\\\\n
"\\/p
18503 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18508 s/.\{148\}/&'"$ac_delim"'/g
18513 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18516 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18518 ' <confdefs.h | sed '
18519 s/'"$ac_delim"'/"\\\
18520 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18523 for (key in D) D_is_set[key] = 1
18526 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18528 split(line, arg, " ")
18529 if (arg[1] == "#") {
18533 defundef
= substr
(arg
[1], 2)
18536 split(mac1
, mac2
, "(") #)
18538 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18539 if (D_is_set
[macro
]) {
18540 # Preserve the white space surrounding the "#".
18541 print prefix
"define", macro P
[macro
] D
[macro
]
18544 # Replace #undef with comments. This is necessary, for example,
18545 # in the case of _POSIX_SOURCE, which is predefined and required
18546 # on some systems where configure will not decide to define it.
18547 if (defundef
== "undef") {
18548 print
"/*", prefix defundef
, macro
, "*/"
18556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18557 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18558 fi # test -n "$CONFIG_HEADERS"
18561 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18566 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18568 case $ac_mode$ac_tag in
18570 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18571 :[FH
]-) ac_tag
=-:-;;
18572 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18589 -) ac_f
="$ac_tmp/stdin";;
18590 *) # Look for the file first in the build tree, then in the source tree
18591 # (if the path is not absolute). The absolute path cannot be DOS-style,
18592 # because $ac_f cannot contain `:'.
18596 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18598 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18600 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18601 as_fn_append ac_file_inputs
" '$ac_f'"
18604 # Let's still pretend it is `configure' which instantiates (i.e., don't
18605 # use $as_me), people would be surprised to read:
18606 # /* config.h. Generated by config.status. */
18607 configure_input
='Generated from '`
18608 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18610 if test x
"$ac_file" != x-
; then
18611 configure_input
="$ac_file. $configure_input"
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18613 $as_echo "$as_me: creating $ac_file" >&6;}
18615 # Neutralize special characters interpreted by sed in replacement strings.
18616 case $configure_input in #(
18617 *\
&* |
*\|
* |
*\\* )
18618 ac_sed_conf_input
=`$as_echo "$configure_input" |
18619 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18620 *) ac_sed_conf_input
=$configure_input;;
18624 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18625 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18630 ac_dir
=`$as_dirname -- "$ac_file" ||
18631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18632 X"$ac_file" : 'X\(//\)[^/]' \| \
18633 X"$ac_file" : 'X\(//\)$' \| \
18634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18635 $as_echo X"$ac_file" |
18636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18640 /^X\(\/\/\)[^/].*/{
18653 as_dir
="$ac_dir"; as_fn_mkdir_p
18657 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18659 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18660 # A ".." for each directory in $ac_dir_suffix.
18661 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18662 case $ac_top_builddir_sub in
18663 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18664 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18667 ac_abs_top_builddir
=$ac_pwd
18668 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18669 # for backward compatibility:
18670 ac_top_builddir
=$ac_top_build_prefix
18673 .
) # We are building in place.
18675 ac_top_srcdir
=$ac_top_builddir_sub
18676 ac_abs_top_srcdir
=$ac_pwd ;;
18677 [\\/]* | ?
:[\\/]* ) # Absolute name.
18678 ac_srcdir
=$srcdir$ac_dir_suffix;
18679 ac_top_srcdir
=$srcdir
18680 ac_abs_top_srcdir
=$srcdir ;;
18681 *) # Relative name.
18682 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18683 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18684 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18686 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18696 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18697 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18699 ac_MKDIR_P
=$MKDIR_P
18701 [\\/$
]* | ?
:[\\/]* ) ;;
18702 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18707 # If the template does not know about datarootdir, expand it.
18708 # FIXME: This hack should be removed a few years after 2.60.
18709 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18720 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18721 *datarootdir
*) ac_datarootdir_seen
=yes;;
18722 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18724 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18727 ac_datarootdir_hack='
18728 s&@datadir@&$datadir&g
18729 s&@docdir@&$docdir&g
18730 s&@infodir@&$infodir&g
18731 s&@localedir@&$localedir&g
18732 s&@mandir@&$mandir&g
18733 s&\\\${datarootdir}&$datarootdir&g' ;;
18737 # Neutralize VPATH when `$srcdir' = `.'.
18738 # Shell code in configure.ac might set extrasub.
18739 # FIXME: do we really want to maintain this feature?
18740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18741 ac_sed_extra="$ac_vpsub
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18746 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18747 s|@configure_input@|
$ac_sed_conf_input|
;t t
18748 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18749 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18750 s
&@srcdir@
&$ac_srcdir&;t t
18751 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18752 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18753 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18754 s
&@builddir@
&$ac_builddir&;t t
18755 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18756 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18757 s
&@INSTALL@
&$ac_INSTALL&;t t
18758 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18759 $ac_datarootdir_hack
18761 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18762 if $ac_cs_awk_getline; then
18763 $AWK -f "$ac_tmp/subs.
awk"
18765 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18767 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18770 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18771 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18772 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18774 which seems to be undefined. Please make sure it is defined" >&5
18775 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18776 which seems to be undefined. Please make sure it is defined" >&2;}
18778 rm -f "$ac_tmp/stdin"
18780 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18781 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18789 if test x"$ac_file" != x-; then
18791 $as_echo "/* $configure_input */" \
18792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18793 } >"$ac_tmp/config.h" \
18794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18795 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18797 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18800 mv "$ac_tmp/config.h" "$ac_file" \
18801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18804 $as_echo "/* $configure_input */" \
18805 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18806 || as_fn_error $? "could not create -" "$LINENO" 5
18814 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18817 # Prefer the file from the source tree if names are identical.
18818 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18819 ac_source=$srcdir/$ac_source
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18823 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18825 if test ! -r "$ac_source"; then
18826 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18830 # Try a relative symlink, then a hard link, then a copy.
18832 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18833 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18835 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18836 ln "$ac_source" "$ac_file" 2>/dev/null ||
18837 cp -p "$ac_source" "$ac_file" ||
18838 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18841 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18842 $as_echo "$as_me: executing $ac_file commands" >&6;}
18847 case $ac_file$ac_mode in
18848 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18849 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18850 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18851 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18852 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18853 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18854 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18855 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18856 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18857 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18858 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18859 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18860 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18861 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18862 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18863 "Makefile":C) wine_fn_output_makefile Makefile ;;
18871 ac_clean_files=$ac_clean_files_save
18873 test $ac_write_fail = 0 ||
18874 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18877 # configure is writing to config.log, and then calls config.status.
18878 # config.status does its own redirection, appending to config.log.
18879 # Unfortunately, on DOS this fails, as config.log is still kept open
18880 # by configure, so config.status won't be able to
write to it
; its
18881 # output is simply discarded. So we exec the FD to /dev/null,
18882 # effectively closing config.log, so it can be properly (re)opened and
18883 # appended to by config.status. When coming back to configure, we
18884 # need to make the FD available again.
18885 if test "$no_create" != yes; then
18887 ac_config_status_args
=
18888 test "$silent" = yes &&
18889 ac_config_status_args
="$ac_config_status_args --quiet"
18891 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18893 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18894 # would make configure fail if this is the last instruction.
18895 $ac_cs_success || as_fn_exit
1
18897 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18899 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18903 if test "$no_create" = "yes"
18909 if test "x$wine_notices != "x
; then
18912 for msg
in $wine_notices; do
18914 if test -n "$msg"; then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18916 $as_echo "$as_me: $msg" >&6;}
18921 for msg
in $wine_warnings; do
18923 if test -n "$msg"; then
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18926 $as_echo "$as_me: WARNING: $msg" >&2;}
18932 $as_me: Finished. Do '${ac_make}' to compile Wine.