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 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5838 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5839 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5841 if test "$CONVERT" = false
5843 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5846 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5847 convert_version
=`convert --version | head -n1`
5848 if test "x$convert_version" != "x"
5850 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5851 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5852 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5857 if test "$CONVERT" = false
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5860 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5861 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5864 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5868 if test "$ICOTOOL" = false
5870 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5873 $as_echo_n "checking for recent enough icotool... " >&6; }
5874 icotool_version
=`icotool --version | head -n1`
5875 if test "x$icotool_version" != "x"
5877 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5878 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5879 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5882 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5885 if test "$ICOTOOL" = false
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5888 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5889 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5892 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5898 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5901 test "x$with_gettext" != xno || MSGFMT
=false
5902 if test "$MSGFMT" != "false"
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5905 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5906 cat >conftest.po
<<EOF
5912 if $MSGFMT -o /dev
/null conftest.po
2>&5
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5915 $as_echo "yes" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 if test "$MSGFMT" = false
; then :
5923 case "x$with_gettext" in
5924 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5926 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5927 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5933 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5934 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 ac_check_lib_save_LIBS
=$LIBS
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5948 char i386_set_ldt ();
5952 return i386_set_ldt ();
5957 if ac_fn_c_try_link
"$LINENO"; then :
5958 ac_cv_lib_i386_i386_set_ldt
=yes
5960 ac_cv_lib_i386_i386_set_ldt
=no
5962 rm -f core conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LIBS
=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5967 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5968 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5969 cat >>confdefs.h
<<_ACEOF
5970 #define HAVE_LIBI386 1
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5978 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5979 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 ac_check_lib_save_LIBS
=$LIBS
5983 LIBS
="-lossaudio $LIBS"
5984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5987 /* Override any GCC internal prototype to avoid an error.
5988 Use char because int might match the return type of a GCC
5989 builtin and then its argument prototype would still apply. */
5997 return _oss_ioctl ();
6002 if ac_fn_c_try_link
"$LINENO"; then :
6003 ac_cv_lib_ossaudio__oss_ioctl
=yes
6005 ac_cv_lib_ossaudio__oss_ioctl
=no
6007 rm -f core conftest.err conftest.
$ac_objext \
6008 conftest
$ac_exeext conftest.
$ac_ext
6009 LIBS
=$ac_check_lib_save_LIBS
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6012 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6013 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6014 cat >>confdefs.h
<<_ACEOF
6015 #define HAVE_LIBOSSAUDIO 1
6018 LIBS
="-lossaudio $LIBS"
6029 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6031 # Check whether --enable-largefile was given.
6032 if test "${enable_largefile+set}" = set; then :
6033 enableval
=$enable_largefile;
6036 if test "$enable_largefile" != no
; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6039 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6040 if ${ac_cv_sys_largefile_CC+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 ac_cv_sys_largefile_CC
=no
6044 if test "$GCC" != yes; then
6047 # IRIX 6.2 and later do not support large files by default,
6048 # so use the C compiler's -n32 option if that helps.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6051 #include <sys/types.h>
6052 /* Check that off_t can represent 2**63 - 1 correctly.
6053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6054 since some C++ compilers masquerading as C compilers
6055 incorrectly reject 9223372036854775807. */
6056 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6058 && LARGE_OFF_T % 2147483647 == 1)
6068 if ac_fn_c_try_compile
"$LINENO"; then :
6071 rm -f core conftest.err conftest.
$ac_objext
6073 if ac_fn_c_try_compile
"$LINENO"; then :
6074 ac_cv_sys_largefile_CC
=' -n32'; break
6076 rm -f core conftest.err conftest.
$ac_objext
6080 rm -f conftest.
$ac_ext
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6084 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6085 if test "$ac_cv_sys_largefile_CC" != no
; then
6086 CC
=$CC$ac_cv_sys_largefile_CC
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6090 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6091 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6097 #include <sys/types.h>
6098 /* Check that off_t can represent 2**63 - 1 correctly.
6099 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6100 since some C++ compilers masquerading as C compilers
6101 incorrectly reject 9223372036854775807. */
6102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6104 && LARGE_OFF_T % 2147483647 == 1)
6114 if ac_fn_c_try_compile
"$LINENO"; then :
6115 ac_cv_sys_file_offset_bits
=no
; break
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #define _FILE_OFFSET_BITS 64
6121 #include <sys/types.h>
6122 /* Check that off_t can represent 2**63 - 1 correctly.
6123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6124 since some C++ compilers masquerading as C compilers
6125 incorrectly reject 9223372036854775807. */
6126 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6128 && LARGE_OFF_T % 2147483647 == 1)
6138 if ac_fn_c_try_compile
"$LINENO"; then :
6139 ac_cv_sys_file_offset_bits
=64; break
6141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6142 ac_cv_sys_file_offset_bits
=unknown
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6147 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6148 case $ac_cv_sys_file_offset_bits in #(
6151 cat >>confdefs.h
<<_ACEOF
6152 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6157 if test $ac_cv_sys_file_offset_bits = unknown
; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6159 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6160 if ${ac_cv_sys_large_files+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 #include <sys/types.h>
6167 /* Check that off_t can represent 2**63 - 1 correctly.
6168 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6169 since some C++ compilers masquerading as C compilers
6170 incorrectly reject 9223372036854775807. */
6171 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6172 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6173 && LARGE_OFF_T % 2147483647 == 1)
6183 if ac_fn_c_try_compile
"$LINENO"; then :
6184 ac_cv_sys_large_files
=no
; break
6186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #define _LARGE_FILES 1
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6207 if ac_fn_c_try_compile
"$LINENO"; then :
6208 ac_cv_sys_large_files
=1; break
6210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6211 ac_cv_sys_large_files
=unknown
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6216 $as_echo "$ac_cv_sys_large_files" >&6; }
6217 case $ac_cv_sys_large_files in #(
6220 cat >>confdefs.h
<<_ACEOF
6221 #define _LARGE_FILES $ac_cv_sys_large_files
6233 ac_cpp
='$CPP $CPPFLAGS'
6234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6239 # On Suns, sometimes $CPP names a directory.
6240 if test -n "$CPP" && test -d "$CPP"; then
6243 if test -z "$CPP"; then
6244 if ${ac_cv_prog_CPP+:} false
; then :
6245 $as_echo_n "(cached) " >&6
6247 # Double quotes because CPP needs to be expanded
6248 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6251 for ac_c_preproc_warn_flag
in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6262 # include <limits.h>
6264 # include <assert.h>
6268 if ac_fn_c_try_cpp
"$LINENO"; then :
6271 # Broken: fails on valid input.
6274 rm -f conftest.err conftest.i conftest.
$ac_ext
6276 # OK, works on sane cases. Now check whether nonexistent headers
6277 # can be detected and how.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <ac_nonexistent.h>
6282 if ac_fn_c_try_cpp
"$LINENO"; then :
6283 # Broken: success on invalid input.
6286 # Passes both tests.
6290 rm -f conftest.err conftest.i conftest.
$ac_ext
6293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6294 rm -f conftest.i conftest.err conftest.
$ac_ext
6295 if $ac_preproc_ok; then :
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6308 $as_echo "$CPP" >&6; }
6310 for ac_c_preproc_warn_flag
in '' yes
6312 # Use a header file that comes with gcc, so configuring glibc
6313 # with a fresh cross-compiler works.
6314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6315 # <limits.h> exists even on freestanding compilers.
6316 # On the NeXT, cc -E runs the code through the compiler's parser,
6317 # not just through cpp. "Syntax error" is here to catch this case.
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6321 # include <limits.h>
6323 # include <assert.h>
6327 if ac_fn_c_try_cpp
"$LINENO"; then :
6330 # Broken: fails on valid input.
6333 rm -f conftest.err conftest.i conftest.
$ac_ext
6335 # OK, works on sane cases. Now check whether nonexistent headers
6336 # can be detected and how.
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <ac_nonexistent.h>
6341 if ac_fn_c_try_cpp
"$LINENO"; then :
6342 # Broken: success on invalid input.
6345 # Passes both tests.
6349 rm -f conftest.err conftest.i conftest.
$ac_ext
6352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6353 rm -f conftest.i conftest.err conftest.
$ac_ext
6354 if $ac_preproc_ok; then :
6357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6359 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6360 See \`config.log' for more details" "$LINENO" 5; }
6364 ac_cpp
='$CPP $CPPFLAGS'
6365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6371 $as_echo_n "checking for ANSI C header files... " >&6; }
6372 if ${ac_cv_header_stdc+:} false
; then :
6373 $as_echo_n "(cached) " >&6
6375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6390 if ac_fn_c_try_compile
"$LINENO"; then :
6391 ac_cv_header_stdc
=yes
6393 ac_cv_header_stdc
=no
6395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 if test $ac_cv_header_stdc = yes; then
6398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6405 $EGREP "memchr" >/dev
/null
2>&1; then :
6408 ac_cv_header_stdc
=no
6414 if test $ac_cv_header_stdc = yes; then
6415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "free" >/dev
/null
2>&1; then :
6425 ac_cv_header_stdc
=no
6431 if test $ac_cv_header_stdc = yes; then
6432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6433 if test "$cross_compiling" = yes; then :
6436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6440 #if ((' ' & 0x0FF) == 0x020)
6441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6444 # define ISLOWER(c) \
6445 (('a' <= (c) && (c) <= 'i') \
6446 || ('j' <= (c) && (c) <= 'r') \
6447 || ('s' <= (c) && (c) <= 'z'))
6448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6456 for (i = 0; i < 256; i++)
6457 if (XOR (islower (i), ISLOWER (i))
6458 || toupper (i) != TOUPPER (i))
6463 if ac_fn_c_try_run
"$LINENO"; then :
6466 ac_cv_header_stdc
=no
6468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6475 $as_echo "$ac_cv_header_stdc" >&6; }
6476 if test $ac_cv_header_stdc = yes; then
6478 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6482 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6483 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6484 inttypes.h stdint.h unistd.h
6486 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6487 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6489 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6490 cat >>confdefs.h
<<_ACEOF
6491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6501 ApplicationServices
/ApplicationServices.h \
6502 AudioToolbox
/AudioConverter.h \
6503 AudioUnit
/AudioUnit.h \
6504 AudioUnit
/AudioComponent.h \
6507 CoreAudio
/CoreAudio.h \
6508 CoreServices
/CoreServices.h \
6509 DiskArbitration
/DiskArbitration.h \
6511 IOKit
/hid
/IOHIDLib.h \
6514 QuickTime
/ImageCompression.h \
6515 Security
/Security.h \
6529 fontconfig
/fontconfig.h \
6567 netinet
/in_systm.h \
6628 valgrind
/memcheck.h \
6629 valgrind
/valgrind.h \
6633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6635 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6636 cat >>confdefs.h
<<_ACEOF
6637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6645 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6646 if ${ac_cv_header_stat_broken+:} false
; then :
6647 $as_echo_n "(cached) " >&6
6649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 #include <sys/types.h>
6652 #include <sys/stat.h>
6654 #if defined S_ISBLK && defined S_IFDIR
6655 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6658 #if defined S_ISBLK && defined S_IFCHR
6659 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6662 #if defined S_ISLNK && defined S_IFREG
6663 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6666 #if defined S_ISSOCK && defined S_IFREG
6667 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6671 if ac_fn_c_try_compile
"$LINENO"; then :
6672 ac_cv_header_stat_broken
=no
6674 ac_cv_header_stat_broken
=yes
6676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6679 $as_echo "$ac_cv_header_stat_broken" >&6; }
6680 if test $ac_cv_header_stat_broken = yes; then
6682 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6688 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_SYS_PARAM_H
6693 # include <sys/param.h>
6696 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6697 cat >>confdefs.h
<<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 netinet
/if_ether.h \
6714 netinet
/if_inarp.h \
6723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6728 #ifdef HAVE_SYS_SOCKETVAR_H
6729 # include <sys/socketvar.h>
6731 #ifdef HAVE_NET_ROUTE_H
6732 # include <net/route.h>
6734 #ifdef HAVE_NETINET_IN_H
6735 # include <netinet/in.h>
6737 #ifdef HAVE_NETINET_IN_SYSTM_H
6738 # include <netinet/in_systm.h>
6740 #ifdef HAVE_NET_IF_H
6741 # include <net/if.h>
6743 #ifdef HAVE_NETINET_IP_H
6744 # include <netinet/ip.h>
6747 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6748 cat >>confdefs.h
<<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6757 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_SYS_SOCKET_H
6765 # include <sys/socket.h>
6767 #ifdef HAVE_SYS_SOCKETVAR_H
6768 # include <sys/socketvar.h>
6770 #ifdef HAVE_SYS_TIMEOUT_H
6771 # include <sys/timeout.h>
6773 #ifdef HAVE_NETINET_IN_H
6774 # include <netinet/in.h>
6776 #ifdef HAVE_NETINET_IN_SYSTM_H
6777 # include <netinet/in_systm.h>
6779 #ifdef HAVE_NETINET_IP_H
6780 # include <netinet/ip.h>
6782 #ifdef HAVE_NETINET_IP_VAR_H
6783 # include <netinet/ip_var.h>
6785 #ifdef HAVE_NETINET_IP_ICMP_H
6786 # include <netinet/ip_icmp.h>
6788 #ifdef HAVE_NETINET_UDP_H
6789 # include <netinet/udp.h>
6791 #ifdef HAVE_NETINET_TCP_H
6792 # include <netinet/tcp.h>
6794 #ifdef HAVE_NETINET_TCP_TIMER_H
6795 #include <netinet/tcp_timer.h>
6798 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6810 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6812 #ifdef HAVE_ASM_TYPES_H
6813 # include <asm/types.h>
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6818 #ifdef HAVE_LINUX_TYPES_H
6819 # include <linux/types.h>
6822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 for ac_header
in mach-o
/dyld_images.h
6834 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6835 # include <stdbool.h>
6837 #ifdef HAVE_STDINT_H
6838 # include <stdint.h>
6841 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6842 cat >>confdefs.h
<<_ACEOF
6843 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6851 for ac_header
in resolv.h
6853 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6854 #ifdef HAVE_SYS_SOCKET_H
6855 # include <sys/socket.h>
6857 #ifdef HAVE_NETINET_IN_H
6858 # include <netinet/in.h>
6860 #ifdef HAVE_ARPA_NAMESER_H
6861 # include <arpa/nameser.h>
6864 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6865 cat >>confdefs.h
<<_ACEOF
6866 #define HAVE_RESOLV_H 1
6874 for ac_header
in ifaddrs.h
6876 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6878 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6879 cat >>confdefs.h
<<_ACEOF
6880 #define HAVE_IFADDRS_H 1
6888 for ac_header
in ucontext.h
6890 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6892 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define HAVE_UCONTEXT_H 1
6902 for ac_header
in sys
/thr.h
6904 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6905 #ifdef HAVE_UCONTEXT_H
6906 #include <ucontext.h>
6909 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_SYS_THR_H 1
6919 for ac_header
in pthread_np.h
6921 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6922 #include <pthread.h>
6925 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define HAVE_PTHREAD_NP_H 1
6935 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6939 #include <sys/time.h>
6941 #include <sys/types.h>
6942 #ifdef HAVE_ASM_TYPES_H
6943 #include <asm/types.h>
6946 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956 for ac_header
in libprocstat.h
6958 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6959 #include <sys/param.h>
6961 #ifdef HAVE_SYS_QUEUE_H
6962 #include <sys/queue.h>
6964 #ifdef HAVE_SYS_SOCKET_H
6965 #include <sys/socket.h>
6968 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6969 cat >>confdefs.h
<<_ACEOF
6970 #define HAVE_LIBPROCSTAT_H 1
6979 dlldir
="\${libdir}/wine"
6983 DLLFLAGS
="-D_REENTRANT"
6993 STATIC_IMPLIBEXT
="def.a"
6994 # Extract the first word of "ldd", so it can be a program name with args.
6995 set dummy ldd
; ac_word
=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_path_LDD+:} false
; then :
6999 $as_echo_n "(cached) " >&6
7003 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7007 as_dummy
="/sbin:/usr/sbin:$PATH"
7008 for as_dir
in $as_dummy
7011 test -z "$as_dir" && as_dir
=.
7012 for ac_exec_ext
in '' $ac_executable_extensions; do
7013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7027 if test -n "$LDD"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7029 $as_echo "$LDD" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7036 if test -n "$ac_tool_prefix"; then
7037 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7038 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_READELF+:} false
; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$READELF"; then
7045 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 for ac_exec_ext
in '' $ac_executable_extensions; do
7053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 READELF
=$ac_cv_prog_READELF
7065 if test -n "$READELF"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7067 $as_echo "$READELF" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7075 if test -z "$ac_cv_prog_READELF"; then
7076 ac_ct_READELF
=$READELF
7077 # Extract the first word of "readelf", so it can be a program name with args.
7078 set dummy readelf
; ac_word
=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$ac_ct_READELF"; then
7085 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir
=.
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_prog_ac_ct_READELF
="readelf"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7105 if test -n "$ac_ct_READELF"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7107 $as_echo "$ac_ct_READELF" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7113 if test "x$ac_ct_READELF" = x
; then
7116 case $cross_compiling:$ac_tool_warned in
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned
=yes ;;
7122 READELF
=$ac_ct_READELF
7125 READELF
="$ac_cv_prog_READELF"
7130 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7133 all: $wine_binary wine-installed
7135 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7136 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7139 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7147 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7151 $as_echo_n "(cached) " >&6
7153 if test -n "$DLLTOOL"; then
7154 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir
=.
7161 for ac_exec_ext
in '' $ac_executable_extensions; do
7162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 DLLTOOL
=$ac_cv_prog_DLLTOOL
7174 if test -n "$DLLTOOL"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7176 $as_echo "$DLLTOOL" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7184 if test -z "$ac_cv_prog_DLLTOOL"; then
7185 ac_ct_DLLTOOL
=$DLLTOOL
7186 # Extract the first word of "dlltool", so it can be a program name with args.
7187 set dummy dlltool
; ac_word
=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$ac_ct_DLLTOOL"; then
7194 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7214 if test -n "$ac_ct_DLLTOOL"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7216 $as_echo "$ac_ct_DLLTOOL" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7222 if test "x$ac_ct_DLLTOOL" = x
; then
7225 case $cross_compiling:$ac_tool_warned in
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7229 ac_tool_warned
=yes ;;
7231 DLLTOOL
=$ac_ct_DLLTOOL
7234 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7240 STATIC_IMPLIBEXT
="a"
7241 enable_iphlpapi
=${enable_iphlpapi:-no}
7242 enable_kernel32
=${enable_kernel32:-no}
7243 enable_msvcrt
=${enable_msvcrt:-no}
7244 enable_ntdll
=${enable_ntdll:-no}
7245 enable_ws2_32
=${enable_ws2_32:-no}
7246 enable_loader
=${enable_loader:-no}
7247 enable_server
=${enable_server:-no}
7248 with_x
=${with_x:-no}
7249 with_pthread
=${with_pthread:-no}
7255 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7260 all: libwine.dll libwine.a
7263 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7265 libwine.dll: \$(OBJS) wine.def Makefile.in
7266 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7268 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7269 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7271 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7272 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7275 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7278 \$(RM) libwine.dll version.c
7285 DLLFLAGS
="$DLLFLAGS -fPIC"
7286 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7287 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7288 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7289 COREFOUNDATIONLIB
="-framework CoreFoundation"
7291 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7293 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7295 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7297 CORESERVICESLIB
="-framework CoreServices"
7299 APPKITLIB
="-framework AppKit"
7301 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7303 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7305 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7307 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7310 if test "$ac_cv_header_Security_Security_h" = "yes"
7312 SECURITYLIB
="-framework Security -framework CoreFoundation"
7314 ac_save_LIBS
="$LIBS"
7315 LIBS
="$LIBS $SECURITYLIB"
7316 for ac_func
in SSLCopyPeerCertificates
7318 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7319 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7320 cat >>confdefs.h
<<_ACEOF
7321 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7327 LIBS
="$ac_save_LIBS"
7328 with_gnutls
=${with_gnutls:-no}
7330 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7332 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7334 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7337 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7340 ac_save_LIBS
="$LIBS"
7341 LIBS
="$LIBS $COREAUDIO"
7342 for ac_func
in AUGraphAddNode
7344 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7345 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7346 cat >>confdefs.h
<<_ACEOF
7347 #define HAVE_AUGRAPHADDNODE 1
7353 LIBS
="$ac_save_LIBS"
7355 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7357 FRAMEWORK_OPENAL
="-framework OpenAL"
7360 cat >>confdefs.h
<<_ACEOF
7361 #define HAVE_OPENAL 1
7364 ac_cv_lib_openal
=yes
7366 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7368 LIBOPENCL
="-framework OpenCL"
7370 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7372 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7374 ac_save_LIBS
="$LIBS"
7375 LIBS
="$LIBS $IOKITLIB"
7376 for ac_func
in IOHIDManagerCreate
7378 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7379 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7380 cat >>confdefs.h
<<_ACEOF
7381 #define HAVE_IOHIDMANAGERCREATE 1
7387 LIBS
="$ac_save_LIBS"
7389 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7391 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7393 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7395 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7397 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7399 CARBONLIB
="-framework Carbon"
7403 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7405 ac_save_LIBS
="$LIBS"
7406 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7407 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7408 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7409 enable_winemac_drv
=${enable_winemac_drv:-yes}
7412 LIBS
="$ac_save_LIBS"
7415 if test "x$enable_win16" = "xyes"
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7418 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7419 if test "$cross_compiling" = yes; then :
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7421 $as_echo "cross-compiling, assuming yes" >&6; }
7423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7427 "good:\tnop;nop\n\t"
7428 ".globl _testfunc\n"
7429 "_testfunc:\tcallw good");
7430 extern void testfunc();
7434 unsigned short *p = (unsigned short *)testfunc;
7435 return p[0] != 0xe866 || p[1] != 0xfffa
7440 if ac_fn_c_try_run
"$LINENO"; then :
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7442 $as_echo "yes" >&6; }
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 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
7448 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7449 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7457 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7458 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7460 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7461 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7463 libwine.dylib: libwine.\$(SOVERSION).dylib
7464 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7466 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7467 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7468 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7470 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7471 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7474 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7477 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7481 as_fn_append LOADER_RULES
"
7482 $wine_binary: main.o Makefile.in wine_info.plist
7483 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7485 wine-installed: main.o Makefile.in wine_info.plist
7486 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7488 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7489 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7494 DLLFLAGS
="$DLLFLAGS -fPIC"
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7500 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7501 $as_echo_n "(cached) " >&6
7503 ac_wine_try_cflags_saved
=$CFLAGS
7504 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7507 int main(int argc, char **argv) { return 0; }
7509 if ac_fn_c_try_link
"$LINENO"; then :
7510 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7512 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7514 rm -f core conftest.err conftest.
$ac_objext \
7515 conftest
$ac_exeext conftest.
$ac_ext
7516 CFLAGS
=$ac_wine_try_cflags_saved
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7519 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7520 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7521 LDEXECFLAGS
="-Wl,--export-dynamic"
7523 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7526 if eval \
${$as_ac_var+:} false
; then :
7527 $as_echo_n "(cached) " >&6
7529 ac_wine_try_cflags_saved
=$CFLAGS
7530 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7532 /* end confdefs.h. */
7533 int main(int argc, char **argv) { return 0; }
7535 if ac_fn_c_try_link
"$LINENO"; then :
7536 eval "$as_ac_var=yes"
7538 eval "$as_ac_var=no"
7540 rm -f core conftest.err conftest.
$ac_objext \
7541 conftest
$ac_exeext conftest.
$ac_ext
7542 CFLAGS
=$ac_wine_try_cflags_saved
7544 eval ac_res
=\$
$as_ac_var
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7546 $as_echo "$ac_res" >&6; }
7547 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7548 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7549 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7551 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7554 if eval \
${$as_ac_var+:} false
; then :
7555 $as_echo_n "(cached) " >&6
7557 ac_wine_try_cflags_saved
=$CFLAGS
7558 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7561 int main(int argc, char **argv) { return 0; }
7563 if ac_fn_c_try_link
"$LINENO"; then :
7564 eval "$as_ac_var=yes"
7566 eval "$as_ac_var=no"
7568 rm -f core conftest.err conftest.
$ac_objext \
7569 conftest
$ac_exeext conftest.
$ac_ext
7570 CFLAGS
=$ac_wine_try_cflags_saved
7572 eval ac_res
=\$
$as_ac_var
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7574 $as_echo "$ac_res" >&6; }
7575 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7576 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7577 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7582 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7583 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7584 $as_echo_n "(cached) " >&6
7586 ac_wine_try_cflags_saved
=$CFLAGS
7587 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7590 int main(int argc, char **argv) { return 0; }
7592 if ac_fn_c_try_link
"$LINENO"; then :
7593 ac_cv_cflags__Wl___enable_new_dtags
=yes
7595 ac_cv_cflags__Wl___enable_new_dtags
=no
7597 rm -f core conftest.err conftest.
$ac_objext \
7598 conftest
$ac_exeext conftest.
$ac_ext
7599 CFLAGS
=$ac_wine_try_cflags_saved
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7602 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7603 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7604 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7608 *i
[3456789]86* | x86_64
)
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7610 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7611 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7612 $as_echo_n "(cached) " >&6
7614 ac_wine_try_cflags_saved
=$CFLAGS
7615 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7618 int main(int argc, char **argv) { return 0; }
7620 if ac_fn_c_try_link
"$LINENO"; then :
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7625 rm -f core conftest.err conftest.
$ac_objext \
7626 conftest
$ac_exeext conftest.
$ac_ext
7627 CFLAGS
=$ac_wine_try_cflags_saved
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7630 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7631 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7632 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7640 libwine.so: \$(OBJS) Makefile.in
7641 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7643 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7644 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7647 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7650 \$(RM) libwine.so version.c
7654 as_fn_append LOADER_RULES
"
7655 $wine_binary: main.o Makefile.in
7656 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7658 wine-installed: main.o Makefile.in
7659 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7664 DLLFLAGS
="$DLLFLAGS -fPIC"
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7667 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7668 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7669 $as_echo_n "(cached) " >&6
7671 ac_wine_try_cflags_saved
=$CFLAGS
7672 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7677 if ac_fn_c_try_link
"$LINENO"; then :
7678 ac_cv_c_dll_gnuelf
="yes"
7680 ac_cv_c_dll_gnuelf
="no"
7682 rm -f core conftest.err conftest.
$ac_objext \
7683 conftest
$ac_exeext conftest.
$ac_ext
7684 CFLAGS
=$ac_wine_try_cflags_saved
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7687 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7688 if test "$ac_cv_c_dll_gnuelf" = "yes"
7690 LDSHARED
="\$(CC) -shared"
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7692 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7693 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7694 $as_echo_n "(cached) " >&6
7696 ac_wine_try_cflags_saved
=$CFLAGS
7697 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700 int main(int argc, char **argv) { return 0; }
7702 if ac_fn_c_try_link
"$LINENO"; then :
7703 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7705 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7707 rm -f core conftest.err conftest.
$ac_objext \
7708 conftest
$ac_exeext conftest.
$ac_ext
7709 CFLAGS
=$ac_wine_try_cflags_saved
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7712 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7713 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7714 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7717 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7718 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7719 $as_echo_n "(cached) " >&6
7721 ac_wine_try_cflags_saved
=$CFLAGS
7722 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 int main(int argc, char **argv) { return 0; }
7727 if ac_fn_c_try_link
"$LINENO"; then :
7728 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7730 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7732 rm -f core conftest.err conftest.
$ac_objext \
7733 conftest
$ac_exeext conftest.
$ac_ext
7734 CFLAGS
=$ac_wine_try_cflags_saved
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7737 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7738 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7739 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7743 echo '{ global: *; };' >conftest.map
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7745 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7746 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7747 $as_echo_n "(cached) " >&6
7749 ac_wine_try_cflags_saved
=$CFLAGS
7750 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7755 if ac_fn_c_try_link
"$LINENO"; then :
7756 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7758 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7760 rm -f core conftest.err conftest.
$ac_objext \
7761 conftest
$ac_exeext conftest.
$ac_ext
7762 CFLAGS
=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7765 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7766 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7767 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7772 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7773 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7774 $as_echo_n "(cached) " >&6
7776 ac_wine_try_cflags_saved
=$CFLAGS
7777 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7780 int main(int argc, char **argv) { return 0; }
7782 if ac_fn_c_try_link
"$LINENO"; then :
7783 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7785 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7787 rm -f core conftest.err conftest.
$ac_objext \
7788 conftest
$ac_exeext conftest.
$ac_ext
7789 CFLAGS
=$ac_wine_try_cflags_saved
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7792 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7793 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7794 LDEXECFLAGS
="-Wl,--export-dynamic"
7797 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7799 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7800 if eval \
${$as_ac_var+:} false
; then :
7801 $as_echo_n "(cached) " >&6
7803 ac_wine_try_cflags_saved
=$CFLAGS
7804 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807 int main(int argc, char **argv) { return 0; }
7809 if ac_fn_c_try_link
"$LINENO"; then :
7810 eval "$as_ac_var=yes"
7812 eval "$as_ac_var=no"
7814 rm -f core conftest.err conftest.
$ac_objext \
7815 conftest
$ac_exeext conftest.
$ac_ext
7816 CFLAGS
=$ac_wine_try_cflags_saved
7818 eval ac_res
=\$
$as_ac_var
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7820 $as_echo "$ac_res" >&6; }
7821 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7822 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7823 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7825 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7827 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7828 if eval \
${$as_ac_var+:} false
; then :
7829 $as_echo_n "(cached) " >&6
7831 ac_wine_try_cflags_saved
=$CFLAGS
7832 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7835 int main(int argc, char **argv) { return 0; }
7837 if ac_fn_c_try_link
"$LINENO"; then :
7838 eval "$as_ac_var=yes"
7840 eval "$as_ac_var=no"
7842 rm -f core conftest.err conftest.
$ac_objext \
7843 conftest
$ac_exeext conftest.
$ac_ext
7844 CFLAGS
=$ac_wine_try_cflags_saved
7846 eval ac_res
=\$
$as_ac_var
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7848 $as_echo "$ac_res" >&6; }
7849 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7850 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7851 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7856 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7857 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7858 $as_echo_n "(cached) " >&6
7860 ac_wine_try_cflags_saved
=$CFLAGS
7861 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7866 if ac_fn_c_try_link
"$LINENO"; then :
7867 ac_cv_cflags__Wl___enable_new_dtags
=yes
7869 ac_cv_cflags__Wl___enable_new_dtags
=no
7871 rm -f core conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 CFLAGS
=$ac_wine_try_cflags_saved
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7876 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7877 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7878 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7882 *i
[3456789]86* | x86_64
)
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7884 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7885 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7886 $as_echo_n "(cached) " >&6
7888 ac_wine_try_cflags_saved
=$CFLAGS
7889 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 int main(int argc, char **argv) { return 0; }
7894 if ac_fn_c_try_link
"$LINENO"; then :
7895 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7897 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7899 rm -f core conftest.err conftest.
$ac_objext \
7900 conftest
$ac_exeext conftest.
$ac_ext
7901 CFLAGS
=$ac_wine_try_cflags_saved
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7904 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7905 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7907 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7908 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7912 # Extract the first word of "prelink", so it can be a program name with args.
7913 set dummy prelink
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_path_PRELINK+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7921 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7925 for as_dir
in /sbin
/usr
/sbin
$PATH
7928 test -z "$as_dir" && as_dir
=.
7929 for ac_exec_ext
in '' $ac_executable_extensions; do
7930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7943 PRELINK
=$ac_cv_path_PRELINK
7944 if test -n "$PRELINK"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7946 $as_echo "$PRELINK" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7953 if test "x$PRELINK" = xfalse
7955 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7962 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7963 if ${ac_cv_c_dll_unixware+:} false
; then :
7964 $as_echo_n "(cached) " >&6
7966 ac_wine_try_cflags_saved
=$CFLAGS
7967 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7972 if ac_fn_c_try_link
"$LINENO"; then :
7973 ac_cv_c_dll_unixware
="yes"
7975 ac_cv_c_dll_unixware
="no"
7977 rm -f core conftest.err conftest.
$ac_objext \
7978 conftest
$ac_exeext conftest.
$ac_ext
7979 CFLAGS
=$ac_wine_try_cflags_saved
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7982 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7983 if test "$ac_cv_c_dll_unixware" = "yes"
7985 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7991 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7992 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7994 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7995 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7997 libwine.so: libwine.so.\$(SOVERSION)
7998 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8000 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8001 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8002 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8004 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8005 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8008 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8011 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8015 as_fn_append LOADER_RULES
"
8016 $wine_binary: main.o Makefile.in
8017 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8019 wine-installed: main.o Makefile.in
8020 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8025 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8026 enable_winemac_drv
=${enable_winemac_drv:-no}
8030 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8034 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
8037 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 " ;;
8039 ac_prefix_list
="" ;;
8041 for ac_prog
in $ac_prefix_list
8043 # Extract the first word of "$ac_prog", so it can be a program name with args.
8044 set dummy
$ac_prog; ac_word
=$2
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046 $as_echo_n "checking for $ac_word... " >&6; }
8047 if ${ac_cv_prog_CROSSCC+:} false
; then :
8048 $as_echo_n "(cached) " >&6
8050 if test -n "$CROSSCC"; then
8051 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir
=.
8058 for ac_exec_ext
in '' $ac_executable_extensions; do
8059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8060 ac_cv_prog_CROSSCC
="$ac_prog"
8061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 CROSSCC
=$ac_cv_prog_CROSSCC
8071 if test -n "$CROSSCC"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8073 $as_echo "$CROSSCC" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8080 test -n "$CROSSCC" && break
8082 test -n "$CROSSCC" || CROSSCC
="false"
8084 if test "$CROSSCC" != "false"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8089 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8101 if ac_fn_c_try_compile
"$LINENO"; then :
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8103 $as_echo "yes" >&6; }
8109 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8123 if test "$ac_cv_header_pthread_h" = "yes"
8125 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8126 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8130 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8131 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8132 $as_echo_n "(cached) " >&6
8134 ac_check_lib_save_LIBS
=$LIBS
8135 LIBS
="-lpthread $LIBS"
8136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8139 /* Override any GCC internal prototype to avoid an error.
8140 Use char because int might match the return type of a GCC
8141 builtin and then its argument prototype would still apply. */
8145 char pthread_create ();
8149 return pthread_create ();
8154 if ac_fn_c_try_link
"$LINENO"; then :
8155 ac_cv_lib_pthread_pthread_create
=yes
8157 ac_cv_lib_pthread_pthread_create
=no
8159 rm -f core conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 LIBS
=$ac_check_lib_save_LIBS
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8164 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8165 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8166 LIBPTHREAD
="-lpthread"
8173 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8174 case "x$with_pthread" in
8176 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8177 Wine cannot support threads without libpthread.
8178 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8184 $as_echo_n "checking for X... " >&6; }
8187 # Check whether --with-x was given.
8188 if test "${with_x+set}" = set; then :
8192 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8193 if test "x$with_x" = xno
; then
8194 # The user explicitly disabled X.
8197 case $x_includes,$x_libraries in #(
8198 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8199 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8200 $as_echo_n "(cached) " >&6
8202 # One or both of the vars are not set, and there is no cached value.
8203 ac_x_includes
=no ac_x_libraries
=no
8204 rm -f -r conftest.dir
8205 if mkdir conftest.dir
; then
8207 cat >Imakefile
<<'_ACEOF'
8209 @echo incroot='${INCROOT}'
8211 @echo usrlibdir='${USRLIBDIR}'
8213 @echo libdir='${LIBDIR}'
8215 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8216 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8217 for ac_var
in incroot usrlibdir libdir
; do
8218 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8220 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8221 for ac_extension
in a so sl dylib la dll
; do
8222 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8223 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8224 ac_im_usrlibdir
=$ac_im_libdir; break
8227 # Screen out bogus values from the imake configuration. They are
8228 # bogus both because they are the default anyway, and because
8229 # using them would break gcc on systems where it needs fixed includes.
8230 case $ac_im_incroot in
8231 /usr
/include
) ac_x_includes
= ;;
8232 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8234 case $ac_im_usrlibdir in
8235 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8236 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8240 rm -f -r conftest.dir
8243 # Standard set of common directories for X headers.
8244 # Check X11 before X11Rn because it is often a symlink to the current release.
8258 /usr/local/X11/include
8259 /usr/local/X11R7/include
8260 /usr/local/X11R6/include
8261 /usr/local/X11R5/include
8262 /usr/local/X11R4/include
8264 /usr/local/include/X11
8265 /usr/local/include/X11R7
8266 /usr/local/include/X11R6
8267 /usr/local/include/X11R5
8268 /usr/local/include/X11R4
8272 /usr/XFree86/include/X11
8276 /usr/unsupported/include
8278 /usr/local/x11r5/include
8279 /usr/lpp/Xamples/include
8281 /usr/openwin/include
8282 /usr/openwin/share/include'
8284 if test "$ac_x_includes" = no
; then
8285 # Guess where to find include files, by looking for Xlib.h.
8286 # First, try using that file with no special directory specified.
8287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 #include <X11/Xlib.h>
8291 if ac_fn_c_try_cpp
"$LINENO"; then :
8292 # We can compile using X headers with no special include directory.
8295 for ac_dir
in $ac_x_header_dirs; do
8296 if test -r "$ac_dir/X11/Xlib.h"; then
8297 ac_x_includes
=$ac_dir
8302 rm -f conftest.err conftest.i conftest.
$ac_ext
8303 fi # $ac_x_includes = no
8305 if test "$ac_x_libraries" = no
; then
8306 # Check for the libraries.
8307 # See if we find them without any special options.
8308 # Don't add to $LIBS permanently.
8311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 #include <X11/Xlib.h>
8322 if ac_fn_c_try_link
"$LINENO"; then :
8324 # We can link X programs with no special library path.
8328 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8330 # Don't even attempt the hair of trying to link an X program!
8331 for ac_extension
in a so sl dylib la dll
; do
8332 if test -r "$ac_dir/libX11.$ac_extension"; then
8333 ac_x_libraries
=$ac_dir
8339 rm -f core conftest.err conftest.
$ac_objext \
8340 conftest
$ac_exeext conftest.
$ac_ext
8341 fi # $ac_x_libraries = no
8343 case $ac_x_includes,$ac_x_libraries in #(
8345 # Didn't find X, or a directory has "'" in its name.
8346 ac_cv_have_x
="have_x=no";; #(
8348 # Record where we found X for the cache.
8349 ac_cv_have_x
="have_x=yes\
8350 ac_x_includes='$ac_x_includes'\
8351 ac_x_libraries='$ac_x_libraries'"
8357 eval "$ac_cv_have_x"
8360 if test "$have_x" != yes; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8362 $as_echo "$have_x" >&6; }
8365 # If each of the values was on the command line, it overrides each guess.
8366 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8367 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8368 # Update the cache value to reflect the command line values.
8369 ac_cv_have_x
="have_x=yes\
8370 ac_x_includes='$x_includes'\
8371 ac_x_libraries='$x_libraries'"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8373 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8376 if test "$no_x" = yes; then
8377 # Not all programs may use this symbol, but it does not hurt to define it.
8379 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8381 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8383 if test -n "$x_includes"; then
8384 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8387 # It would also be nice to do this for all -L options, not just this one.
8388 if test -n "$x_libraries"; then
8389 X_LIBS
="$X_LIBS -L$x_libraries"
8390 # For Solaris; some versions of Sun CC require a space after -R and
8391 # others require no space. Words are not sufficient . . . .
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8393 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8394 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8395 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8396 ac_c_werror_flag
=yes
8397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8411 X_LIBS
="$X_LIBS -R$x_libraries"
8413 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8425 if ac_fn_c_try_link
"$LINENO"; then :
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8427 $as_echo "yes" >&6; }
8428 X_LIBS
="$X_LIBS -R $x_libraries"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8431 $as_echo "neither works" >&6; }
8433 rm -f core conftest.err conftest.
$ac_objext \
8434 conftest
$ac_exeext conftest.
$ac_ext
8436 rm -f core conftest.err conftest.
$ac_objext \
8437 conftest
$ac_exeext conftest.
$ac_ext
8438 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8442 # Check for system-dependent libraries X programs must link with.
8443 # Do this before checking for the system-independent R6 libraries
8444 # (-lICE), since we may need -lsocket or whatever for X linking.
8446 if test "$ISC" = yes; then
8447 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8449 # Martyn Johnson says this is needed for Ultrix, if the X
8450 # libraries were built with DECnet support. And Karl Berry says
8451 # the Alpha needs dnet_stub (dnet does not exist).
8452 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8456 /* Override any GCC internal prototype to avoid an error.
8457 Use char because int might match the return type of a GCC
8458 builtin and then its argument prototype would still apply. */
8462 char XOpenDisplay ();
8466 return XOpenDisplay ();
8471 if ac_fn_c_try_link
"$LINENO"; then :
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8475 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8476 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_check_lib_save_LIBS
=$LIBS
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8484 /* Override any GCC internal prototype to avoid an error.
8485 Use char because int might match the return type of a GCC
8486 builtin and then its argument prototype would still apply. */
8494 return dnet_ntoa ();
8499 if ac_fn_c_try_link
"$LINENO"; then :
8500 ac_cv_lib_dnet_dnet_ntoa
=yes
8502 ac_cv_lib_dnet_dnet_ntoa
=no
8504 rm -f core conftest.err conftest.
$ac_objext \
8505 conftest
$ac_exeext conftest.
$ac_ext
8506 LIBS
=$ac_check_lib_save_LIBS
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8509 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8510 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8511 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8514 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8516 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8517 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8518 $as_echo_n "(cached) " >&6
8520 ac_check_lib_save_LIBS
=$LIBS
8521 LIBS
="-ldnet_stub $LIBS"
8522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8525 /* Override any GCC internal prototype to avoid an error.
8526 Use char because int might match the return type of a GCC
8527 builtin and then its argument prototype would still apply. */
8535 return dnet_ntoa ();
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8543 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8547 LIBS
=$ac_check_lib_save_LIBS
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8550 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8551 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8552 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8557 rm -f core conftest.err conftest.
$ac_objext \
8558 conftest
$ac_exeext conftest.
$ac_ext
8559 LIBS
="$ac_xsave_LIBS"
8561 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8562 # to get the SysV transport functions.
8563 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8565 # The nsl library prevents programs from opening the X display
8566 # on Irix 5.2, according to T.E. Dickey.
8567 # The functions gethostbyname, getservbyname, and inet_addr are
8568 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8569 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8570 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8574 if test $ac_cv_func_gethostbyname = no
; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8576 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8577 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 ac_check_lib_save_LIBS
=$LIBS
8582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8585 /* Override any GCC internal prototype to avoid an error.
8586 Use char because int might match the return type of a GCC
8587 builtin and then its argument prototype would still apply. */
8591 char gethostbyname ();
8595 return gethostbyname ();
8600 if ac_fn_c_try_link
"$LINENO"; then :
8601 ac_cv_lib_nsl_gethostbyname
=yes
8603 ac_cv_lib_nsl_gethostbyname
=no
8605 rm -f core conftest.err conftest.
$ac_objext \
8606 conftest
$ac_exeext conftest.
$ac_ext
8607 LIBS
=$ac_check_lib_save_LIBS
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8610 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8611 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8612 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8615 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8617 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8618 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8619 $as_echo_n "(cached) " >&6
8621 ac_check_lib_save_LIBS
=$LIBS
8623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8626 /* Override any GCC internal prototype to avoid an error.
8627 Use char because int might match the return type of a GCC
8628 builtin and then its argument prototype would still apply. */
8632 char gethostbyname ();
8636 return gethostbyname ();
8641 if ac_fn_c_try_link
"$LINENO"; then :
8642 ac_cv_lib_bsd_gethostbyname
=yes
8644 ac_cv_lib_bsd_gethostbyname
=no
8646 rm -f core conftest.err conftest.
$ac_objext \
8647 conftest
$ac_exeext conftest.
$ac_ext
8648 LIBS
=$ac_check_lib_save_LIBS
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8651 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8652 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8653 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8659 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8660 # socket/setsockopt and other routines are undefined under SCO ODT
8661 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8662 # on later versions), says Simon Leinen: it contains gethostby*
8663 # variants that don't use the name server (or something). -lsocket
8664 # must be given before -lnsl if both are needed. We assume that
8665 # if connect needs -lnsl, so does gethostbyname.
8666 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8667 if test "x$ac_cv_func_connect" = xyes
; then :
8671 if test $ac_cv_func_connect = no
; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8673 $as_echo_n "checking for connect in -lsocket... " >&6; }
8674 if ${ac_cv_lib_socket_connect+:} false
; then :
8675 $as_echo_n "(cached) " >&6
8677 ac_check_lib_save_LIBS
=$LIBS
8678 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8682 /* Override any GCC internal prototype to avoid an error.
8683 Use char because int might match the return type of a GCC
8684 builtin and then its argument prototype would still apply. */
8697 if ac_fn_c_try_link
"$LINENO"; then :
8698 ac_cv_lib_socket_connect
=yes
8700 ac_cv_lib_socket_connect
=no
8702 rm -f core conftest.err conftest.
$ac_objext \
8703 conftest
$ac_exeext conftest.
$ac_ext
8704 LIBS
=$ac_check_lib_save_LIBS
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8707 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8708 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8709 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8714 # Guillermo Gomez says -lposix is necessary on A/UX.
8715 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8716 if test "x$ac_cv_func_remove" = xyes
; then :
8720 if test $ac_cv_func_remove = no
; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8722 $as_echo_n "checking for remove in -lposix... " >&6; }
8723 if ${ac_cv_lib_posix_remove+:} false
; then :
8724 $as_echo_n "(cached) " >&6
8726 ac_check_lib_save_LIBS
=$LIBS
8727 LIBS
="-lposix $LIBS"
8728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8731 /* Override any GCC internal prototype to avoid an error.
8732 Use char because int might match the return type of a GCC
8733 builtin and then its argument prototype would still apply. */
8746 if ac_fn_c_try_link
"$LINENO"; then :
8747 ac_cv_lib_posix_remove
=yes
8749 ac_cv_lib_posix_remove
=no
8751 rm -f core conftest.err conftest.
$ac_objext \
8752 conftest
$ac_exeext conftest.
$ac_ext
8753 LIBS
=$ac_check_lib_save_LIBS
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8756 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8757 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8764 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8765 if test "x$ac_cv_func_shmat" = xyes
; then :
8769 if test $ac_cv_func_shmat = no
; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8771 $as_echo_n "checking for shmat in -lipc... " >&6; }
8772 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8773 $as_echo_n "(cached) " >&6
8775 ac_check_lib_save_LIBS
=$LIBS
8777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8780 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */
8795 if ac_fn_c_try_link
"$LINENO"; then :
8796 ac_cv_lib_ipc_shmat
=yes
8798 ac_cv_lib_ipc_shmat
=no
8800 rm -f core conftest.err conftest.
$ac_objext \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 LIBS
=$ac_check_lib_save_LIBS
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8805 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8806 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8807 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8813 # Check for libraries that X11R6 Xt/Xaw programs need.
8814 ac_save_LDFLAGS
=$LDFLAGS
8815 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8816 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8817 # check for ICE first), but we must link in the order -lSM -lICE or
8818 # we get undefined symbols. So assume we have SM if we have ICE.
8819 # These have to be linked with before -lX11, unlike the other
8820 # libraries we check for below, so use a different variable.
8821 # John Interrante, Karl Berry
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8823 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8824 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 ac_check_lib_save_LIBS
=$LIBS
8828 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8832 /* Override any GCC internal prototype to avoid an error.
8833 Use char because int might match the return type of a GCC
8834 builtin and then its argument prototype would still apply. */
8838 char IceConnectionNumber ();
8842 return IceConnectionNumber ();
8847 if ac_fn_c_try_link
"$LINENO"; then :
8848 ac_cv_lib_ICE_IceConnectionNumber
=yes
8850 ac_cv_lib_ICE_IceConnectionNumber
=no
8852 rm -f core conftest.err conftest.
$ac_objext \
8853 conftest
$ac_exeext conftest.
$ac_ext
8854 LIBS
=$ac_check_lib_save_LIBS
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8857 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8858 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8859 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8862 LDFLAGS
=$ac_save_LDFLAGS
8867 if test "$have_x" = "yes"
8870 ac_save_CPPFLAGS
="$CPPFLAGS"
8871 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8874 $as_echo_n "checking for -lX11... " >&6; }
8875 if ${ac_cv_lib_soname_X11+:} false
; then :
8876 $as_echo_n "(cached) " >&6
8878 ac_check_soname_save_LIBS
=$LIBS
8879 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8889 char XCreateWindow ();
8893 return XCreateWindow ();
8898 if ac_fn_c_try_link
"$LINENO"; then :
8900 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8901 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'` ;;
8902 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8903 if test "x$ac_cv_lib_soname_X11" = x
; then :
8904 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8908 rm -f core conftest.err conftest.
$ac_objext \
8909 conftest
$ac_exeext conftest.
$ac_ext
8910 LIBS
=$ac_check_soname_save_LIBS
8912 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8914 $as_echo "not found" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8918 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8920 cat >>confdefs.h
<<_ACEOF
8921 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8927 $as_echo_n "checking for -lXext... " >&6; }
8928 if ${ac_cv_lib_soname_Xext+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 ac_check_soname_save_LIBS
=$LIBS
8932 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8936 /* Override any GCC internal prototype to avoid an error.
8937 Use char because int might match the return type of a GCC
8938 builtin and then its argument prototype would still apply. */
8942 char XextCreateExtension ();
8946 return XextCreateExtension ();
8951 if ac_fn_c_try_link
"$LINENO"; then :
8953 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8954 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'` ;;
8955 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8956 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8957 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8961 rm -f core conftest.err conftest.
$ac_objext \
8962 conftest
$ac_exeext conftest.
$ac_ext
8963 LIBS
=$ac_check_soname_save_LIBS
8965 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8967 $as_echo "not found" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8971 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8973 cat >>confdefs.h
<<_ACEOF
8974 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8980 for ac_header
in X11
/Xlib.h \
8983 X11
/Xcursor
/Xcursor.h \
8984 X11
/extensions
/shape.h \
8985 X11
/extensions
/XInput.h \
8986 X11
/extensions
/XInput2.h \
8987 X11
/extensions
/XShm.h \
8988 X11
/extensions
/Xcomposite.h \
8989 X11
/extensions
/Xinerama.h \
8990 X11
/extensions
/Xrandr.h \
8991 X11
/extensions
/Xrender.h \
8992 X11
/extensions
/xf86vmode.h \
8993 X11
/extensions
/xf86vmproto.h
8995 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8996 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8997 # include <X11/Xlib.h>
8999 #ifdef HAVE_X11_XUTIL_H
9000 # include <X11/Xutil.h>
9003 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9004 cat >>confdefs.h
<<_ACEOF
9005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9013 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9016 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9017 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9018 $as_echo_n "(cached) " >&6
9020 ac_check_lib_save_LIBS
=$LIBS
9021 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9025 /* Override any GCC internal prototype to avoid an error.
9026 Use char because int might match the return type of a GCC
9027 builtin and then its argument prototype would still apply. */
9031 char XkbQueryExtension ();
9035 return XkbQueryExtension ();
9040 if ac_fn_c_try_link
"$LINENO"; then :
9041 ac_cv_lib_X11_XkbQueryExtension
=yes
9043 ac_cv_lib_X11_XkbQueryExtension
=no
9045 rm -f core conftest.err conftest.
$ac_objext \
9046 conftest
$ac_exeext conftest.
$ac_ext
9047 LIBS
=$ac_check_lib_save_LIBS
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9050 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9051 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9053 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9059 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9062 $as_echo_n "checking for -lXcursor... " >&6; }
9063 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 ac_check_soname_save_LIBS
=$LIBS
9067 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9077 char XcursorImageLoadCursor ();
9081 return XcursorImageLoadCursor ();
9086 if ac_fn_c_try_link
"$LINENO"; then :
9088 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9089 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'` ;;
9090 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9091 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9092 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9096 rm -f core conftest.err conftest.
$ac_objext \
9097 conftest
$ac_exeext conftest.
$ac_ext
9098 LIBS
=$ac_check_soname_save_LIBS
9100 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9102 $as_echo "not found" >&6; }
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9106 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9108 cat >>confdefs.h
<<_ACEOF
9109 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9115 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9116 case "x$with_xcursor" in
9117 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9119 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9120 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9124 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9127 $as_echo_n "checking for -lXi... " >&6; }
9128 if ${ac_cv_lib_soname_Xi+:} false
; then :
9129 $as_echo_n "(cached) " >&6
9131 ac_check_soname_save_LIBS
=$LIBS
9132 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9136 /* Override any GCC internal prototype to avoid an error.
9137 Use char because int might match the return type of a GCC
9138 builtin and then its argument prototype would still apply. */
9142 char XOpenDevice ();
9146 return XOpenDevice ();
9151 if ac_fn_c_try_link
"$LINENO"; then :
9153 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9154 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'` ;;
9155 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9156 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9157 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9161 rm -f core conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_soname_save_LIBS
9165 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9167 $as_echo "not found" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9171 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9173 cat >>confdefs.h
<<_ACEOF
9174 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9180 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9181 case "x$with_xinput" in
9182 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9184 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9185 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9189 if test "x$ac_cv_lib_soname_Xi" != x
9191 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9192 case "x$with_xinput2" in
9193 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9195 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9196 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9201 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9204 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9205 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9206 $as_echo_n "(cached) " >&6
9208 ac_check_lib_save_LIBS
=$LIBS
9209 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9219 char XShmQueryExtension ();
9223 return XShmQueryExtension ();
9228 if ac_fn_c_try_link
"$LINENO"; then :
9229 ac_cv_lib_Xext_XShmQueryExtension
=yes
9231 ac_cv_lib_Xext_XShmQueryExtension
=no
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9235 LIBS
=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9238 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9239 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9241 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9246 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9247 case "x$with_xshm" in
9248 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9250 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9251 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9255 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9258 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9259 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9260 $as_echo_n "(cached) " >&6
9262 ac_check_lib_save_LIBS
=$LIBS
9263 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9273 char XShapeQueryExtension ();
9277 return XShapeQueryExtension ();
9282 if ac_fn_c_try_link
"$LINENO"; then :
9283 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9285 ac_cv_lib_Xext_XShapeQueryExtension
=no
9287 rm -f core conftest.err conftest.
$ac_objext \
9288 conftest
$ac_exeext conftest.
$ac_ext
9289 LIBS
=$ac_check_lib_save_LIBS
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9292 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9293 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9295 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9300 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9301 case "x$with_xshape" in
9302 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9304 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9305 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9309 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9312 $as_echo_n "checking for -lXxf86vm... " >&6; }
9313 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9316 ac_check_soname_save_LIBS
=$LIBS
9317 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9327 char XF86VidModeQueryExtension ();
9331 return XF86VidModeQueryExtension ();
9336 if ac_fn_c_try_link
"$LINENO"; then :
9338 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9339 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'` ;;
9340 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9341 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9342 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9346 rm -f core conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 LIBS
=$ac_check_soname_save_LIBS
9350 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9352 $as_echo "not found" >&6; }
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9356 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9358 cat >>confdefs.h
<<_ACEOF
9359 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9365 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9366 case "x$with_xxf86vm" in
9367 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9369 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9370 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9374 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"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9377 $as_echo_n "checking for -lXrender... " >&6; }
9378 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9381 ac_check_soname_save_LIBS
=$LIBS
9382 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9392 char XRenderQueryExtension ();
9396 return XRenderQueryExtension ();
9401 if ac_fn_c_try_link
"$LINENO"; then :
9403 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9404 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'` ;;
9405 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9406 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9407 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9411 rm -f core conftest.err conftest.
$ac_objext \
9412 conftest
$ac_exeext conftest.
$ac_ext
9413 LIBS
=$ac_check_soname_save_LIBS
9415 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9417 $as_echo "not found" >&6; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9421 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9423 cat >>confdefs.h
<<_ACEOF
9424 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9428 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9429 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9430 $as_echo_n "(cached) " >&6
9432 ac_check_lib_save_LIBS
=$LIBS
9433 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9437 /* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
9443 char XRenderSetPictureTransform ();
9447 return XRenderSetPictureTransform ();
9452 if ac_fn_c_try_link
"$LINENO"; then :
9453 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9455 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9457 rm -f core conftest.err conftest.
$ac_objext \
9458 conftest
$ac_exeext conftest.
$ac_ext
9459 LIBS
=$ac_check_lib_save_LIBS
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9462 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9463 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9465 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9470 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9471 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_lib_save_LIBS
=$LIBS
9475 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9485 char XRenderCreateLinearGradient ();
9489 return XRenderCreateLinearGradient ();
9494 if ac_fn_c_try_link
"$LINENO"; then :
9495 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9497 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9499 rm -f core conftest.err conftest.
$ac_objext \
9500 conftest
$ac_exeext conftest.
$ac_ext
9501 LIBS
=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9504 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9505 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9507 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9514 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9515 case "x$with_xrender" in
9516 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9518 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9519 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9523 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 #include <X11/Xlib.h>
9528 #include <X11/extensions/Xrandr.h>
9532 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9537 if ac_fn_c_try_compile
"$LINENO"; then :
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9539 $as_echo_n "checking for -lXrandr... " >&6; }
9540 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9541 $as_echo_n "(cached) " >&6
9543 ac_check_soname_save_LIBS
=$LIBS
9544 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9546 /* end confdefs.h. */
9548 /* Override any GCC internal prototype to avoid an error.
9549 Use char because int might match the return type of a GCC
9550 builtin and then its argument prototype would still apply. */
9554 char XRRQueryExtension ();
9558 return XRRQueryExtension ();
9563 if ac_fn_c_try_link
"$LINENO"; then :
9565 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9566 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'` ;;
9567 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9568 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9569 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9575 LIBS
=$ac_check_soname_save_LIBS
9577 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9579 $as_echo "not found" >&6; }
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9583 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9585 cat >>confdefs.h
<<_ACEOF
9586 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 #include <X11/Xlib.h>
9592 #include <X11/extensions/Xrandr.h>
9596 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9601 if ac_fn_c_try_compile
"$LINENO"; then :
9603 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9611 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9612 case "x$with_xrandr" in
9613 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9615 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9616 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9620 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9624 #include <X11/Xlib.h>
9625 #include <X11/extensions/Xinerama.h>
9629 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9634 if ac_fn_c_try_compile
"$LINENO"; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9636 $as_echo_n "checking for -lXinerama... " >&6; }
9637 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 ac_check_soname_save_LIBS
=$LIBS
9641 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9651 char XineramaQueryScreens ();
9655 return XineramaQueryScreens ();
9660 if ac_fn_c_try_link
"$LINENO"; then :
9662 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9665 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9666 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9670 rm -f core conftest.err conftest.
$ac_objext \
9671 conftest
$ac_exeext conftest.
$ac_ext
9672 LIBS
=$ac_check_soname_save_LIBS
9674 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9676 $as_echo "not found" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9680 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9682 cat >>confdefs.h
<<_ACEOF
9683 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9691 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9692 case "x$with_xinerama" in
9693 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9695 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9696 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9700 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9703 $as_echo_n "checking for -lXcomposite... " >&6; }
9704 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9705 $as_echo_n "(cached) " >&6
9707 ac_check_soname_save_LIBS
=$LIBS
9708 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9718 char XCompositeRedirectWindow ();
9722 return XCompositeRedirectWindow ();
9727 if ac_fn_c_try_link
"$LINENO"; then :
9729 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9730 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'` ;;
9731 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9732 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9733 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9737 rm -f core conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9739 LIBS
=$ac_check_soname_save_LIBS
9741 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9743 $as_echo "not found" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9747 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9749 cat >>confdefs.h
<<_ACEOF
9750 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9756 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9757 case "x$with_xcomposite" in
9758 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9760 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9761 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9765 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9766 #include <X11/Xlib.h>
9769 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9771 cat >>confdefs.h
<<_ACEOF
9772 #define HAVE_XICCALLBACK_CALLBACK 1
9777 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9778 #include <X11/Xlib.h>
9781 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9783 cat >>confdefs.h
<<_ACEOF
9784 #define HAVE_XEVENT_XCOOKIE 1
9793 if test "x$with_opengl" != "xno"
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9796 $as_echo_n "checking for -lGL... " >&6; }
9797 if ${ac_cv_lib_soname_GL+:} false
; then :
9798 $as_echo_n "(cached) " >&6
9800 ac_check_soname_save_LIBS
=$LIBS
9801 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9811 char glXCreateContext ();
9815 return glXCreateContext ();
9820 if ac_fn_c_try_link
"$LINENO"; then :
9822 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if test "x$ac_cv_lib_soname_GL" = x
; then :
9826 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9830 rm -f core conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_soname_save_LIBS
9834 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9838 $as_echo_n "checking for -lGL... " >&6; }
9839 if ${ac_cv_lib_soname_GL+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 ac_check_soname_save_LIBS
=$LIBS
9843 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"
9844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9853 char glXCreateContext ();
9857 return glXCreateContext ();
9862 if ac_fn_c_try_link
"$LINENO"; then :
9864 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9865 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'` ;;
9866 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9867 if test "x$ac_cv_lib_soname_GL" = x
; then :
9868 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9872 rm -f core conftest.err conftest.
$ac_objext \
9873 conftest
$ac_exeext conftest.
$ac_ext
9874 LIBS
=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9879 if test -f /usr
/X11R
6/lib
/libGL.a
9881 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9882 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9884 opengl_msg
="No OpenGL library found on this system."
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9888 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9890 cat >>confdefs.h
<<_ACEOF
9891 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9894 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"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9898 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9900 cat >>confdefs.h
<<_ACEOF
9901 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9906 if test "x$with_glu" != "xno"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9909 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9910 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9911 $as_echo_n "(cached) " >&6
9913 ac_check_lib_save_LIBS
=$LIBS
9914 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9928 return gluLookAt ();
9933 if ac_fn_c_try_link
"$LINENO"; then :
9934 ac_cv_lib_GLU_gluLookAt
=yes
9936 ac_cv_lib_GLU_gluLookAt
=no
9938 rm -f core conftest.err conftest.
$ac_objext \
9939 conftest
$ac_exeext conftest.
$ac_ext
9940 LIBS
=$ac_check_lib_save_LIBS
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9943 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9944 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9948 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9949 case "x$with_glu" in
9950 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9952 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9953 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9958 if test "x$with_osmesa" != "xno"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9961 $as_echo_n "checking for -lOSMesa... " >&6; }
9962 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9963 $as_echo_n "(cached) " >&6
9965 ac_check_soname_save_LIBS
=$LIBS
9966 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9985 if ac_fn_c_try_link
"$LINENO"; then :
9987 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9988 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'` ;;
9989 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9990 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9991 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9995 rm -f core conftest.err conftest.
$ac_objext \
9996 conftest
$ac_exeext conftest.
$ac_ext
9997 LIBS
=$ac_check_soname_save_LIBS
9999 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10001 $as_echo "not found" >&6; }
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10005 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10007 cat >>confdefs.h
<<_ACEOF
10008 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10013 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10014 case "x$with_osmesa" in
10015 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10017 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10018 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10023 if test -n "$opengl_msg"; then :
10024 case "x$with_opengl" in
10025 x
) as_fn_append wine_warnings
"|$opengl_msg
10026 OpenGL and Direct3D won't be supported." ;;
10028 *) as_fn_error $?
"$opengl_msg
10029 OpenGL and Direct3D won't be supported.
10030 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10034 CPPFLAGS
="$ac_save_CPPFLAGS"
10039 enable_winex11_drv
=${enable_winex11_drv:-no}
10041 if test "x$XLIB" = "x"; then :
10044 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10045 without X support, which probably isn't what you want. You will need
10046 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10047 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10051 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10053 if test "$ac_cv_header_CL_cl_h" = "yes"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10056 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10057 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 ac_check_lib_save_LIBS
=$LIBS
10061 LIBS
="-lOpenCL $LIBS"
10062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10071 char clGetPlatformInfo ();
10075 return clGetPlatformInfo ();
10080 if ac_fn_c_try_link
"$LINENO"; then :
10081 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10083 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10085 rm -f core conftest.err conftest.
$ac_objext \
10086 conftest
$ac_exeext conftest.
$ac_ext
10087 LIBS
=$ac_check_lib_save_LIBS
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10090 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10091 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10092 LIBOPENCL
="-lOpenCL"
10097 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10098 case "x$with_opencl" in
10099 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10101 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10102 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10105 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10108 if test "x$with_xml" != "xno"
10110 if test -n "$XML2_CFLAGS"; then :
10112 elif test -n "$PKG_CONFIG"; then :
10113 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10115 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10116 if test -n "$XML2_LIBS"; then :
10118 elif test -n "$PKG_CONFIG"; then :
10119 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10121 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10122 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10123 ac_save_CPPFLAGS
=$CPPFLAGS
10124 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10125 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10127 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10128 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10129 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10130 cat >>confdefs.h
<<_ACEOF
10131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10138 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"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10141 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10142 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10143 $as_echo_n "(cached) " >&6
10145 ac_check_lib_save_LIBS
=$LIBS
10146 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10156 char xmlParseMemory ();
10160 return xmlParseMemory ();
10165 if ac_fn_c_try_link
"$LINENO"; then :
10166 ac_cv_lib_xml2_xmlParseMemory
=yes
10168 ac_cv_lib_xml2_xmlParseMemory
=no
10170 rm -f core conftest.err conftest.
$ac_objext \
10171 conftest
$ac_exeext conftest.
$ac_ext
10172 LIBS
=$ac_check_lib_save_LIBS
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10175 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10176 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10178 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10185 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10186 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10187 $as_echo_n "(cached) " >&6
10189 ac_check_lib_save_LIBS
=$LIBS
10190 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10200 char xmlReadMemory ();
10204 return xmlReadMemory ();
10209 if ac_fn_c_try_link
"$LINENO"; then :
10210 ac_cv_lib_xml2_xmlReadMemory
=yes
10212 ac_cv_lib_xml2_xmlReadMemory
=no
10214 rm -f core conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10216 LIBS
=$ac_check_lib_save_LIBS
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10219 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10220 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10222 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10227 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10228 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 ac_check_lib_save_LIBS
=$LIBS
10232 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10242 char xmlNewDocPI ();
10246 return xmlNewDocPI ();
10251 if ac_fn_c_try_link
"$LINENO"; then :
10252 ac_cv_lib_xml2_xmlNewDocPI
=yes
10254 ac_cv_lib_xml2_xmlNewDocPI
=no
10256 rm -f core conftest.err conftest.
$ac_objext \
10257 conftest
$ac_exeext conftest.
$ac_ext
10258 LIBS
=$ac_check_lib_save_LIBS
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10261 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10262 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10264 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10269 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10270 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10271 $as_echo_n "(cached) " >&6
10273 ac_check_lib_save_LIBS
=$LIBS
10274 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10284 char xmlSchemaSetParserStructuredErrors ();
10288 return xmlSchemaSetParserStructuredErrors ();
10293 if ac_fn_c_try_link
"$LINENO"; then :
10294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10296 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10298 rm -f core conftest.err conftest.
$ac_objext \
10299 conftest
$ac_exeext conftest.
$ac_ext
10300 LIBS
=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10303 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10304 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10306 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10311 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10312 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 ac_check_lib_save_LIBS
=$LIBS
10316 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10326 char xmlSchemaSetValidStructuredErrors ();
10330 return xmlSchemaSetValidStructuredErrors ();
10335 if ac_fn_c_try_link
"$LINENO"; then :
10336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10338 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10340 rm -f core conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_lib_save_LIBS
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10345 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10346 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10348 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10353 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10354 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10355 $as_echo_n "(cached) " >&6
10357 ac_check_lib_save_LIBS
=$LIBS
10358 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10368 char xmlFirstElementChild ();
10372 return xmlFirstElementChild ();
10377 if ac_fn_c_try_link
"$LINENO"; then :
10378 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10380 ac_cv_lib_xml2_xmlFirstElementChild
=no
10382 rm -f core conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10384 LIBS
=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10387 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10388 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10390 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10394 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10396 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10398 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10406 CPPFLAGS
=$ac_save_CPPFLAGS
10407 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10408 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10411 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10412 case "x$with_xml" in
10413 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10415 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10416 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10420 if test "x$with_xslt" != "xno"
10422 if test -n "$XSLT_CFLAGS"; then :
10424 elif test -n "$PKG_CONFIG"; then :
10425 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10427 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10428 if test -n "$XSLT_LIBS"; then :
10430 elif test -n "$PKG_CONFIG"; then :
10431 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10433 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10434 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10435 ac_save_CPPFLAGS
=$CPPFLAGS
10436 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10437 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10439 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10440 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10441 # include <libxslt/pattern.h>
10444 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10445 cat >>confdefs.h
<<_ACEOF
10446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10453 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10456 $as_echo_n "checking for -lxslt... " >&6; }
10457 if ${ac_cv_lib_soname_xslt+:} false
; then :
10458 $as_echo_n "(cached) " >&6
10460 ac_check_soname_save_LIBS
=$LIBS
10461 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10471 char xsltCompilePattern ();
10475 return xsltCompilePattern ();
10480 if ac_fn_c_try_link
"$LINENO"; then :
10482 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10483 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'` ;;
10484 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10485 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10486 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10490 rm -f core conftest.err conftest.
$ac_objext \
10491 conftest
$ac_exeext conftest.
$ac_ext
10492 LIBS
=$ac_check_soname_save_LIBS
10494 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10496 $as_echo "not found" >&6; }
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10500 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10502 cat >>confdefs.h
<<_ACEOF
10503 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10511 CPPFLAGS
=$ac_save_CPPFLAGS
10512 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10513 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10516 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10517 case "x$with_xslt" in
10518 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10520 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10521 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10525 if test "x$with_dbus" != "xno"
10527 if test -n "$DBUS_CFLAGS"; then :
10529 elif test -n "$PKG_CONFIG"; then :
10530 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10533 if test -n "$DBUS_LIBS"; then :
10535 elif test -n "$PKG_CONFIG"; then :
10536 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10540 ac_save_CPPFLAGS
=$CPPFLAGS
10541 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10542 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10543 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10545 $as_echo_n "checking for -ldbus-1... " >&6; }
10546 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10547 $as_echo_n "(cached) " >&6
10549 ac_check_soname_save_LIBS
=$LIBS
10550 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10560 char dbus_connection_close ();
10564 return dbus_connection_close ();
10569 if ac_fn_c_try_link
"$LINENO"; then :
10571 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10572 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'` ;;
10573 *) 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'`
10574 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10575 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10579 rm -f core conftest.err conftest.
$ac_objext \
10580 conftest
$ac_exeext conftest.
$ac_ext
10581 LIBS
=$ac_check_soname_save_LIBS
10583 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10585 $as_echo "not found" >&6; }
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10589 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10591 cat >>confdefs.h
<<_ACEOF
10592 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10602 CPPFLAGS
=$ac_save_CPPFLAGS
10603 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10604 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10607 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10608 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10609 case "x$with_dbus" in
10610 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10612 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10613 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10617 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10619 if test -n "$HAL_CFLAGS"; then :
10621 elif test -n "$PKG_CONFIG"; then :
10622 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10625 if test -n "$HAL_LIBS"; then :
10627 elif test -n "$PKG_CONFIG"; then :
10628 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10631 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10632 ac_save_CPPFLAGS
=$CPPFLAGS
10633 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10634 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10635 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10637 $as_echo_n "checking for -lhal... " >&6; }
10638 if ${ac_cv_lib_soname_hal+:} false
; then :
10639 $as_echo_n "(cached) " >&6
10641 ac_check_soname_save_LIBS
=$LIBS
10642 LIBS
="-lhal $HAL_LIBS $LIBS"
10643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10652 char libhal_ctx_new ();
10656 return libhal_ctx_new ();
10661 if ac_fn_c_try_link
"$LINENO"; then :
10663 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10664 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'` ;;
10665 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10666 if test "x$ac_cv_lib_soname_hal" = x
; then :
10667 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10671 rm -f core conftest.err conftest.
$ac_objext \
10672 conftest
$ac_exeext conftest.
$ac_ext
10673 LIBS
=$ac_check_soname_save_LIBS
10675 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10677 $as_echo "not found" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10681 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10683 cat >>confdefs.h
<<_ACEOF
10684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10694 CPPFLAGS
=$ac_save_CPPFLAGS
10695 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10696 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10698 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10699 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10700 case "x$with_hal" in
10701 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10703 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10704 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10709 if test "x$with_gnutls" != "xno"
10711 if test -n "$GNUTLS_CFLAGS"; then :
10713 elif test -n "$PKG_CONFIG"; then :
10714 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10717 if test -n "$GNUTLS_LIBS"; then :
10719 elif test -n "$PKG_CONFIG"; then :
10720 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10724 ac_save_CPPFLAGS
=$CPPFLAGS
10725 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10726 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10727 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10730 #include <gnutls/gnutls.h>
10731 #include <gnutls/crypto.h>
10735 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10740 if ac_fn_c_try_compile
"$LINENO"; then :
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10742 $as_echo_n "checking for -lgnutls... " >&6; }
10743 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10744 $as_echo_n "(cached) " >&6
10746 ac_check_soname_save_LIBS
=$LIBS
10747 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10757 char gnutls_global_init ();
10761 return gnutls_global_init ();
10766 if ac_fn_c_try_link
"$LINENO"; then :
10768 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10769 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'` ;;
10770 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10771 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10772 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_soname_save_LIBS
10780 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10782 $as_echo "not found" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10786 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10788 cat >>confdefs.h
<<_ACEOF
10789 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10801 CPPFLAGS
=$ac_save_CPPFLAGS
10802 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10803 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10806 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10807 case "x$with_gnutls" in
10808 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10810 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10811 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10816 if test "$ac_cv_header_ncurses_h" = "yes"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10819 $as_echo_n "checking for -lncurses... " >&6; }
10820 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 ac_check_soname_save_LIBS
=$LIBS
10824 LIBS
="-lncurses $LIBS"
10825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10843 if ac_fn_c_try_link
"$LINENO"; then :
10845 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10846 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'` ;;
10847 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10848 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10849 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10853 rm -f core conftest.err conftest.
$ac_objext \
10854 conftest
$ac_exeext conftest.
$ac_ext
10855 LIBS
=$ac_check_soname_save_LIBS
10857 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10859 $as_echo "not found" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10863 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10865 cat >>confdefs.h
<<_ACEOF
10866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10869 CURSESLIBS
="-lncurses"
10871 elif test "$ac_cv_header_curses_h" = "yes"
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10874 $as_echo_n "checking for -lcurses... " >&6; }
10875 if ${ac_cv_lib_soname_curses+:} false
; then :
10876 $as_echo_n "(cached) " >&6
10878 ac_check_soname_save_LIBS
=$LIBS
10879 LIBS
="-lcurses $LIBS"
10880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10898 if ac_fn_c_try_link
"$LINENO"; then :
10900 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10901 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'` ;;
10902 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10903 if test "x$ac_cv_lib_soname_curses" = x
; then :
10904 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_soname_save_LIBS
10912 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10914 $as_echo "not found" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10918 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10920 cat >>confdefs.h
<<_ACEOF
10921 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10924 CURSESLIBS
="-lcurses"
10927 ac_save_LIBS
="$LIBS"
10928 LIBS
="$LIBS $CURSESLIBS"
10929 for ac_func
in mousemask
10931 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10932 if test "x$ac_cv_func_mousemask" = xyes
; then :
10933 cat >>confdefs.h
<<_ACEOF
10934 #define HAVE_MOUSEMASK 1
10940 LIBS
="$ac_save_LIBS"
10941 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10942 case "x$with_curses" in
10943 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10945 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10946 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10950 if test "x$with_sane" != "xno"
10952 if test -n "$SANE_CFLAGS"; then :
10954 elif test -n "$PKG_CONFIG"; then :
10955 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10957 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10958 if test -n "$SANE_LIBS"; then :
10960 elif test -n "$PKG_CONFIG"; then :
10961 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10963 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10965 ac_save_CPPFLAGS
=$CPPFLAGS
10966 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10967 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10968 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10970 $as_echo_n "checking for -lsane... " >&6; }
10971 if ${ac_cv_lib_soname_sane+:} false
; then :
10972 $as_echo_n "(cached) " >&6
10974 ac_check_soname_save_LIBS
=$LIBS
10975 LIBS
="-lsane $SANE_LIBS $LIBS"
10976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10989 return sane_init ();
10994 if ac_fn_c_try_link
"$LINENO"; then :
10996 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10997 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'` ;;
10998 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10999 if test "x$ac_cv_lib_soname_sane" = x
; then :
11000 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11004 rm -f core conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_soname_save_LIBS
11008 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11010 $as_echo "not found" >&6; }
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11014 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11016 cat >>confdefs.h
<<_ACEOF
11017 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11027 CPPFLAGS
=$ac_save_CPPFLAGS
11028 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11029 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11032 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11033 case "x$with_sane" in
11034 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11036 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11037 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11041 if test "x$with_v4l" != "xno"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11044 $as_echo_n "checking for -lv4l1... " >&6; }
11045 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11046 $as_echo_n "(cached) " >&6
11048 ac_check_soname_save_LIBS
=$LIBS
11049 LIBS
="-lv4l1 $LIBS"
11050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11063 return v4l1_open ();
11068 if ac_fn_c_try_link
"$LINENO"; then :
11070 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11073 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11074 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11078 rm -f core conftest.err conftest.
$ac_objext \
11079 conftest
$ac_exeext conftest.
$ac_ext
11080 LIBS
=$ac_check_soname_save_LIBS
11082 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11088 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11090 cat >>confdefs.h
<<_ACEOF
11091 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11097 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11098 case "x$with_v4l" in
11099 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11101 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11102 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11106 if test "x$with_gphoto" != "xno"
11108 if test -n "$GPHOTO2_CFLAGS"; then :
11110 elif test -n "$PKG_CONFIG"; then :
11111 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11113 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11114 if test -n "$GPHOTO2_LIBS"; then :
11116 elif test -n "$PKG_CONFIG"; then :
11117 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11119 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11120 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11121 ac_save_CPPFLAGS
=$CPPFLAGS
11122 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11123 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11124 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11126 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11127 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11131 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11141 char gp_camera_new ();
11145 return gp_camera_new ();
11150 if ac_fn_c_try_link
"$LINENO"; then :
11151 ac_cv_lib_gphoto2_gp_camera_new
=yes
11153 ac_cv_lib_gphoto2_gp_camera_new
=no
11155 rm -f core conftest.err conftest.
$ac_objext \
11156 conftest
$ac_exeext conftest.
$ac_ext
11157 LIBS
=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11160 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11161 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11163 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11166 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11170 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11174 CPPFLAGS
=$ac_save_CPPFLAGS
11175 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11176 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11178 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11180 elif test -n "$PKG_CONFIG"; then :
11181 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11183 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11184 if test -n "$GPHOTO2_PORT_LIBS"; then :
11186 elif test -n "$PKG_CONFIG"; then :
11187 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11189 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11190 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11191 ac_save_CPPFLAGS
=$CPPFLAGS
11192 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11193 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11194 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11196 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11197 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11198 $as_echo_n "(cached) " >&6
11200 ac_check_lib_save_LIBS
=$LIBS
11201 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11211 char gp_port_info_list_new ();
11215 return gp_port_info_list_new ();
11220 if ac_fn_c_try_link
"$LINENO"; then :
11221 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11223 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11225 rm -f core conftest.err conftest.
$ac_objext \
11226 conftest
$ac_exeext conftest.
$ac_ext
11227 LIBS
=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11230 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11231 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11233 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11236 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11240 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11244 CPPFLAGS
=$ac_save_CPPFLAGS
11245 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11246 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11249 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11250 case "x$with_gphoto" in
11251 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11253 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11254 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11257 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11258 case "x$with_gphoto" in
11259 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11261 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11262 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11267 if test "$ac_cv_header_resolv_h" = "yes"
11269 ac_save_LIBS
="$LIBS"
11270 for lib
in '' -lresolv
11272 LIBS
="$lib $ac_save_LIBS"
11273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 #ifdef HAVE_NETINET_IN_H
11276 #include <netinet/in.h>
11278 #include <resolv.h>
11282 res_query("foo",ns_c_in,0,0,0);
11287 if ac_fn_c_try_link
"$LINENO"; then :
11289 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11294 rm -f core conftest.err conftest.
$ac_objext \
11295 conftest
$ac_exeext conftest.
$ac_ext
11296 if test "${RESOLVLIBS+set}" = set; then
11300 LIBS
="$ac_save_LIBS"
11303 if test "x$with_lcms2" != "xno"
11305 if test -n "$LCMS2_CFLAGS"; then :
11307 elif test -n "$PKG_CONFIG"; then :
11308 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11311 if test -n "$LCMS2_LIBS"; then :
11313 elif test -n "$PKG_CONFIG"; then :
11314 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11317 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11318 ac_save_CPPFLAGS
=$CPPFLAGS
11319 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11320 for ac_header
in lcms2.h
11322 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11323 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11324 cat >>confdefs.h
<<_ACEOF
11325 #define HAVE_LCMS2_H 1
11332 if test "$ac_cv_header_lcms2_h" = "yes"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11335 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11336 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_lib_save_LIBS
=$LIBS
11340 LIBS
="-llcms2 $LIBS"
11341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11350 char cmsOpenProfileFromFile ();
11354 return cmsOpenProfileFromFile ();
11359 if ac_fn_c_try_link
"$LINENO"; then :
11360 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11362 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11364 rm -f core conftest.err conftest.
$ac_objext \
11365 conftest
$ac_exeext conftest.
$ac_ext
11366 LIBS
=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11369 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11370 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11372 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11382 CPPFLAGS
=$ac_save_CPPFLAGS
11383 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11384 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11387 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11388 case "x$with_cms" in
11389 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11391 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11392 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11396 if test "x$with_freetype" != "xno"
11398 if test -n "$FREETYPE_CFLAGS"; then :
11400 elif test -n "$PKG_CONFIG"; then :
11401 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11403 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11404 if test -n "$FREETYPE_LIBS"; then :
11406 elif test -n "$PKG_CONFIG"; then :
11407 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11409 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11410 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11411 ac_save_CPPFLAGS
=$CPPFLAGS
11412 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11414 $as_echo_n "checking for -lfreetype... " >&6; }
11415 if ${ac_cv_lib_soname_freetype+:} false
; then :
11416 $as_echo_n "(cached) " >&6
11418 ac_check_soname_save_LIBS
=$LIBS
11419 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11429 char FT_Init_FreeType ();
11433 return FT_Init_FreeType ();
11438 if ac_fn_c_try_link
"$LINENO"; then :
11440 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11441 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'` ;;
11442 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11443 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11444 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11448 rm -f core conftest.err conftest.
$ac_objext \
11449 conftest
$ac_exeext conftest.
$ac_ext
11450 LIBS
=$ac_check_soname_save_LIBS
11452 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11454 $as_echo "not found" >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11458 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11460 cat >>confdefs.h
<<_ACEOF
11461 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11466 if test "$ft_lib" = "yes"
11468 for ac_header
in ft2build.h \
11469 freetype
/freetype.h \
11470 freetype
/ftglyph.h \
11471 freetype
/fttypes.h \
11472 freetype
/tttables.h \
11473 freetype
/ftsnames.h \
11474 freetype
/ttnameid.h \
11475 freetype
/ftoutln.h \
11476 freetype
/ftwinfnt.h \
11477 freetype
/ftmodapi.h \
11478 freetype
/ftlcdfil.h
11480 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11481 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11482 # include <ft2build.h>
11485 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11486 cat >>confdefs.h
<<_ACEOF
11487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 #include <ft2build.h>
11497 #include <freetype/fttrigon.h>
11499 if ac_fn_c_try_cpp
"$LINENO"; then :
11501 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11503 wine_cv_fttrigon
=yes
11505 wine_cv_fttrigon
=no
11507 rm -f conftest.err conftest.i conftest.
$ac_ext
11508 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11510 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11512 cat >>confdefs.h
<<_ACEOF
11513 #define HAVE_FT_TRUETYPEENGINETYPE 1
11519 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11522 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11530 CPPFLAGS
=$ac_save_CPPFLAGS
11531 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11532 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11535 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11536 case "x$with_freetype" in
11538 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11539 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11542 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11545 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11546 if ${ac_cv_c_ppdev+:} false
; then :
11547 $as_echo_n "(cached) " >&6
11549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11551 #ifdef HAVE_SYS_IOCTL_H
11552 # include <sys/ioctl.h>
11554 #include <linux/ppdev.h>
11558 ioctl (1,PPCLAIM,0)
11563 if ac_fn_c_try_compile
"$LINENO"; then :
11564 ac_cv_c_ppdev
="yes"
11568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11571 $as_echo "$ac_cv_c_ppdev" >&6; }
11572 if test "$ac_cv_c_ppdev" = "yes"
11575 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11579 ac_wine_check_funcs_save_LIBS
="$LIBS"
11580 LIBS
="$LIBS $LIBPTHREAD"
11582 pthread_attr_get_np \
11583 pthread_getattr_np \
11584 pthread_getthreadid_np \
11585 pthread_get_stackaddr_np \
11586 pthread_get_stacksize_np
11588 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11589 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11590 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11591 cat >>confdefs.h
<<_ACEOF
11592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11598 LIBS
="$ac_wine_check_funcs_save_LIBS"
11600 if test "$ac_cv_header_zlib_h" = "yes"
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11603 $as_echo_n "checking for inflate in -lz... " >&6; }
11604 if ${ac_cv_lib_z_inflate+:} false
; then :
11605 $as_echo_n "(cached) " >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11627 if ac_fn_c_try_link
"$LINENO"; then :
11628 ac_cv_lib_z_inflate
=yes
11630 ac_cv_lib_z_inflate
=no
11632 rm -f core conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11634 LIBS
=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11637 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11638 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11640 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11647 if test "x$ZLIB" = "x"; then :
11648 case "x$with_zlib" in
11649 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11651 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11652 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11656 if test "x$enable_tools" != xno
11658 if test "$ac_cv_header_gettext_po_h" = "yes"
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11661 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11662 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11663 $as_echo_n "(cached) " >&6
11665 ac_check_lib_save_LIBS
=$LIBS
11666 LIBS
="-lgettextpo $LIBS"
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11676 char po_message_msgctxt ();
11680 return po_message_msgctxt ();
11685 if ac_fn_c_try_link
"$LINENO"; then :
11686 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11688 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11690 rm -f core conftest.err conftest.
$ac_objext \
11691 conftest
$ac_exeext conftest.
$ac_ext
11692 LIBS
=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11695 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11696 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11698 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11700 LIBGETTEXTPO
="-lgettextpo"
11705 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11706 case "x$with_gettextpo" in
11707 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11709 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11710 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11715 if test "x$with_gstreamer" != "xno"
11717 if test -n "$GSTREAMER_CFLAGS"; then :
11719 elif test -n "$PKG_CONFIG"; then :
11720 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11723 if test -n "$GSTREAMER_LIBS"; then :
11725 elif test -n "$PKG_CONFIG"; then :
11726 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11730 ac_save_CPPFLAGS
=$CPPFLAGS
11731 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11733 for i
in $GSTREAMER_CFLAGS
11736 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11739 GSTREAMER_CFLAGS
=$ac_gst_incl
11740 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11741 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11743 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11744 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11746 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11749 #include <gst/app/gstappsink.h>
11753 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11758 if ac_fn_c_try_compile
"$LINENO"; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11762 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11763 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11764 $as_echo_n "(cached) " >&6
11766 ac_check_lib_save_LIBS
=$LIBS
11767 LIBS
="-lgstreamer-0.10 $LIBS"
11768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11777 char gst_pad_get_caps_reffed ();
11781 return gst_pad_get_caps_reffed ();
11786 if ac_fn_c_try_link
"$LINENO"; then :
11787 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11789 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11791 rm -f core conftest.err conftest.
$ac_objext \
11792 conftest
$ac_exeext conftest.
$ac_ext
11793 LIBS
=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11796 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11797 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11799 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11800 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11801 $as_echo_n "(cached) " >&6
11803 ac_check_lib_save_LIBS
=$LIBS
11804 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11814 char gst_app_buffer_new ();
11818 return gst_app_buffer_new ();
11823 if ac_fn_c_try_link
"$LINENO"; then :
11824 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11826 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11828 rm -f core conftest.err conftest.
$ac_objext \
11829 conftest
$ac_exeext conftest.
$ac_ext
11830 LIBS
=$ac_check_lib_save_LIBS
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11833 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11834 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11849 GSTREAMER_CFLAGS
=""
11853 CPPFLAGS
=$ac_save_CPPFLAGS
11854 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11855 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11858 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11859 case "x$with_gstreamer" in
11860 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11862 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11863 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11866 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11870 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11873 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11874 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11875 $as_echo_n "(cached) " >&6
11877 ac_check_lib_save_LIBS
=$LIBS
11878 LIBS
="-lasound $LIBS"
11879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11888 char snd_pcm_hw_params_get_access_mask ();
11892 return snd_pcm_hw_params_get_access_mask ();
11897 if ac_fn_c_try_link
"$LINENO"; then :
11898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11902 rm -f core conftest.err conftest.
$ac_objext \
11903 conftest
$ac_exeext conftest.
$ac_ext
11904 LIBS
=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11907 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11908 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #ifdef HAVE_ALSA_ASOUNDLIB_H
11912 #include <alsa/asoundlib.h>
11913 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11914 #include <sys/asoundlib.h>
11919 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11924 if ac_fn_c_try_compile
"$LINENO"; then :
11925 ALSALIBS
="-lasound"
11927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11932 if test "x$with_oss" != xno
11934 ac_save_CPPFLAGS
="$CPPFLAGS"
11935 if test -f /etc
/oss.conf
11939 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11940 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11941 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11942 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11943 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11945 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11947 cat >>confdefs.h
<<_ACEOF
11948 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11951 OSS4INCL
="$ac_oss_incl"
11958 CPPFLAGS
="$ac_save_CPPFLAGS"
11959 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11961 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11965 if test "x$with_capi" != "xno"
11967 if test -n "$CAPI20_CFLAGS"; then :
11969 elif test -n "$PKG_CONFIG"; then :
11970 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11973 if test -n "$CAPI20_LIBS"; then :
11975 elif test -n "$PKG_CONFIG"; then :
11976 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11980 ac_save_CPPFLAGS
=$CPPFLAGS
11981 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11982 for ac_header
in capi20.h linux
/capi.h
11984 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11985 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11987 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11988 cat >>confdefs.h
<<_ACEOF
11989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11996 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11999 $as_echo_n "checking for -lcapi20... " >&6; }
12000 if ${ac_cv_lib_soname_capi20+:} false
; then :
12001 $as_echo_n "(cached) " >&6
12003 ac_check_soname_save_LIBS
=$LIBS
12004 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12014 char capi20_register ();
12018 return capi20_register ();
12023 if ac_fn_c_try_link
"$LINENO"; then :
12025 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12026 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'` ;;
12027 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12028 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12029 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12033 rm -f core conftest.err conftest.
$ac_objext \
12034 conftest
$ac_exeext conftest.
$ac_ext
12035 LIBS
=$ac_check_soname_save_LIBS
12037 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12039 $as_echo "not found" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12043 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12045 cat >>confdefs.h
<<_ACEOF
12046 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12052 CPPFLAGS
=$ac_save_CPPFLAGS
12053 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12054 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12057 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12058 case "x$with_capi" in
12059 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12061 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12062 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12068 if test "x$with_cups" != "xno"
12070 ac_save_CPPFLAGS
="$CPPFLAGS"
12071 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12072 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12073 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12074 for ac_header
in cups
/cups.h
12076 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12077 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12078 cat >>confdefs.h
<<_ACEOF
12079 #define HAVE_CUPS_CUPS_H 1
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12082 $as_echo_n "checking for -lcups... " >&6; }
12083 if ${ac_cv_lib_soname_cups+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 ac_check_soname_save_LIBS
=$LIBS
12087 LIBS
="-lcups $ac_cups_libs $LIBS"
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12097 char cupsGetDefault ();
12101 return cupsGetDefault ();
12106 if ac_fn_c_try_link
"$LINENO"; then :
12108 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if test "x$ac_cv_lib_soname_cups" = x
; then :
12112 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12116 rm -f core conftest.err conftest.
$ac_objext \
12117 conftest
$ac_exeext conftest.
$ac_ext
12118 LIBS
=$ac_check_soname_save_LIBS
12120 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12126 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12128 cat >>confdefs.h
<<_ACEOF
12129 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12132 CUPSINCL
="$ac_cups_cflags"
12138 CPPFLAGS
="$ac_save_CPPFLAGS"
12140 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12141 case "x$with_cups" in
12142 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12144 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12145 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12149 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12152 $as_echo_n "checking for -lfontconfig... " >&6; }
12153 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12154 $as_echo_n "(cached) " >&6
12156 ac_check_soname_save_LIBS
=$LIBS
12157 LIBS
="-lfontconfig $LIBS"
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12176 if ac_fn_c_try_link
"$LINENO"; then :
12178 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12179 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'` ;;
12180 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12181 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12182 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12186 rm -f core conftest.err conftest.
$ac_objext \
12187 conftest
$ac_exeext conftest.
$ac_ext
12188 LIBS
=$ac_check_soname_save_LIBS
12190 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12192 $as_echo "not found" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12196 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12198 cat >>confdefs.h
<<_ACEOF
12199 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12204 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12206 ac_save_CPPFLAGS
="$CPPFLAGS"
12207 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12208 $as_unset ac_cv_header_fontconfig_fontconfig_h
12209 for ac_header
in fontconfig
/fontconfig.h
12211 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12212 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12213 cat >>confdefs.h
<<_ACEOF
12214 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12221 CPPFLAGS
="$ac_save_CPPFLAGS"
12222 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12224 FONTCONFIGINCL
="$X_CFLAGS"
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12227 $as_echo_n "checking for -lfontconfig... " >&6; }
12228 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12229 $as_echo_n "(cached) " >&6
12231 ac_check_soname_save_LIBS
=$LIBS
12232 LIBS
="-lfontconfig $X_LIBS $LIBS"
12233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12251 if ac_fn_c_try_link
"$LINENO"; then :
12253 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12254 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'` ;;
12255 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12256 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12257 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12261 rm -f core conftest.err conftest.
$ac_objext \
12262 conftest
$ac_exeext conftest.
$ac_ext
12263 LIBS
=$ac_check_soname_save_LIBS
12265 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12267 $as_echo "not found" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12271 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12273 cat >>confdefs.h
<<_ACEOF
12274 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12281 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12282 case "x$with_fontconfig" in
12283 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12285 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12286 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12290 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12293 $as_echo_n "checking for -lgsm... " >&6; }
12294 if ${ac_cv_lib_soname_gsm+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 ac_check_soname_save_LIBS
=$LIBS
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12308 char gsm_create ();
12312 return gsm_create ();
12317 if ac_fn_c_try_link
"$LINENO"; then :
12319 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12320 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'` ;;
12321 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12322 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12323 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12327 rm -f core conftest.err conftest.
$ac_objext \
12328 conftest
$ac_exeext conftest.
$ac_ext
12329 LIBS
=$ac_check_soname_save_LIBS
12331 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12333 $as_echo "not found" >&6; }
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12337 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12339 cat >>confdefs.h
<<_ACEOF
12340 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12346 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12347 case "x$with_gsm" in
12348 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12350 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12351 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12355 if test "x$with_jpeg" != "xno"
12357 if test -n "$JPEG_CFLAGS"; then :
12359 elif test -n "$PKG_CONFIG"; then :
12360 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12363 if test -n "$JPEG_LIBS"; then :
12365 elif test -n "$PKG_CONFIG"; then :
12366 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12370 ac_save_CPPFLAGS
=$CPPFLAGS
12371 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12372 for ac_header
in jpeglib.h
12374 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12375 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12376 cat >>confdefs.h
<<_ACEOF
12377 #define HAVE_JPEGLIB_H 1
12384 if test "$ac_cv_header_jpeglib_h" = "yes"
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12387 $as_echo_n "checking for -ljpeg... " >&6; }
12388 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12389 $as_echo_n "(cached) " >&6
12391 ac_check_soname_save_LIBS
=$LIBS
12392 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12402 char jpeg_start_decompress ();
12406 return jpeg_start_decompress ();
12411 if ac_fn_c_try_link
"$LINENO"; then :
12413 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12414 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'` ;;
12415 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12416 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12417 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12421 rm -f core conftest.err conftest.
$ac_objext \
12422 conftest
$ac_exeext conftest.
$ac_ext
12423 LIBS
=$ac_check_soname_save_LIBS
12425 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12427 $as_echo "not found" >&6; }
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12431 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12433 cat >>confdefs.h
<<_ACEOF
12434 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12442 CPPFLAGS
=$ac_save_CPPFLAGS
12443 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12448 case "x$with_jpeg" in
12449 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12451 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12452 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12456 if test "x$with_png" != "xno"
12458 if test -n "$PNG_CFLAGS"; then :
12460 elif test -n "$PKG_CONFIG"; then :
12461 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12463 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12464 if test -n "$PNG_LIBS"; then :
12466 elif test -n "$PKG_CONFIG"; then :
12467 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12469 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12471 ac_save_CPPFLAGS
=$CPPFLAGS
12472 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12473 for ac_header
in png.h
12475 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12476 if test "x$ac_cv_header_png_h" = xyes
; then :
12477 cat >>confdefs.h
<<_ACEOF
12478 #define HAVE_PNG_H 1
12485 if test "$ac_cv_header_png_h" = "yes"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12488 $as_echo_n "checking for -lpng... " >&6; }
12489 if ${ac_cv_lib_soname_png+:} false
; then :
12490 $as_echo_n "(cached) " >&6
12492 ac_check_soname_save_LIBS
=$LIBS
12493 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12503 char png_create_read_struct ();
12507 return png_create_read_struct ();
12512 if ac_fn_c_try_link
"$LINENO"; then :
12514 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) 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'`
12517 if test "x$ac_cv_lib_soname_png" = x
; then :
12518 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12522 rm -f core conftest.err conftest.
$ac_objext \
12523 conftest
$ac_exeext conftest.
$ac_ext
12524 LIBS
=$ac_check_soname_save_LIBS
12526 if test "x$ac_cv_lib_soname_png" = "x"; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12532 $as_echo "$ac_cv_lib_soname_png" >&6; }
12534 cat >>confdefs.h
<<_ACEOF
12535 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12544 typeof(png_set_expand_gray_1_2_4_to_8) *p
12549 if ac_fn_c_try_compile
"$LINENO"; then :
12551 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12559 CPPFLAGS
=$ac_save_CPPFLAGS
12560 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12561 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12564 if test "x$ac_cv_lib_soname_png" = "x"; then :
12565 case "x$with_png" in
12566 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12568 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12569 This is an error since --with-png was requested." "$LINENO" 5 ;;
12573 if test "x$with_tiff" != "xno"
12575 if test -n "$TIFF_CFLAGS"; then :
12577 elif test -n "$PKG_CONFIG"; then :
12578 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12581 if test -n "$TIFF_LIBS"; then :
12583 elif test -n "$PKG_CONFIG"; then :
12584 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12588 ac_save_CPPFLAGS
=$CPPFLAGS
12589 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12590 for ac_header
in tiffio.h
12592 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12593 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12594 cat >>confdefs.h
<<_ACEOF
12595 #define HAVE_TIFFIO_H 1
12602 if test "$ac_cv_header_tiffio_h" = "yes"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12605 $as_echo_n "checking for -ltiff... " >&6; }
12606 if ${ac_cv_lib_soname_tiff+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_check_soname_save_LIBS
=$LIBS
12610 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12620 char TIFFClientOpen ();
12624 return TIFFClientOpen ();
12629 if ac_fn_c_try_link
"$LINENO"; then :
12631 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12632 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'` ;;
12633 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12634 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12635 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12639 rm -f core conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12641 LIBS
=$ac_check_soname_save_LIBS
12643 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12645 $as_echo "not found" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12649 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12651 cat >>confdefs.h
<<_ACEOF
12652 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12658 CPPFLAGS
=$ac_save_CPPFLAGS
12659 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12660 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12663 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12664 case "x$with_tiff" in
12665 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12667 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12668 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12672 if test "x$with_mpg123" != "xno"
12674 if test -n "$MPG123_CFLAGS"; then :
12676 elif test -n "$PKG_CONFIG"; then :
12677 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12680 if test -n "$MPG123_LIBS"; then :
12682 elif test -n "$PKG_CONFIG"; then :
12683 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12686 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12687 ac_save_CPPFLAGS
=$CPPFLAGS
12688 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12689 for ac_header
in mpg123.h
12691 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12692 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12693 cat >>confdefs.h
<<_ACEOF
12694 #define HAVE_MPG123_H 1
12701 if test "$ac_cv_header_mpg123_h" = "yes"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12704 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12705 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 ac_check_lib_save_LIBS
=$LIBS
12709 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12719 char mpg123_feed ();
12723 return mpg123_feed ();
12728 if ac_fn_c_try_link
"$LINENO"; then :
12729 ac_cv_lib_mpg123_mpg123_feed
=yes
12731 ac_cv_lib_mpg123_mpg123_feed
=no
12733 rm -f core conftest.err conftest.
$ac_objext \
12734 conftest
$ac_exeext conftest.
$ac_ext
12735 LIBS
=$ac_check_lib_save_LIBS
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12738 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12739 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12749 CPPFLAGS
=$ac_save_CPPFLAGS
12750 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12751 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12754 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12755 case "x$with_mpg123" in
12756 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12758 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12759 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12762 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}
12764 if test "$ac_cv_header_AL_al_h" = "yes"
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12767 $as_echo_n "checking for -lopenal... " >&6; }
12768 if ${ac_cv_lib_soname_openal+:} false
; then :
12769 $as_echo_n "(cached) " >&6
12771 ac_check_soname_save_LIBS
=$LIBS
12772 LIBS
="-lopenal $LIBS"
12773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12782 char alGetSource3i ();
12786 return alGetSource3i ();
12791 if ac_fn_c_try_link
"$LINENO"; then :
12793 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12794 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'` ;;
12795 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12796 if test "x$ac_cv_lib_soname_openal" = x
; then :
12797 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12801 rm -f core conftest.err conftest.
$ac_objext \
12802 conftest
$ac_exeext conftest.
$ac_ext
12803 LIBS
=$ac_check_soname_save_LIBS
12805 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12807 $as_echo "not found" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12811 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12813 cat >>confdefs.h
<<_ACEOF
12814 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12817 LIBOPENAL
="-lopenal"
12819 ac_cv_lib_openal
=yes
12821 cat >>confdefs.h
<<_ACEOF
12822 #define HAVE_OPENAL 1
12827 if test "x$ac_cv_lib_openal" != xyes
; then :
12828 case "x$with_openal" in
12829 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12831 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12832 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12835 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12837 if test "$ac_cv_header_kstat_h" = "yes"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12840 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12841 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12842 $as_echo_n "(cached) " >&6
12844 ac_check_lib_save_LIBS
=$LIBS
12845 LIBS
="-lkstat $LIBS"
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12855 char kstat_open ();
12859 return kstat_open ();
12864 if ac_fn_c_try_link
"$LINENO"; then :
12865 ac_cv_lib_kstat_kstat_open
=yes
12867 ac_cv_lib_kstat_kstat_open
=no
12869 rm -f core conftest.err conftest.
$ac_objext \
12870 conftest
$ac_exeext conftest.
$ac_ext
12871 LIBS
=$ac_check_lib_save_LIBS
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12874 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12875 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12877 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12885 if test "$ac_cv_header_libprocstat_h" = "yes"
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12888 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12889 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12890 $as_echo_n "(cached) " >&6
12892 ac_check_lib_save_LIBS
=$LIBS
12893 LIBS
="-lprocstat $LIBS"
12894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12903 char procstat_open_sysctl ();
12907 return procstat_open_sysctl ();
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12915 ac_cv_lib_procstat_procstat_open_sysctl
=no
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 LIBS
=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12922 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12923 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12925 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12927 LIBPROCSTAT
="-lprocstat"
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12934 $as_echo_n "checking for -lodbc... " >&6; }
12935 if ${ac_cv_lib_soname_odbc+:} false
; then :
12936 $as_echo_n "(cached) " >&6
12938 ac_check_soname_save_LIBS
=$LIBS
12939 LIBS
="-lodbc $LIBS"
12940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12949 char SQLConnect ();
12953 return SQLConnect ();
12958 if ac_fn_c_try_link
"$LINENO"; then :
12960 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12961 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'` ;;
12962 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12963 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12964 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12968 rm -f core conftest.err conftest.
$ac_objext \
12969 conftest
$ac_exeext conftest.
$ac_ext
12970 LIBS
=$ac_check_soname_save_LIBS
12972 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12974 $as_echo "not found" >&6; }
12975 cat >>confdefs.h
<<_ACEOF
12976 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12981 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12983 cat >>confdefs.h
<<_ACEOF
12984 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12990 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12991 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12992 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12993 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12995 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12996 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12997 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12999 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13005 if test "x${GCC}" = "xyes"
13007 EXTRACFLAGS
="-Wall -pipe"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13010 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13011 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13012 $as_echo_n "(cached) " >&6
13014 if test "$cross_compiling" = yes; then :
13015 ac_cv_c_gcc_strength_bug
="yes"
13017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13019 int L[4] = {0,1,2,3};
13023 static int Array[3];
13024 unsigned int B = 3;
13026 for(i=0; i<B; i++) Array[i] = i - 3;
13027 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13029 return (Array[1] != -2 || L[2] != 3)
13034 if ac_fn_c_try_run
"$LINENO"; then :
13035 ac_cv_c_gcc_strength_bug
="no"
13037 ac_cv_c_gcc_strength_bug
="yes"
13039 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13040 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13045 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13046 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13048 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13052 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13053 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13054 $as_echo_n "(cached) " >&6
13056 ac_wine_try_cflags_saved
=$CFLAGS
13057 CFLAGS
="$CFLAGS -fno-builtin"
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13060 int main(int argc, char **argv) { return 0; }
13062 if ac_fn_c_try_link
"$LINENO"; then :
13063 ac_cv_cflags__fno_builtin
=yes
13065 ac_cv_cflags__fno_builtin
=no
13067 rm -f core conftest.err conftest.
$ac_objext \
13068 conftest
$ac_exeext conftest.
$ac_ext
13069 CFLAGS
=$ac_wine_try_cflags_saved
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13072 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13073 if test $ac_cv_cflags__fno_builtin = yes; then :
13074 BUILTINFLAG
="-fno-builtin"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13078 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13079 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_wine_try_cflags_saved
=$CFLAGS
13083 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13086 int main(int argc, char **argv) { return 0; }
13088 if ac_fn_c_try_link
"$LINENO"; then :
13089 ac_cv_cflags__fno_strict_aliasing
=yes
13091 ac_cv_cflags__fno_strict_aliasing
=no
13093 rm -f core conftest.err conftest.
$ac_objext \
13094 conftest
$ac_exeext conftest.
$ac_ext
13095 CFLAGS
=$ac_wine_try_cflags_saved
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13098 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13099 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13100 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13102 saved_CFLAGS
=$CFLAGS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13104 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13105 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13106 $as_echo_n "(cached) " >&6
13108 ac_wine_try_cflags_saved
=$CFLAGS
13109 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13112 int main(int argc, char **argv) { return 0; }
13114 if ac_fn_c_try_link
"$LINENO"; then :
13115 ac_cv_cflags__Werror_unknown_warning_option
=yes
13117 ac_cv_cflags__Werror_unknown_warning_option
=no
13119 rm -f core conftest.err conftest.
$ac_objext \
13120 conftest
$ac_exeext conftest.
$ac_ext
13121 CFLAGS
=$ac_wine_try_cflags_saved
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13124 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13125 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13126 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13129 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13130 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13131 $as_echo_n "(cached) " >&6
13133 ac_wine_try_cflags_saved
=$CFLAGS
13134 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13137 int main(int argc, char **argv) { return 0; }
13139 if ac_fn_c_try_link
"$LINENO"; then :
13140 ac_cv_cflags__Wdeclaration_after_statement
=yes
13142 ac_cv_cflags__Wdeclaration_after_statement
=no
13144 rm -f core conftest.err conftest.
$ac_objext \
13145 conftest
$ac_exeext conftest.
$ac_ext
13146 CFLAGS
=$ac_wine_try_cflags_saved
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13149 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13150 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13151 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13154 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13155 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13156 $as_echo_n "(cached) " >&6
13158 ac_wine_try_cflags_saved
=$CFLAGS
13159 CFLAGS
="$CFLAGS -Wempty-body"
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13162 int main(int argc, char **argv) { return 0; }
13164 if ac_fn_c_try_link
"$LINENO"; then :
13165 ac_cv_cflags__Wempty_body
=yes
13167 ac_cv_cflags__Wempty_body
=no
13169 rm -f core conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 CFLAGS
=$ac_wine_try_cflags_saved
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13174 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13175 if test $ac_cv_cflags__Wempty_body = yes; then :
13176 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13179 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13180 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13181 $as_echo_n "(cached) " >&6
13183 ac_wine_try_cflags_saved
=$CFLAGS
13184 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 int main(int argc, char **argv) { return 0; }
13189 if ac_fn_c_try_link
"$LINENO"; then :
13190 ac_cv_cflags__Wignored_qualifiers
=yes
13192 ac_cv_cflags__Wignored_qualifiers
=no
13194 rm -f core conftest.err conftest.
$ac_objext \
13195 conftest
$ac_exeext conftest.
$ac_ext
13196 CFLAGS
=$ac_wine_try_cflags_saved
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13199 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13200 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13201 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13204 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13205 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 ac_wine_try_cflags_saved
=$CFLAGS
13209 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13212 int main(int argc, char **argv) { return 0; }
13214 if ac_fn_c_try_link
"$LINENO"; then :
13215 ac_cv_cflags__Wstrict_prototypes
=yes
13217 ac_cv_cflags__Wstrict_prototypes
=no
13219 rm -f core conftest.err conftest.
$ac_objext \
13220 conftest
$ac_exeext conftest.
$ac_ext
13221 CFLAGS
=$ac_wine_try_cflags_saved
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13224 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13225 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13226 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13229 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13230 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13231 $as_echo_n "(cached) " >&6
13233 ac_wine_try_cflags_saved
=$CFLAGS
13234 CFLAGS
="$CFLAGS -Wtype-limits"
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13237 int main(int argc, char **argv) { return 0; }
13239 if ac_fn_c_try_link
"$LINENO"; then :
13240 ac_cv_cflags__Wtype_limits
=yes
13242 ac_cv_cflags__Wtype_limits
=no
13244 rm -f core conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13246 CFLAGS
=$ac_wine_try_cflags_saved
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13249 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13250 if test $ac_cv_cflags__Wtype_limits = yes; then :
13251 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13254 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13255 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13256 $as_echo_n "(cached) " >&6
13258 ac_wine_try_cflags_saved
=$CFLAGS
13259 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13262 int main(int argc, char **argv) { return 0; }
13264 if ac_fn_c_try_link
"$LINENO"; then :
13265 ac_cv_cflags__Wunused_but_set_parameter
=yes
13267 ac_cv_cflags__Wunused_but_set_parameter
=no
13269 rm -f core conftest.err conftest.
$ac_objext \
13270 conftest
$ac_exeext conftest.
$ac_ext
13271 CFLAGS
=$ac_wine_try_cflags_saved
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13274 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13275 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13276 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13279 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13280 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13281 $as_echo_n "(cached) " >&6
13283 ac_wine_try_cflags_saved
=$CFLAGS
13284 CFLAGS
="$CFLAGS -Wwrite-strings"
13285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13287 int main(int argc, char **argv) { return 0; }
13289 if ac_fn_c_try_link
"$LINENO"; then :
13290 ac_cv_cflags__Wwrite_strings
=yes
13292 ac_cv_cflags__Wwrite_strings
=no
13294 rm -f core conftest.err conftest.
$ac_objext \
13295 conftest
$ac_exeext conftest.
$ac_ext
13296 CFLAGS
=$ac_wine_try_cflags_saved
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13299 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13300 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13301 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13305 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13306 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13307 $as_echo_n "(cached) " >&6
13309 ac_wine_try_cflags_saved
=$CFLAGS
13310 CFLAGS
="$CFLAGS -Wpointer-arith"
13311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 int main(int argc, char **argv) { return 0; }
13315 if ac_fn_c_try_link
"$LINENO"; then :
13316 ac_cv_cflags__Wpointer_arith
=yes
13318 ac_cv_cflags__Wpointer_arith
=no
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 CFLAGS
=$ac_wine_try_cflags_saved
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13325 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13326 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13327 saved_string_h_CFLAGS
=$CFLAGS
13328 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13330 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13331 if ${ac_cv_c_string_h_warnings+:} false
; then :
13332 $as_echo_n "(cached) " >&6
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13336 #include <string.h>
13345 if ac_fn_c_try_compile
"$LINENO"; then :
13346 ac_cv_c_string_h_warnings
=no
13348 ac_cv_c_string_h_warnings
=yes
13350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13353 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13354 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13355 CFLAGS
=$saved_string_h_CFLAGS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13359 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13360 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13361 $as_echo_n "(cached) " >&6
13363 ac_wine_try_cflags_saved
=$CFLAGS
13364 CFLAGS
="$CFLAGS -Wlogical-op"
13365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13367 int main(int argc, char **argv) { return 0; }
13369 if ac_fn_c_try_link
"$LINENO"; then :
13370 ac_cv_cflags__Wlogical_op
=yes
13372 ac_cv_cflags__Wlogical_op
=no
13374 rm -f core conftest.err conftest.
$ac_objext \
13375 conftest
$ac_exeext conftest.
$ac_ext
13376 CFLAGS
=$ac_wine_try_cflags_saved
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13379 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13380 if test $ac_cv_cflags__Wlogical_op = yes; then :
13381 saved_string_h_CFLAGS
=$CFLAGS
13382 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13384 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13385 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13390 #include <string.h>
13391 char*f(const char *h,char n) {return strchr(h,n);}
13400 if ac_fn_c_try_compile
"$LINENO"; then :
13401 ac_cv_c_logicalop_noisy
=no
13403 ac_cv_c_logicalop_noisy
=yes
13405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13408 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13409 CFLAGS
=$saved_string_h_CFLAGS
13410 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13413 CFLAGS
=$saved_CFLAGS
13415 for ac_flag
in $CFLAGS; do
13417 -g) case $host_os in
13418 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13419 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13420 if ${ac_cv_cflags__gstabsp+:} false
; then :
13421 $as_echo_n "(cached) " >&6
13423 ac_wine_try_cflags_saved
=$CFLAGS
13424 CFLAGS
="$CFLAGS -gstabs+"
13425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13427 int main(int argc, char **argv) { return 0; }
13429 if ac_fn_c_try_link
"$LINENO"; then :
13430 ac_cv_cflags__gstabsp
=yes
13432 ac_cv_cflags__gstabsp
=no
13434 rm -f core conftest.err conftest.
$ac_objext \
13435 conftest
$ac_exeext conftest.
$ac_ext
13436 CFLAGS
=$ac_wine_try_cflags_saved
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13439 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13440 if test $ac_cv_cflags__gstabsp = yes; then :
13441 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13443 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13444 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13445 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13446 $as_echo_n "(cached) " >&6
13448 ac_wine_try_cflags_saved
=$CFLAGS
13449 CFLAGS
="$CFLAGS -gdwarf-2"
13450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13452 int main(int argc, char **argv) { return 0; }
13454 if ac_fn_c_try_link
"$LINENO"; then :
13455 ac_cv_cflags__gdwarf_2
=yes
13457 ac_cv_cflags__gdwarf_2
=no
13459 rm -f core conftest.err conftest.
$ac_objext \
13460 conftest
$ac_exeext conftest.
$ac_ext
13461 CFLAGS
=$ac_wine_try_cflags_saved
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13464 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13465 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13466 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13469 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13470 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13471 $as_echo_n "(cached) " >&6
13473 ac_wine_try_cflags_saved
=$CFLAGS
13474 CFLAGS
="$CFLAGS -gstrict-dwarf"
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 int main(int argc, char **argv) { return 0; }
13479 if ac_fn_c_try_link
"$LINENO"; then :
13480 ac_cv_cflags__gstrict_dwarf
=yes
13482 ac_cv_cflags__gstrict_dwarf
=no
13484 rm -f core conftest.err conftest.
$ac_objext \
13485 conftest
$ac_exeext conftest.
$ac_ext
13486 CFLAGS
=$ac_wine_try_cflags_saved
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13489 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13490 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13491 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13498 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13499 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13500 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 ac_wine_try_cflags_saved
=$CFLAGS
13504 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13507 int main(int argc, char **argv) { return 0; }
13509 if ac_fn_c_try_link
"$LINENO"; then :
13510 ac_cv_cflags__fno_omit_frame_pointer
=yes
13512 ac_cv_cflags__fno_omit_frame_pointer
=no
13514 rm -f core conftest.err conftest.
$ac_objext \
13515 conftest
$ac_exeext conftest.
$ac_ext
13516 CFLAGS
=$ac_wine_try_cflags_saved
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13519 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13520 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13521 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13526 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13527 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13528 if ${ac_cv_cflags__Wno_format+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13531 ac_wine_try_cflags_saved
=$CFLAGS
13532 CFLAGS
="$CFLAGS -Wno-format"
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13537 if ac_fn_c_try_link
"$LINENO"; then :
13538 ac_cv_cflags__Wno_format
=yes
13540 ac_cv_cflags__Wno_format
=no
13542 rm -f core conftest.err conftest.
$ac_objext \
13543 conftest
$ac_exeext conftest.
$ac_ext
13544 CFLAGS
=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13547 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13548 if test $ac_cv_cflags__Wno_format = yes; then :
13549 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13553 if test "x$enable_maintainer_mode" = "xyes"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13556 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13557 if ${ac_cv_cflags__Werror+:} false
; then :
13558 $as_echo_n "(cached) " >&6
13560 ac_wine_try_cflags_saved
=$CFLAGS
13561 CFLAGS
="$CFLAGS -Werror"
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 int main(int argc, char **argv) { return 0; }
13566 if ac_fn_c_try_link
"$LINENO"; then :
13567 ac_cv_cflags__Werror
=yes
13569 ac_cv_cflags__Werror
=no
13571 rm -f core conftest.err conftest.
$ac_objext \
13572 conftest
$ac_exeext conftest.
$ac_ext
13573 CFLAGS
=$ac_wine_try_cflags_saved
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13576 $as_echo "$ac_cv_cflags__Werror" >&6; }
13577 if test $ac_cv_cflags__Werror = yes; then :
13578 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13582 saved_CFLAGS
="$CFLAGS"
13583 CFLAGS
="$CFLAGS -Werror"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13585 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13586 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13587 $as_echo_n "(cached) " >&6
13589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13591 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13600 if ac_fn_c_try_compile
"$LINENO"; then :
13601 ac_cv_have_ms_hook_prologue
="yes"
13603 ac_cv_have_ms_hook_prologue
="no"
13605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13608 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13609 CFLAGS
="$saved_CFLAGS"
13610 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13613 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13616 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13623 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13624 if ${ac_cv_c_fortify_enabled+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <string.h>
13633 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13634 #error Fortify enabled
13640 if ac_fn_c_try_compile
"$LINENO"; then :
13641 ac_cv_c_fortify_enabled
=no
13643 ac_cv_c_fortify_enabled
=yes
13645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13648 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13649 if test "$ac_cv_c_fortify_enabled" = yes
13651 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13656 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13657 if ${ac_cv_c_extern_prefix+:} false
; then :
13658 $as_echo_n "(cached) " >&6
13660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13662 extern int ac_test;
13666 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13671 if ac_fn_c_try_link
"$LINENO"; then :
13672 ac_cv_c_extern_prefix
="yes"
13674 ac_cv_c_extern_prefix
="no"
13676 rm -f core conftest.err conftest.
$ac_objext \
13677 conftest
$ac_exeext conftest.
$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13680 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13685 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13686 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13687 $as_echo_n "(cached) " >&6
13689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13692 #define __stdcall __attribute__((__stdcall__))
13694 int __stdcall ac_test(int i) { return i; }
13698 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13703 if ac_fn_c_try_link
"$LINENO"; then :
13704 ac_cv_c_stdcall_suffix
="yes"
13706 ac_cv_c_stdcall_suffix
="no"
13708 rm -f core conftest.err conftest.
$ac_objext \
13709 conftest
$ac_exeext conftest.
$ac_ext
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13712 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13713 *) ac_cv_c_stdcall_suffix
="no" ;;
13717 if test "$ac_cv_c_extern_prefix" = "yes"
13719 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13721 asm_name_prefix
="_"
13723 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13729 if test "$ac_cv_c_stdcall_suffix" = "yes"
13731 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13734 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13740 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13741 if ${ac_cv_asm_func_def+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13750 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13755 if ac_fn_c_try_link
"$LINENO"; then :
13756 ac_cv_asm_func_def
=".def"
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13764 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13769 if ac_fn_c_try_link
"$LINENO"; then :
13770 ac_cv_asm_func_def
=".type @function"
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13778 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13783 if ac_fn_c_try_link
"$LINENO"; then :
13784 ac_cv_asm_func_def
=".type 2"
13786 ac_cv_asm_func_def
="unknown"
13788 rm -f core conftest.err conftest.
$ac_objext \
13789 conftest
$ac_exeext conftest.
$ac_ext
13791 rm -f core conftest.err conftest.
$ac_objext \
13792 conftest
$ac_exeext conftest.
$ac_ext
13794 rm -f core conftest.err conftest.
$ac_objext \
13795 conftest
$ac_exeext conftest.
$ac_ext
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13798 $as_echo "$ac_cv_asm_func_def" >&6; }
13801 case "$ac_cv_asm_func_def" in
13803 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13805 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13807 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13809 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13811 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13813 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13815 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13817 asm_func_header
="" ;;
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13821 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13822 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13823 $as_echo_n "(cached) " >&6
13825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 asm(".text\n\t.long 0");
13836 if ac_fn_c_try_compile
"$LINENO"; then :
13837 ac_cv_c_asm_outside_funcs
="yes"
13839 ac_cv_c_asm_outside_funcs
="no"
13841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13844 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13847 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13848 if ${ac_cv_c_dot_previous+:} false
; then :
13849 $as_echo_n "(cached) " >&6
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13857 asm(".text\nac_test:\t.long 0\n\t.previous");
13862 if ac_fn_c_try_link
"$LINENO"; then :
13863 ac_cv_c_dot_previous
="yes"
13865 ac_cv_c_dot_previous
="no"
13867 rm -f core conftest.err conftest.
$ac_objext \
13868 conftest
$ac_exeext conftest.
$ac_ext
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13871 $as_echo "$ac_cv_c_dot_previous" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13874 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13875 if ${ac_cv_c_cfi_support+:} false
; then :
13876 $as_echo_n "(cached) " >&6
13878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13889 if ac_fn_c_try_compile
"$LINENO"; then :
13890 ac_cv_c_cfi_support
="yes"
13892 ac_cv_c_cfi_support
="no"
13894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13897 $as_echo "$ac_cv_c_cfi_support" >&6; }
13899 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13900 asm_func_trailer
=""
13901 if test "$ac_cv_c_dot_previous" = "yes"
13903 asm_func_trailer
="\\n\\t.previous"
13905 if test "$ac_cv_c_cfi_support" = "yes"
13907 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13908 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13910 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13912 UNWINDFLAGS
=-fasynchronous-unwind-tables
13915 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13919 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13922 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13924 cat >>confdefs.h
<<_ACEOF
13925 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13929 cat >>confdefs.h
<<_ACEOF
13930 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13935 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13938 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13943 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
13950 *i
[3456789]86*|x86_64
*)
13951 as_fn_append LOADER_RULES
"
13952 all: $wine_binary-preloader
13954 $wine_binary-preloader: preloader.o Makefile.in
13955 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13957 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13958 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13961 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13968 ac_save_CFLAGS
="$CFLAGS"
13969 CFLAGS
="$CFLAGS $BUILTINFLAG"
14047 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14048 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14049 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14050 cat >>confdefs.h
<<_ACEOF
14051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14057 CFLAGS
="$ac_save_CFLAGS"
14059 if test "$ac_cv_func_dlopen" = no
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14062 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14063 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14064 $as_echo_n "(cached) " >&6
14066 ac_check_lib_save_LIBS
=$LIBS
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14071 /* Override any GCC internal prototype to avoid an error.
14072 Use char because int might match the return type of a GCC
14073 builtin and then its argument prototype would still apply. */
14086 if ac_fn_c_try_link
"$LINENO"; then :
14087 ac_cv_lib_dl_dlopen
=yes
14089 ac_cv_lib_dl_dlopen
=no
14091 rm -f core conftest.err conftest.
$ac_objext \
14092 conftest
$ac_exeext conftest.
$ac_ext
14093 LIBS
=$ac_check_lib_save_LIBS
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14096 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14097 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14098 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14104 ac_wine_check_funcs_save_LIBS
="$LIBS"
14105 LIBS
="$LIBS $LIBDL"
14106 for ac_func
in dladdr
14108 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14109 if test "x$ac_cv_func_dladdr" = xyes
; then :
14110 cat >>confdefs.h
<<_ACEOF
14111 #define HAVE_DLADDR 1
14117 LIBS
="$ac_wine_check_funcs_save_LIBS"
14119 if test "$ac_cv_func_poll" = no
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14122 $as_echo_n "checking for poll in -lpoll... " >&6; }
14123 if ${ac_cv_lib_poll_poll+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 ac_check_lib_save_LIBS
=$LIBS
14127 LIBS
="-lpoll $LIBS"
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14146 if ac_fn_c_try_link
"$LINENO"; then :
14147 ac_cv_lib_poll_poll
=yes
14149 ac_cv_lib_poll_poll
=no
14151 rm -f core conftest.err conftest.
$ac_objext \
14152 conftest
$ac_exeext conftest.
$ac_ext
14153 LIBS
=$ac_check_lib_save_LIBS
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14156 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14157 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14158 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14166 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14167 if ${ac_cv_search_gethostbyname+:} false
; then :
14168 $as_echo_n "(cached) " >&6
14170 ac_func_search_save_LIBS
=$LIBS
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14180 char gethostbyname ();
14184 return gethostbyname ();
14189 for ac_lib
in '' nsl
; do
14190 if test -z "$ac_lib"; then
14191 ac_res
="none required"
14194 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14196 if ac_fn_c_try_link
"$LINENO"; then :
14197 ac_cv_search_gethostbyname
=$ac_res
14199 rm -f core conftest.err conftest.
$ac_objext \
14201 if ${ac_cv_search_gethostbyname+:} false
; then :
14205 if ${ac_cv_search_gethostbyname+:} false
; then :
14208 ac_cv_search_gethostbyname
=no
14210 rm conftest.
$ac_ext
14211 LIBS
=$ac_func_search_save_LIBS
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14214 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14215 ac_res
=$ac_cv_search_gethostbyname
14216 if test "$ac_res" != no
; then :
14217 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14223 $as_echo_n "checking for library containing connect... " >&6; }
14224 if ${ac_cv_search_connect+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 ac_func_search_save_LIBS
=$LIBS
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14246 for ac_lib
in '' socket
; do
14247 if test -z "$ac_lib"; then
14248 ac_res
="none required"
14251 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14253 if ac_fn_c_try_link
"$LINENO"; then :
14254 ac_cv_search_connect
=$ac_res
14256 rm -f core conftest.err conftest.
$ac_objext \
14258 if ${ac_cv_search_connect+:} false
; then :
14262 if ${ac_cv_search_connect+:} false
; then :
14265 ac_cv_search_connect
=no
14267 rm conftest.
$ac_ext
14268 LIBS
=$ac_func_search_save_LIBS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14271 $as_echo "$ac_cv_search_connect" >&6; }
14272 ac_res
=$ac_cv_search_connect
14273 if test "$ac_res" != no
; then :
14274 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14280 $as_echo_n "checking for library containing inet_aton... " >&6; }
14281 if ${ac_cv_search_inet_aton+:} false
; then :
14282 $as_echo_n "(cached) " >&6
14284 ac_func_search_save_LIBS
=$LIBS
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14298 return inet_aton ();
14303 for ac_lib
in '' resolv
; do
14304 if test -z "$ac_lib"; then
14305 ac_res
="none required"
14308 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14310 if ac_fn_c_try_link
"$LINENO"; then :
14311 ac_cv_search_inet_aton
=$ac_res
14313 rm -f core conftest.err conftest.
$ac_objext \
14315 if ${ac_cv_search_inet_aton+:} false
; then :
14319 if ${ac_cv_search_inet_aton+:} false
; then :
14322 ac_cv_search_inet_aton
=no
14324 rm conftest.
$ac_ext
14325 LIBS
=$ac_func_search_save_LIBS
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14328 $as_echo "$ac_cv_search_inet_aton" >&6; }
14329 ac_res
=$ac_cv_search_inet_aton
14330 if test "$ac_res" != no
; then :
14331 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14351 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14352 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14353 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14354 cat >>confdefs.h
<<_ACEOF
14355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14364 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14365 if ${ac_cv_search_clock_gettime+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 ac_func_search_save_LIBS
=$LIBS
14369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14378 char clock_gettime ();
14382 return clock_gettime ();
14387 for ac_lib
in '' rt
; do
14388 if test -z "$ac_lib"; then
14389 ac_res
="none required"
14392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14394 if ac_fn_c_try_link
"$LINENO"; then :
14395 ac_cv_search_clock_gettime
=$ac_res
14397 rm -f core conftest.err conftest.
$ac_objext \
14399 if ${ac_cv_search_clock_gettime+:} false
; then :
14403 if ${ac_cv_search_clock_gettime+:} false
; then :
14406 ac_cv_search_clock_gettime
=no
14408 rm conftest.
$ac_ext
14409 LIBS
=$ac_func_search_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14412 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14413 ac_res
=$ac_cv_search_clock_gettime
14414 if test "$ac_res" != no
; then :
14415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14417 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14419 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14427 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14429 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14431 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14433 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14434 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 ac_check_lib_save_LIBS
=$LIBS
14438 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14448 char ldap_initialize ();
14452 return ldap_initialize ();
14457 if ac_fn_c_try_link
"$LINENO"; then :
14458 ac_cv_lib_ldap_r_ldap_initialize
=yes
14460 ac_cv_lib_ldap_r_ldap_initialize
=no
14462 rm -f core conftest.err conftest.
$ac_objext \
14463 conftest
$ac_exeext conftest.
$ac_ext
14464 LIBS
=$ac_check_lib_save_LIBS
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14467 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14468 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14470 $as_echo_n "checking for ber_init in -llber... " >&6; }
14471 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14472 $as_echo_n "(cached) " >&6
14474 ac_check_lib_save_LIBS
=$LIBS
14475 LIBS
="-llber $LIBPTHREAD $LIBS"
14476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14489 return ber_init ();
14494 if ac_fn_c_try_link
"$LINENO"; then :
14495 ac_cv_lib_lber_ber_init
=yes
14497 ac_cv_lib_lber_ber_init
=no
14499 rm -f core conftest.err conftest.
$ac_objext \
14500 conftest
$ac_exeext conftest.
$ac_ext
14501 LIBS
=$ac_check_lib_save_LIBS
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14504 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14505 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14507 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14509 LDAPLIBS
="-lldap_r -llber"
14516 ac_wine_check_funcs_save_LIBS
="$LIBS"
14517 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14519 ldap_count_references \
14520 ldap_first_reference \
14521 ldap_next_reference \
14522 ldap_parse_reference \
14523 ldap_parse_sort_control \
14524 ldap_parse_sortresponse_control \
14525 ldap_parse_vlv_control \
14526 ldap_parse_vlvresponse_control
14528 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14529 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14530 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14531 cat >>confdefs.h
<<_ACEOF
14532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14538 LIBS
="$ac_wine_check_funcs_save_LIBS"
14540 if test "x$LDAPLIBS" = "x"; then :
14541 case "x$with_ldap" in
14542 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14544 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14545 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14550 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14551 if ${wine_cv_one_arg_mkdir+:} false
; then :
14552 $as_echo_n "(cached) " >&6
14554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 #include <sys/stat.h>
14565 if ac_fn_c_try_compile
"$LINENO"; then :
14566 wine_cv_one_arg_mkdir
=yes
14568 wine_cv_one_arg_mkdir
=no
14570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14573 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14574 if test "$wine_cv_one_arg_mkdir" = "yes"
14577 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14582 $as_echo_n "checking for sched_setaffinity... " >&6; }
14583 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #define _GNU_SOURCE
14593 sched_setaffinity(0, 0, 0);
14598 if ac_fn_c_try_link
"$LINENO"; then :
14599 wine_cv_have_sched_setaffinity
=yes
14601 wine_cv_have_sched_setaffinity
=no
14603 rm -f core conftest.err conftest.
$ac_objext \
14604 conftest
$ac_exeext conftest.
$ac_ext
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14607 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14608 if test "$wine_cv_have_sched_setaffinity" = "yes"
14611 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14616 $as_echo_n "checking for fallocate... " >&6; }
14617 if ${wine_cv_have_fallocate+:} false
; then :
14618 $as_echo_n "(cached) " >&6
14620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 #define _GNU_SOURCE
14627 fallocate(-1, 0, 0, 0);
14632 if ac_fn_c_try_link
"$LINENO"; then :
14633 wine_cv_have_fallocate
=yes
14635 wine_cv_have_fallocate
=no
14637 rm -f core conftest.err conftest.
$ac_objext \
14638 conftest
$ac_exeext conftest.
$ac_ext
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14641 $as_echo "$wine_cv_have_fallocate" >&6; }
14642 if test "$wine_cv_have_fallocate" = "yes"
14645 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14651 $as_echo_n "checking for inline... " >&6; }
14652 if ${ac_cv_c_inline+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14656 for ac_kw
in inline __inline__ __inline
; do
14657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 #ifndef __cplusplus
14661 static $ac_kw foo_t static_foo () {return 0; }
14662 $ac_kw foo_t foo () {return 0; }
14666 if ac_fn_c_try_compile
"$LINENO"; then :
14667 ac_cv_c_inline
=$ac_kw
14669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 test "$ac_cv_c_inline" != no
&& break
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14675 $as_echo "$ac_cv_c_inline" >&6; }
14677 case $ac_cv_c_inline in
14680 case $ac_cv_c_inline in
14682 *) ac_val
=$ac_cv_c_inline;;
14684 cat >>confdefs.h
<<_ACEOF
14685 #ifndef __cplusplus
14686 #define inline $ac_val
14692 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14693 if test "x$ac_cv_type_mode_t" = xyes
; then :
14695 cat >>confdefs.h
<<_ACEOF
14696 #define HAVE_MODE_T 1
14701 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14702 if test "x$ac_cv_type_off_t" = xyes
; then :
14704 cat >>confdefs.h
<<_ACEOF
14705 #define HAVE_OFF_T 1
14710 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14711 if test "x$ac_cv_type_pid_t" = xyes
; then :
14713 cat >>confdefs.h
<<_ACEOF
14714 #define HAVE_PID_T 1
14719 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14720 if test "x$ac_cv_type_size_t" = xyes
; then :
14722 cat >>confdefs.h
<<_ACEOF
14723 #define HAVE_SIZE_T 1
14728 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14729 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14731 cat >>confdefs.h
<<_ACEOF
14732 #define HAVE_SSIZE_T 1
14737 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14738 if test "x$ac_cv_type_long_long" = xyes
; then :
14740 cat >>confdefs.h
<<_ACEOF
14741 #define HAVE_LONG_LONG 1
14746 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14747 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14749 cat >>confdefs.h
<<_ACEOF
14750 #define HAVE_FSBLKCNT_T 1
14755 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14756 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14758 cat >>confdefs.h
<<_ACEOF
14759 #define HAVE_FSFILCNT_T 1
14765 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14766 #include <signal.h>
14768 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14770 cat >>confdefs.h
<<_ACEOF
14771 #define HAVE_SIGSET_T 1
14777 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14779 if test "x$ac_cv_type_request_sense" = xyes
; then :
14781 cat >>confdefs.h
<<_ACEOF
14782 #define HAVE_REQUEST_SENSE 1
14789 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14790 #ifdef HAVE_SYS_SOCKET_H
14791 #include <sys/socket.h>
14793 #ifdef HAVE_SYS_SOCKETVAR_H
14794 #include <sys/socketvar.h>
14796 #ifdef HAVE_NET_ROUTE_H
14797 #include <net/route.h>
14799 #ifdef HAVE_NETINET_IN_H
14800 #include <netinet/in.h>
14802 #ifdef HAVE_NETINET_IN_SYSTM_H
14803 #include <netinet/in_systm.h>
14805 #ifdef HAVE_NETINET_IP_H
14806 #include <netinet/ip.h>
14808 #ifdef HAVE_NETINET_IN_PCB_H
14809 #include <netinet/in_pcb.h>
14812 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14814 cat >>confdefs.h
<<_ACEOF
14815 #define HAVE_STRUCT_XINPGEN 1
14822 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14825 #ifdef HAVE_SYS_LINK_H
14826 #include <sys/link.h>
14829 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14831 cat >>confdefs.h
<<_ACEOF
14832 #define HAVE_STRUCT_R_DEBUG 1
14837 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14840 #ifdef HAVE_SYS_LINK_H
14841 #include <sys/link.h>
14844 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14846 cat >>confdefs.h
<<_ACEOF
14847 #define HAVE_STRUCT_LINK_MAP 1
14854 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14855 #include <linux/input.h>
14858 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14860 cat >>confdefs.h
<<_ACEOF
14861 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14869 $as_echo_n "checking for sigaddset... " >&6; }
14870 if ${wine_cv_have_sigaddset+:} false
; then :
14871 $as_echo_n "(cached) " >&6
14873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 #include <signal.h>
14879 sigset_t set; sigaddset(&set,SIGTERM);
14884 if ac_fn_c_try_link
"$LINENO"; then :
14885 wine_cv_have_sigaddset
=yes
14887 wine_cv_have_sigaddset
=no
14889 rm -f core conftest.err conftest.
$ac_objext \
14890 conftest
$ac_exeext conftest.
$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14893 $as_echo "$wine_cv_have_sigaddset" >&6; }
14894 if test "$wine_cv_have_sigaddset" = "yes"
14897 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14903 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14904 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14905 $as_echo_n "(cached) " >&6
14907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14916 struct hostent *result;
14923 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14924 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14930 if ac_fn_c_try_link
"$LINENO"; then :
14931 wine_cv_linux_gethostbyname_r_6
=yes
14933 wine_cv_linux_gethostbyname_r_6
=no
14936 rm -f core conftest.err conftest.
$ac_objext \
14937 conftest
$ac_exeext conftest.
$ac_ext
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14941 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14942 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14945 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14949 if test "$ac_cv_header_linux_joystick_h" = "yes"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14952 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14953 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14954 $as_echo_n "(cached) " >&6
14956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 #include <sys/ioctl.h>
14960 #include <sys/types.h>
14961 #include <linux/joystick.h>
14963 struct js_event blub;
14964 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14965 #error "no 2.2 header"
14976 if ac_fn_c_try_compile
"$LINENO"; then :
14977 wine_cv_linux_joystick_22_api
=yes
14979 wine_cv_linux_joystick_22_api
=no
14981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14985 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14986 if test "$wine_cv_linux_joystick_22_api" = "yes"
14989 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14995 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14996 #ifdef HAVE_SYS_PARAM_H
14997 # include <sys/param.h>
14999 #ifdef HAVE_SYS_MOUNT_H
15000 # include <sys/mount.h>
15002 #ifdef HAVE_SYS_VFS_H
15003 # include <sys/vfs.h>
15005 #ifdef HAVE_SYS_STATFS_H
15006 # include <sys/statfs.h>
15009 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15011 cat >>confdefs.h
<<_ACEOF
15012 #define HAVE_STRUCT_STATFS_F_BFREE 1
15017 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15018 #ifdef HAVE_SYS_PARAM_H
15019 # include <sys/param.h>
15021 #ifdef HAVE_SYS_MOUNT_H
15022 # include <sys/mount.h>
15024 #ifdef HAVE_SYS_VFS_H
15025 # include <sys/vfs.h>
15027 #ifdef HAVE_SYS_STATFS_H
15028 # include <sys/statfs.h>
15031 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15033 cat >>confdefs.h
<<_ACEOF
15034 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15039 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15040 #ifdef HAVE_SYS_PARAM_H
15041 # include <sys/param.h>
15043 #ifdef HAVE_SYS_MOUNT_H
15044 # include <sys/mount.h>
15046 #ifdef HAVE_SYS_VFS_H
15047 # include <sys/vfs.h>
15049 #ifdef HAVE_SYS_STATFS_H
15050 # include <sys/statfs.h>
15053 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15055 cat >>confdefs.h
<<_ACEOF
15056 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15061 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15062 #ifdef HAVE_SYS_PARAM_H
15063 # include <sys/param.h>
15065 #ifdef HAVE_SYS_MOUNT_H
15066 # include <sys/mount.h>
15068 #ifdef HAVE_SYS_VFS_H
15069 # include <sys/vfs.h>
15071 #ifdef HAVE_SYS_STATFS_H
15072 # include <sys/statfs.h>
15075 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15077 cat >>confdefs.h
<<_ACEOF
15078 #define HAVE_STRUCT_STATFS_F_FFREE 1
15083 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15084 #ifdef HAVE_SYS_PARAM_H
15085 # include <sys/param.h>
15087 #ifdef HAVE_SYS_MOUNT_H
15088 # include <sys/mount.h>
15090 #ifdef HAVE_SYS_VFS_H
15091 # include <sys/vfs.h>
15093 #ifdef HAVE_SYS_STATFS_H
15094 # include <sys/statfs.h>
15097 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15099 cat >>confdefs.h
<<_ACEOF
15100 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15105 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15106 #ifdef HAVE_SYS_PARAM_H
15107 # include <sys/param.h>
15109 #ifdef HAVE_SYS_MOUNT_H
15110 # include <sys/mount.h>
15112 #ifdef HAVE_SYS_VFS_H
15113 # include <sys/vfs.h>
15115 #ifdef HAVE_SYS_STATFS_H
15116 # include <sys/statfs.h>
15119 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15121 cat >>confdefs.h
<<_ACEOF
15122 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15129 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15130 #include <sys/statvfs.h>
15133 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15135 cat >>confdefs.h
<<_ACEOF
15136 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15143 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15144 #include <dirent.h>
15147 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15149 cat >>confdefs.h
<<_ACEOF
15150 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15157 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15158 #ifdef HAVE_SYS_SOCKET_H
15159 # include <sys/socket.h>
15161 #ifdef HAVE_SYS_UN_H
15162 # include <sys/un.h>
15165 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15167 cat >>confdefs.h
<<_ACEOF
15168 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15173 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15174 #ifdef HAVE_SYS_SOCKET_H
15175 # include <sys/socket.h>
15177 #ifdef HAVE_SYS_UN_H
15178 # include <sys/un.h>
15181 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15183 cat >>confdefs.h
<<_ACEOF
15184 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15189 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15190 #ifdef HAVE_SYS_SOCKET_H
15191 # include <sys/socket.h>
15193 #ifdef HAVE_SYS_UN_H
15194 # include <sys/un.h>
15197 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15199 cat >>confdefs.h
<<_ACEOF
15200 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15207 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15208 #ifdef HAVE_SCSI_SG_H
15209 #include <scsi/sg.h>
15212 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15214 cat >>confdefs.h
<<_ACEOF
15215 #define HAVE_SCSIREQ_T_CMD 1
15220 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>
15221 #ifdef HAVE_SCSI_SG_H
15222 #include <scsi/sg.h>
15225 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15227 cat >>confdefs.h
<<_ACEOF
15228 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15235 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15237 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15239 cat >>confdefs.h
<<_ACEOF
15240 #define HAVE_SIGINFO_T_SI_FD 1
15247 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15248 #ifdef HAVE_SYS_MTIO_H
15249 #include <sys/mtio.h>
15252 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15254 cat >>confdefs.h
<<_ACEOF
15255 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15260 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15261 #ifdef HAVE_SYS_MTIO_H
15262 #include <sys/mtio.h>
15265 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15267 cat >>confdefs.h
<<_ACEOF
15268 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15273 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15274 #ifdef HAVE_SYS_MTIO_H
15275 #include <sys/mtio.h>
15278 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15280 cat >>confdefs.h
<<_ACEOF
15281 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15288 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15289 #include <getopt.h>
15292 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15294 cat >>confdefs.h
<<_ACEOF
15295 #define HAVE_STRUCT_OPTION_NAME 1
15302 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15303 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15305 cat >>confdefs.h
<<_ACEOF
15306 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15311 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15312 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define HAVE_STRUCT_STAT_ST_MTIM 1
15320 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15321 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15329 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15330 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15332 cat >>confdefs.h
<<_ACEOF
15333 #define HAVE_STRUCT_STAT_ST_CTIM 1
15338 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15339 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15341 cat >>confdefs.h
<<_ACEOF
15342 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15347 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15348 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15350 cat >>confdefs.h
<<_ACEOF
15351 #define HAVE_STRUCT_STAT_ST_ATIM 1
15356 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15357 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15359 cat >>confdefs.h
<<_ACEOF
15360 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15365 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15366 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15368 cat >>confdefs.h
<<_ACEOF
15369 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15374 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15375 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15377 cat >>confdefs.h
<<_ACEOF
15378 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15383 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15384 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15386 cat >>confdefs.h
<<_ACEOF
15387 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15392 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15393 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15395 cat >>confdefs.h
<<_ACEOF
15396 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15401 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15402 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15404 cat >>confdefs.h
<<_ACEOF
15405 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15412 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
15413 #include <sys/types.h>
15415 #ifdef HAVE_NETINET_IN_H
15416 #include <netinet/in.h>
15419 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15421 cat >>confdefs.h
<<_ACEOF
15422 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15429 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15430 #include <resolv.h>
15433 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15435 cat >>confdefs.h
<<_ACEOF
15436 #define HAVE_STRUCT___RES_STATE 1
15443 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
15444 #include <resolv.h>
15447 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15449 cat >>confdefs.h
<<_ACEOF
15450 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15457 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15458 #include <sys/types.h>
15460 #ifdef HAVE_NETINET_IN_H
15461 # include <netinet/in.h>
15463 #ifdef HAVE_ARPA_NAMESER_H
15464 # include <arpa/nameser.h>
15467 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15469 cat >>confdefs.h
<<_ACEOF
15470 #define HAVE_NS_MSG__MSG_PTR 1
15477 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15478 #include <sys/types.h>
15480 #ifdef HAVE_NETINET_IP_H
15481 #include <netinet/ip.h>
15483 #ifdef HAVE_NETINET_IP_ICMP_H
15484 #include <netinet/ip_icmp.h>
15486 #ifdef HAVE_NETINET_ICMP_VAR_H
15487 #include <netinet/icmp_var.h>
15490 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15492 cat >>confdefs.h
<<_ACEOF
15493 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15500 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15501 #include <sys/types.h>
15503 #ifdef HAVE_ALIAS_H
15506 #ifdef HAVE_SYS_SOCKET_H
15507 #include <sys/socket.h>
15509 #ifdef HAVE_SYS_SOCKETVAR_H
15510 #include <sys/socketvar.h>
15512 #ifdef HAVE_SYS_TIMEOUT_H
15513 #include <sys/timeout.h>
15515 #ifdef HAVE_NETINET_IN_H
15516 #include <netinet/in.h>
15518 #ifdef HAVE_NETINET_IN_SYSTM_H
15519 #include <netinet/in_systm.h>
15521 #ifdef HAVE_NETINET_IP_H
15522 #include <netinet/ip.h>
15524 #ifdef HAVE_NETINET_IP_VAR_H
15525 #include <netinet/ip_var.h>
15527 #ifdef HAVE_NETINET_IP_ICMP_H
15528 #include <netinet/ip_icmp.h>
15530 #ifdef HAVE_NETINET_ICMP_VAR_H
15531 #include <netinet/icmp_var.h>
15534 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15536 cat >>confdefs.h
<<_ACEOF
15537 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15544 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15545 #include <sys/types.h>
15547 #ifdef HAVE_SYS_SOCKETVAR_H
15548 #include <sys/socketvar.h>
15550 #ifdef HAVE_NETINET_IN_H
15551 #include <netinet/in.h>
15553 #ifdef HAVE_NETINET_IP_VAR_H
15554 #include <netinet/ip_var.h>
15557 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15559 cat >>confdefs.h
<<_ACEOF
15560 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15567 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
15568 #include <netinet/ip_var.h>
15571 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15573 cat >>confdefs.h
<<_ACEOF
15574 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15581 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15582 #include <sys/types.h>
15584 #ifdef HAVE_SYS_SOCKETVAR_H
15585 #include <sys/socketvar.h>
15587 #ifdef HAVE_NETINET_IN_H
15588 #include <netinet/in.h>
15590 #ifdef HAVE_NETINET_TCP_H
15591 #include <netinet/tcp.h>
15593 #ifdef HAVE_NETINET_TCP_VAR_H
15594 #include <netinet/tcp_var.h>
15597 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15607 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
15608 #include <netinet/tcp_var.h>
15611 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15613 cat >>confdefs.h
<<_ACEOF
15614 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15621 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15622 #include <sys/types.h>
15624 #ifdef HAVE_NETINET_IN_H
15625 #include <netinet/in.h>
15627 #ifdef HAVE_NETINET_IP_VAR_H
15628 #include <netinet/ip_var.h>
15630 #ifdef HAVE_NETINET_UDP_H
15631 #include <netinet/udp.h>
15633 #ifdef HAVE_NETINET_UDP_VAR_H
15634 #include <netinet/udp_var.h>
15637 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15639 cat >>confdefs.h
<<_ACEOF
15640 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15647 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15648 #include <sys/types.h>
15650 #ifdef HAVE_NET_IF_H
15651 # include <net/if.h>
15654 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15656 cat >>confdefs.h
<<_ACEOF
15657 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15665 $as_echo_n "checking for timezone variable... " >&6; }
15666 if ${ac_cv_have_timezone+:} false
; then :
15667 $as_echo_n "(cached) " >&6
15669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15680 if ac_fn_c_try_link
"$LINENO"; then :
15681 ac_cv_have_timezone
="yes"
15683 ac_cv_have_timezone
="no"
15685 rm -f core conftest.err conftest.
$ac_objext \
15686 conftest
$ac_exeext conftest.
$ac_ext
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15689 $as_echo "$ac_cv_have_timezone" >&6; }
15690 if test "$ac_cv_have_timezone" = "yes"
15693 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15697 $as_echo_n "checking for daylight variable... " >&6; }
15698 if ${ac_cv_have_daylight+:} false
; then :
15699 $as_echo_n "(cached) " >&6
15701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15712 if ac_fn_c_try_link
"$LINENO"; then :
15713 ac_cv_have_daylight
="yes"
15715 ac_cv_have_daylight
="no"
15717 rm -f core conftest.err conftest.
$ac_objext \
15718 conftest
$ac_exeext conftest.
$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15721 $as_echo "$ac_cv_have_daylight" >&6; }
15722 if test "$ac_cv_have_daylight" = "yes"
15725 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15729 ac_save_LIBS
="$LIBS"
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15732 $as_echo_n "checking for isinf... " >&6; }
15733 if ${ac_cv_have_isinf+:} false
; then :
15734 $as_echo_n "(cached) " >&6
15736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15742 float f = 0.0; return isinf(f)
15747 if ac_fn_c_try_link
"$LINENO"; then :
15748 ac_cv_have_isinf
="yes"
15750 ac_cv_have_isinf
="no"
15752 rm -f core conftest.err conftest.
$ac_objext \
15753 conftest
$ac_exeext conftest.
$ac_ext
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15756 $as_echo "$ac_cv_have_isinf" >&6; }
15757 if test "$ac_cv_have_isinf" = "yes"
15760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15765 $as_echo_n "checking for isnan... " >&6; }
15766 if ${ac_cv_have_isnan+:} false
; then :
15767 $as_echo_n "(cached) " >&6
15769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15775 float f = 0.0; return isnan(f)
15780 if ac_fn_c_try_link
"$LINENO"; then :
15781 ac_cv_have_isnan
="yes"
15783 ac_cv_have_isnan
="no"
15785 rm -f core conftest.err conftest.
$ac_objext \
15786 conftest
$ac_exeext conftest.
$ac_ext
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15789 $as_echo "$ac_cv_have_isnan" >&6; }
15790 if test "$ac_cv_have_isnan" = "yes"
15793 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15796 LIBS
="$ac_save_LIBS"
15800 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15801 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15802 if ${ac_cv_cpp_def___i386__+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15812 $EGREP "yes" >/dev
/null
2>&1; then :
15813 ac_cv_cpp_def___i386__
=yes
15815 ac_cv_cpp_def___i386__
=no
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15821 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15822 if test $ac_cv_cpp_def___i386__ = yes; then :
15823 CFLAGS
="$CFLAGS -D__i386__"
15824 LINTFLAGS
="$LINTFLAGS -D__i386__"
15826 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15827 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15828 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15829 $as_echo_n "(cached) " >&6
15831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15838 $EGREP "yes" >/dev
/null
2>&1; then :
15839 ac_cv_cpp_def___x86_64__
=yes
15841 ac_cv_cpp_def___x86_64__
=no
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15847 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15848 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15849 CFLAGS
="$CFLAGS -D__x86_64__"
15850 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15852 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15853 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15854 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15855 $as_echo_n "(cached) " >&6
15857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15859 #ifndef __sparc64__
15863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15864 $EGREP "yes" >/dev
/null
2>&1; then :
15865 ac_cv_cpp_def___sparc64__
=yes
15867 ac_cv_cpp_def___sparc64__
=no
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15873 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15874 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15875 CFLAGS
="$CFLAGS -D__sparc64__"
15876 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15878 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15879 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15880 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15881 $as_echo_n "(cached) " >&6
15883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15890 $EGREP "yes" >/dev
/null
2>&1; then :
15891 ac_cv_cpp_def___sparc__
=yes
15893 ac_cv_cpp_def___sparc__
=no
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15899 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15900 if test $ac_cv_cpp_def___sparc__ = yes; then :
15901 CFLAGS
="$CFLAGS -D__sparc__"
15902 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15904 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15905 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15906 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15907 $as_echo_n "(cached) " >&6
15909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #ifndef __powerpc64__
15915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15916 $EGREP "yes" >/dev
/null
2>&1; then :
15917 ac_cv_cpp_def___powerpc64__
=yes
15919 ac_cv_cpp_def___powerpc64__
=no
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15925 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15926 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15927 CFLAGS
="$CFLAGS -D__powerpc64__"
15928 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15930 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15931 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15932 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15933 $as_echo_n "(cached) " >&6
15935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15937 #ifndef __powerpc__
15941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15942 $EGREP "yes" >/dev
/null
2>&1; then :
15943 ac_cv_cpp_def___powerpc__
=yes
15945 ac_cv_cpp_def___powerpc__
=no
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15951 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15952 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15953 CFLAGS
="$CFLAGS -D__powerpc__"
15954 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15956 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15957 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15958 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15959 $as_echo_n "(cached) " >&6
15961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15963 #ifndef __aarch64__
15967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15968 $EGREP "yes" >/dev
/null
2>&1; then :
15969 ac_cv_cpp_def___aarch64__
=yes
15971 ac_cv_cpp_def___aarch64__
=no
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15977 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15978 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15979 CFLAGS
="$CFLAGS -D__aarch64__"
15980 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15982 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15983 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15984 if ${ac_cv_cpp_def___arm__+:} false
; then :
15985 $as_echo_n "(cached) " >&6
15987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15994 $EGREP "yes" >/dev
/null
2>&1; then :
15995 ac_cv_cpp_def___arm__
=yes
15997 ac_cv_cpp_def___arm__
=no
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16003 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16004 if test $ac_cv_cpp_def___arm__ = yes; then :
16005 CFLAGS
="$CFLAGS -D__arm__"
16006 LINTFLAGS
="$LINTFLAGS -D__arm__"
16010 case $host_vendor in
16011 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16012 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16013 if ${ac_cv_cpp_def___sun__+:} false
; then :
16014 $as_echo_n "(cached) " >&6
16016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16023 $EGREP "yes" >/dev
/null
2>&1; then :
16024 ac_cv_cpp_def___sun__
=yes
16026 ac_cv_cpp_def___sun__
=no
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16032 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16033 if test $ac_cv_cpp_def___sun__ = yes; then :
16034 CFLAGS
="$CFLAGS -D__sun__"
16035 LINTFLAGS
="$LINTFLAGS -D__sun__"
16043 ac_config_commands
="$ac_config_commands include/stamp-h"
16045 $as_echo_n "creating Makefile rules..." >&6
16048 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16051 if test -n "$CROSSTARGET"
16053 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16054 all: \$(STATICLIB:.a=.cross.a)
16059 if test -n "$DLLEXT"
16061 deps
="\$(MODULE)$DLLEXT \$(MODULE).fake"
16067 DLLFLAGS = $DLLFLAGS
16068 MAINSPEC = \$(MODULE:%.dll=%).spec
16069 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16070 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16077 DLLFLAGS = $DLLFLAGS
16085 DLLFLAGS = $DLLFLAGS
16086 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16087 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16088 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16089 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16090 EXTRA_OBJS = testlist.o
16092 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16094 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16096 check test: \$(C_SRCS:.c=.ok)
16098 .PHONY: check test crosstest
16101 if test -n "$CROSSTARGET"
16103 as_fn_append MAKE_TEST_RULES
"
16104 MAKEDEPFLAGS = -xo -xcross.o
16105 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16107 crosstest: \$(CROSSTESTMODULE)
16112 wine_rules_file
=conf$
$rules.
make
16113 rm -f $wine_rules_file
16115 ALL_TEST_RESOURCES
=""
16118 wine_fn_append_file
()
16120 as_fn_append
$1 " \\$as_nl $2"
16123 wine_fn_append_rule
()
16125 $as_echo "$1" >>$wine_rules_file
16128 wine_fn_has_flag
()
16130 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16133 wine_fn_depend_rules
()
16136 ac_makedep
="\$(MAKEDEP)"
16137 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16139 *.
in) ac_input
=$ac_input:$1 ;;
16140 *) ac_makedep
="$1 $ac_makedep" ;;
16143 wine_fn_append_rule \
16144 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
16145 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16146 depend: $ac_dir/depend
16147 .PHONY: $ac_dir/depend
16148 $ac_dir/depend: $ac_makedep dummy
16149 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16152 wine_fn_pot_rules
()
16154 test "x$with_gettextpo" = xyes ||
return
16156 if wine_fn_has_flag mc
16158 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16159 wine_fn_append_rule \
16160 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16161 @cd $ac_dir && \$(MAKE) msg.pot
16162 $ac_dir/msg.pot: tools/wmc include"
16164 if wine_fn_has_flag po
16166 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16167 wine_fn_append_rule \
16168 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16169 @cd $ac_dir && \$(MAKE) rsrc.pot
16170 $ac_dir/rsrc.pot: tools/wrc include"
16174 wine_fn_all_rules
()
16178 wine_fn_depend_rules
${ac_rules:-Make.rules}
16179 wine_fn_append_rule \
16182 $ac_dir: $ac_dir/Makefile dummy
16183 @cd $ac_dir && \$(MAKE)"
16186 wine_fn_install_rules
()
16188 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16190 wine_fn_append_rule \
16191 ".PHONY: $ac_dir/install $ac_dir/uninstall
16192 $ac_dir/install:: $ac_dir
16193 @cd $ac_dir && \$(MAKE) install
16194 $ac_dir/uninstall:: $ac_dir/Makefile
16195 @cd $ac_dir && \$(MAKE) uninstall
16196 install:: $ac_dir/install
16197 __uninstall__: $ac_dir/uninstall"
16199 if wine_fn_has_flag install-lib
16201 wine_fn_append_rule \
16202 ".PHONY: $ac_dir/install-lib
16203 $ac_dir/install-lib:: $ac_dir
16204 @cd $ac_dir && \$(MAKE) install-lib
16205 install-lib:: $ac_dir/install-lib"
16208 if wine_fn_has_flag install-dev
16210 wine_fn_append_rule \
16211 ".PHONY: $ac_dir/install-dev
16212 $ac_dir/install-dev:: $ac_dir
16213 @cd $ac_dir && \$(MAKE) install-dev
16214 install-dev:: $ac_dir/install-dev"
16218 wine_fn_clean_rules
()
16222 if wine_fn_has_flag clean
16224 wine_fn_append_rule \
16225 "__clean__: $ac_dir/clean
16226 .PHONY: $ac_dir/clean
16227 $ac_dir/clean: $ac_dir/Makefile
16228 @cd $ac_dir && \$(MAKE) clean
16229 \$(RM) $ac_dir/Makefile"
16231 wine_fn_append_rule \
16233 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16237 wine_fn_disabled_rules
()
16241 wine_fn_append_rule \
16243 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16246 wine_fn_config_makefile
()
16252 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16253 wine_fn_disabled_rules
; return
16256 wine_fn_install_rules
16257 wine_fn_clean_rules
16260 wine_fn_config_lib
()
16264 ac_dir
=dlls
/$ac_name
16266 wine_fn_all_rules Make.rules.
in
16267 wine_fn_clean_rules
16269 wine_fn_append_rule \
16270 ".PHONY: $ac_dir/install $ac_dir/uninstall
16271 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16272 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16273 $ac_dir/uninstall::
16274 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16275 install install-dev:: $ac_dir/install
16276 __uninstall__: $ac_dir/uninstall
16277 __builddeps__: $ac_dir
16278 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16281 wine_fn_config_dll
()
16284 ac_dir
=dlls
/$ac_name
16287 ac_implib
=${4:-$ac_name}
16288 ac_file
=$ac_dir/lib
$ac_implib
16290 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16294 *16) ac_implibflags
=" -m16" ;;
16296 *) ac_dll
=$ac_dll.dll
;;
16300 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16301 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16302 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16304 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16305 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16307 wine_fn_depend_rules Make.rules.
in
16308 wine_fn_clean_rules
$ac_clean
16310 wine_fn_disabled_rules
$ac_clean
16314 wine_fn_all_rules Make.rules.
in
16315 wine_fn_clean_rules
$ac_clean
16316 wine_fn_append_rule \
16317 "$ac_dir: __builddeps__
16318 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16319 @cd $ac_dir && \$(MAKE) \$@
16320 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16321 install install-lib:: $ac_dir/install-lib
16322 __uninstall__: $ac_dir/uninstall"
16323 if test -n "$DLLEXT"
16325 wine_fn_append_rule \
16326 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16327 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16328 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16329 $ac_dir/uninstall::
16330 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16332 wine_fn_append_rule \
16333 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16334 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16335 $ac_dir/uninstall::
16336 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16342 if wine_fn_has_flag staticimplib
16344 wine_fn_append_rule \
16345 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16346 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16347 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16349 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16350 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16351 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16352 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16353 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16354 $ac_dir/uninstall::
16355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16356 install install-dev:: $ac_dir/install-dev
16357 __uninstall__: $ac_dir/uninstall"
16359 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16361 wine_fn_append_rule \
16362 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16363 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16364 $ac_dir/uninstall::
16365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16368 if test -n "$CROSSTARGET"
16370 wine_fn_append_rule \
16371 "__builddeps__: $ac_file.cross.a
16372 $ac_file.cross.a: $ac_dir/Makefile dummy
16373 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16376 elif wine_fn_has_flag implib
16378 wine_fn_append_rule \
16379 "__builddeps__: $ac_file.$IMPLIBEXT
16380 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16381 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16382 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16384 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16385 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16386 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16387 $ac_dir/uninstall::
16388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16389 install install-dev:: $ac_dir/install-dev
16390 __uninstall__: $ac_dir/uninstall"
16391 if test -n "$CROSSTARGET"
16393 wine_fn_append_rule \
16394 "__builddeps__: $ac_file.cross.a
16395 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16396 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
16399 if test "$ac_name" != "$ac_implib"
16401 wine_fn_append_rule \
16402 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16403 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16404 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16406 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16407 if test -n "$CROSSTARGET"
16409 wine_fn_append_rule \
16410 "__builddeps__: dlls/lib$ac_implib.cross.a
16411 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16412 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16418 wine_fn_config_program
()
16421 ac_dir
=programs
/$ac_name
16424 ac_program
=$ac_name
16428 *) ac_program
=$ac_program.exe
;;
16432 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16433 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16434 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16435 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16437 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16438 wine_fn_disabled_rules
$ac_clean; return
16441 wine_fn_all_rules Make.rules.
in
16442 wine_fn_clean_rules
$ac_clean
16443 wine_fn_append_rule
"$ac_dir: __builddeps__"
16446 wine_fn_has_flag
install ||
return
16447 wine_fn_append_rule \
16448 ".PHONY: $ac_dir/install $ac_dir/uninstall
16449 install install-lib:: $ac_dir/install
16450 __uninstall__: $ac_dir/uninstall"
16452 if test -n "$DLLEXT"
16454 wine_fn_append_rule \
16455 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16457 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16458 $ac_dir/uninstall::
16459 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16461 if test -z "$with_wine64" && wine_fn_has_flag installbin
16463 wine_fn_append_rule \
16464 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16465 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16466 $ac_dir/uninstall::
16467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16470 wine_fn_append_rule \
16471 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16472 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16473 $ac_dir/uninstall::
16474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16477 if test -z "$with_wine64" && wine_fn_has_flag manpage
16479 wine_fn_append_rule \
16480 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16481 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16482 $ac_dir/uninstall::
16483 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16487 wine_fn_config_test
()
16494 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16495 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16496 ac_clean
="$ac_clean $ac_dir/testlist.c"
16498 if test "x$enable_tests" = xno
; then :
16499 wine_fn_disabled_rules
$ac_clean; return
16502 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16503 wine_fn_all_rules Make.rules.
in
16504 wine_fn_clean_rules
$ac_clean
16506 wine_fn_append_rule \
16507 "$ac_dir: programs/winetest/Makefile __builddeps__
16508 programs/winetest: $ac_dir
16509 check test: $ac_dir/test
16510 .PHONY: $ac_dir/test
16511 $ac_dir/test: dummy
16512 @cd $ac_dir && \$(MAKE) test
16514 \$(RM) $ac_dir/*.ok"
16516 if test -n "$CROSSTARGET"
16518 wine_fn_append_rule \
16519 "crosstest: $ac_dir/crosstest
16520 .PHONY: $ac_dir/crosstest
16521 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16522 @cd $ac_dir && \$(MAKE) crosstest"
16526 wine_fn_config_tool
()
16530 if test "x$enable_tools" = xno
; then :
16535 wine_fn_install_rules
16536 wine_fn_clean_rules
16538 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16539 wine_fn_append_rule
"$ac_dir: libs/port"
16541 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16545 wine_fn_config_makerules
()
16549 wine_fn_append_rule \
16550 "$ac_rules: $ac_rules.in $ac_deps config.status
16551 @./config.status $ac_rules
16556 wine_fn_config_symlink
()
16559 if test "x$1" = "x-d"
16565 wine_fn_append_rule \
16567 @./config.status \$@
16570 test -n "$ac_linkdir" ||
return
16571 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16574 if test -z "$CROSSTARGET"
16576 wine_fn_append_rule \
16578 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16580 wine_fn_append_rule
"
16581 # Rules automatically generated by configure
16586 Makefile: Makefile.in Make.vars.in Make.rules config.status
16587 @./config.status Make.tmp Makefile"
16589 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16590 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16591 if test "x$enable_fonts" != xno
; then
16592 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16593 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16594 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16595 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16596 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16598 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16599 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16600 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16601 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16602 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16603 wine_fn_config_symlink wine
16604 if test "x$enable_win64" != xno
; then
16605 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16606 wine_fn_config_symlink wine64
16609 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16610 wine_fn_append_rule \
16612 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16613 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16614 wine_fn_append_rule \
16616 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16617 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16618 wine_fn_append_rule \
16620 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16621 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16622 wine_fn_append_rule \
16624 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16625 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16626 wine_fn_append_rule \
16628 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16629 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16630 wine_fn_append_rule \
16632 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16633 ac_config_commands
="$ac_config_commands include/wine"
16634 wine_fn_append_rule \
16636 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16638 wine_fn_config_makerules Make.rules
16639 MAKE_RULES
=Make.rules
16640 ac_config_files
="$ac_config_files Make.rules"
16643 wine_fn_config_dll acledit enable_acledit
16644 wine_fn_config_dll aclui enable_aclui implib
16645 wine_fn_config_dll activeds enable_activeds implib
16646 wine_fn_config_dll actxprxy enable_actxprxy clean
16647 wine_fn_config_lib adsiid
16648 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16649 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16650 wine_fn_config_dll advpack enable_advpack implib
16651 wine_fn_config_test dlls
/advpack
/tests advpack_test
16652 wine_fn_config_dll amstream enable_amstream clean
16653 wine_fn_config_test dlls
/amstream
/tests amstream_test
16654 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16657 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16667 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16668 wine_fn_config_dll apphelp enable_apphelp
16669 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16670 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16671 wine_fn_config_dll atl enable_atl clean
,implib
16672 wine_fn_config_test dlls
/atl
/tests atl_test
16673 wine_fn_config_dll atl100 enable_atl100 implib
16674 wine_fn_config_test dlls
/atl100
/tests atl100_test
16675 wine_fn_config_dll atl110 enable_atl110
16676 wine_fn_config_dll atl80 enable_atl80 implib
16677 wine_fn_config_test dlls
/atl80
/tests atl80_test
16678 wine_fn_config_dll atl90 enable_atl90
16679 wine_fn_config_dll authz enable_authz
16680 wine_fn_config_dll avicap32 enable_avicap32 implib
16681 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16682 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16683 wine_fn_config_dll avifile.dll16 enable_win16
16684 wine_fn_config_dll avrt enable_avrt implib
16685 wine_fn_config_dll bcrypt enable_bcrypt
16686 wine_fn_config_dll browseui enable_browseui clean
,po
16687 wine_fn_config_test dlls
/browseui
/tests browseui_test
16688 wine_fn_config_dll cabinet enable_cabinet implib
16689 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16690 wine_fn_config_dll capi2032 enable_capi2032 implib
16691 wine_fn_config_dll cards enable_cards implib
16692 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16693 wine_fn_config_dll clusapi enable_clusapi implib
16694 wine_fn_config_dll comcat enable_comcat
16695 wine_fn_config_test dlls
/comcat
/tests comcat_test
16696 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16697 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16698 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16699 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16700 wine_fn_config_dll
comm.drv16 enable_win16
16701 wine_fn_config_dll commdlg.dll16 enable_win16
16702 wine_fn_config_dll compobj.dll16 enable_win16
16703 wine_fn_config_dll compstui enable_compstui implib
16704 wine_fn_config_dll comsvcs enable_comsvcs implib
16705 wine_fn_config_dll credui enable_credui implib
,po
16706 wine_fn_config_test dlls
/credui
/tests credui_test
16707 wine_fn_config_dll crtdll enable_crtdll implib
16708 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16709 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16710 wine_fn_config_dll cryptdlg enable_cryptdlg po
16711 wine_fn_config_dll cryptdll enable_cryptdll implib
16712 wine_fn_config_dll cryptnet enable_cryptnet implib
16713 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16714 wine_fn_config_dll cryptui enable_cryptui implib
,po
16715 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16716 wine_fn_config_dll ctapi32 enable_ctapi32
16717 wine_fn_config_dll ctl3d.dll16 enable_win16
16718 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16719 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16720 wine_fn_config_dll d3d10 enable_d3d10 implib
16721 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16722 wine_fn_config_dll d3d10core enable_d3d10core implib
16723 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16724 wine_fn_config_dll d3d11 enable_d3d11
16725 wine_fn_config_dll d3d8 enable_d3d8 implib
16726 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16727 wine_fn_config_dll d3d9 enable_d3d9 implib
16728 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16729 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16730 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16731 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16732 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16733 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16734 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16735 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16736 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16737 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16738 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16739 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16740 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16741 wine_fn_config_dll d3dim enable_d3dim implib
16742 wine_fn_config_dll d3drm enable_d3drm implib
16743 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16744 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16745 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16746 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16747 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16748 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16749 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16750 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16751 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16752 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16753 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16754 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16755 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16756 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16757 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16758 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16759 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16760 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16761 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16762 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16763 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16764 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16765 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16766 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16767 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16768 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16769 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16770 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16771 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16772 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16773 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16774 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16775 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16776 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16777 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16778 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16779 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16780 wine_fn_config_dll dbgeng enable_dbgeng implib
16781 wine_fn_config_dll dbghelp enable_dbghelp implib
16782 wine_fn_config_dll dciman32 enable_dciman32 implib
16783 wine_fn_config_dll ddeml.dll16 enable_win16
16784 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16785 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16786 wine_fn_config_dll ddrawex enable_ddrawex clean
16787 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16788 wine_fn_config_dll devenum enable_devenum clean
,po
16789 wine_fn_config_test dlls
/devenum
/tests devenum_test
16790 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16791 wine_fn_config_dll difxapi enable_difxapi
16792 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16793 wine_fn_config_test dlls
/dinput
/tests dinput_test
16794 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16795 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16796 wine_fn_config_dll dispdib.dll16 enable_win16
16797 wine_fn_config_dll dispex enable_dispex clean
16798 wine_fn_config_test dlls
/dispex
/tests dispex_test
16799 wine_fn_config_dll display.drv16 enable_win16
16800 wine_fn_config_dll dmband enable_dmband clean
16801 wine_fn_config_test dlls
/dmband
/tests dmband_test
16802 wine_fn_config_dll dmcompos enable_dmcompos clean
16803 wine_fn_config_dll dmime enable_dmime clean
16804 wine_fn_config_test dlls
/dmime
/tests dmime_test
16805 wine_fn_config_dll dmloader enable_dmloader clean
16806 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16807 wine_fn_config_dll dmscript enable_dmscript clean
16808 wine_fn_config_dll dmstyle enable_dmstyle clean
16809 wine_fn_config_dll dmsynth enable_dmsynth clean
16810 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16811 wine_fn_config_dll dmusic enable_dmusic clean
16812 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16813 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16814 wine_fn_config_dll dnsapi enable_dnsapi implib
16815 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16816 wine_fn_config_dll dplay enable_dplay implib
16817 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16818 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16819 wine_fn_config_dll dpnaddr enable_dpnaddr
16820 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16821 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16822 wine_fn_config_dll dpnhpast enable_dpnhpast
16823 wine_fn_config_dll dpnlobby enable_dpnlobby
16824 wine_fn_config_dll dpwsockx enable_dpwsockx
16825 wine_fn_config_dll drmclien enable_drmclien
16826 wine_fn_config_dll dsound enable_dsound clean
,implib
16827 wine_fn_config_test dlls
/dsound
/tests dsound_test
16828 wine_fn_config_dll dssenh enable_dssenh
16829 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16830 wine_fn_config_dll dswave enable_dswave clean
16831 wine_fn_config_dll dwmapi enable_dwmapi implib
16832 wine_fn_config_dll dwrite enable_dwrite implib
16833 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16834 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16835 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16836 wine_fn_config_lib dxerr8
16837 wine_fn_config_lib dxerr9
16838 wine_fn_config_dll dxgi enable_dxgi implib
16839 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16840 wine_fn_config_lib dxguid
16841 wine_fn_config_dll explorerframe enable_explorerframe clean
16842 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16843 wine_fn_config_dll faultrep enable_faultrep implib
16844 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16845 wine_fn_config_dll fltlib enable_fltlib
16846 wine_fn_config_dll fusion enable_fusion
16847 wine_fn_config_test dlls
/fusion
/tests fusion_test
16848 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16849 wine_fn_config_dll gameux enable_gameux clean
16850 wine_fn_config_test dlls
/gameux
/tests gameux_test
16851 wine_fn_config_dll gdi.exe16 enable_win16
16852 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16853 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16854 wine_fn_config_dll gdiplus enable_gdiplus implib
16855 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16856 wine_fn_config_dll glu32 enable_glu32 implib
16857 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16858 wine_fn_config_dll gpkcsp enable_gpkcsp
16859 wine_fn_config_dll hal enable_hal
16860 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16861 wine_fn_config_dll hid enable_hid implib
16862 wine_fn_config_dll hlink enable_hlink clean
,implib
16863 wine_fn_config_test dlls
/hlink
/tests hlink_test
16864 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16865 wine_fn_config_dll httpapi enable_httpapi
16866 wine_fn_config_dll iccvid enable_iccvid po
16867 wine_fn_config_dll icmp enable_icmp
16868 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16869 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16870 wine_fn_config_dll ifsmgr.vxd enable_win16
16871 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16872 wine_fn_config_dll imagehlp enable_imagehlp implib
16873 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16874 wine_fn_config_dll imm.dll16 enable_win16
16875 wine_fn_config_dll imm32 enable_imm32 implib
16876 wine_fn_config_test dlls
/imm32
/tests imm32_test
16877 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16878 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16879 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16880 wine_fn_config_dll inetmib1 enable_inetmib1
16881 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16882 wine_fn_config_dll infosoft enable_infosoft clean
16883 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16884 wine_fn_config_dll initpki enable_initpki
16885 wine_fn_config_dll inkobj enable_inkobj
16886 wine_fn_config_dll inseng enable_inseng clean
16887 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16888 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16889 wine_fn_config_dll itircl enable_itircl
16890 wine_fn_config_dll itss enable_itss clean
16891 wine_fn_config_test dlls
/itss
/tests itss_test
16892 wine_fn_config_dll joy.cpl enable_joy_cpl po
16893 wine_fn_config_dll jscript enable_jscript clean
,po
16894 wine_fn_config_test dlls
/jscript
/tests jscript_test
16895 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16896 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16897 wine_fn_config_dll keyboard.drv16 enable_win16
16898 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16899 wine_fn_config_dll ktmw32 enable_ktmw32
16900 wine_fn_config_dll loadperf enable_loadperf implib
16901 wine_fn_config_dll localspl enable_localspl po
16902 wine_fn_config_test dlls
/localspl
/tests localspl_test
16903 wine_fn_config_dll localui enable_localui po
16904 wine_fn_config_test dlls
/localui
/tests localui_test
16905 wine_fn_config_dll lz32 enable_lz32 implib
16906 wine_fn_config_test dlls
/lz32
/tests lz32_test
16907 wine_fn_config_dll lzexpand.dll16 enable_win16
16908 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16909 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16910 wine_fn_config_dll mapistub enable_mapistub
16911 wine_fn_config_dll mciavi32 enable_mciavi32
16912 wine_fn_config_dll mcicda enable_mcicda
16913 wine_fn_config_dll mciqtz32 enable_mciqtz32
16914 wine_fn_config_dll mciseq enable_mciseq
16915 wine_fn_config_dll mciwave enable_mciwave
16916 wine_fn_config_dll mgmtapi enable_mgmtapi
16917 wine_fn_config_dll midimap enable_midimap
16918 wine_fn_config_dll mlang enable_mlang clean
,implib
16919 wine_fn_config_test dlls
/mlang
/tests mlang_test
16920 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16921 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16922 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16923 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16924 wine_fn_config_dll mmdevldr.vxd enable_win16
16925 wine_fn_config_dll mmsystem.dll16 enable_win16
16926 wine_fn_config_dll monodebg.vxd enable_win16
16927 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16928 wine_fn_config_dll mouse.drv16 enable_win16
16929 wine_fn_config_dll mpr enable_mpr implib
,po
16930 wine_fn_config_test dlls
/mpr
/tests mpr_test
16931 wine_fn_config_dll mprapi enable_mprapi implib
16932 wine_fn_config_dll msacm.dll16 enable_win16
16933 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16934 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16935 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16936 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16937 wine_fn_config_dll mscat32 enable_mscat32
16938 wine_fn_config_dll mscms enable_mscms implib
16939 wine_fn_config_test dlls
/mscms
/tests mscms_test
16940 wine_fn_config_dll mscoree enable_mscoree clean
16941 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16942 wine_fn_config_dll msctf enable_msctf clean
16943 wine_fn_config_test dlls
/msctf
/tests msctf_test
16944 wine_fn_config_dll msdaps enable_msdaps clean
16945 wine_fn_config_dll msdmo enable_msdmo implib
16946 wine_fn_config_dll msftedit enable_msftedit
16947 wine_fn_config_dll msg711.acm enable_msg711_acm
16948 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16949 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16950 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16951 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16952 wine_fn_config_dll msi enable_msi clean
,implib
,po
16953 wine_fn_config_test dlls
/msi
/tests msi_test
16954 wine_fn_config_dll msident enable_msident clean
16955 wine_fn_config_dll msimg32 enable_msimg32 implib
16956 wine_fn_config_dll msimsg enable_msimsg
16957 wine_fn_config_dll msimtf enable_msimtf clean
16958 wine_fn_config_dll msisip enable_msisip
16959 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16960 wine_fn_config_dll msls31 enable_msls31
16961 wine_fn_config_dll msnet32 enable_msnet32
16962 wine_fn_config_dll mspatcha enable_mspatcha
16963 wine_fn_config_dll msrle32 enable_msrle32 po
16964 wine_fn_config_dll mssign32 enable_mssign32
16965 wine_fn_config_dll mssip32 enable_mssip32
16966 wine_fn_config_dll mstask enable_mstask clean
16967 wine_fn_config_test dlls
/mstask
/tests mstask_test
16968 wine_fn_config_dll msvcirt enable_msvcirt
16969 wine_fn_config_dll msvcm80 enable_msvcm80
16970 wine_fn_config_dll msvcm90 enable_msvcm90
16971 wine_fn_config_dll msvcp100 enable_msvcp100
16972 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16973 wine_fn_config_dll msvcp110 enable_msvcp110
16974 wine_fn_config_dll msvcp60 enable_msvcp60
16975 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16976 wine_fn_config_dll msvcp70 enable_msvcp70
16977 wine_fn_config_dll msvcp71 enable_msvcp71
16978 wine_fn_config_dll msvcp80 enable_msvcp80
16979 wine_fn_config_dll msvcp90 enable_msvcp90
16980 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16981 wine_fn_config_dll msvcr100 enable_msvcr100
16982 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16983 wine_fn_config_dll msvcr110 enable_msvcr110
16984 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16985 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16986 wine_fn_config_dll msvcr80 enable_msvcr80
16987 wine_fn_config_dll msvcr90 enable_msvcr90
16988 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16989 wine_fn_config_dll msvcrt enable_msvcrt implib
16990 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16991 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16992 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16993 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16994 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16995 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16996 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16997 wine_fn_config_dll msvidc32 enable_msvidc32 po
16998 wine_fn_config_dll msvideo.dll16 enable_win16
16999 wine_fn_config_dll mswsock enable_mswsock implib
17000 wine_fn_config_dll msxml enable_msxml clean
17001 wine_fn_config_dll msxml2 enable_msxml2 clean
17002 wine_fn_config_dll msxml3 enable_msxml3 clean
17003 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17004 wine_fn_config_dll msxml4 enable_msxml4 clean
17005 wine_fn_config_dll msxml6 enable_msxml6 clean
17006 wine_fn_config_dll nddeapi enable_nddeapi implib
17007 wine_fn_config_dll netapi32 enable_netapi32 implib
17008 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17009 wine_fn_config_dll netcfgx enable_netcfgx
17010 wine_fn_config_dll newdev enable_newdev implib
17011 wine_fn_config_dll normaliz enable_normaliz implib
17012 wine_fn_config_dll npmshtml enable_npmshtml
17013 wine_fn_config_dll ntdll enable_ntdll implib
17014 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17015 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17016 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17017 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17018 wine_fn_config_dll ntprint enable_ntprint
17019 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17020 wine_fn_config_dll objsel enable_objsel clean
17021 wine_fn_config_dll odbc32 enable_odbc32 implib
17022 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17023 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17024 wine_fn_config_dll odbccu32 enable_odbccu32
17025 wine_fn_config_dll ole2.dll16 enable_win16
17026 wine_fn_config_dll ole2conv.dll16 enable_win16
17027 wine_fn_config_dll ole2disp.dll16 enable_win16
17028 wine_fn_config_dll ole2nls.dll16 enable_win16
17029 wine_fn_config_dll ole2prox.dll16 enable_win16
17030 wine_fn_config_dll ole2thk.dll16 enable_win16
17031 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17032 wine_fn_config_test dlls
/ole32
/tests ole32_test
17033 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17034 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17035 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17036 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17037 wine_fn_config_dll olecli.dll16 enable_win16
17038 wine_fn_config_dll olecli32 enable_olecli32 implib
17039 wine_fn_config_dll oledb32 enable_oledb32 clean
17040 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17041 wine_fn_config_dll oledlg enable_oledlg implib
,po
17042 wine_fn_config_dll olepro32 enable_olepro32 implib
17043 wine_fn_config_dll olesvr.dll16 enable_win16
17044 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17045 wine_fn_config_dll olethk32 enable_olethk32
17046 wine_fn_config_dll openal32 enable_openal32
17047 wine_fn_config_dll opencl enable_opencl
17048 wine_fn_config_dll opengl32 enable_opengl32 implib
17049 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17050 wine_fn_config_dll pdh enable_pdh implib
17051 wine_fn_config_test dlls
/pdh
/tests pdh_test
17052 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17053 wine_fn_config_dll pidgen enable_pidgen
17054 wine_fn_config_dll powrprof enable_powrprof implib
17055 wine_fn_config_dll printui enable_printui
17056 wine_fn_config_dll propsys enable_propsys clean
,implib
17057 wine_fn_config_test dlls
/propsys
/tests propsys_test
17058 wine_fn_config_dll psapi enable_psapi implib
17059 wine_fn_config_test dlls
/psapi
/tests psapi_test
17060 wine_fn_config_dll pstorec enable_pstorec clean
17061 wine_fn_config_dll qcap enable_qcap
17062 wine_fn_config_test dlls
/qcap
/tests qcap_test
17063 wine_fn_config_dll qedit enable_qedit clean
17064 wine_fn_config_test dlls
/qedit
/tests qedit_test
17065 wine_fn_config_dll qmgr enable_qmgr clean
17066 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17067 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17068 wine_fn_config_dll quartz enable_quartz clean
,implib
17069 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17070 wine_fn_config_dll query enable_query
17071 wine_fn_config_dll rasapi16.dll16 enable_win16
17072 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17073 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17074 wine_fn_config_dll rasdlg enable_rasdlg implib
17075 wine_fn_config_dll regapi enable_regapi
17076 wine_fn_config_dll resutils enable_resutils implib
17077 wine_fn_config_dll riched20 enable_riched20 implib
17078 wine_fn_config_test dlls
/riched20
/tests riched20_test
17079 wine_fn_config_dll riched32 enable_riched32
17080 wine_fn_config_test dlls
/riched32
/tests riched32_test
17081 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17082 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17083 wine_fn_config_dll rsabase enable_rsabase
17084 wine_fn_config_dll rsaenh enable_rsaenh implib
17085 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17086 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17087 wine_fn_config_dll rtutils enable_rtutils implib
17088 wine_fn_config_dll samlib enable_samlib
17089 wine_fn_config_dll sane.ds enable_sane_ds po
17090 wine_fn_config_dll scarddlg enable_scarddlg
17091 wine_fn_config_dll sccbase enable_sccbase
17092 wine_fn_config_dll schannel enable_schannel
17093 wine_fn_config_test dlls
/schannel
/tests schannel_test
17094 wine_fn_config_dll scrrun enable_scrrun clean
17095 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17096 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17097 wine_fn_config_dll secur32 enable_secur32 implib
17098 wine_fn_config_test dlls
/secur32
/tests secur32_test
17099 wine_fn_config_dll security enable_security
17100 wine_fn_config_dll sensapi enable_sensapi implib
17101 wine_fn_config_dll serialui enable_serialui implib
,po
17102 wine_fn_config_test dlls
/serialui
/tests serialui_test
17103 wine_fn_config_dll setupapi enable_setupapi implib
,po
17104 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17105 wine_fn_config_dll setupx.dll16 enable_win16
17106 wine_fn_config_dll sfc enable_sfc implib
17107 wine_fn_config_dll sfc_os enable_sfc_os implib
17108 wine_fn_config_dll shdoclc enable_shdoclc po
17109 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17110 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17111 wine_fn_config_dll shell.dll16 enable_win16
17112 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17113 wine_fn_config_test dlls
/shell32
/tests shell32_test
17114 wine_fn_config_dll shfolder enable_shfolder implib
17115 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17116 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17117 wine_fn_config_dll slbcsp enable_slbcsp
17118 wine_fn_config_dll slc enable_slc implib
17119 wine_fn_config_dll snmpapi enable_snmpapi implib
17120 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17121 wine_fn_config_dll softpub enable_softpub
17122 wine_fn_config_dll sound.drv16 enable_win16
17123 wine_fn_config_dll spoolss enable_spoolss implib
17124 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17125 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17126 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17127 wine_fn_config_dll sti enable_sti clean
,implib
17128 wine_fn_config_test dlls
/sti
/tests sti_test
17129 wine_fn_config_dll storage.dll16 enable_win16
17130 wine_fn_config_dll stress.dll16 enable_win16
17131 wine_fn_config_lib strmbase
17132 wine_fn_config_lib strmiids
17133 wine_fn_config_dll svrapi enable_svrapi
17134 wine_fn_config_dll sxs enable_sxs implib
17135 wine_fn_config_test dlls
/sxs
/tests sxs_test
17136 wine_fn_config_dll system.drv16 enable_win16
17137 wine_fn_config_dll t2embed enable_t2embed
17138 wine_fn_config_dll tapi32 enable_tapi32 implib
17139 wine_fn_config_dll toolhelp.dll16 enable_win16
17140 wine_fn_config_dll traffic enable_traffic
17141 wine_fn_config_dll twain.dll16 enable_win16
17142 wine_fn_config_dll twain_32 enable_twain_32
17143 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17144 wine_fn_config_dll typelib.dll16 enable_win16
17145 wine_fn_config_dll unicows enable_unicows implib
17146 wine_fn_config_dll updspapi enable_updspapi
17147 wine_fn_config_dll url enable_url implib
17148 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17149 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17150 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17151 wine_fn_config_dll user.exe16 enable_win16
17152 wine_fn_config_dll user32 enable_user32 implib
,po
17153 wine_fn_config_test dlls
/user32
/tests user32_test
17154 wine_fn_config_dll userenv enable_userenv implib
17155 wine_fn_config_test dlls
/userenv
/tests userenv_test
17156 wine_fn_config_dll usp10 enable_usp10 implib
17157 wine_fn_config_test dlls
/usp10
/tests usp10_test
17158 wine_fn_config_lib uuid
17159 wine_fn_config_dll uxtheme enable_uxtheme implib
17160 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17161 wine_fn_config_dll vbscript enable_vbscript clean
17162 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17163 wine_fn_config_dll vcomp enable_vcomp
17164 wine_fn_config_dll vcomp100 enable_vcomp100
17165 wine_fn_config_dll vcomp90 enable_vcomp90
17166 wine_fn_config_dll vdhcp.vxd enable_win16
17167 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17168 wine_fn_config_dll ver.dll16 enable_win16
17169 wine_fn_config_dll version enable_version implib
17170 wine_fn_config_test dlls
/version
/tests version_test
17171 wine_fn_config_dll vmm.vxd enable_win16
17172 wine_fn_config_dll vnbt.vxd enable_win16
17173 wine_fn_config_dll vnetbios.vxd enable_win16
17174 wine_fn_config_dll vtdapi.vxd enable_win16
17175 wine_fn_config_dll vwin32.vxd enable_win16
17176 wine_fn_config_dll w32skrnl enable_win16
17177 wine_fn_config_dll w32sys.dll16 enable_win16
17178 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17179 wine_fn_config_dll wbemprox enable_wbemprox clean
17180 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17181 wine_fn_config_dll webservices enable_webservices implib
17182 wine_fn_config_dll wer enable_wer implib
17183 wine_fn_config_test dlls
/wer
/tests wer_test
17184 wine_fn_config_dll wevtapi enable_wevtapi
17185 wine_fn_config_dll wiaservc enable_wiaservc clean
17186 wine_fn_config_dll win32s16.dll16 enable_win16
17187 wine_fn_config_dll win87em.dll16 enable_win16
17188 wine_fn_config_dll winaspi.dll16 enable_win16
17189 wine_fn_config_dll windebug.dll16 enable_win16
17190 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17191 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17192 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17193 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17194 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17195 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17196 wine_fn_config_lib winecrt0
17197 wine_fn_config_dll wined3d enable_wined3d implib
17198 wine_fn_config_dll winegstreamer enable_winegstreamer
17199 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17200 wine_fn_config_dll winemac.drv enable_winemac_drv
17201 wine_fn_config_dll winemapi enable_winemapi
17202 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17203 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17204 wine_fn_config_dll wineps.drv enable_wineps_drv po
17205 wine_fn_config_dll wineps16.drv16 enable_win16
17206 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17207 wine_fn_config_dll winex11.drv enable_winex11_drv
17208 wine_fn_config_dll wing.dll16 enable_win16
17209 wine_fn_config_dll wing32 enable_wing32
17210 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17211 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17212 wine_fn_config_dll wininet enable_wininet implib
,po
17213 wine_fn_config_test dlls
/wininet
/tests wininet_test
17214 wine_fn_config_dll winmm enable_winmm implib
,po
17215 wine_fn_config_test dlls
/winmm
/tests winmm_test
17216 wine_fn_config_dll winnls.dll16 enable_win16
17217 wine_fn_config_dll winnls32 enable_winnls32 implib
17218 wine_fn_config_dll winscard enable_winscard implib
17219 wine_fn_config_dll winsock.dll16 enable_win16
17220 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17221 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17222 wine_fn_config_dll winsta enable_winsta
17223 wine_fn_config_dll wintab.dll16 enable_win16
17224 wine_fn_config_dll wintab32 enable_wintab32 implib
17225 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17226 wine_fn_config_dll wintrust enable_wintrust implib
17227 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17228 wine_fn_config_dll wlanapi enable_wlanapi
17229 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17230 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17231 wine_fn_config_dll wmi enable_wmi
17232 wine_fn_config_dll wmiutils enable_wmiutils clean
17233 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17234 wine_fn_config_dll wmvcore enable_wmvcore
17235 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17236 wine_fn_config_dll wow32 enable_win16 implib
17237 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17238 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17239 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17240 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17241 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17242 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17243 wine_fn_config_dll wsock32 enable_wsock32 implib
17244 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17245 wine_fn_config_dll wuapi enable_wuapi clean
17246 wine_fn_config_dll wuaueng enable_wuaueng
17247 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17248 wine_fn_config_dll xinput1_1 enable_xinput1_1
17249 wine_fn_config_dll xinput1_2 enable_xinput1_2
17250 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17251 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17252 wine_fn_config_dll xinput1_4 enable_xinput1_4
17253 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17254 wine_fn_config_dll xmllite enable_xmllite
17255 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17256 wine_fn_config_dll xolehlp enable_xolehlp
17257 wine_fn_config_dll xpsprint enable_xpsprint
17258 wine_fn_config_dll xpssvcs enable_xpssvcs
17259 wine_fn_config_makefile documentation enable_documentation clean
17260 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17261 wine_fn_config_makefile include enable_include clean
,install-dev
17262 wine_fn_config_makefile libs
/port enable_libs_port
17263 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17264 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17265 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17266 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17267 wine_fn_config_program attrib enable_attrib
install,po
17268 wine_fn_config_program cabarc enable_cabarc
install
17269 wine_fn_config_program cacls enable_cacls
install
17270 wine_fn_config_program
clock enable_clock
install,po
17271 wine_fn_config_program cmd enable_cmd
install,po
17272 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17273 wine_fn_config_program conhost enable_conhost
install
17274 wine_fn_config_program control enable_control
install
17275 wine_fn_config_program cscript enable_cscript
install
17276 wine_fn_config_program dxdiag enable_dxdiag
install,po
17277 wine_fn_config_program eject enable_eject
install
17278 wine_fn_config_program
expand enable_expand
install
17279 wine_fn_config_program explorer enable_explorer
install,po
17280 wine_fn_config_program extrac32 enable_extrac32
install
17281 wine_fn_config_program findstr enable_findstr
install
17282 wine_fn_config_program hh enable_hh
install
17283 wine_fn_config_program hostname enable_hostname
install,po
17284 wine_fn_config_program icinfo enable_icinfo
install
17285 wine_fn_config_program iexplore enable_iexplore
install
17286 wine_fn_config_program ipconfig enable_ipconfig
install,po
17287 wine_fn_config_program lodctr enable_lodctr
install
17288 wine_fn_config_program mofcomp enable_mofcomp
install
17289 wine_fn_config_program mshta enable_mshta
install
17290 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17291 wine_fn_config_program net enable_net
install,po
17292 wine_fn_config_program netsh enable_netsh
install
17293 wine_fn_config_program netstat enable_netstat
install,po
17294 wine_fn_config_program ngen enable_ngen
install
17295 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17296 wine_fn_config_program oleview enable_oleview
install,po
17297 wine_fn_config_program
ping enable_ping
install
17298 wine_fn_config_program plugplay enable_plugplay
install
17299 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17300 wine_fn_config_program progman enable_progman
install,po
17301 wine_fn_config_program reg enable_reg
install,po
17302 wine_fn_config_program regasm enable_regasm
install
17303 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17304 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17305 wine_fn_config_program regsvcs enable_regsvcs
install
17306 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17307 wine_fn_config_program rpcss enable_rpcss clean
,install
17308 wine_fn_config_program rundll.exe16 enable_win16
install
17309 wine_fn_config_program rundll32 enable_rundll32
install
17310 wine_fn_config_program sc enable_sc
install
17311 wine_fn_config_program schtasks enable_schtasks
install
17312 wine_fn_config_program secedit enable_secedit
install
17313 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17314 wine_fn_config_program services enable_services clean
,install
17315 wine_fn_config_test programs
/services
/tests services.exe_test
17316 wine_fn_config_program spoolsv enable_spoolsv
install
17317 wine_fn_config_program start enable_start
install,po
17318 wine_fn_config_program svchost enable_svchost
install
17319 wine_fn_config_program taskkill enable_taskkill
install,po
17320 wine_fn_config_program tasklist enable_tasklist
install
17321 wine_fn_config_program taskmgr enable_taskmgr
install,po
17322 wine_fn_config_program termsv enable_termsv
install
17323 wine_fn_config_program uninstaller enable_uninstaller
install,po
17324 wine_fn_config_program unlodctr enable_unlodctr
install
17325 wine_fn_config_program view enable_view
install,po
17326 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17327 wine_fn_config_program winebrowser enable_winebrowser
install
17328 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17329 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17330 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17331 wine_fn_config_program winedevice enable_winedevice
install
17332 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17333 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17334 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17335 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17336 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17337 wine_fn_config_program winetest enable_winetest clean
17338 wine_fn_config_program winevdm enable_win16
install
17339 wine_fn_config_program winhelp.exe16 enable_win16
install
17340 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17341 wine_fn_config_program winoldap.mod16 enable_win16
install
17342 wine_fn_config_program winver enable_winver
install
17343 wine_fn_config_program wmic enable_wmic
install,po
17344 wine_fn_config_program wordpad enable_wordpad
install,po
17345 wine_fn_config_program
write enable_write
install,po
17346 wine_fn_config_program wscript enable_wscript clean
,install
17347 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17348 wine_fn_config_program wusa enable_wusa
install
17349 wine_fn_config_program xcopy enable_xcopy
install,po
17350 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17351 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17352 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17353 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17354 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17355 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17356 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17357 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17408 ac_config_commands
="$ac_config_commands Makefile"
17411 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17415 if test "x$enable_maintainer_mode" = xyes
17417 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17418 autoconf --warnings=all
17419 include/config.h.in: include/stamp-h.in
17420 include/stamp-h.in: configure.ac aclocal.m4
17421 autoheader --warnings=all
17422 @echo timestamp > \$@"
17425 if test "x$with_gettextpo" = xyes
17427 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17428 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17429 \$(LINGUAS:%=po/%.po): po/wine.pot
17430 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17431 po/wine.pot: \$(ALL_POT_FILES)
17432 msgcat -o \$@ \$(ALL_POT_FILES)"
17435 if test "$MSGFMT" != false
17437 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17439 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17444 if test "x$enable_tools" != xno
17446 ac_config_commands
="$ac_config_commands tools"
17448 wine_fn_append_rule
"tools/makedep$ac_exeext: tools/makedep.c include/config.h
17449 \$(CC) \$(ALLCFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17451 \$(RM) tools/makedep$ac_exeext"
17454 if test -n "$with_wine64"
17456 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17457 fonts server tools:
17458 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17459 $with_wine64/loader/wine:
17460 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17461 $with_wine64/loader/wine-preloader:
17462 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17464 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17466 as_fn_append LOADER_RULES
"
17469 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17470 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17472 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17473 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17474 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17477 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17481 $as_echo " done" >&6
17482 cat >confcache
<<\_ACEOF
17483 # This file is a shell script that caches the results of configure
17484 # tests run on this system so they can be shared between configure
17485 # scripts and configure runs, see configure's option --config-cache.
17486 # It is not useful on other systems. If it contains results you don't
17487 # want to keep, you may remove or edit it.
17489 # config.status only pays attention to the cache file if you give it
17490 # the --recheck option to rerun configure.
17492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17494 # following values.
17498 # The following way of writing the cache mishandles newlines in values,
17499 # but we know of no workaround that is simple, portable, and efficient.
17500 # So, we kill variables containing newlines.
17501 # Ultrix sh set writes to stderr and can't be redirected directly,
17502 # and sets the high bit in the cache file unless we assign to the vars.
17504 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17505 eval ac_val
=\$
$ac_var
17509 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17513 _ | IFS | as_nl
) ;; #(
17514 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17515 *) { eval $ac_var=; unset $ac_var;} ;;
17521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17522 *${as_nl}ac_space
=\
*)
17523 # `set' does not quote correctly, so add quotes: double-quote
17524 # substitution turns \\\\ into \\, and sed turns \\ into \.
17527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17530 # `set' quotes correctly as required by POSIX, so do not add quotes.
17531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17544 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17545 if test -w "$cache_file"; then
17546 if test "x$cache_file" != "x/dev/null"; then
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17548 $as_echo "$as_me: updating cache $cache_file" >&6;}
17549 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17550 cat confcache
>"$cache_file"
17552 case $cache_file in #(
17554 mv -f confcache
"$cache_file"$$
&&
17555 mv -f "$cache_file"$$
"$cache_file" ;; #(
17557 mv -f confcache
"$cache_file" ;;
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17568 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17569 # Let make expand exec_prefix.
17570 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17572 DEFS
=-DHAVE_CONFIG_H
17577 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17578 # 1. Remove the extension, and $U if already installed.
17579 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17580 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17582 # will be set to the directory where LIBOBJS objects are built.
17583 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17584 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17586 LIBOBJS
=$ac_libobjs
17588 LTLIBOBJS
=$ac_ltlibobjs
17592 : "${CONFIG_STATUS=./config.status}"
17594 ac_clean_files_save
=$ac_clean_files
17595 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17601 # Generated by $as_me.
17602 # Run this file to recreate the current configuration.
17603 # Compiler output produced by configure, useful for debugging
17604 # configure, is in config.log if it exists.
17607 ac_cs_recheck=false
17610 SHELL=\${CONFIG_SHELL-$SHELL}
17613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17614 ## -------------------- ##
17615 ## M4sh Initialization. ##
17616 ## -------------------- ##
17618 # Be more Bourne compatible
17619 DUALCASE
=1; export DUALCASE
# for MKS sh
17620 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17624 # is contrary to our usage. Disable this feature.
17625 alias -g '${1+"$@"}'='"$@"'
17626 setopt NO_GLOB_SUBST
17628 case `(set -o) 2>/dev/null` in #(
17640 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17641 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17644 # Prefer a ksh shell builtin over an external printf program on Solaris,
17645 # but without wasting forks for bash or zsh.
17646 if test -z "$BASH_VERSION$ZSH_VERSION" \
17647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17648 as_echo='print
-r --'
17649 as_echo_n='print
-rn --'
17650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17651 as_echo='printf %s
\n'
17652 as_echo_n='printf %s
'
17654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17655 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17656 as_echo_n='/usr
/ucb
/echo -n'
17658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17659 as_echo_n_body='eval
17663 expr "X$arg" : "X\\(.*\\)$as_nl";
17664 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17666 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17668 export as_echo_n_body
17669 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17671 export as_echo_body
17672 as_echo='sh
-c $as_echo_body as_echo
'
17675 # The user is always right.
17676 if test "${PATH_SEPARATOR+set}" != set; then
17678 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17679 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17686 # We need space, tab and new line, in precisely that order. Quoting is
17687 # there to prevent editors from complaining about space-tab.
17688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17689 # splitting by setting IFS to empty value.)
17692 # Find who we are. Look in the path if we contain no directory separator.
17695 *[\\/]* ) as_myself=$0 ;;
17696 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17697 for as_dir in $PATH
17700 test -z "$as_dir" && as_dir=.
17701 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17707 # We did not find ourselves, most probably we were run as `sh COMMAND'
17708 # in which case we are not to be found in the path.
17709 if test "x$as_myself" = x
; then
17712 if test ! -f "$as_myself"; then
17713 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17717 # Unset variables that we do not need and which cause bugs (e.g. in
17718 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17719 # suppresses any "Segmentation fault" message there. '((' could
17720 # trigger a bug in pdksh 5.2.14.
17721 for as_var
in BASH_ENV ENV MAIL MAILPATH
17722 do eval test x\
${$as_var+set} = xset \
17723 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17736 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17739 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17740 # ----------------------------------------
17741 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17742 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17743 # script with STATUS, using 1 if that was 0.
17746 as_status
=$1; test $as_status -eq 0 && as_status
=1
17748 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17749 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17751 $as_echo "$as_me: error: $2" >&2
17752 as_fn_exit
$as_status
17756 # as_fn_set_status STATUS
17757 # -----------------------
17758 # Set $? to STATUS, without forking.
17759 as_fn_set_status
()
17762 } # as_fn_set_status
17764 # as_fn_exit STATUS
17765 # -----------------
17766 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17770 as_fn_set_status
$1
17776 # Portably unset VAR.
17779 { eval $1=; unset $1;}
17781 as_unset
=as_fn_unset
17782 # as_fn_append VAR VALUE
17783 # ----------------------
17784 # Append the text in VALUE to the end of the definition contained in VAR. Take
17785 # advantage of any shell optimizations that allow amortized linear growth over
17786 # repeated appends, instead of the typical quadratic growth present in naive
17788 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17789 eval 'as_fn_append ()
17800 # as_fn_arith ARG...
17801 # ------------------
17802 # Perform arithmetic evaluation on the ARGs, and store the result in the
17803 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17804 # must be portable across $(()) and expr.
17805 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17806 eval 'as_fn_arith ()
17813 as_val
=`expr "$@" || test $? -eq 1`
17818 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17819 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17825 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17826 as_basename
=basename
17831 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17837 as_me
=`$as_basename -- "$0" ||
17838 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17839 X"$0" : 'X\(//\)$' \| \
17840 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17842 sed '/^.*\/\([^/][^/]*\)\/*$/{
17856 # Avoid depending upon Character Ranges.
17857 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17858 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17859 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17860 as_cr_digits
='0123456789'
17861 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17863 ECHO_C
= ECHO_N
= ECHO_T
=
17864 case `echo -n x` in #(((((
17866 case `echo 'xy\c'` in
17867 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17869 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17876 rm -f conf$$ conf$$.exe conf$$.
file
17877 if test -d conf$$.dir
; then
17878 rm -f conf$$.dir
/conf$$.
file
17881 mkdir conf$$.dir
2>/dev
/null
17883 if (echo >conf$$.
file) 2>/dev
/null
; then
17884 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17886 # ... but there are two gotchas:
17887 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17888 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17889 # In both cases, we have to default to `cp -pR'.
17890 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17892 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17900 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17901 rmdir conf$$.dir
2>/dev
/null
17906 # Create "$as_dir" as a directory, including parents if necessary.
17911 -*) as_dir
=.
/$as_dir;;
17913 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17917 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17918 *) as_qdir
=$as_dir;;
17920 as_dirs
="'$as_qdir' $as_dirs"
17921 as_dir
=`$as_dirname -- "$as_dir" ||
17922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17923 X"$as_dir" : 'X\(//\)[^/]' \| \
17924 X"$as_dir" : 'X\(//\)$' \| \
17925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17926 $as_echo X"$as_dir" |
17927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17931 /^X\(\/\/\)[^/].*/{
17944 test -d "$as_dir" && break
17946 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17947 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17951 if mkdir
-p .
2>/dev
/null
; then
17952 as_mkdir_p
='mkdir -p "$as_dir"'
17954 test -d .
/-p && rmdir .
/-p
17959 # as_fn_executable_p FILE
17960 # -----------------------
17961 # Test if FILE is an executable regular file.
17962 as_fn_executable_p
()
17964 test -f "$1" && test -x "$1"
17965 } # as_fn_executable_p
17966 as_test_x
='test -x'
17967 as_executable_p
=as_fn_executable_p
17969 # Sed expression to map a string onto a valid CPP name.
17970 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17972 # Sed expression to map a string onto a valid variable name.
17973 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17977 ## ----------------------------------- ##
17978 ## Main body of $CONFIG_STATUS script. ##
17979 ## ----------------------------------- ##
17981 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17984 # Save the log message, to keep $0 and so on meaningful, and to
17985 # report actual input values of CONFIG_FILES etc. instead of their
17986 # values after options handling.
17988 This file was extended by Wine $as_me 1.7.5, which was
17989 generated by GNU Autoconf 2.69. Invocation command line was
17991 CONFIG_FILES = $CONFIG_FILES
17992 CONFIG_HEADERS = $CONFIG_HEADERS
17993 CONFIG_LINKS = $CONFIG_LINKS
17994 CONFIG_COMMANDS = $CONFIG_COMMANDS
17997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18002 case $ac_config_files in *"
18003 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18006 case $ac_config_headers in *"
18007 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18012 # Files that config.status was made for.
18013 config_files="$ac_config_files"
18014 config_headers="$ac_config_headers"
18015 config_links="$ac_config_links"
18016 config_commands="$ac_config_commands"
18020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18022 \`$as_me' instantiates files and other configuration actions
18023 from templates according to the current configuration. Unless the files
18024 and actions are specified as TAGs, all are instantiated by default.
18026 Usage: $0 [OPTION]... [TAG]...
18028 -h, --help print this help, then exit
18029 -V, --version print version number and configuration settings, then exit
18030 --config print configuration, then exit
18031 -q, --quiet, --silent
18032 do not print progress messages
18033 -d, --debug don't remove temporary files
18034 --recheck update $as_me by reconfiguring in the same conditions
18035 --file=FILE[:TEMPLATE]
18036 instantiate the configuration file FILE
18037 --header=FILE[:TEMPLATE]
18038 instantiate the configuration header FILE
18040 Configuration files:
18043 Configuration headers:
18046 Configuration links:
18049 Configuration commands:
18052 Report bugs to <wine-devel@winehq.org>.
18053 Wine home page: <http://www.winehq.org>."
18056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18059 Wine config.status 1.7.5
18060 configured by $0, generated by GNU Autoconf 2.69,
18061 with options \\"\$ac_cs_config\\"
18063 Copyright (C) 2012 Free Software Foundation, Inc.
18064 This config.status script is free software; the Free Software Foundation
18065 gives unlimited permission to copy, distribute and modify it."
18071 test -n "\$AWK" || AWK=awk
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18075 # The default lists apply if the user does not specify any file.
18081 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18082 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18086 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18098 # Handling of the options.
18099 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18101 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18102 $as_echo "$ac_cs_version"; exit ;;
18103 --config |
--confi |
--conf |
--con |
--co |
--c )
18104 $as_echo "$ac_cs_config"; exit ;;
18105 --debug |
--debu |
--deb |
--de |
--d |
-d )
18107 --file |
--fil |
--fi |
--f )
18110 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18111 '') as_fn_error $?
"missing file argument" ;;
18113 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18114 ac_need_defaults
=false
;;
18115 --header |
--heade |
--head |
--hea )
18118 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18120 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18121 ac_need_defaults
=false
;;
18123 # Conflict between --help and --header
18124 as_fn_error $?
"ambiguous option: \`$1'
18125 Try \`$0 --help' for more information.";;
18126 --help |
--hel |
-h )
18127 $as_echo "$ac_cs_usage"; exit ;;
18128 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18129 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18132 # This is an error.
18133 -*) as_fn_error $?
"unrecognized option: \`$1'
18134 Try \`$0 --help' for more information." ;;
18136 *) as_fn_append ac_config_targets
" $1"
18137 ac_need_defaults
=false
;;
18143 ac_configure_extra_args
=
18145 if $ac_cs_silent; then
18147 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18152 if \$ac_cs_recheck; then
18153 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18155 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18156 CONFIG_SHELL='$SHELL'
18157 export CONFIG_SHELL
18162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18167 ## Running $as_me. ##
18173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18177 wine_fn_output_makefile ()
18179 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18180 `cat $wine_rules_file`
18182 as_fn_error $? "could not create Makefile" "$LINENO" 5
18187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18189 # Handling of arguments.
18190 for ac_config_target
in $ac_config_targets
18192 case $ac_config_target in
18193 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18194 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18195 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18196 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18197 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18198 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18199 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18200 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18201 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18202 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18203 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18204 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18205 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18206 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18207 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18208 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18209 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18210 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18211 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18212 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18213 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18214 "tools") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools" ;;
18216 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18221 # If the user did not use the arguments to specify the items to instantiate,
18222 # then the envvar interface is used. Set only those that are not.
18223 # We use the long form for the default assignment because of an extremely
18224 # bizarre bug on SunOS 4.1.3.
18225 if $ac_need_defaults; then
18226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18227 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18228 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18229 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18232 # Have a temporary directory for convenience. Make it in the build tree
18233 # simply because there is no reason against having it here, and in addition,
18234 # creating and moving files from /tmp can sometimes cause problems.
18235 # Hook for its removal unless debugging.
18236 # Note that there is a small window in which the directory will not be cleaned:
18237 # after its creation but before its name has been assigned to `$tmp'.
18241 trap 'exit_status=$?
18242 : "${ac_tmp:=$tmp}"
18243 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18245 trap 'as_fn_exit 1' 1 2 13 15
18247 # Create a (secure) tmp directory for tmp files.
18250 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18254 tmp
=.
/conf$$
-$RANDOM
18255 (umask 077 && mkdir
"$tmp")
18256 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18259 # Set up the scripts for CONFIG_FILES section.
18260 # No need to generate them if there are no CONFIG_FILES.
18261 # This happens for instance with `./config.status config.h'.
18262 if test -n "$CONFIG_FILES"; then
18264 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18265 ac_cs_awk_getline
=:
18266 ac_cs_awk_pipe_init
=
18267 ac_cs_awk_read_file
='
18268 while ((getline aline < (F[key])) > 0)
18271 ac_cs_awk_pipe_fini
=
18273 ac_cs_awk_getline
=false
18274 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18275 ac_cs_awk_read_file
='
18277 print "cat " F[key] " &&"
18278 '$ac_cs_awk_pipe_init
18279 # The final `:' finishes the AND list.
18280 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18282 ac_cr
=`echo X | tr X '\015'`
18283 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18284 # But we know of no other shell where ac_cr would be empty at this
18285 # point, so we can use a bashism as a fallback.
18286 if test "x$ac_cr" = x
; then
18287 eval ac_cr
=\$
\'\\r
\'
18289 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18290 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18293 ac_cs_awk_cr
=$ac_cr
18296 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18299 # Create commands to substitute file output variables.
18301 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18302 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18303 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18306 } >conf$
$files.sh
&&
18307 . .
/conf$
$files.sh ||
18308 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18309 rm -f conf$
$files.sh
18312 echo "cat >conf$$subs.awk <<_ACEOF" &&
18313 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18315 } >conf$$subs.sh ||
18316 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18319 for ac_last_try in false false false false false :; do
18320 . ./conf$$subs.sh ||
18321 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18323 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18324 if test $ac_delim_n = $ac_delim_num; then
18326 elif $ac_last_try; then
18327 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18329 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18332 rm -f conf$$subs.sh
18334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18335 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18339 s/^/S["/; s
/!.
*/"]=/
18349 s/\(.\{148\}\)..*/\1/
18351 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18356 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18363 s/\(.\{148\}\)..*/\1/
18365 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18369 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18374 ' <conf$$subs.awk | sed '
18379 ' >>$CONFIG_STATUS || ac_write_fail=1
18380 rm -f conf$$subs.awk
18381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18383 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18384 for (key in S) S_is_set[key] = 1
18386 \$ac_cs_awk_pipe_init
18390 nfields = split(line, field, "@
")
18392 len = length(field[1])
18393 for (i = 2; i < nfields; i++) {
18395 keylen = length(key)
18396 if (S_is_set[key]) {
18398 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18399 len += length(value) + length(field[++i])
18404 if (nfields == 3 && !substed) {
18406 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18407 \$ac_cs_awk_read_file
18413 \$ac_cs_awk_pipe_fini
18416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18417 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18418 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18421 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18422 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18425 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18426 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18427 # trailing colons and then remove the whole line if VPATH becomes empty
18428 # (actually we leave an empty line to preserve line numbers).
18429 if test "x
$srcdir" = x.; then
18430 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18449 fi # test -n "$CONFIG_FILES"
18451 # Set up the scripts for CONFIG_HEADERS section.
18452 # No need to generate them if there are no CONFIG_HEADERS.
18453 # This happens for instance with `./config.status Makefile'.
18454 if test -n "$CONFIG_HEADERS"; then
18455 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18459 # Transform confdefs.h into an awk script `defines.awk', embedded as
18460 # here-document in config.status, that substitutes the proper values into
18461 # config.h.in to produce config.h.
18463 # Create a delimiter string that does not exist in confdefs.h, to ease
18464 # handling of long lines.
18466 for ac_last_try in false false :; do
18467 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18468 if test -z "$ac_tt"; then
18470 elif $ac_last_try; then
18471 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18473 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18477 # For the awk script, D is an array of macro values keyed by name,
18478 # likewise P contains macro parameters if any. Preserve backslash
18479 # newline sequences.
18481 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18483 s/.\{148\}/&'"$ac_delim"'/g
18486 s/^[ ]*#[ ]*define[ ][ ]*/ /
18493 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18495 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18500 D["\
1"]=" \
3\\\\\\n
"\\/p
18502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18507 s/.\{148\}/&'"$ac_delim"'/g
18512 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18515 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18517 ' <confdefs.h | sed '
18518 s/'"$ac_delim"'/"\\\
18519 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18522 for (key in D) D_is_set[key] = 1
18525 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18527 split(line, arg, " ")
18528 if (arg[1] == "#") {
18532 defundef
= substr
(arg
[1], 2)
18535 split(mac1
, mac2
, "(") #)
18537 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18538 if (D_is_set
[macro
]) {
18539 # Preserve the white space surrounding the "#".
18540 print prefix
"define", macro P
[macro
] D
[macro
]
18543 # Replace #undef with comments. This is necessary, for example,
18544 # in the case of _POSIX_SOURCE, which is predefined and required
18545 # on some systems where configure will not decide to define it.
18546 if (defundef
== "undef") {
18547 print
"/*", prefix defundef
, macro
, "*/"
18555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18556 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18557 fi # test -n "$CONFIG_HEADERS"
18560 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18565 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18567 case $ac_mode$ac_tag in
18569 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18570 :[FH
]-) ac_tag
=-:-;;
18571 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18588 -) ac_f
="$ac_tmp/stdin";;
18589 *) # Look for the file first in the build tree, then in the source tree
18590 # (if the path is not absolute). The absolute path cannot be DOS-style,
18591 # because $ac_f cannot contain `:'.
18595 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18597 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18599 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18600 as_fn_append ac_file_inputs
" '$ac_f'"
18603 # Let's still pretend it is `configure' which instantiates (i.e., don't
18604 # use $as_me), people would be surprised to read:
18605 # /* config.h. Generated by config.status. */
18606 configure_input
='Generated from '`
18607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18609 if test x
"$ac_file" != x-
; then
18610 configure_input
="$ac_file. $configure_input"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18612 $as_echo "$as_me: creating $ac_file" >&6;}
18614 # Neutralize special characters interpreted by sed in replacement strings.
18615 case $configure_input in #(
18616 *\
&* |
*\|
* |
*\\* )
18617 ac_sed_conf_input
=`$as_echo "$configure_input" |
18618 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18619 *) ac_sed_conf_input
=$configure_input;;
18623 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18624 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18629 ac_dir
=`$as_dirname -- "$ac_file" ||
18630 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18631 X"$ac_file" : 'X\(//\)[^/]' \| \
18632 X"$ac_file" : 'X\(//\)$' \| \
18633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18634 $as_echo X"$ac_file" |
18635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18639 /^X\(\/\/\)[^/].*/{
18652 as_dir
="$ac_dir"; as_fn_mkdir_p
18656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18658 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18659 # A ".." for each directory in $ac_dir_suffix.
18660 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18661 case $ac_top_builddir_sub in
18662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18666 ac_abs_top_builddir
=$ac_pwd
18667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18668 # for backward compatibility:
18669 ac_top_builddir
=$ac_top_build_prefix
18672 .
) # We are building in place.
18674 ac_top_srcdir
=$ac_top_builddir_sub
18675 ac_abs_top_srcdir
=$ac_pwd ;;
18676 [\\/]* | ?
:[\\/]* ) # Absolute name.
18677 ac_srcdir
=$srcdir$ac_dir_suffix;
18678 ac_top_srcdir
=$srcdir
18679 ac_abs_top_srcdir
=$srcdir ;;
18680 *) # Relative name.
18681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18695 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18696 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18698 ac_MKDIR_P
=$MKDIR_P
18700 [\\/$
]* | ?
:[\\/]* ) ;;
18701 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18706 # If the template does not know about datarootdir, expand it.
18707 # FIXME: This hack should be removed a few years after 2.60.
18708 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18720 *datarootdir
*) ac_datarootdir_seen
=yes;;
18721 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18726 ac_datarootdir_hack='
18727 s&@datadir@&$datadir&g
18728 s&@docdir@&$docdir&g
18729 s&@infodir@&$infodir&g
18730 s&@localedir@&$localedir&g
18731 s&@mandir@&$mandir&g
18732 s&\\\${datarootdir}&$datarootdir&g' ;;
18736 # Neutralize VPATH when `$srcdir' = `.'.
18737 # Shell code in configure.ac might set extrasub.
18738 # FIXME: do we really want to maintain this feature?
18739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18740 ac_sed_extra="$ac_vpsub
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18745 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18746 s|@configure_input@|
$ac_sed_conf_input|
;t t
18747 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18748 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18749 s
&@srcdir@
&$ac_srcdir&;t t
18750 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18751 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18752 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18753 s
&@builddir@
&$ac_builddir&;t t
18754 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18755 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18756 s
&@INSTALL@
&$ac_INSTALL&;t t
18757 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18758 $ac_datarootdir_hack
18760 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18761 if $ac_cs_awk_getline; then
18762 $AWK -f "$ac_tmp/subs.
awk"
18764 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18766 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18771 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18773 which seems to be undefined. Please make sure it is defined" >&5
18774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18775 which seems to be undefined. Please make sure it is defined" >&2;}
18777 rm -f "$ac_tmp/stdin"
18779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18788 if test x"$ac_file" != x-; then
18790 $as_echo "/* $configure_input */" \
18791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18792 } >"$ac_tmp/config.h" \
18793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18799 mv "$ac_tmp/config.h" "$ac_file" \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18803 $as_echo "/* $configure_input */" \
18804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18805 || as_fn_error $? "could not create -" "$LINENO" 5
18813 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18816 # Prefer the file from the source tree if names are identical.
18817 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18818 ac_source=$srcdir/$ac_source
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18822 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18824 if test ! -r "$ac_source"; then
18825 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18829 # Try a relative symlink, then a hard link, then a copy.
18831 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18832 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18834 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18835 ln "$ac_source" "$ac_file" 2>/dev/null ||
18836 cp -p "$ac_source" "$ac_file" ||
18837 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18840 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18841 $as_echo "$as_me: executing $ac_file commands" >&6;}
18846 case $ac_file$ac_mode in
18847 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18848 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18849 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18850 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18851 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18852 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18853 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18854 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18855 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18856 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18857 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18858 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18859 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18860 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18861 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18862 "Makefile":C) wine_fn_output_makefile Makefile ;;
18863 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
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.