2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.3'
584 PACKAGE_STRING
='Wine 1.7.3'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
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
914 enable_d3dcompiler_33
915 enable_d3dcompiler_34
916 enable_d3dcompiler_35
917 enable_d3dcompiler_36
918 enable_d3dcompiler_37
919 enable_d3dcompiler_38
920 enable_d3dcompiler_39
921 enable_d3dcompiler_40
922 enable_d3dcompiler_41
923 enable_d3dcompiler_42
924 enable_d3dcompiler_43
1136 enable_photometadatahandler
1214 enable_windowscodecs
1215 enable_windowscodecsext
1217 enable_winecoreaudio_drv
1219 enable_winegstreamer
1220 enable_winejoystick_drv
1226 enable_wineqtdecoder
1261 enable_documentation
1268 enable_aspnet_regiis
1300 enable_presentationfontcache
1312 enable_servicemodelreg
1331 enable_winemenubuilder
1333 enable_winemsibuilder
1347 ac_precious_vars
='build_alias
1394 # Initialize some variables set by options.
1396 ac_init_version
=false
1397 ac_unrecognized_opts
=
1398 ac_unrecognized_sep
=
1399 # The variables have the same names as the options, with
1400 # dashes changed to underlines.
1401 cache_file
=/dev
/null
1408 program_transform_name
=s
,x
,x
,
1416 # Installation directory options.
1417 # These are left unexpanded so users can "make install exec_prefix=/foo"
1418 # and all the variables that are supposed to be based on exec_prefix
1419 # by default will actually change.
1420 # Use braces instead of parens because sh, perl, etc. also accept them.
1421 # (The list follows the same order as the GNU Coding Standards.)
1422 bindir
='${exec_prefix}/bin'
1423 sbindir
='${exec_prefix}/sbin'
1424 libexecdir
='${exec_prefix}/libexec'
1425 datarootdir
='${prefix}/share'
1426 datadir
='${datarootdir}'
1427 sysconfdir
='${prefix}/etc'
1428 sharedstatedir
='${prefix}/com'
1429 localstatedir
='${prefix}/var'
1430 includedir
='${prefix}/include'
1431 oldincludedir
='/usr/include'
1432 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1433 infodir
='${datarootdir}/info'
1438 libdir
='${exec_prefix}/lib'
1439 localedir
='${datarootdir}/locale'
1440 mandir
='${datarootdir}/man'
1446 # If the previous option needs an argument, assign it.
1447 if test -n "$ac_prev"; then
1448 eval $ac_prev=\
$ac_option
1454 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1459 # Accept the important Cygnus configure options, so we can diagnose typos.
1461 case $ac_dashdash$ac_option in
1465 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1467 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1468 bindir
=$ac_optarg ;;
1470 -build |
--build |
--buil |
--bui |
--bu)
1471 ac_prev
=build_alias
;;
1472 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1473 build_alias
=$ac_optarg ;;
1475 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1476 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1477 ac_prev
=cache_file
;;
1478 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1479 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1480 cache_file
=$ac_optarg ;;
1482 --config-cache |
-C)
1483 cache_file
=config.cache
;;
1485 -datadir |
--datadir |
--datadi |
--datad)
1487 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1488 datadir
=$ac_optarg ;;
1490 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1491 |
--dataroo |
--dataro |
--datar)
1492 ac_prev
=datarootdir
;;
1493 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1494 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1495 datarootdir
=$ac_optarg ;;
1497 -disable-* |
--disable-*)
1498 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1499 # Reject names that are not valid shell variable names.
1500 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1501 as_fn_error $?
"invalid feature name: $ac_useropt"
1502 ac_useropt_orig
=$ac_useropt
1503 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1504 case $ac_user_opts in
1506 "enable_
$ac_useropt"
1508 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1509 ac_unrecognized_sep
=', ';;
1511 eval enable_
$ac_useropt=no
;;
1513 -docdir |
--docdir |
--docdi |
--doc |
--do)
1515 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1516 docdir
=$ac_optarg ;;
1518 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1520 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1521 dvidir
=$ac_optarg ;;
1523 -enable-* |
--enable-*)
1524 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1525 # Reject names that are not valid shell variable names.
1526 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1527 as_fn_error $?
"invalid feature name: $ac_useropt"
1528 ac_useropt_orig
=$ac_useropt
1529 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1530 case $ac_user_opts in
1532 "enable_
$ac_useropt"
1534 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1535 ac_unrecognized_sep
=', ';;
1537 eval enable_
$ac_useropt=\
$ac_optarg ;;
1539 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1540 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1541 |
--exec |
--exe |
--ex)
1542 ac_prev
=exec_prefix
;;
1543 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1544 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1545 |
--exec=* |
--exe=* |
--ex=*)
1546 exec_prefix
=$ac_optarg ;;
1548 -gas |
--gas |
--ga |
--g)
1549 # Obsolete; use --with-gas.
1552 -help |
--help |
--hel |
--he |
-h)
1553 ac_init_help
=long
;;
1554 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1555 ac_init_help
=recursive
;;
1556 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1557 ac_init_help
=short
;;
1559 -host |
--host |
--hos |
--ho)
1560 ac_prev
=host_alias
;;
1561 -host=* |
--host=* |
--hos=* |
--ho=*)
1562 host_alias
=$ac_optarg ;;
1564 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1566 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1568 htmldir
=$ac_optarg ;;
1570 -includedir |
--includedir |
--includedi |
--included |
--include \
1571 |
--includ |
--inclu |
--incl |
--inc)
1572 ac_prev
=includedir
;;
1573 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1574 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1575 includedir
=$ac_optarg ;;
1577 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1579 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1580 infodir
=$ac_optarg ;;
1582 -libdir |
--libdir |
--libdi |
--libd)
1584 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1585 libdir
=$ac_optarg ;;
1587 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1588 |
--libexe |
--libex |
--libe)
1589 ac_prev
=libexecdir
;;
1590 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1591 |
--libexe=* |
--libex=* |
--libe=*)
1592 libexecdir
=$ac_optarg ;;
1594 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1595 ac_prev
=localedir
;;
1596 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1597 localedir
=$ac_optarg ;;
1599 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1600 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1601 ac_prev
=localstatedir
;;
1602 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1603 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1604 localstatedir
=$ac_optarg ;;
1606 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1608 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1609 mandir
=$ac_optarg ;;
1611 -nfp |
--nfp |
--nf)
1612 # Obsolete; use --without-fp.
1615 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1616 |
--no-cr |
--no-c |
-n)
1619 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1620 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1623 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1624 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1625 |
--oldin |
--oldi |
--old |
--ol |
--o)
1626 ac_prev
=oldincludedir
;;
1627 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1628 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1629 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1630 oldincludedir
=$ac_optarg ;;
1632 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1634 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1635 prefix
=$ac_optarg ;;
1637 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1638 |
--program-pre |
--program-pr |
--program-p)
1639 ac_prev
=program_prefix
;;
1640 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1641 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1642 program_prefix
=$ac_optarg ;;
1644 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1645 |
--program-suf |
--program-su |
--program-s)
1646 ac_prev
=program_suffix
;;
1647 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1648 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1649 program_suffix
=$ac_optarg ;;
1651 -program-transform-name |
--program-transform-name \
1652 |
--program-transform-nam |
--program-transform-na \
1653 |
--program-transform-n |
--program-transform- \
1654 |
--program-transform |
--program-transfor \
1655 |
--program-transfo |
--program-transf \
1656 |
--program-trans |
--program-tran \
1657 |
--progr-tra |
--program-tr |
--program-t)
1658 ac_prev
=program_transform_name
;;
1659 -program-transform-name=* |
--program-transform-name=* \
1660 |
--program-transform-nam=* |
--program-transform-na=* \
1661 |
--program-transform-n=* |
--program-transform-=* \
1662 |
--program-transform=* |
--program-transfor=* \
1663 |
--program-transfo=* |
--program-transf=* \
1664 |
--program-trans=* |
--program-tran=* \
1665 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1666 program_transform_name
=$ac_optarg ;;
1668 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1670 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1671 pdfdir
=$ac_optarg ;;
1673 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1675 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1678 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1679 |
-silent |
--silent |
--silen |
--sile |
--sil)
1682 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1684 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1686 sbindir
=$ac_optarg ;;
1688 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1689 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1690 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1692 ac_prev
=sharedstatedir
;;
1693 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1694 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1695 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1697 sharedstatedir
=$ac_optarg ;;
1699 -site |
--site |
--sit)
1701 -site=* |
--site=* |
--sit=*)
1704 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1706 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1707 srcdir
=$ac_optarg ;;
1709 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1710 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1711 ac_prev
=sysconfdir
;;
1712 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1713 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1714 sysconfdir
=$ac_optarg ;;
1716 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1717 ac_prev
=target_alias
;;
1718 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1719 target_alias
=$ac_optarg ;;
1721 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1724 -version |
--version |
--versio |
--versi |
--vers |
-V)
1725 ac_init_version
=: ;;
1728 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1729 # Reject names that are not valid shell variable names.
1730 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1731 as_fn_error $?
"invalid package name: $ac_useropt"
1732 ac_useropt_orig
=$ac_useropt
1733 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1734 case $ac_user_opts in
1738 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1739 ac_unrecognized_sep
=', ';;
1741 eval with_
$ac_useropt=\
$ac_optarg ;;
1743 -without-* |
--without-*)
1744 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1745 # Reject names that are not valid shell variable names.
1746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1747 as_fn_error $?
"invalid package name: $ac_useropt"
1748 ac_useropt_orig
=$ac_useropt
1749 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1750 case $ac_user_opts in
1754 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1755 ac_unrecognized_sep
=', ';;
1757 eval with_
$ac_useropt=no
;;
1760 # Obsolete; use --with-x.
1763 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1764 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1765 ac_prev
=x_includes
;;
1766 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1767 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1768 x_includes
=$ac_optarg ;;
1770 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1771 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1772 ac_prev
=x_libraries
;;
1773 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1774 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1775 x_libraries
=$ac_optarg ;;
1777 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1778 Try \`$0 --help' for more information"
1782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1783 # Reject names that are not valid shell variable names.
1784 case $ac_envvar in #(
1785 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1786 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1788 eval $ac_envvar=\
$ac_optarg
1789 export $ac_envvar ;;
1792 # FIXME: should be removed in autoconf 3.0.
1793 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1795 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1796 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1802 if test -n "$ac_prev"; then
1803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1804 as_fn_error $?
"missing argument to $ac_option"
1807 if test -n "$ac_unrecognized_opts"; then
1808 case $enable_option_checking in
1810 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1811 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1815 # Check all directory arguments for consistency.
1816 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1817 datadir sysconfdir sharedstatedir localstatedir includedir \
1818 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1819 libdir localedir mandir
1821 eval ac_val
=\$
$ac_var
1822 # Remove trailing slashes.
1825 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1826 eval $ac_var=\
$ac_val;;
1828 # Be sure to have absolute directory names.
1830 [\\/$
]* | ?
:[\\/]* ) continue;;
1831 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1833 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1836 # There might be people who depend on the old broken behavior: `$host'
1837 # used to hold the argument of --host etc.
1838 # FIXME: To remove some day.
1841 target
=$target_alias
1843 # FIXME: To remove some day.
1844 if test "x$host_alias" != x
; then
1845 if test "x$build_alias" = x
; then
1846 cross_compiling
=maybe
1847 elif test "x$build_alias" != "x$host_alias"; then
1853 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1855 test "$silent" = yes && exec 6>/dev
/null
1858 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1859 ac_ls_di
=`ls -di .` &&
1860 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1861 as_fn_error $?
"working directory cannot be determined"
1862 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1863 as_fn_error $?
"pwd does not report name of working directory"
1866 # Find the source files, if location was not specified.
1867 if test -z "$srcdir"; then
1868 ac_srcdir_defaulted
=yes
1869 # Try the directory containing this script, then the parent directory.
1870 ac_confdir
=`$as_dirname -- "$as_myself" ||
1871 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1872 X"$as_myself" : 'X\(//\)[^/]' \| \
1873 X"$as_myself" : 'X\(//\)$' \| \
1874 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1875 $as_echo X"$as_myself" |
1876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1894 if test ! -r "$srcdir/$ac_unique_file"; then
1898 ac_srcdir_defaulted
=no
1900 if test ! -r "$srcdir/$ac_unique_file"; then
1901 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1902 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1904 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1906 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1908 # When building in place, set srcdir=.
1909 if test "$ac_abs_confdir" = "$ac_pwd"; then
1912 # Remove unnecessary trailing slashes from srcdir.
1913 # Double slashes in file names in object file debugging info
1914 # mess up M-x gdb in Emacs.
1916 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1918 for ac_var
in $ac_precious_vars; do
1919 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1920 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1921 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1922 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1926 # Report the --help message.
1928 if test "$ac_init_help" = "long"; then
1929 # Omit some internal or obsolete options to make the list less imposing.
1930 # This message is too long to be a string in the A/UX 3.1 sh.
1932 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1934 Usage: $0 [OPTION]... [VAR=VALUE]...
1936 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1937 VAR=VALUE. See below for descriptions of some of the useful variables.
1939 Defaults for the options are specified in brackets.
1942 -h, --help display this help and exit
1943 --help=short display options specific to this package
1944 --help=recursive display the short help of all the included packages
1945 -V, --version display version information and exit
1946 -q, --quiet, --silent do not print \`checking ...' messages
1947 --cache-file=FILE cache test results in FILE [disabled]
1948 -C, --config-cache alias for \`--cache-file=config.cache'
1949 -n, --no-create do not create output files
1950 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1952 Installation directories:
1953 --prefix=PREFIX install architecture-independent files in PREFIX
1954 [$ac_default_prefix]
1955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1958 By default, \`make install' will install all the files in
1959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1961 for instance \`--prefix=\$HOME'.
1963 For better control, use the options below.
1965 Fine tuning of the installation directories:
1966 --bindir=DIR user executables [EPREFIX/bin]
1967 --sbindir=DIR system admin executables [EPREFIX/sbin]
1968 --libexecdir=DIR program executables [EPREFIX/libexec]
1969 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1970 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1971 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1972 --libdir=DIR object code libraries [EPREFIX/lib]
1973 --includedir=DIR C header files [PREFIX/include]
1974 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1975 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1976 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1977 --infodir=DIR info documentation [DATAROOTDIR/info]
1978 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1979 --mandir=DIR man documentation [DATAROOTDIR/man]
1980 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1981 --htmldir=DIR html documentation [DOCDIR]
1982 --dvidir=DIR dvi documentation [DOCDIR]
1983 --pdfdir=DIR pdf documentation [DOCDIR]
1984 --psdir=DIR ps documentation [DOCDIR]
1990 --x-includes=DIR X include files are
in DIR
1991 --x-libraries=DIR X library files are
in DIR
1994 --build=BUILD configure
for building on BUILD
[guessed
]
1995 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1999 if test -n "$ac_init_help"; then
2000 case $ac_init_help in
2001 short | recursive
) echo "Configuration of Wine 1.7.3:";;
2006 --disable-option-checking ignore unrecognized
--enable/--with options
2007 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2008 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2009 --disable-win16 do not include Win16 support
2010 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2012 --disable-tests do not build the regression tests
2013 --enable-maintainer-mode
2014 enable maintainer-specific build rules
2015 --disable-largefile omit support for large files
2018 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2019 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2020 --without-alsa do not use the Alsa sound support
2021 --without-capi do not use CAPI (ISDN support)
2022 --without-cms do not use CMS (color management support)
2023 --without-coreaudio do not use the CoreAudio sound support
2024 --without-cups do not use CUPS
2025 --without-curses do not use (n)curses
2026 --without-dbus do not use DBus (dynamic device support)
2027 --without-fontconfig do not use fontconfig
2028 --without-freetype do not use the FreeType library
2029 --without-gettext do not use gettext
2030 --with-gettextpo use the GetTextPO library to rebuild po files
2031 --without-gphoto do not use gphoto (Digital Camera support)
2032 --without-glu do not use the GLU library
2033 --without-gnutls do not use GnuTLS (schannel support)
2034 --without-gsm do not use libgsm (GSM 06.10 codec support)
2035 --without-gstreamer do not use GStreamer (codecs support)
2036 --without-hal do not use HAL (dynamic device support)
2037 --without-jpeg do not use JPEG
2038 --without-ldap do not use LDAP
2039 --without-mpg123 do not use the mpg123 library
2040 --without-openal do not use OpenAL
2041 --without-opencl do not use OpenCL
2042 --without-opengl do not use OpenGL
2043 --without-osmesa do not use the OSMesa library
2044 --without-oss do not use the OSS sound support
2045 --without-png do not use PNG
2046 --without-pthread do not use the pthread library
2047 --without-sane do not use SANE (scanner support)
2048 --without-tiff do not use TIFF
2049 --without-v4l do not use v4l1 (v4l support)
2050 --without-xcomposite do not use the Xcomposite extension
2051 --without-xcursor do not use the Xcursor extension
2052 --without-xinerama do not use Xinerama (multi-monitor support)
2053 --without-xinput do not use the Xinput extension
2054 --without-xinput2 do not use the Xinput 2 extension
2055 --without-xml do not use XML
2056 --without-xrandr do not use Xrandr (resolution changes)
2057 --without-xrender do not use the Xrender extension
2058 --without-xshape do not use the Xshape extension
2059 --without-xshm do not use XShm (shared memory extension)
2060 --without-xslt do not use XSLT
2061 --without-xxf86vm do not use XFree video mode extension
2062 --without-zlib do not use Zlib (data compression)
2063 --with-wine-tools=DIR use Wine tools from directory DIR
2064 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2065 --with-x use the X Window System
2067 Some influential environment variables:
2068 CC C compiler command
2069 CFLAGS C compiler flags
2070 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2071 nonstandard directory <lib dir>
2072 LIBS libraries to pass to the linker, e.g. -l<library>
2073 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2074 you have headers in a nonstandard directory <include dir>
2075 CXX C++ compiler command
2076 CXXFLAGS C++ compiler flags
2078 XMKMF Path to xmkmf, Makefile generator for X Window System
2079 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2080 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2081 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2082 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2083 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2084 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2085 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2086 HAL_LIBS Linker flags for hal, overriding pkg-config
2088 C compiler flags for gnutls, overriding pkg-config
2089 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2090 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2091 SANE_LIBS Linker flags for libsane, overriding pkg-config
2093 C compiler flags for libgphoto2, overriding pkg-config
2095 Linker flags for libgphoto2, overriding pkg-config
2097 C compiler flags for libgphoto2_port, overriding pkg-config
2099 Linker flags for libgphoto2_port, overriding pkg-config
2101 C compiler flags for lcms2, overriding pkg-config
2102 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2104 C compiler flags for freetype2, overriding pkg-config
2106 Linker flags for freetype2, overriding pkg-config
2108 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2110 Linker flags for gstreamer-app-0.10, overriding pkg-config
2112 C compiler flags for capi20, overriding pkg-config
2113 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2114 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2115 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2116 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2117 PNG_LIBS Linker flags for libpng, overriding pkg-config
2118 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2119 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2121 C compiler flags for libmpg123, overriding pkg-config
2122 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2124 Use these variables to override the choices made by `configure' or to
help
2125 it to
find libraries and programs with nonstandard names
/locations.
2127 Report bugs to
<wine-devel@winehq.org
>.
2128 Wine home page
: <http
://www.winehq.org
>.
2133 if test "$ac_init_help" = "recursive"; then
2134 # If there are subdirs, report their specific --help.
2135 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2136 test -d "$ac_dir" ||
2137 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2142 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2144 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2145 # A ".." for each directory in $ac_dir_suffix.
2146 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2147 case $ac_top_builddir_sub in
2148 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2149 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2152 ac_abs_top_builddir
=$ac_pwd
2153 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2154 # for backward compatibility:
2155 ac_top_builddir
=$ac_top_build_prefix
2158 .
) # We are building in place.
2160 ac_top_srcdir
=$ac_top_builddir_sub
2161 ac_abs_top_srcdir
=$ac_pwd ;;
2162 [\\/]* | ?
:[\\/]* ) # Absolute name.
2163 ac_srcdir
=$srcdir$ac_dir_suffix;
2164 ac_top_srcdir
=$srcdir
2165 ac_abs_top_srcdir
=$srcdir ;;
2167 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2168 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2169 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2171 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2173 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2174 # Check for guested configure.
2175 if test -f "$ac_srcdir/configure.gnu"; then
2177 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2178 elif test -f "$ac_srcdir/configure"; then
2180 $SHELL "$ac_srcdir/configure" --help=recursive
2182 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2184 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2188 test -n "$ac_init_help" && exit $ac_status
2189 if $ac_init_version; then
2191 Wine configure
1.7.3
2192 generated by GNU Autoconf
2.69
2194 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2195 This configure
script is free software
; the Free Software Foundation
2196 gives unlimited permission to copy
, distribute and modify it.
2201 ## ------------------------ ##
2202 ## Autoconf initialization. ##
2203 ## ------------------------ ##
2205 # ac_fn_c_try_compile LINENO
2206 # --------------------------
2207 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2208 ac_fn_c_try_compile
()
2210 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2211 rm -f conftest.
$ac_objext
2212 if { { ac_try
="$ac_compile"
2214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compile") 2>conftest.err
2221 if test -s conftest.err; then
2222 grep -v '^ *+' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2224 mv -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; } && {
2228 test -z "$ac_c_werror_flag" ||
2229 test ! -s conftest.err
2230 } && test -s conftest.$ac_objext; then :
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 as_fn_set_status $ac_retval
2241 } # ac_fn_c_try_compile
2243 # ac_fn_cxx_try_compile LINENO
2244 # ----------------------------
2245 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2246 ac_fn_cxx_try_compile ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 rm -f conftest.$ac_objext
2250 if { { ac_try="$ac_compile"
2252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2253 *) ac_try_echo
=$ac_try;;
2255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256 $as_echo "$ac_try_echo"; } >&5
2257 (eval "$ac_compile") 2>conftest.err
2259 if test -s conftest.err
; then
2260 grep -v '^ *+' conftest.err
>conftest.er1
2261 cat conftest.er1
>&5
2262 mv -f conftest.er1 conftest.err
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; } && {
2266 test -z "$ac_cxx_werror_flag" ||
2267 test ! -s conftest.err
2268 } && test -s conftest.
$ac_objext; then :
2271 $as_echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.
$ac_ext >&5
2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2277 as_fn_set_status
$ac_retval
2279 } # ac_fn_cxx_try_compile
2281 # ac_fn_c_try_link LINENO
2282 # -----------------------
2283 # Try to link conftest.$ac_ext, and return whether this succeeded.
2286 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2287 rm -f conftest.
$ac_objext conftest
$ac_exeext
2288 if { { ac_try
="$ac_link"
2290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>conftest.err
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest$ac_exeext && {
2307 test "$cross_compiling" = yes ||
2308 test -x conftest$ac_exeext
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2317 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2318 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2319 # interfere with the next link command; also delete a directory that is
2320 # left behind by Apple's compiler. We do this before executing the actions.
2321 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_try_link
2327 # ac_fn_c_try_cpp LINENO
2328 # ----------------------
2329 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2336 *) ac_try_echo
=$ac_try;;
2338 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342 if test -s conftest.err
; then
2343 grep -v '^ *+' conftest.err
>conftest.er1
2344 cat conftest.er1
>&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } > conftest.i
&& {
2349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status
$ac_retval
2364 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2365 # -------------------------------------------------------
2366 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2367 # the include files in INCLUDES and setting the cache variable VAR
2369 ac_fn_c_check_header_mongrel
()
2371 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2372 if eval \
${$3+:} false
; then :
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2374 $as_echo_n "checking for $2... " >&6; }
2375 if eval \
${$3+:} false
; then :
2376 $as_echo_n "(cached) " >&6
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2380 $as_echo "$ac_res" >&6; }
2382 # Is the header compilable?
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2384 $as_echo_n "checking $2 usability... " >&6; }
2385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2390 if ac_fn_c_try_compile
"$LINENO"; then :
2391 ac_header_compiler
=yes
2393 ac_header_compiler
=no
2395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2397 $as_echo "$ac_header_compiler" >&6; }
2399 # Is the header present?
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2401 $as_echo_n "checking $2 presence... " >&6; }
2402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2406 if ac_fn_c_try_cpp
"$LINENO"; then :
2407 ac_header_preproc
=yes
2409 ac_header_preproc
=no
2411 rm -f conftest.err conftest.i conftest.
$ac_ext
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2413 $as_echo "$ac_header_preproc" >&6; }
2415 # So? What about this header?
2416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2419 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2425 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2427 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2429 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2431 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2433 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2434 ( $as_echo "## ------------------------------------ ##
2435 ## Report this to wine-devel@winehq.org ##
2436 ## ------------------------------------ ##"
2437 ) |
sed "s/^/$as_me: WARNING: /" >&2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2441 $as_echo_n "checking for $2... " >&6; }
2442 if eval \
${$3+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 eval "$3=\$ac_header_compiler"
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 } # ac_fn_c_check_header_mongrel
2455 # ac_fn_c_try_run LINENO
2456 # ----------------------
2457 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2458 # that executables *can* be run.
2461 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2462 if { { ac_try
="$ac_link"
2464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link") 2>&5
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2473 { { case "(($ac_try" in
2474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2475 *) ac_try_echo
=$ac_try;;
2477 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_try") 2>&5
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; }; }; then :
2485 $as_echo "$as_me: program exited with status $ac_status" >&5
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2489 ac_retval
=$ac_status
2491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 as_fn_set_status
$ac_retval
2497 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2498 # -------------------------------------------------------
2499 # Tests whether HEADER exists and can be compiled using the include files in
2500 # INCLUDES, setting the cache variable VAR accordingly.
2501 ac_fn_c_check_header_compile
()
2503 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2505 $as_echo_n "checking for $2... " >&6; }
2506 if eval \
${$3+:} false
; then :
2507 $as_echo_n "(cached) " >&6
2509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2510 /* end confdefs.h. */
2514 if ac_fn_c_try_compile
"$LINENO"; then :
2519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2523 $as_echo "$ac_res" >&6; }
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2526 } # ac_fn_c_check_header_compile
2528 # ac_fn_c_check_func LINENO FUNC VAR
2529 # ----------------------------------
2530 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2531 ac_fn_c_check_func
()
2533 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \
${$3+:} false
; then :
2537 $as_echo_n "(cached) " >&6
2539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2541 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2543 #define $2 innocuous_$2
2545 /* System header to define __stub macros and hopefully few prototypes,
2546 which can conflict with char $2 (); below.
2547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2548 <limits.h> exists even on freestanding compilers. */
2551 # include <limits.h>
2553 # include <assert.h>
2558 /* Override any GCC internal prototype to avoid an error.
2559 Use char because int might match the return type of a GCC
2560 builtin and then its argument prototype would still apply. */
2565 /* The GNU C library defines this for functions which it implements
2566 to always fail with ENOSYS. Some functions are actually named
2567 something starting with __ and the normal name is an alias. */
2568 #if defined __stub_$2 || defined __stub___$2
2580 if ac_fn_c_try_link
"$LINENO"; then :
2585 rm -f core conftest.err conftest.
$ac_objext \
2586 conftest
$ac_exeext conftest.
$ac_ext
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2590 $as_echo "$ac_res" >&6; }
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 } # ac_fn_c_check_func
2595 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2596 # ----------------------------------------------------
2597 # Tries to find if the field MEMBER exists in type AGGR, after including
2598 # INCLUDES, setting cache variable VAR accordingly.
2599 ac_fn_c_check_member
()
2601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2603 $as_echo_n "checking for $2.$3... " >&6; }
2604 if eval \
${$4+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2620 if ac_fn_c_try_compile
"$LINENO"; then :
2623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2630 if (sizeof ac_aggr.$3)
2636 if ac_fn_c_try_compile
"$LINENO"; then :
2641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2647 $as_echo "$ac_res" >&6; }
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 } # ac_fn_c_check_member
2652 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2653 # -------------------------------------------
2654 # Tests whether TYPE exists after having included INCLUDES, setting cache
2655 # variable VAR accordingly.
2656 ac_fn_c_check_type
()
2658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2660 $as_echo_n "checking for $2... " >&6; }
2661 if eval \
${$3+:} false
; then :
2662 $as_echo_n "(cached) " >&6
2665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2677 if ac_fn_c_try_compile
"$LINENO"; then :
2678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2690 if ac_fn_c_try_compile
"$LINENO"; then :
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_type
2705 cat >config.log
<<_ACEOF
2706 This file contains any messages produced by compilers while
2707 running configure, to aid debugging if configure makes a mistake.
2709 It was created by Wine $as_me 1.7.3, which was
2710 generated by GNU Autoconf 2.69. Invocation command line was
2722 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2723 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2724 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2725 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2726 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2728 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2729 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2731 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2732 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2733 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2734 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2735 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2737 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 $as_echo "PATH: $as_dir"
2762 # Keep a trace of the command line.
2763 # Strip out --no-create and --no-recursion so they do not pile up.
2764 # Strip out --silent because we don't want to record it for future runs.
2765 # Also quote any args containing shell meta-characters.
2766 # Make two passes to allow for proper duplicate-argument suppression.
2770 ac_must_keep_next
=false
2776 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2777 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2778 |
-silent |
--silent |
--silen |
--sile |
--sil)
2781 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2784 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2786 as_fn_append ac_configure_args1
" '$ac_arg'"
2787 if test $ac_must_keep_next = true
; then
2788 ac_must_keep_next
=false
# Got value, back to normal.
2791 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2792 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2793 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2794 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2795 case "$ac_configure_args0 " in
2796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2799 -* ) ac_must_keep_next
=true
;;
2802 as_fn_append ac_configure_args
" '$ac_arg'"
2807 { ac_configure_args0
=; unset ac_configure_args0
;}
2808 { ac_configure_args1
=; unset ac_configure_args1
;}
2810 # When interrupted or exit'd, cleanup temporary files, and complete
2811 # config.log. We remove comments because anyway the quotes in there
2812 # would cause problems or look ugly.
2813 # WARNING: Use '\'' to represent an apostrophe within the trap.
2814 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2815 trap 'exit_status=$?
2816 # Save into config.log some information that might help in debugging.
2820 $as_echo "## ---------------- ##
2821 ## Cache variables. ##
2822 ## ---------------- ##"
2824 # The following way of writing the cache mishandles newlines in values,
2826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2827 eval ac_val=\$$ac_var
2831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2835 _ | IFS | as_nl) ;; #(
2836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2837 *) { eval $ac_var=; unset $ac_var;} ;;
2842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2843 *${as_nl}ac_space=\ *)
2845 "s/'\''/'\''\\\\'\'''\''/g;
2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2856 $as_echo "## ----------------- ##
2857 ## Output variables. ##
2858 ## ----------------- ##"
2860 for ac_var in $ac_subst_vars
2862 eval ac_val=\$$ac_var
2864 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2866 $as_echo "$ac_var='\''$ac_val'\''"
2870 if test -n "$ac_subst_files"; then
2871 $as_echo "## ------------------- ##
2872 ## File substitutions. ##
2873 ## ------------------- ##"
2875 for ac_var
in $ac_subst_files
2877 eval ac_val
=\$
$ac_var
2879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2881 $as_echo "$ac_var='\''$ac_val'\''"
2886 if test -s confdefs.h; then
2887 $as_echo "## ----------- ##
2894 test "$ac_signal" != 0 &&
2895 $as_echo "$as_me: caught signal $ac_signal"
2896 $as_echo "$as_me: exit $exit_status"
2898 rm -f core *.core core.conftest.* &&
2899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2902 for ac_signal
in 1 2 13 15; do
2903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2908 rm -f -r conftest
* confdefs.h
2910 $as_echo "/* confdefs.h */" > confdefs.h
2912 # Predefined preprocessor variables.
2914 cat >>confdefs.h
<<_ACEOF
2915 #define PACKAGE_NAME "$PACKAGE_NAME"
2918 cat >>confdefs.h
<<_ACEOF
2919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2922 cat >>confdefs.h
<<_ACEOF
2923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2926 cat >>confdefs.h
<<_ACEOF
2927 #define PACKAGE_STRING "$PACKAGE_STRING"
2930 cat >>confdefs.h
<<_ACEOF
2931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2934 cat >>confdefs.h
<<_ACEOF
2935 #define PACKAGE_URL "$PACKAGE_URL"
2939 # Let the site file select an alternate cache file if it wants to.
2940 # Prefer an explicitly selected file to automatically selected ones.
2943 if test -n "$CONFIG_SITE"; then
2944 # We do not want a PATH search for config.site.
2945 case $CONFIG_SITE in #((
2946 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2947 */*) ac_site_file1
=$CONFIG_SITE;;
2948 *) ac_site_file1
=.
/$CONFIG_SITE;;
2950 elif test "x$prefix" != xNONE
; then
2951 ac_site_file1
=$prefix/share
/config.site
2952 ac_site_file2
=$prefix/etc
/config.site
2954 ac_site_file1
=$ac_default_prefix/share
/config.site
2955 ac_site_file2
=$ac_default_prefix/etc
/config.site
2957 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2959 test "x$ac_site_file" = xNONE
&& continue
2960 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2963 sed 's/^/| /' "$ac_site_file" >&5
2965 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error $?
"failed to load site script $ac_site_file
2968 See \`config.log' for more details" "$LINENO" 5; }
2972 if test -r "$cache_file"; then
2973 # Some versions of bash will fail to source /dev/null (special files
2974 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2975 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2977 $as_echo "$as_me: loading cache $cache_file" >&6;}
2979 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2980 *) .
"./$cache_file";;
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2985 $as_echo "$as_me: creating cache $cache_file" >&6;}
2989 # Check that the precious variables saved in the cache have kept the same
2991 ac_cache_corrupted
=false
2992 for ac_var
in $ac_precious_vars; do
2993 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2994 eval ac_new_set
=\
$ac_env_${ac_var}_set
2995 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2996 eval ac_new_val
=\
$ac_env_${ac_var}_value
2997 case $ac_old_set,$ac_new_set in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3000 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3001 ac_cache_corrupted
=: ;;
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3005 ac_cache_corrupted
=: ;;
3008 if test "x$ac_old_val" != "x$ac_new_val"; then
3009 # differences in whitespace do not lead to failure.
3010 ac_old_val_w
=`echo x $ac_old_val`
3011 ac_new_val_w
=`echo x $ac_new_val`
3012 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3014 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3015 ac_cache_corrupted
=:
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3018 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3019 eval $ac_var=\
$ac_old_val
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3022 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3024 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3027 # Pass precious variables to config.status.
3028 if test "$ac_new_set" = set; then
3030 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3031 *) ac_arg
=$ac_var=$ac_new_val ;;
3033 case " $ac_configure_args " in
3034 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3035 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3039 if $ac_cache_corrupted; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3043 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3044 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3046 ## -------------------- ##
3047 ## Main body of script. ##
3048 ## -------------------- ##
3051 ac_cpp
='$CPP $CPPFLAGS'
3052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3058 ac_config_headers
="$ac_config_headers include/config.h"
3061 for ac_dir
in tools
"$srcdir"/tools
; do
3062 if test -f "$ac_dir/install-sh"; then
3064 ac_install_sh
="$ac_aux_dir/install-sh -c"
3066 elif test -f "$ac_dir/install.sh"; then
3068 ac_install_sh
="$ac_aux_dir/install.sh -c"
3070 elif test -f "$ac_dir/shtool"; then
3072 ac_install_sh
="$ac_aux_dir/shtool install -c"
3076 if test -z "$ac_aux_dir"; then
3077 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3080 # These three variables are undocumented and unsupported,
3081 # and are intended to be withdrawn in a future Autoconf release.
3082 # They can cause serious problems if a builder's source tree is in a directory
3083 # whose full name contains unusual characters.
3084 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3085 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3086 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3092 # Check whether --enable-win16 was given.
3093 if test "${enable_win16+set}" = set; then :
3094 enableval
=$enable_win16;
3097 # Check whether --enable-win64 was given.
3098 if test "${enable_win64+set}" = set; then :
3099 enableval
=$enable_win64;
3102 # Check whether --enable-tests was given.
3103 if test "${enable_tests+set}" = set; then :
3104 enableval
=$enable_tests;
3107 # Check whether --enable-maintainer-mode was given.
3108 if test "${enable_maintainer_mode+set}" = set; then :
3109 enableval
=$enable_maintainer_mode;
3114 # Check whether --with-alsa was given.
3115 if test "${with_alsa+set}" = set; then :
3116 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3120 # Check whether --with-capi was given.
3121 if test "${with_capi+set}" = set; then :
3126 # Check whether --with-cms was given.
3127 if test "${with_cms+set}" = set; then :
3132 # Check whether --with-coreaudio was given.
3133 if test "${with_coreaudio+set}" = set; then :
3134 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3138 # Check whether --with-cups was given.
3139 if test "${with_cups+set}" = set; then :
3144 # Check whether --with-curses was given.
3145 if test "${with_curses+set}" = set; then :
3146 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3150 # Check whether --with-dbus was given.
3151 if test "${with_dbus+set}" = set; then :
3156 # Check whether --with-fontconfig was given.
3157 if test "${with_fontconfig+set}" = set; then :
3158 withval
=$with_fontconfig;
3162 # Check whether --with-freetype was given.
3163 if test "${with_freetype+set}" = set; then :
3164 withval
=$with_freetype;
3168 # Check whether --with-gettext was given.
3169 if test "${with_gettext+set}" = set; then :
3170 withval
=$with_gettext;
3174 # Check whether --with-gettextpo was given.
3175 if test "${with_gettextpo+set}" = set; then :
3176 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3180 # Check whether --with-gphoto was given.
3181 if test "${with_gphoto+set}" = set; then :
3182 withval
=$with_gphoto;
3186 # Check whether --with-glu was given.
3187 if test "${with_glu+set}" = set; then :
3192 # Check whether --with-gnutls was given.
3193 if test "${with_gnutls+set}" = set; then :
3194 withval
=$with_gnutls;
3198 # Check whether --with-gsm was given.
3199 if test "${with_gsm+set}" = set; then :
3200 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3204 # Check whether --with-gstreamer was given.
3205 if test "${with_gstreamer+set}" = set; then :
3206 withval
=$with_gstreamer;
3210 # Check whether --with-hal was given.
3211 if test "${with_hal+set}" = set; then :
3216 # Check whether --with-jpeg was given.
3217 if test "${with_jpeg+set}" = set; then :
3222 # Check whether --with-ldap was given.
3223 if test "${with_ldap+set}" = set; then :
3224 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3228 # Check whether --with-mpg123 was given.
3229 if test "${with_mpg123+set}" = set; then :
3230 withval
=$with_mpg123;
3234 # Check whether --with-openal was given.
3235 if test "${with_openal+set}" = set; then :
3236 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3240 # Check whether --with-opencl was given.
3241 if test "${with_opencl+set}" = set; then :
3242 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3246 # Check whether --with-opengl was given.
3247 if test "${with_opengl+set}" = set; then :
3248 withval
=$with_opengl;
3252 # Check whether --with-osmesa was given.
3253 if test "${with_osmesa+set}" = set; then :
3254 withval
=$with_osmesa;
3258 # Check whether --with-oss was given.
3259 if test "${with_oss+set}" = set; then :
3264 # Check whether --with-png was given.
3265 if test "${with_png+set}" = set; then :
3270 # Check whether --with-pthread was given.
3271 if test "${with_pthread+set}" = set; then :
3272 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3276 # Check whether --with-sane was given.
3277 if test "${with_sane+set}" = set; then :
3282 # Check whether --with-tiff was given.
3283 if test "${with_tiff+set}" = set; then :
3288 # Check whether --with-v4l was given.
3289 if test "${with_v4l+set}" = set; then :
3294 # Check whether --with-xcomposite was given.
3295 if test "${with_xcomposite+set}" = set; then :
3296 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3300 # Check whether --with-xcursor was given.
3301 if test "${with_xcursor+set}" = set; then :
3302 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3306 # Check whether --with-xinerama was given.
3307 if test "${with_xinerama+set}" = set; then :
3308 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3312 # Check whether --with-xinput was given.
3313 if test "${with_xinput+set}" = set; then :
3314 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3318 # Check whether --with-xinput2 was given.
3319 if test "${with_xinput2+set}" = set; then :
3320 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3324 # Check whether --with-xml was given.
3325 if test "${with_xml+set}" = set; then :
3330 # Check whether --with-xrandr was given.
3331 if test "${with_xrandr+set}" = set; then :
3332 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3336 # Check whether --with-xrender was given.
3337 if test "${with_xrender+set}" = set; then :
3338 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3342 # Check whether --with-xshape was given.
3343 if test "${with_xshape+set}" = set; then :
3344 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3348 # Check whether --with-xshm was given.
3349 if test "${with_xshm+set}" = set; then :
3350 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3354 # Check whether --with-xslt was given.
3355 if test "${with_xslt+set}" = set; then :
3360 # Check whether --with-xxf86vm was given.
3361 if test "${with_xxf86vm+set}" = set; then :
3362 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
3366 # Check whether --with-zlib was given.
3367 if test "${with_zlib+set}" = set; then :
3368 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3373 # Check whether --with-wine-tools was given.
3374 if test "${with_wine_tools+set}" = set; then :
3375 withval
=$with_wine_tools;
3379 # Check whether --with-wine64 was given.
3380 if test "${with_wine64+set}" = set; then :
3381 withval
=$with_wine64;
3385 # Make sure we can run config.sub.
3386 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3387 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3390 $as_echo_n "checking build system type... " >&6; }
3391 if ${ac_cv_build+:} false
; then :
3392 $as_echo_n "(cached) " >&6
3394 ac_build_alias
=$build_alias
3395 test "x$ac_build_alias" = x
&&
3396 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3397 test "x$ac_build_alias" = x
&&
3398 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3399 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3400 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3404 $as_echo "$ac_cv_build" >&6; }
3405 case $ac_cv_build in
3407 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3410 ac_save_IFS
=$IFS; IFS
='-'
3416 # Remember, the first character of IFS is used to create $*,
3417 # except with old shells:
3420 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3424 $as_echo_n "checking host system type... " >&6; }
3425 if ${ac_cv_host+:} false
; then :
3426 $as_echo_n "(cached) " >&6
3428 if test "x$host_alias" = x
; then
3429 ac_cv_host
=$ac_cv_build
3431 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3432 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3437 $as_echo "$ac_cv_host" >&6; }
3440 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3443 ac_save_IFS
=$IFS; IFS
='-'
3449 # Remember, the first character of IFS is used to create $*,
3450 # except with old shells:
3453 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3459 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3460 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3461 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3467 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3469 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3470 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3471 $as_echo_n "(cached) " >&6
3473 cat >conftest.
make <<\_ACEOF
3476 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3478 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3479 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3481 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3483 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3487 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3489 $as_echo "yes" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 SET_MAKE
="MAKE=${MAKE-make}"
3498 ac_cpp
='$CPP $CPPFLAGS'
3499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3504 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_CC+:} false
; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC
="$CC" # Let the user override the test.
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir
=.
3518 for ac_exec_ext
in '' $ac_executable_extensions; do
3519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3541 if test -z "$ac_cv_prog_CC"; then
3543 # Extract the first word of "gcc", so it can be a program name with args.
3544 set dummy gcc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$ac_ct_CC"; then
3551 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_CC
="gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3571 if test -n "$ac_ct_CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3573 $as_echo "$ac_ct_CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3579 if test "x$ac_ct_CC" = x
; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned
=yes ;;
3594 if test -z "$CC"; then
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3597 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false
; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC
="$CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3635 if test -z "$CC"; then
3636 # Extract the first word of "cc", so it can be a program name with args.
3637 set dummy cc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_CC+:} false
; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC
="$CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3654 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3655 ac_prog_rejected
=yes
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test $ac_prog_rejected = yes; then
3667 # We found a bogon in the path, so make sure we never use it.
3668 set dummy
$ac_cv_prog_CC
3670 if test $# != 0; then
3671 # We chose a different compiler from the bogus one.
3672 # However, it has the same basename, so the bogon will be chosen
3673 # first if we set CC to just the basename; use the full file name.
3675 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 if test -n "$ac_tool_prefix"; then
3693 for ac_prog
in cl.exe
3695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3696 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3732 test -n "$CC" && break
3735 if test -z "$CC"; then
3737 for ac_prog
in cl.exe
3739 # Extract the first word of "$ac_prog", so it can be a program name with args.
3740 set dummy
$ac_prog; ac_word
=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3744 $as_echo_n "(cached) " >&6
3746 if test -n "$ac_ct_CC"; then
3747 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3756 ac_cv_prog_ac_ct_CC
="$ac_prog"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3767 if test -n "$ac_ct_CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3769 $as_echo "$ac_ct_CC" >&6; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3776 test -n "$ac_ct_CC" && break
3779 if test "x$ac_ct_CC" = x
; then
3782 case $cross_compiling:$ac_tool_warned in
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3786 ac_tool_warned
=yes ;;
3795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error $?
"no acceptable C compiler found in \$PATH
3798 See \`config.log' for more details" "$LINENO" 5; }
3800 # Provide some information about the compiler.
3801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3804 for ac_option
in --version -v -V -qversion; do
3805 { { ac_try
="$ac_compiler $ac_option >&5"
3807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3811 $as_echo "$ac_try_echo"; } >&5
3812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3814 if test -s conftest.err; then
3816 ... rest of stderr output deleted ...
3817 10q' conftest.err >conftest.er1
3818 cat conftest.er1 >&5
3820 rm -f conftest.er1 conftest.err
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 ac_clean_files_save=$ac_clean_files
3837 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3838 # Try to create an executable without -o first, disregard a.out.
3839 # It will help us diagnose broken compilers, and finding out an intuition
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3842 $as_echo_n "checking whether the C compiler works... " >&6; }
3843 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3845 # The possible output files:
3846 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3849 for ac_file in $ac_files
3852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3853 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3858 if { { ac_try="$ac_link_default"
3860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3861 *) ac_try_echo
=$ac_try;;
3863 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_link_default") 2>&5
3867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3868 test $ac_status = 0; }; then :
3869 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3870 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3871 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3872 # so that the user can short-circuit this test for compilers unknown to
3874 for ac_file
in $ac_files ''
3876 test -f "$ac_file" ||
continue
3878 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3881 # We found the default executable, but exeext='' is most
3885 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3887 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3889 # We set ac_cv_exeext here because the later test for it is not
3890 # safe: cross compilers may not add the suffix if given an `-o'
3891 # argument, so we may need to know it at that point already.
3892 # Even if this section looks crufty: it has the advantage of
3899 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3904 if test -z "$ac_file"; then :
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.
$ac_ext >&5
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error
77 "C compiler cannot create executables
3913 See \`config.log' for more details" "$LINENO" 5; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3916 $as_echo "yes" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3921 $as_echo "$ac_file" >&6; }
3922 ac_exeext
=$ac_cv_exeext
3924 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3925 ac_clean_files
=$ac_clean_files_save
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3927 $as_echo_n "checking for suffix of executables... " >&6; }
3928 if { { ac_try
="$ac_link"
3930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link") 2>&5
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3940 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3941 # work properly (i.e., refer to `conftest.exe'), while it won't with
3943 for ac_file
in conftest.exe conftest conftest.
*; do
3944 test -f "$ac_file" ||
continue
3946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3947 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3956 See \`config.log' for more details" "$LINENO" 5; }
3958 rm -f conftest conftest
$ac_cv_exeext
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3960 $as_echo "$ac_cv_exeext" >&6; }
3962 rm -f conftest.
$ac_ext
3963 EXEEXT
=$ac_cv_exeext
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3971 FILE *f = fopen ("conftest.out", "w");
3972 return ferror (f) || fclose (f) != 0;
3978 ac_clean_files
="$ac_clean_files conftest.out"
3979 # Check that the compiler produces executables we can run. If not, either
3980 # the compiler is broken, or we cross compile.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3982 $as_echo_n "checking whether we are cross compiling... " >&6; }
3983 if test "$cross_compiling" != yes; then
3984 { { ac_try
="$ac_link"
3986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link") 2>&5
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }
3995 if { ac_try='./conftest$ac_cv_exeext'
3996 { { case "(($ac_try" in
3997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3998 *) ac_try_echo
=$ac_try;;
4000 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4008 if test "$cross_compiling" = maybe
; then
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $?
"cannot run C compiled programs.
4014 If you meant to cross compile, use \`--host'.
4015 See \`config.log' for more details" "$LINENO" 5; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020 $as_echo "$cross_compiling" >&6; }
4022 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4023 ac_clean_files
=$ac_clean_files_save
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4025 $as_echo_n "checking for suffix of object files... " >&6; }
4026 if ${ac_cv_objext+:} false
; then :
4027 $as_echo_n "(cached) " >&6
4029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4040 rm -f conftest.o conftest.obj
4041 if { { ac_try
="$ac_compile"
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_compile") 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 for ac_file in conftest.o conftest.obj conftest.*; do
4053 test -f "$ac_file" || continue;
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4056 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4061 $as_echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4067 See \
`config.log' for more details" "$LINENO" 5; }
4069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4072 $as_echo "$ac_cv_objext" >&6; }
4073 OBJEXT=$ac_cv_objext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4076 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4077 if ${ac_cv_c_compiler_gnu+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4094 if ac_fn_c_try_compile "$LINENO"; then :
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4104 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4105 if test $ac_compiler_gnu = yes; then
4110 ac_test_CFLAGS=${CFLAGS+set}
4111 ac_save_CFLAGS=$CFLAGS
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4113 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4114 if ${ac_cv_prog_cc_g+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 ac_save_c_werror_flag=$ac_c_werror_flag
4118 ac_c_werror_flag=yes
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4132 if ac_fn_c_try_compile "$LINENO"; then :
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_c_werror_flag=$ac_save_c_werror_flag
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4163 if ac_fn_c_try_compile "$LINENO"; then :
4166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 ac_c_werror_flag=$ac_save_c_werror_flag
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4174 $as_echo "$ac_cv_prog_cc_g" >&6; }
4175 if test "$ac_test_CFLAGS" = set; then
4176 CFLAGS=$ac_save_CFLAGS
4177 elif test $ac_cv_prog_cc_g = yes; then
4178 if test "$GCC" = yes; then
4184 if test "$GCC" = yes; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4191 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4192 if ${ac_cv_prog_cc_c89+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 ac_cv_prog_cc_c89=no
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4203 struct buf { int x; };
4204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4205 static char *e (p, i)
4211 static char *f (char * (*g) (char **, int), char **p, ...)
4216 s = g (p, va_arg (v,int));
4221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4222 function prototypes and stuff, but not '\xHH' hex character constants.
4223 These don't provoke an error unfortunately, instead are silently treated
4224 as 'x'. The following induces an error, until -std is added to get
4225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4226 array size at least. It's necessary to write '\x00'==0 to get something
4227 that's true only with -std. */
4228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4231 inside strings and character constants. */
4233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4235 int test (int i, double x);
4236 struct s1 {int (*f) (int a);};
4237 struct s2 {int (*f) (double a);};
4238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4244 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4250 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4252 CC="$ac_save_CC $ac_arg"
4253 if ac_fn_c_try_compile "$LINENO"; then :
4254 ac_cv_prog_cc_c89=$ac_arg
4256 rm -f core conftest.err conftest.$ac_objext
4257 test "x$ac_cv_prog_cc_c89" != "xno" && break
4259 rm -f conftest.$ac_ext
4264 case "x$ac_cv_prog_cc_c89" in
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4267 $as_echo "none needed" >&6; } ;;
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4270 $as_echo "unsupported" >&6; } ;;
4272 CC="$CC $ac_cv_prog_cc_c89"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4276 if test "x$ac_cv_prog_cc_c89" != xno; then :
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4287 ac_cpp='$CXXCPP $CPPFLAGS'
4288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4291 if test -z "$CXX"; then
4292 if test -n "$CCC"; then
4295 if test -n "$ac_tool_prefix"; then
4296 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_CXX+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$CXX"; then
4306 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4315 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 if test -n "$CXX"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4328 $as_echo "$CXX" >&6; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4335 test -n "$CXX" && break
4338 if test -z "$CXX"; then
4340 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4342 # Extract the first word of "$ac_prog", so it can be a program name with args.
4343 set dummy $ac_prog; ac_word=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$ac_ct_CXX"; then
4350 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_prog"
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4370 if test -n "$ac_ct_CXX"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4372 $as_echo "$ac_ct_CXX" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4379 test -n "$ac_ct_CXX" && break
4382 if test "x$ac_ct_CXX" = x; then
4385 case $cross_compiling:$ac_tool_warned in
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4389 ac_tool_warned=yes ;;
4397 # Provide some information about the compiler.
4398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4401 for ac_option in --version -v -V -qversion; do
4402 { { ac_try="$ac_compiler $ac_option >&5"
4404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4405 *) ac_try_echo
=$ac_try;;
4407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4408 $as_echo "$ac_try_echo"; } >&5
4409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4411 if test -s conftest.err
; then
4413 ... rest of stderr output deleted ...
4414 10q' conftest.err
>conftest.er1
4415 cat conftest.er1
>&5
4417 rm -f conftest.er1 conftest.err
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4423 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4424 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4441 if ac_fn_cxx_try_compile
"$LINENO"; then :
4446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4447 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4451 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4452 if test $ac_compiler_gnu = yes; then
4457 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4458 ac_save_CXXFLAGS
=$CXXFLAGS
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4460 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4461 if ${ac_cv_prog_cxx_g+:} false
; then :
4462 $as_echo_n "(cached) " >&6
4464 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4465 ac_cxx_werror_flag
=yes
4468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4479 if ac_fn_cxx_try_compile
"$LINENO"; then :
4480 ac_cv_prog_cxx_g
=yes
4483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4494 if ac_fn_cxx_try_compile
"$LINENO"; then :
4497 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 if ac_fn_cxx_try_compile
"$LINENO"; then :
4511 ac_cv_prog_cxx_g
=yes
4513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4518 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4521 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4522 if test "$ac_test_CXXFLAGS" = set; then
4523 CXXFLAGS
=$ac_save_CXXFLAGS
4524 elif test $ac_cv_prog_cxx_g = yes; then
4525 if test "$GXX" = yes; then
4531 if test "$GXX" = yes; then
4538 ac_cpp
='$CPP $CPPFLAGS'
4539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4543 if test -n "$ac_tool_prefix"; then
4544 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4545 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_CPPBIN+:} false
; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$CPPBIN"; then
4552 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 CPPBIN
=$ac_cv_prog_CPPBIN
4572 if test -n "$CPPBIN"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4574 $as_echo "$CPPBIN" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4582 if test -z "$ac_cv_prog_CPPBIN"; then
4583 ac_ct_CPPBIN
=$CPPBIN
4584 # Extract the first word of "cpp", so it can be a program name with args.
4585 set dummy cpp
; ac_word
=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$ac_ct_CPPBIN"; then
4592 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4612 if test -n "$ac_ct_CPPBIN"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4614 $as_echo "$ac_ct_CPPBIN" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4620 if test "x$ac_ct_CPPBIN" = x
; then
4623 case $cross_compiling:$ac_tool_warned in
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned
=yes ;;
4629 CPPBIN
=$ac_ct_CPPBIN
4632 CPPBIN
="$ac_cv_prog_CPPBIN"
4636 cat >>confdefs.h
<<_ACEOF
4637 #define EXEEXT "$ac_exeext"
4643 if test "x$enable_win64" = "xyes"
4648 notice_platform
="64-bit "
4655 notice_platform
="32-bit "
4658 enable_win16
=${enable_win16:-yes}
4660 with_fontconfig
=${with_fontconfig:-no}
4663 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4668 $as_echo_n "checking whether $CC works... " >&6; }
4670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4681 if ac_fn_c_try_link
"$LINENO"; then :
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4683 $as_echo "yes" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4687 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4689 rm -f core conftest.err conftest.
$ac_objext \
4690 conftest
$ac_exeext conftest.
$ac_ext
4692 notice_platform
="32-bit "
4695 enable_win16
=${enable_win16:-yes}
4697 if test "x${GCC}" = "xyes"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4700 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4707 void func(__builtin_ms_va_list *args);
4712 if ac_fn_c_try_compile
"$LINENO"; then :
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4714 $as_echo "yes" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4718 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4728 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4731 int ac_test(int i) { return i; }
4735 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4740 if ac_fn_c_try_link
"$LINENO"; then :
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4742 $as_echo "yes" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4746 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4748 rm -f core conftest.err conftest.
$ac_objext \
4749 conftest
$ac_exeext conftest.
$ac_ext
4750 CFLAGS
="$CFLAGS -marm"
4752 *-mingw32*|
*-cygwin*)
4753 enable_win16
=${enable_win16:-no}
4754 CFLAGS
="$CFLAGS -D_WIN32"
4757 enable_win16
=${enable_win16:-yes}
4761 enable_win16
=${enable_win16:-no}
4762 enable_win64
=${enable_win64:-no}
4764 enable_winetest
=${enable_winetest:-$enable_tests}
4766 if test -n "$with_wine64"
4768 if test "x$enable_win64" = "xyes"
4770 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4773 enable_fonts
=${enable_fonts:-no}
4774 enable_server
=${enable_server:-no}
4775 elif test "x$enable_win64" = "xyes"
4777 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4781 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4782 if ${wine_cv_toolsdir+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4785 wine_cv_toolsdir
="$with_wine_tools"
4786 if test -z "$with_wine_tools"; then
4787 if test "$cross_compiling" = "yes"; then
4788 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4789 elif test -n "$with_wine64"; then
4790 wine_cv_toolsdir
="$with_wine64"
4793 if test -z "$wine_cv_toolsdir"; then
4794 wine_cv_toolsdir
="\$(top_builddir)"
4795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4796 case "$wine_cv_toolsdir" in
4798 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4800 enable_tools
=${enable_tools:-no}
4802 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4806 $as_echo "$wine_cv_toolsdir" >&6; }
4807 TOOLSDIR
=$wine_cv_toolsdir
4809 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4811 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4817 # Extract the first word of "$ac_prog", so it can be a program name with args.
4818 set dummy
$ac_prog; ac_word
=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_FLEX+:} false
; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -n "$FLEX"; then
4825 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_FLEX
="$ac_prog"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 FLEX
=$ac_cv_prog_FLEX
4845 if test -n "$FLEX"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4847 $as_echo "$FLEX" >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4854 test -n "$FLEX" && break
4856 test -n "$FLEX" || FLEX
="none"
4858 if test "$FLEX" = "none"
4860 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4863 $as_echo_n "checking whether flex is recent enough... " >&6; }
4864 cat >conftest.l
<<EOF
4866 #include "prediluvian.h"
4870 if $FLEX -t conftest.l
>/dev
/null
2>&5
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4873 $as_echo "yes" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4877 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4880 for ac_prog
in bison
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy
$ac_prog; ac_word
=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_BISON+:} false
; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$BISON"; then
4890 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_BISON
="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 BISON
=$ac_cv_prog_BISON
4910 if test -n "$BISON"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4912 $as_echo "$BISON" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$BISON" && break
4921 test -n "$BISON" || BISON
="none"
4923 if test "$BISON" = "none"
4925 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4928 if test -n "$ac_tool_prefix"; then
4929 for ac_prog
in ar gar
4931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_AR+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$AR"; then
4939 ac_cv_prog_AR
="$AR" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 if test -n "$AR"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4961 $as_echo "$AR" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 test -n "$AR" && break
4971 if test -z "$AR"; then
4973 for ac_prog
in ar gar
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy
$ac_prog; ac_word
=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$ac_ct_AR"; then
4983 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_AR
="$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5003 if test -n "$ac_ct_AR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5005 $as_echo "$ac_ct_AR" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$ac_ct_AR" && break
5015 if test "x$ac_ct_AR" = x
; then
5018 case $cross_compiling:$ac_tool_warned in
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5022 ac_tool_warned
=yes ;;
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5030 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_STRIP+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$STRIP"; then
5037 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 STRIP
=$ac_cv_prog_STRIP
5057 if test -n "$STRIP"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5059 $as_echo "$STRIP" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_prog_STRIP"; then
5069 # Extract the first word of "strip", so it can be a program name with args.
5070 set dummy strip
; ac_word
=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$ac_ct_STRIP"; then
5077 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir
=.
5084 for ac_exec_ext
in '' $ac_executable_extensions; do
5085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_ac_ct_STRIP
="strip"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5097 if test -n "$ac_ct_STRIP"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5099 $as_echo "$ac_ct_STRIP" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5105 if test "x$ac_ct_STRIP" = x
; then
5108 case $cross_compiling:$ac_tool_warned in
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned
=yes ;;
5117 STRIP
="$ac_cv_prog_STRIP"
5122 if test -n "$ac_tool_prefix"; then
5123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5124 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_RANLIB+:} false
; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$RANLIB"; then
5131 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 RANLIB
=$ac_cv_prog_RANLIB
5151 if test -n "$RANLIB"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5153 $as_echo "$RANLIB" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$ac_cv_prog_RANLIB"; then
5162 ac_ct_RANLIB
=$RANLIB
5163 # Extract the first word of "ranlib", so it can be a program name with args.
5164 set dummy ranlib
; ac_word
=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$ac_ct_RANLIB"; then
5171 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5191 if test -n "$ac_ct_RANLIB"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5193 $as_echo "$ac_ct_RANLIB" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5199 if test "x$ac_ct_RANLIB" = x
; then
5202 case $cross_compiling:$ac_tool_warned in
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5206 ac_tool_warned
=yes ;;
5208 RANLIB
=$ac_ct_RANLIB
5211 RANLIB
="$ac_cv_prog_RANLIB"
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5215 $as_echo_n "checking whether ln -s works... " >&6; }
5217 if test "$LN_S" = "ln -s"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5222 $as_echo "no, using $LN_S" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5226 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5227 if ${ac_cv_path_GREP+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -z "$GREP"; then
5231 ac_path_GREP_found
=false
5232 # Loop through the user's path and test for each of PROGNAME-LIST
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_prog
in grep ggrep
; do
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5241 as_fn_executable_p
"$ac_path_GREP" ||
continue
5242 # Check for GNU ac_path_GREP and select it if it is found.
5243 # Check for GNU $ac_path_GREP
5244 case `"$ac_path_GREP" --version 2>&1` in
5246 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5249 $as_echo_n 0123456789 >"conftest.in"
5252 cat "conftest.in" "conftest.in" >"conftest.tmp"
5253 mv "conftest.tmp" "conftest.in"
5254 cp "conftest.in" "conftest.nl"
5255 $as_echo 'GREP' >> "conftest.nl"
5256 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5257 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5258 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5259 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5260 # Best one so far, save it but keep looking for a better one
5261 ac_cv_path_GREP
="$ac_path_GREP"
5262 ac_path_GREP_max
=$ac_count
5264 # 10*(2^10) chars as input seems more than enough
5265 test $ac_count -gt 10 && break
5267 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5270 $ac_path_GREP_found && break 3
5275 if test -z "$ac_cv_path_GREP"; then
5276 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5279 ac_cv_path_GREP
=$GREP
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5284 $as_echo "$ac_cv_path_GREP" >&6; }
5285 GREP
="$ac_cv_path_GREP"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5289 $as_echo_n "checking for egrep... " >&6; }
5290 if ${ac_cv_path_EGREP+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5294 then ac_cv_path_EGREP
="$GREP -E"
5296 if test -z "$EGREP"; then
5297 ac_path_EGREP_found
=false
5298 # Loop through the user's path and test for each of PROGNAME-LIST
5299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5303 test -z "$as_dir" && as_dir
=.
5304 for ac_prog
in egrep; do
5305 for ac_exec_ext
in '' $ac_executable_extensions; do
5306 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5307 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5308 # Check for GNU ac_path_EGREP and select it if it is found.
5309 # Check for GNU $ac_path_EGREP
5310 case `"$ac_path_EGREP" --version 2>&1` in
5312 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5315 $as_echo_n 0123456789 >"conftest.in"
5318 cat "conftest.in" "conftest.in" >"conftest.tmp"
5319 mv "conftest.tmp" "conftest.in"
5320 cp "conftest.in" "conftest.nl"
5321 $as_echo 'EGREP' >> "conftest.nl"
5322 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5323 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5324 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5325 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5326 # Best one so far, save it but keep looking for a better one
5327 ac_cv_path_EGREP
="$ac_path_EGREP"
5328 ac_path_EGREP_max
=$ac_count
5330 # 10*(2^10) chars as input seems more than enough
5331 test $ac_count -gt 10 && break
5333 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5336 $ac_path_EGREP_found && break 3
5341 if test -z "$ac_cv_path_EGREP"; then
5342 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5345 ac_cv_path_EGREP
=$EGREP
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5351 $as_echo "$ac_cv_path_EGREP" >&6; }
5352 EGREP
="$ac_cv_path_EGREP"
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5357 if test -z "$MKDIR_P"; then
5358 if ${ac_cv_path_mkdir+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_prog
in mkdir gmkdir
; do
5367 for ac_exec_ext
in '' $ac_executable_extensions; do
5368 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5370 'mkdir (GNU coreutils) '* | \
5371 'mkdir (coreutils) '* | \
5372 'mkdir (fileutils) '4.1*)
5373 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5383 test -d .
/--version && rmdir .
/--version
5384 if test "${ac_cv_path_mkdir+set}" = set; then
5385 MKDIR_P
="$ac_cv_path_mkdir -p"
5387 # As a last resort, use the slow shell script. Don't cache a
5388 # value for MKDIR_P within a source directory, because that will
5389 # break other packages using the cache if that directory is
5390 # removed, or if the value is a relative name.
5391 MKDIR_P
="$ac_install_sh -d"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5395 $as_echo "$MKDIR_P" >&6; }
5397 # Extract the first word of "ldconfig", so it can be a program name with args.
5398 set dummy ldconfig
; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_path_LDCONFIG+:} false
; then :
5402 $as_echo_n "(cached) " >&6
5406 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5410 for as_dir
in /sbin
/usr
/sbin
$PATH
5413 test -z "$as_dir" && as_dir
=.
5414 for ac_exec_ext
in '' $ac_executable_extensions; do
5415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5428 LDCONFIG
=$ac_cv_path_LDCONFIG
5429 if test -n "$LDCONFIG"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5431 $as_echo "$LDCONFIG" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5440 # Find a good install program. We prefer a C program (faster),
5441 # so one script is as good as another. But avoid the broken or
5442 # incompatible versions:
5443 # SysV /etc/install, /usr/sbin/install
5444 # SunOS /usr/etc/install
5445 # IRIX /sbin/install
5447 # AmigaOS /C/install, which installs bootblocks on floppy discs
5448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5451 # OS/2's system install, which has a completely different semantic
5452 # ./install, which can be erroneously created by make from ./install.sh.
5453 # Reject install programs that cannot install multiple files.
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5456 if test -z "$INSTALL"; then
5457 if ${ac_cv_path_install+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir
=.
5465 # Account for people who put trailing slashes in PATH elements.
5466 case $as_dir/ in #((
5467 .
/ | .
// |
/[cC
]/* | \
5468 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5469 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5472 # OSF1 and SCO ODT 3.0 have their own names for install.
5473 # Don't use installbsd from OSF since it installs stuff as root
5475 for ac_prog
in ginstall scoinst
install; do
5476 for ac_exec_ext
in '' $ac_executable_extensions; do
5477 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5478 if test $ac_prog = install &&
5479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5480 # AIX install. It has an incompatible calling convention.
5482 elif test $ac_prog = install &&
5483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5484 # program-specific install script used by HP pwplus--don't use.
5487 rm -rf conftest.one conftest.two conftest.dir
5488 echo one
> conftest.one
5489 echo two
> conftest.two
5491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5492 test -s conftest.one
&& test -s conftest.two
&&
5493 test -s conftest.dir
/conftest.one
&&
5494 test -s conftest.dir
/conftest.two
5496 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5509 rm -rf conftest.one conftest.two conftest.dir
5512 if test "${ac_cv_path_install+set}" = set; then
5513 INSTALL
=$ac_cv_path_install
5515 # As a last resort, use the slow shell script. Don't cache a
5516 # value for INSTALL within a source directory, because that will
5517 # break other packages using the cache if that directory is
5518 # removed, or if the value is a relative name.
5519 INSTALL
=$ac_install_sh
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5523 $as_echo "$INSTALL" >&6; }
5525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5526 # It thinks the first close brace ends the variable substitution.
5527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5531 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5534 for ac_prog
in fontforge
5536 # Extract the first word of "$ac_prog", so it can be a program name with args.
5537 set dummy
$ac_prog; ac_word
=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5541 $as_echo_n "(cached) " >&6
5543 if test -n "$FONTFORGE"; then
5544 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir
=.
5551 for ac_exec_ext
in '' $ac_executable_extensions; do
5552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_FONTFORGE
="$ac_prog"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 FONTFORGE
=$ac_cv_prog_FONTFORGE
5564 if test -n "$FONTFORGE"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5566 $as_echo "$FONTFORGE" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5573 test -n "$FONTFORGE" && break
5575 test -n "$FONTFORGE" || FONTFORGE
="false"
5579 # Extract the first word of "$ac_prog", so it can be a program name with args.
5580 set dummy
$ac_prog; ac_word
=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_RSVG+:} false
; then :
5584 $as_echo_n "(cached) " >&6
5586 if test -n "$RSVG"; then
5587 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir
=.
5594 for ac_exec_ext
in '' $ac_executable_extensions; do
5595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_prog_RSVG
="$ac_prog"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 RSVG
=$ac_cv_prog_RSVG
5607 if test -n "$RSVG"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5609 $as_echo "$RSVG" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5616 test -n "$RSVG" && break
5618 test -n "$RSVG" || RSVG
="false"
5620 for ac_prog
in convert
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy
$ac_prog; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_CONVERT+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$CONVERT"; then
5630 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_CONVERT
="$ac_prog"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 CONVERT
=$ac_cv_prog_CONVERT
5650 if test -n "$CONVERT"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5652 $as_echo "$CONVERT" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5659 test -n "$CONVERT" && break
5661 test -n "$CONVERT" || CONVERT
="false"
5663 for ac_prog
in icotool
5665 # Extract the first word of "$ac_prog", so it can be a program name with args.
5666 set dummy
$ac_prog; ac_word
=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -n "$ICOTOOL"; then
5673 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_ICOTOOL
="$ac_prog"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 ICOTOOL
=$ac_cv_prog_ICOTOOL
5693 if test -n "$ICOTOOL"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5695 $as_echo "$ICOTOOL" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 test -n "$ICOTOOL" && break
5704 test -n "$ICOTOOL" || ICOTOOL
="false"
5706 for ac_prog
in msgfmt
5708 # Extract the first word of "$ac_prog", so it can be a program name with args.
5709 set dummy
$ac_prog; ac_word
=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_MSGFMT+:} false
; then :
5713 $as_echo_n "(cached) " >&6
5715 if test -n "$MSGFMT"; then
5716 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir
=.
5723 for ac_exec_ext
in '' $ac_executable_extensions; do
5724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_MSGFMT
="$ac_prog"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 MSGFMT
=$ac_cv_prog_MSGFMT
5736 if test -n "$MSGFMT"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5738 $as_echo "$MSGFMT" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5745 test -n "$MSGFMT" && break
5747 test -n "$MSGFMT" || MSGFMT
="false"
5749 if test -n "$ac_tool_prefix"; then
5750 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5751 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5755 $as_echo_n "(cached) " >&6
5757 if test -n "$PKG_CONFIG"; then
5758 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir
=.
5765 for ac_exec_ext
in '' $ac_executable_extensions; do
5766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5778 if test -n "$PKG_CONFIG"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5780 $as_echo "$PKG_CONFIG" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5788 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5789 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5790 elif test "$cross_compiling" != yes; then
5791 unset ac_cv_prog_PKG_CONFIG
5792 # Extract the first word of "pkg-config", so it can be a program name with args.
5793 set dummy pkg-config
; ac_word
=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$PKG_CONFIG"; then
5800 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_exec_ext
in '' $ac_executable_extensions; do
5808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_PKG_CONFIG
="pkg-config"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5820 if test -n "$PKG_CONFIG"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5822 $as_echo "$PKG_CONFIG" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5831 if test "x$enable_maintainer_mode" != "xyes"
5836 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5837 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5839 if test "$CONVERT" = false
5841 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5844 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5845 convert_version
=`convert --version | head -n1`
5846 if test "x$convert_version" != "x"
5848 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5849 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5850 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5855 if test "$CONVERT" = false
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5858 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5859 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5862 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5866 if test "$ICOTOOL" = false
5868 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5871 $as_echo_n "checking for recent enough icotool... " >&6; }
5872 icotool_version
=`icotool --version | head -n1`
5873 if test "x$icotool_version" != "x"
5875 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5876 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5877 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5880 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5883 if test "$ICOTOOL" = false
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5886 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5887 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5890 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5896 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5899 test "x$with_gettext" != xno || MSGFMT
=false
5900 if test "$MSGFMT" != "false"
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5903 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5904 cat >conftest.po
<<EOF
5910 if $MSGFMT -o /dev
/null conftest.po
2>&5
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5913 $as_echo "yes" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 if test "$MSGFMT" = false
; then :
5921 case "x$with_gettext" in
5922 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5924 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5925 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5931 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5932 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 ac_check_lib_save_LIBS
=$LIBS
5937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5940 /* Override any GCC internal prototype to avoid an error.
5941 Use char because int might match the return type of a GCC
5942 builtin and then its argument prototype would still apply. */
5946 char i386_set_ldt ();
5950 return i386_set_ldt ();
5955 if ac_fn_c_try_link
"$LINENO"; then :
5956 ac_cv_lib_i386_i386_set_ldt
=yes
5958 ac_cv_lib_i386_i386_set_ldt
=no
5960 rm -f core conftest.err conftest.
$ac_objext \
5961 conftest
$ac_exeext conftest.
$ac_ext
5962 LIBS
=$ac_check_lib_save_LIBS
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5965 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5966 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5967 cat >>confdefs.h
<<_ACEOF
5968 #define HAVE_LIBI386 1
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5976 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5977 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5978 $as_echo_n "(cached) " >&6
5980 ac_check_lib_save_LIBS
=$LIBS
5981 LIBS
="-lossaudio $LIBS"
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5985 /* Override any GCC internal prototype to avoid an error.
5986 Use char because int might match the return type of a GCC
5987 builtin and then its argument prototype would still apply. */
5995 return _oss_ioctl ();
6000 if ac_fn_c_try_link
"$LINENO"; then :
6001 ac_cv_lib_ossaudio__oss_ioctl
=yes
6003 ac_cv_lib_ossaudio__oss_ioctl
=no
6005 rm -f core conftest.err conftest.
$ac_objext \
6006 conftest
$ac_exeext conftest.
$ac_ext
6007 LIBS
=$ac_check_lib_save_LIBS
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6010 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6011 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6012 cat >>confdefs.h
<<_ACEOF
6013 #define HAVE_LIBOSSAUDIO 1
6016 LIBS
="-lossaudio $LIBS"
6027 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6029 # Check whether --enable-largefile was given.
6030 if test "${enable_largefile+set}" = set; then :
6031 enableval
=$enable_largefile;
6034 if test "$enable_largefile" != no
; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6037 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6038 if ${ac_cv_sys_largefile_CC+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6041 ac_cv_sys_largefile_CC
=no
6042 if test "$GCC" != yes; then
6045 # IRIX 6.2 and later do not support large files by default,
6046 # so use the C compiler's -n32 option if that helps.
6047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6066 if ac_fn_c_try_compile
"$LINENO"; then :
6069 rm -f core conftest.err conftest.
$ac_objext
6071 if ac_fn_c_try_compile
"$LINENO"; then :
6072 ac_cv_sys_largefile_CC
=' -n32'; break
6074 rm -f core conftest.err conftest.
$ac_objext
6078 rm -f conftest.
$ac_ext
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6082 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6083 if test "$ac_cv_sys_largefile_CC" != no
; then
6084 CC
=$CC$ac_cv_sys_largefile_CC
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6088 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6089 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6090 $as_echo_n "(cached) " >&6
6093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6095 #include <sys/types.h>
6096 /* Check that off_t can represent 2**63 - 1 correctly.
6097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6098 since some C++ compilers masquerading as C compilers
6099 incorrectly reject 9223372036854775807. */
6100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6102 && LARGE_OFF_T % 2147483647 == 1)
6112 if ac_fn_c_try_compile
"$LINENO"; then :
6113 ac_cv_sys_file_offset_bits
=no
; break
6115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #define _FILE_OFFSET_BITS 64
6119 #include <sys/types.h>
6120 /* Check that off_t can represent 2**63 - 1 correctly.
6121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6122 since some C++ compilers masquerading as C compilers
6123 incorrectly reject 9223372036854775807. */
6124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6126 && LARGE_OFF_T % 2147483647 == 1)
6136 if ac_fn_c_try_compile
"$LINENO"; then :
6137 ac_cv_sys_file_offset_bits
=64; break
6139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6140 ac_cv_sys_file_offset_bits
=unknown
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6145 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6146 case $ac_cv_sys_file_offset_bits in #(
6149 cat >>confdefs.h
<<_ACEOF
6150 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6155 if test $ac_cv_sys_file_offset_bits = unknown
; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6157 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6158 if ${ac_cv_sys_large_files+:} false
; then :
6159 $as_echo_n "(cached) " >&6
6162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6163 /* end confdefs.h. */
6164 #include <sys/types.h>
6165 /* Check that off_t can represent 2**63 - 1 correctly.
6166 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6167 since some C++ compilers masquerading as C compilers
6168 incorrectly reject 9223372036854775807. */
6169 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6170 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6171 && LARGE_OFF_T % 2147483647 == 1)
6181 if ac_fn_c_try_compile
"$LINENO"; then :
6182 ac_cv_sys_large_files
=no
; break
6184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #define _LARGE_FILES 1
6188 #include <sys/types.h>
6189 /* Check that off_t can represent 2**63 - 1 correctly.
6190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6191 since some C++ compilers masquerading as C compilers
6192 incorrectly reject 9223372036854775807. */
6193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6195 && LARGE_OFF_T % 2147483647 == 1)
6205 if ac_fn_c_try_compile
"$LINENO"; then :
6206 ac_cv_sys_large_files
=1; break
6208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6209 ac_cv_sys_large_files
=unknown
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6214 $as_echo "$ac_cv_sys_large_files" >&6; }
6215 case $ac_cv_sys_large_files in #(
6218 cat >>confdefs.h
<<_ACEOF
6219 #define _LARGE_FILES $ac_cv_sys_large_files
6231 ac_cpp
='$CPP $CPPFLAGS'
6232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6236 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6237 # On Suns, sometimes $CPP names a directory.
6238 if test -n "$CPP" && test -d "$CPP"; then
6241 if test -z "$CPP"; then
6242 if ${ac_cv_prog_CPP+:} false
; then :
6243 $as_echo_n "(cached) " >&6
6245 # Double quotes because CPP needs to be expanded
6246 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6249 for ac_c_preproc_warn_flag
in '' yes
6251 # Use a header file that comes with gcc, so configuring glibc
6252 # with a fresh cross-compiler works.
6253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6254 # <limits.h> exists even on freestanding compilers.
6255 # On the NeXT, cc -E runs the code through the compiler's parser,
6256 # not just through cpp. "Syntax error" is here to catch this case.
6257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6260 # include <limits.h>
6262 # include <assert.h>
6266 if ac_fn_c_try_cpp
"$LINENO"; then :
6269 # Broken: fails on valid input.
6272 rm -f conftest.err conftest.i conftest.
$ac_ext
6274 # OK, works on sane cases. Now check whether nonexistent headers
6275 # can be detected and how.
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <ac_nonexistent.h>
6280 if ac_fn_c_try_cpp
"$LINENO"; then :
6281 # Broken: success on invalid input.
6284 # Passes both tests.
6288 rm -f conftest.err conftest.i conftest.
$ac_ext
6291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6292 rm -f conftest.i conftest.err conftest.
$ac_ext
6293 if $ac_preproc_ok; then :
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6306 $as_echo "$CPP" >&6; }
6308 for ac_c_preproc_warn_flag
in '' yes
6310 # Use a header file that comes with gcc, so configuring glibc
6311 # with a fresh cross-compiler works.
6312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6313 # <limits.h> exists even on freestanding compilers.
6314 # On the NeXT, cc -E runs the code through the compiler's parser,
6315 # not just through cpp. "Syntax error" is here to catch this case.
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6319 # include <limits.h>
6321 # include <assert.h>
6325 if ac_fn_c_try_cpp
"$LINENO"; then :
6328 # Broken: fails on valid input.
6331 rm -f conftest.err conftest.i conftest.
$ac_ext
6333 # OK, works on sane cases. Now check whether nonexistent headers
6334 # can be detected and how.
6335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6337 #include <ac_nonexistent.h>
6339 if ac_fn_c_try_cpp
"$LINENO"; then :
6340 # Broken: success on invalid input.
6343 # Passes both tests.
6347 rm -f conftest.err conftest.i conftest.
$ac_ext
6350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6351 rm -f conftest.i conftest.err conftest.
$ac_ext
6352 if $ac_preproc_ok; then :
6355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6357 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6358 See \`config.log' for more details" "$LINENO" 5; }
6362 ac_cpp
='$CPP $CPPFLAGS'
6363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6369 $as_echo_n "checking for ANSI C header files... " >&6; }
6370 if ${ac_cv_header_stdc+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6388 if ac_fn_c_try_compile
"$LINENO"; then :
6389 ac_cv_header_stdc
=yes
6391 ac_cv_header_stdc
=no
6393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6395 if test $ac_cv_header_stdc = yes; then
6396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6403 $EGREP "memchr" >/dev
/null
2>&1; then :
6406 ac_cv_header_stdc
=no
6412 if test $ac_cv_header_stdc = yes; then
6413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6420 $EGREP "free" >/dev
/null
2>&1; then :
6423 ac_cv_header_stdc
=no
6429 if test $ac_cv_header_stdc = yes; then
6430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6431 if test "$cross_compiling" = yes; then :
6434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6438 #if ((' ' & 0x0FF) == 0x020)
6439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6442 # define ISLOWER(c) \
6443 (('a' <= (c) && (c) <= 'i') \
6444 || ('j' <= (c) && (c) <= 'r') \
6445 || ('s' <= (c) && (c) <= 'z'))
6446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6454 for (i = 0; i < 256; i++)
6455 if (XOR (islower (i), ISLOWER (i))
6456 || toupper (i) != TOUPPER (i))
6461 if ac_fn_c_try_run
"$LINENO"; then :
6464 ac_cv_header_stdc
=no
6466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6467 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6473 $as_echo "$ac_cv_header_stdc" >&6; }
6474 if test $ac_cv_header_stdc = yes; then
6476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6481 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6482 inttypes.h stdint.h unistd.h
6484 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6485 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6487 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6488 cat >>confdefs.h
<<_ACEOF
6489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6499 ApplicationServices
/ApplicationServices.h \
6500 AudioToolbox
/AudioConverter.h \
6501 AudioUnit
/AudioUnit.h \
6502 AudioUnit
/AudioComponent.h \
6505 CoreAudio
/CoreAudio.h \
6506 CoreServices
/CoreServices.h \
6507 DiskArbitration
/DiskArbitration.h \
6509 IOKit
/hid
/IOHIDLib.h \
6512 QuickTime
/ImageCompression.h \
6513 Security
/Security.h \
6527 fontconfig
/fontconfig.h \
6565 netinet
/in_systm.h \
6626 valgrind
/memcheck.h \
6627 valgrind
/valgrind.h \
6631 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6632 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6633 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6634 cat >>confdefs.h
<<_ACEOF
6635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6643 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6644 if ${ac_cv_header_stat_broken+:} false
; then :
6645 $as_echo_n "(cached) " >&6
6647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649 #include <sys/types.h>
6650 #include <sys/stat.h>
6652 #if defined S_ISBLK && defined S_IFDIR
6653 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6656 #if defined S_ISBLK && defined S_IFCHR
6657 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6660 #if defined S_ISLNK && defined S_IFREG
6661 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6664 #if defined S_ISSOCK && defined S_IFREG
6665 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6669 if ac_fn_c_try_compile
"$LINENO"; then :
6670 ac_cv_header_stat_broken
=no
6672 ac_cv_header_stat_broken
=yes
6674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6677 $as_echo "$ac_cv_header_stat_broken" >&6; }
6678 if test $ac_cv_header_stat_broken = yes; then
6680 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6686 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6688 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6690 #ifdef HAVE_SYS_PARAM_H
6691 # include <sys/param.h>
6694 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6695 cat >>confdefs.h
<<_ACEOF
6696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6711 netinet
/if_ether.h \
6712 netinet
/if_inarp.h \
6721 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6722 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6723 #ifdef HAVE_SYS_SOCKET_H
6724 # include <sys/socket.h>
6726 #ifdef HAVE_SYS_SOCKETVAR_H
6727 # include <sys/socketvar.h>
6729 #ifdef HAVE_NET_ROUTE_H
6730 # include <net/route.h>
6732 #ifdef HAVE_NETINET_IN_H
6733 # include <netinet/in.h>
6735 #ifdef HAVE_NETINET_IN_SYSTM_H
6736 # include <netinet/in_systm.h>
6738 #ifdef HAVE_NET_IF_H
6739 # include <net/if.h>
6741 #ifdef HAVE_NETINET_IP_H
6742 # include <netinet/ip.h>
6745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6746 cat >>confdefs.h
<<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6757 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6758 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6762 #ifdef HAVE_SYS_SOCKET_H
6763 # include <sys/socket.h>
6765 #ifdef HAVE_SYS_SOCKETVAR_H
6766 # include <sys/socketvar.h>
6768 #ifdef HAVE_SYS_TIMEOUT_H
6769 # include <sys/timeout.h>
6771 #ifdef HAVE_NETINET_IN_H
6772 # include <netinet/in.h>
6774 #ifdef HAVE_NETINET_IN_SYSTM_H
6775 # include <netinet/in_systm.h>
6777 #ifdef HAVE_NETINET_IP_H
6778 # include <netinet/ip.h>
6780 #ifdef HAVE_NETINET_IP_VAR_H
6781 # include <netinet/ip_var.h>
6783 #ifdef HAVE_NETINET_IP_ICMP_H
6784 # include <netinet/ip_icmp.h>
6786 #ifdef HAVE_NETINET_UDP_H
6787 # include <netinet/udp.h>
6789 #ifdef HAVE_NETINET_TCP_H
6790 # include <netinet/tcp.h>
6792 #ifdef HAVE_NETINET_TCP_TIMER_H
6793 #include <netinet/tcp_timer.h>
6796 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6797 cat >>confdefs.h
<<_ACEOF
6798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6806 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6808 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6810 #ifdef HAVE_ASM_TYPES_H
6811 # include <asm/types.h>
6813 #ifdef HAVE_SYS_SOCKET_H
6814 # include <sys/socket.h>
6816 #ifdef HAVE_LINUX_TYPES_H
6817 # include <linux/types.h>
6820 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6821 cat >>confdefs.h
<<_ACEOF
6822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6830 for ac_header
in mach-o
/dyld_images.h
6832 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6833 # include <stdbool.h>
6835 #ifdef HAVE_STDINT_H
6836 # include <stdint.h>
6839 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6840 cat >>confdefs.h
<<_ACEOF
6841 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6849 for ac_header
in resolv.h
6851 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_SOCKET_H
6853 # include <sys/socket.h>
6855 #ifdef HAVE_NETINET_IN_H
6856 # include <netinet/in.h>
6858 #ifdef HAVE_ARPA_NAMESER_H
6859 # include <arpa/nameser.h>
6862 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6863 cat >>confdefs.h
<<_ACEOF
6864 #define HAVE_RESOLV_H 1
6872 for ac_header
in ifaddrs.h
6874 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6876 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6877 cat >>confdefs.h
<<_ACEOF
6878 #define HAVE_IFADDRS_H 1
6886 for ac_header
in ucontext.h
6888 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6890 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define HAVE_UCONTEXT_H 1
6900 for ac_header
in sys
/thr.h
6902 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6903 #ifdef HAVE_UCONTEXT_H
6904 #include <ucontext.h>
6907 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HAVE_SYS_THR_H 1
6917 for ac_header
in pthread_np.h
6919 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6920 #include <pthread.h>
6923 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6924 cat >>confdefs.h
<<_ACEOF
6925 #define HAVE_PTHREAD_NP_H 1
6933 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6935 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6937 #include <sys/time.h>
6939 #include <sys/types.h>
6940 #ifdef HAVE_ASM_TYPES_H
6941 #include <asm/types.h>
6944 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6945 cat >>confdefs.h
<<_ACEOF
6946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6954 for ac_header
in libprocstat.h
6956 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6957 #include <sys/param.h>
6959 #ifdef HAVE_SYS_QUEUE_H
6960 #include <sys/queue.h>
6962 #ifdef HAVE_SYS_SOCKET_H
6963 #include <sys/socket.h>
6966 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6967 cat >>confdefs.h
<<_ACEOF
6968 #define HAVE_LIBPROCSTAT_H 1
6977 dlldir
="\${libdir}/wine"
6981 DLLFLAGS
="-D_REENTRANT"
6991 STATIC_IMPLIBEXT
="def.a"
6992 # Extract the first word of "ldd", so it can be a program name with args.
6993 set dummy ldd
; ac_word
=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_path_LDD+:} false
; then :
6997 $as_echo_n "(cached) " >&6
7001 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7005 as_dummy
="/sbin:/usr/sbin:$PATH"
7006 for as_dir
in $as_dummy
7009 test -z "$as_dir" && as_dir
=.
7010 for ac_exec_ext
in '' $ac_executable_extensions; do
7011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7012 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7025 if test -n "$LDD"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7027 $as_echo "$LDD" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7036 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if ${ac_cv_prog_READELF+:} false
; then :
7040 $as_echo_n "(cached) " >&6
7042 if test -n "$READELF"; then
7043 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir
=.
7050 for ac_exec_ext
in '' $ac_executable_extensions; do
7051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7052 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 READELF
=$ac_cv_prog_READELF
7063 if test -n "$READELF"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7065 $as_echo "$READELF" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7073 if test -z "$ac_cv_prog_READELF"; then
7074 ac_ct_READELF
=$READELF
7075 # Extract the first word of "readelf", so it can be a program name with args.
7076 set dummy readelf
; ac_word
=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$ac_ct_READELF"; then
7083 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir
=.
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_ac_ct_READELF
="readelf"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7103 if test -n "$ac_ct_READELF"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7105 $as_echo "$ac_ct_READELF" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7111 if test "x$ac_ct_READELF" = x
; then
7114 case $cross_compiling:$ac_tool_warned in
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118 ac_tool_warned
=yes ;;
7120 READELF
=$ac_ct_READELF
7123 READELF
="$ac_cv_prog_READELF"
7128 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7131 all: $wine_binary wine-installed
7133 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7134 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7137 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7143 if test -n "$ac_tool_prefix"; then
7144 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7145 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$DLLTOOL"; then
7152 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir
=.
7159 for ac_exec_ext
in '' $ac_executable_extensions; do
7160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 DLLTOOL
=$ac_cv_prog_DLLTOOL
7172 if test -n "$DLLTOOL"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7174 $as_echo "$DLLTOOL" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7182 if test -z "$ac_cv_prog_DLLTOOL"; then
7183 ac_ct_DLLTOOL
=$DLLTOOL
7184 # Extract the first word of "dlltool", so it can be a program name with args.
7185 set dummy dlltool
; ac_word
=$2
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 $as_echo_n "checking for $ac_word... " >&6; }
7188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7189 $as_echo_n "(cached) " >&6
7191 if test -n "$ac_ct_DLLTOOL"; then
7192 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 test -z "$as_dir" && as_dir
=.
7199 for ac_exec_ext
in '' $ac_executable_extensions; do
7200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7201 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7212 if test -n "$ac_ct_DLLTOOL"; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7214 $as_echo "$ac_ct_DLLTOOL" >&6; }
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 $as_echo "no" >&6; }
7220 if test "x$ac_ct_DLLTOOL" = x
; then
7223 case $cross_compiling:$ac_tool_warned in
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7227 ac_tool_warned
=yes ;;
7229 DLLTOOL
=$ac_ct_DLLTOOL
7232 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7238 STATIC_IMPLIBEXT
="a"
7239 enable_iphlpapi
=${enable_iphlpapi:-no}
7240 enable_kernel32
=${enable_kernel32:-no}
7241 enable_msvcrt
=${enable_msvcrt:-no}
7242 enable_ntdll
=${enable_ntdll:-no}
7243 enable_ws2_32
=${enable_ws2_32:-no}
7244 enable_loader
=${enable_loader:-no}
7245 enable_server
=${enable_server:-no}
7246 with_x
=${with_x:-no}
7247 with_pthread
=${with_pthread:-no}
7253 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7258 all: libwine.dll libwine.a
7261 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7263 libwine.dll: \$(OBJS) wine.def Makefile.in
7264 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7266 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7267 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7269 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7270 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7273 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7276 \$(RM) libwine.dll version.c
7283 DLLFLAGS
="$DLLFLAGS -fPIC"
7284 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7285 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7286 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7287 COREFOUNDATIONLIB
="-framework CoreFoundation"
7289 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7291 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7293 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7295 CORESERVICESLIB
="-framework CoreServices"
7297 APPKITLIB
="-framework AppKit"
7299 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7301 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7303 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7305 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7308 if test "$ac_cv_header_Security_Security_h" = "yes"
7310 SECURITYLIB
="-framework Security -framework CoreFoundation"
7312 ac_save_LIBS
="$LIBS"
7313 LIBS
="$LIBS $SECURITYLIB"
7314 for ac_func
in SSLCopyPeerCertificates
7316 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7317 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7318 cat >>confdefs.h
<<_ACEOF
7319 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7325 LIBS
="$ac_save_LIBS"
7326 with_gnutls
=${with_gnutls:-no}
7328 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7330 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7332 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7335 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7338 ac_save_LIBS
="$LIBS"
7339 LIBS
="$LIBS $COREAUDIO"
7340 for ac_func
in AUGraphAddNode
7342 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7343 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7344 cat >>confdefs.h
<<_ACEOF
7345 #define HAVE_AUGRAPHADDNODE 1
7351 LIBS
="$ac_save_LIBS"
7353 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7355 FRAMEWORK_OPENAL
="-framework OpenAL"
7358 cat >>confdefs.h
<<_ACEOF
7359 #define HAVE_OPENAL 1
7362 ac_cv_lib_openal
=yes
7364 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7366 LIBOPENCL
="-framework OpenCL"
7368 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7370 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7372 ac_save_LIBS
="$LIBS"
7373 LIBS
="$LIBS $IOKITLIB"
7374 for ac_func
in IOHIDManagerCreate
7376 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7377 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7378 cat >>confdefs.h
<<_ACEOF
7379 #define HAVE_IOHIDMANAGERCREATE 1
7385 LIBS
="$ac_save_LIBS"
7387 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7389 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7391 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7393 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7395 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7397 CARBONLIB
="-framework Carbon"
7401 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7403 ac_save_LIBS
="$LIBS"
7404 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7405 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7406 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7407 enable_winemac_drv
=${enable_winemac_drv:-yes}
7410 LIBS
="$ac_save_LIBS"
7413 if test "x$enable_win16" = "xyes"
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7416 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7417 if test "$cross_compiling" = yes; then :
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7419 $as_echo "cross-compiling, assuming yes" >&6; }
7421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7425 "good:\tnop;nop\n\t"
7426 ".globl _testfunc\n"
7427 "_testfunc:\tcallw good");
7428 extern void testfunc();
7432 unsigned short *p = (unsigned short *)testfunc;
7433 return p[0] != 0xe866 || p[1] != 0xfffa
7438 if ac_fn_c_try_run
"$LINENO"; then :
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7440 $as_echo "yes" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7444 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
7446 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7447 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7455 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7456 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7458 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7459 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7461 libwine.dylib: libwine.\$(SOVERSION).dylib
7462 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7464 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7465 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7468 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7472 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7475 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7479 as_fn_append LOADER_RULES
"
7480 $wine_binary: main.o Makefile.in wine_info.plist
7481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7483 wine-installed: main.o Makefile.in wine_info.plist
7484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7486 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7487 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7492 DLLFLAGS
="$DLLFLAGS -fPIC"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7498 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7499 $as_echo_n "(cached) " >&6
7501 ac_wine_try_cflags_saved
=$CFLAGS
7502 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 int main(int argc, char **argv) { return 0; }
7507 if ac_fn_c_try_link
"$LINENO"; then :
7508 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7510 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7512 rm -f core conftest.err conftest.
$ac_objext \
7513 conftest
$ac_exeext conftest.
$ac_ext
7514 CFLAGS
=$ac_wine_try_cflags_saved
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7517 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7518 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7519 LDEXECFLAGS
="-Wl,--export-dynamic"
7521 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7524 if eval \
${$as_ac_var+:} false
; then :
7525 $as_echo_n "(cached) " >&6
7527 ac_wine_try_cflags_saved
=$CFLAGS
7528 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7531 int main(int argc, char **argv) { return 0; }
7533 if ac_fn_c_try_link
"$LINENO"; then :
7534 eval "$as_ac_var=yes"
7536 eval "$as_ac_var=no"
7538 rm -f core conftest.err conftest.
$ac_objext \
7539 conftest
$ac_exeext conftest.
$ac_ext
7540 CFLAGS
=$ac_wine_try_cflags_saved
7542 eval ac_res
=\$
$as_ac_var
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7544 $as_echo "$ac_res" >&6; }
7545 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7546 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7547 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7549 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7552 if eval \
${$as_ac_var+:} false
; then :
7553 $as_echo_n "(cached) " >&6
7555 ac_wine_try_cflags_saved
=$CFLAGS
7556 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 int main(int argc, char **argv) { return 0; }
7561 if ac_fn_c_try_link
"$LINENO"; then :
7562 eval "$as_ac_var=yes"
7564 eval "$as_ac_var=no"
7566 rm -f core conftest.err conftest.
$ac_objext \
7567 conftest
$ac_exeext conftest.
$ac_ext
7568 CFLAGS
=$ac_wine_try_cflags_saved
7570 eval ac_res
=\$
$as_ac_var
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7572 $as_echo "$ac_res" >&6; }
7573 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7574 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7575 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_wine_try_cflags_saved
=$CFLAGS
7585 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 int main(int argc, char **argv) { return 0; }
7590 if ac_fn_c_try_link
"$LINENO"; then :
7591 ac_cv_cflags__Wl___enable_new_dtags
=yes
7593 ac_cv_cflags__Wl___enable_new_dtags
=no
7595 rm -f core conftest.err conftest.
$ac_objext \
7596 conftest
$ac_exeext conftest.
$ac_ext
7597 CFLAGS
=$ac_wine_try_cflags_saved
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7601 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7602 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7606 *i
[3456789]86* | x86_64
)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 ac_wine_try_cflags_saved
=$CFLAGS
7613 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 int main(int argc, char **argv) { return 0; }
7618 if ac_fn_c_try_link
"$LINENO"; then :
7619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7623 rm -f core conftest.err conftest.
$ac_objext \
7624 conftest
$ac_exeext conftest.
$ac_ext
7625 CFLAGS
=$ac_wine_try_cflags_saved
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7629 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7630 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7638 libwine.so: \$(OBJS) Makefile.in
7639 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7641 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7642 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7645 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7648 \$(RM) libwine.so version.c
7652 as_fn_append LOADER_RULES
"
7653 $wine_binary: main.o Makefile.in
7654 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7656 wine-installed: main.o Makefile.in
7657 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7662 DLLFLAGS
="$DLLFLAGS -fPIC"
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7665 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7666 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7667 $as_echo_n "(cached) " >&6
7669 ac_wine_try_cflags_saved
=$CFLAGS
7670 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7675 if ac_fn_c_try_link
"$LINENO"; then :
7676 ac_cv_c_dll_gnuelf
="yes"
7678 ac_cv_c_dll_gnuelf
="no"
7680 rm -f core conftest.err conftest.
$ac_objext \
7681 conftest
$ac_exeext conftest.
$ac_ext
7682 CFLAGS
=$ac_wine_try_cflags_saved
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7685 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7686 if test "$ac_cv_c_dll_gnuelf" = "yes"
7688 LDSHARED
="\$(CC) -shared"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7690 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7691 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7692 $as_echo_n "(cached) " >&6
7694 ac_wine_try_cflags_saved
=$CFLAGS
7695 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 int main(int argc, char **argv) { return 0; }
7700 if ac_fn_c_try_link
"$LINENO"; then :
7701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7703 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7705 rm -f core conftest.err conftest.
$ac_objext \
7706 conftest
$ac_exeext conftest.
$ac_ext
7707 CFLAGS
=$ac_wine_try_cflags_saved
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7710 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7711 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7712 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7715 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7716 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7717 $as_echo_n "(cached) " >&6
7719 ac_wine_try_cflags_saved
=$CFLAGS
7720 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 int main(int argc, char **argv) { return 0; }
7725 if ac_fn_c_try_link
"$LINENO"; then :
7726 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7728 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7730 rm -f core conftest.err conftest.
$ac_objext \
7731 conftest
$ac_exeext conftest.
$ac_ext
7732 CFLAGS
=$ac_wine_try_cflags_saved
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7735 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7736 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7737 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7741 echo '{ global: *; };' >conftest.map
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7743 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7744 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7745 $as_echo_n "(cached) " >&6
7747 ac_wine_try_cflags_saved
=$CFLAGS
7748 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 int main(int argc, char **argv) { return 0; }
7753 if ac_fn_c_try_link
"$LINENO"; then :
7754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7756 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7758 rm -f core conftest.err conftest.
$ac_objext \
7759 conftest
$ac_exeext conftest.
$ac_ext
7760 CFLAGS
=$ac_wine_try_cflags_saved
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7763 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7764 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7765 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7770 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7771 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7772 $as_echo_n "(cached) " >&6
7774 ac_wine_try_cflags_saved
=$CFLAGS
7775 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7778 int main(int argc, char **argv) { return 0; }
7780 if ac_fn_c_try_link
"$LINENO"; then :
7781 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7783 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7785 rm -f core conftest.err conftest.
$ac_objext \
7786 conftest
$ac_exeext conftest.
$ac_ext
7787 CFLAGS
=$ac_wine_try_cflags_saved
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7790 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7791 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7792 LDEXECFLAGS
="-Wl,--export-dynamic"
7795 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7797 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7798 if eval \
${$as_ac_var+:} false
; then :
7799 $as_echo_n "(cached) " >&6
7801 ac_wine_try_cflags_saved
=$CFLAGS
7802 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7805 int main(int argc, char **argv) { return 0; }
7807 if ac_fn_c_try_link
"$LINENO"; then :
7808 eval "$as_ac_var=yes"
7810 eval "$as_ac_var=no"
7812 rm -f core conftest.err conftest.
$ac_objext \
7813 conftest
$ac_exeext conftest.
$ac_ext
7814 CFLAGS
=$ac_wine_try_cflags_saved
7816 eval ac_res
=\$
$as_ac_var
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7818 $as_echo "$ac_res" >&6; }
7819 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7820 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7821 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7823 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7825 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7826 if eval \
${$as_ac_var+:} false
; then :
7827 $as_echo_n "(cached) " >&6
7829 ac_wine_try_cflags_saved
=$CFLAGS
7830 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7833 int main(int argc, char **argv) { return 0; }
7835 if ac_fn_c_try_link
"$LINENO"; then :
7836 eval "$as_ac_var=yes"
7838 eval "$as_ac_var=no"
7840 rm -f core conftest.err conftest.
$ac_objext \
7841 conftest
$ac_exeext conftest.
$ac_ext
7842 CFLAGS
=$ac_wine_try_cflags_saved
7844 eval ac_res
=\$
$as_ac_var
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7846 $as_echo "$ac_res" >&6; }
7847 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7848 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7849 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7854 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7855 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7856 $as_echo_n "(cached) " >&6
7858 ac_wine_try_cflags_saved
=$CFLAGS
7859 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7862 int main(int argc, char **argv) { return 0; }
7864 if ac_fn_c_try_link
"$LINENO"; then :
7865 ac_cv_cflags__Wl___enable_new_dtags
=yes
7867 ac_cv_cflags__Wl___enable_new_dtags
=no
7869 rm -f core conftest.err conftest.
$ac_objext \
7870 conftest
$ac_exeext conftest.
$ac_ext
7871 CFLAGS
=$ac_wine_try_cflags_saved
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7874 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7875 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7876 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7880 *i
[3456789]86* | x86_64
)
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7882 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7883 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7884 $as_echo_n "(cached) " >&6
7886 ac_wine_try_cflags_saved
=$CFLAGS
7887 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 int main(int argc, char **argv) { return 0; }
7892 if ac_fn_c_try_link
"$LINENO"; then :
7893 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7895 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7897 rm -f core conftest.err conftest.
$ac_objext \
7898 conftest
$ac_exeext conftest.
$ac_ext
7899 CFLAGS
=$ac_wine_try_cflags_saved
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7902 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7903 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7905 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7906 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7910 # Extract the first word of "prelink", so it can be a program name with args.
7911 set dummy prelink
; ac_word
=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_path_PRELINK+:} false
; then :
7915 $as_echo_n "(cached) " >&6
7919 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7923 for as_dir
in /sbin
/usr
/sbin
$PATH
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7941 PRELINK
=$ac_cv_path_PRELINK
7942 if test -n "$PRELINK"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7944 $as_echo "$PRELINK" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7951 if test "x$PRELINK" = xfalse
7953 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7960 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7961 if ${ac_cv_c_dll_unixware+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 ac_wine_try_cflags_saved
=$CFLAGS
7965 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7970 if ac_fn_c_try_link
"$LINENO"; then :
7971 ac_cv_c_dll_unixware
="yes"
7973 ac_cv_c_dll_unixware
="no"
7975 rm -f core conftest.err conftest.
$ac_objext \
7976 conftest
$ac_exeext conftest.
$ac_ext
7977 CFLAGS
=$ac_wine_try_cflags_saved
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7980 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7981 if test "$ac_cv_c_dll_unixware" = "yes"
7983 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7989 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7990 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7992 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7993 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7995 libwine.so: libwine.so.\$(SOVERSION)
7996 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7998 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7999 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8000 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8002 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8003 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8006 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8009 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8013 as_fn_append LOADER_RULES
"
8014 $wine_binary: main.o Makefile.in
8015 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8017 wine-installed: main.o Makefile.in
8018 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8023 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8024 enable_winemac_drv
=${enable_winemac_drv:-no}
8028 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8032 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
8035 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 " ;;
8037 ac_prefix_list
="" ;;
8039 for ac_prog
in $ac_prefix_list
8041 # Extract the first word of "$ac_prog", so it can be a program name with args.
8042 set dummy
$ac_prog; ac_word
=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_CROSSCC+:} false
; then :
8046 $as_echo_n "(cached) " >&6
8048 if test -n "$CROSSCC"; then
8049 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8055 test -z "$as_dir" && as_dir
=.
8056 for ac_exec_ext
in '' $ac_executable_extensions; do
8057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_CROSSCC
="$ac_prog"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 CROSSCC
=$ac_cv_prog_CROSSCC
8069 if test -n "$CROSSCC"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8071 $as_echo "$CROSSCC" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8078 test -n "$CROSSCC" && break
8080 test -n "$CROSSCC" || CROSSCC
="false"
8082 if test "$CROSSCC" != "false"
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8087 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8099 if ac_fn_c_try_compile
"$LINENO"; then :
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8101 $as_echo "yes" >&6; }
8107 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8121 if test "$ac_cv_header_pthread_h" = "yes"
8123 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8124 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8128 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8129 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_check_lib_save_LIBS
=$LIBS
8133 LIBS
="-lpthread $LIBS"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8137 /* Override any GCC internal prototype to avoid an error.
8138 Use char because int might match the return type of a GCC
8139 builtin and then its argument prototype would still apply. */
8143 char pthread_create ();
8147 return pthread_create ();
8152 if ac_fn_c_try_link
"$LINENO"; then :
8153 ac_cv_lib_pthread_pthread_create
=yes
8155 ac_cv_lib_pthread_pthread_create
=no
8157 rm -f core conftest.err conftest.
$ac_objext \
8158 conftest
$ac_exeext conftest.
$ac_ext
8159 LIBS
=$ac_check_lib_save_LIBS
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8162 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8163 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8164 LIBPTHREAD
="-lpthread"
8171 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8172 case "x$with_pthread" in
8174 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8175 Wine cannot support threads without libpthread.
8176 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8182 $as_echo_n "checking for X... " >&6; }
8185 # Check whether --with-x was given.
8186 if test "${with_x+set}" = set; then :
8190 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8191 if test "x$with_x" = xno
; then
8192 # The user explicitly disabled X.
8195 case $x_includes,$x_libraries in #(
8196 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8197 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8200 # One or both of the vars are not set, and there is no cached value.
8201 ac_x_includes
=no ac_x_libraries
=no
8202 rm -f -r conftest.dir
8203 if mkdir conftest.dir
; then
8205 cat >Imakefile
<<'_ACEOF'
8207 @echo incroot='${INCROOT}'
8209 @echo usrlibdir='${USRLIBDIR}'
8211 @echo libdir='${LIBDIR}'
8213 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8215 for ac_var
in incroot usrlibdir libdir
; do
8216 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8218 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8219 for ac_extension
in a so sl dylib la dll
; do
8220 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8221 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8222 ac_im_usrlibdir
=$ac_im_libdir; break
8225 # Screen out bogus values from the imake configuration. They are
8226 # bogus both because they are the default anyway, and because
8227 # using them would break gcc on systems where it needs fixed includes.
8228 case $ac_im_incroot in
8229 /usr
/include
) ac_x_includes
= ;;
8230 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8232 case $ac_im_usrlibdir in
8233 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8234 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8238 rm -f -r conftest.dir
8241 # Standard set of common directories for X headers.
8242 # Check X11 before X11Rn because it is often a symlink to the current release.
8256 /usr/local/X11/include
8257 /usr/local/X11R7/include
8258 /usr/local/X11R6/include
8259 /usr/local/X11R5/include
8260 /usr/local/X11R4/include
8262 /usr/local/include/X11
8263 /usr/local/include/X11R7
8264 /usr/local/include/X11R6
8265 /usr/local/include/X11R5
8266 /usr/local/include/X11R4
8270 /usr/XFree86/include/X11
8274 /usr/unsupported/include
8276 /usr/local/x11r5/include
8277 /usr/lpp/Xamples/include
8279 /usr/openwin/include
8280 /usr/openwin/share/include'
8282 if test "$ac_x_includes" = no
; then
8283 # Guess where to find include files, by looking for Xlib.h.
8284 # First, try using that file with no special directory specified.
8285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 #include <X11/Xlib.h>
8289 if ac_fn_c_try_cpp
"$LINENO"; then :
8290 # We can compile using X headers with no special include directory.
8293 for ac_dir
in $ac_x_header_dirs; do
8294 if test -r "$ac_dir/X11/Xlib.h"; then
8295 ac_x_includes
=$ac_dir
8300 rm -f conftest.err conftest.i conftest.
$ac_ext
8301 fi # $ac_x_includes = no
8303 if test "$ac_x_libraries" = no
; then
8304 # Check for the libraries.
8305 # See if we find them without any special options.
8306 # Don't add to $LIBS permanently.
8309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 #include <X11/Xlib.h>
8320 if ac_fn_c_try_link
"$LINENO"; then :
8322 # We can link X programs with no special library path.
8326 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8328 # Don't even attempt the hair of trying to link an X program!
8329 for ac_extension
in a so sl dylib la dll
; do
8330 if test -r "$ac_dir/libX11.$ac_extension"; then
8331 ac_x_libraries
=$ac_dir
8337 rm -f core conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8339 fi # $ac_x_libraries = no
8341 case $ac_x_includes,$ac_x_libraries in #(
8343 # Didn't find X, or a directory has "'" in its name.
8344 ac_cv_have_x
="have_x=no";; #(
8346 # Record where we found X for the cache.
8347 ac_cv_have_x
="have_x=yes\
8348 ac_x_includes='$ac_x_includes'\
8349 ac_x_libraries='$ac_x_libraries'"
8355 eval "$ac_cv_have_x"
8358 if test "$have_x" != yes; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8360 $as_echo "$have_x" >&6; }
8363 # If each of the values was on the command line, it overrides each guess.
8364 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8365 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8366 # Update the cache value to reflect the command line values.
8367 ac_cv_have_x
="have_x=yes\
8368 ac_x_includes='$x_includes'\
8369 ac_x_libraries='$x_libraries'"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8371 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8374 if test "$no_x" = yes; then
8375 # Not all programs may use this symbol, but it does not hurt to define it.
8377 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8379 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8381 if test -n "$x_includes"; then
8382 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8385 # It would also be nice to do this for all -L options, not just this one.
8386 if test -n "$x_libraries"; then
8387 X_LIBS
="$X_LIBS -L$x_libraries"
8388 # For Solaris; some versions of Sun CC require a space after -R and
8389 # others require no space. Words are not sufficient . . . .
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8391 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8392 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8393 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8394 ac_c_werror_flag
=yes
8395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8406 if ac_fn_c_try_link
"$LINENO"; then :
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8409 X_LIBS
="$X_LIBS -R$x_libraries"
8411 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8423 if ac_fn_c_try_link
"$LINENO"; then :
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8425 $as_echo "yes" >&6; }
8426 X_LIBS
="$X_LIBS -R $x_libraries"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8429 $as_echo "neither works" >&6; }
8431 rm -f core conftest.err conftest.
$ac_objext \
8432 conftest
$ac_exeext conftest.
$ac_ext
8434 rm -f core conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8436 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8440 # Check for system-dependent libraries X programs must link with.
8441 # Do this before checking for the system-independent R6 libraries
8442 # (-lICE), since we may need -lsocket or whatever for X linking.
8444 if test "$ISC" = yes; then
8445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8447 # Martyn Johnson says this is needed for Ultrix, if the X
8448 # libraries were built with DECnet support. And Karl Berry says
8449 # the Alpha needs dnet_stub (dnet does not exist).
8450 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8454 /* Override any GCC internal prototype to avoid an error.
8455 Use char because int might match the return type of a GCC
8456 builtin and then its argument prototype would still apply. */
8460 char XOpenDisplay ();
8464 return XOpenDisplay ();
8469 if ac_fn_c_try_link
"$LINENO"; then :
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8473 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8474 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8475 $as_echo_n "(cached) " >&6
8477 ac_check_lib_save_LIBS
=$LIBS
8479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8482 /* Override any GCC internal prototype to avoid an error.
8483 Use char because int might match the return type of a GCC
8484 builtin and then its argument prototype would still apply. */
8492 return dnet_ntoa ();
8497 if ac_fn_c_try_link
"$LINENO"; then :
8498 ac_cv_lib_dnet_dnet_ntoa
=yes
8500 ac_cv_lib_dnet_dnet_ntoa
=no
8502 rm -f core conftest.err conftest.
$ac_objext \
8503 conftest
$ac_exeext conftest.
$ac_ext
8504 LIBS
=$ac_check_lib_save_LIBS
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8507 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8508 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8512 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8514 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8515 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8516 $as_echo_n "(cached) " >&6
8518 ac_check_lib_save_LIBS
=$LIBS
8519 LIBS
="-ldnet_stub $LIBS"
8520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8533 return dnet_ntoa ();
8538 if ac_fn_c_try_link
"$LINENO"; then :
8539 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8541 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8543 rm -f core conftest.err conftest.
$ac_objext \
8544 conftest
$ac_exeext conftest.
$ac_ext
8545 LIBS
=$ac_check_lib_save_LIBS
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8548 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8549 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8550 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8555 rm -f core conftest.err conftest.
$ac_objext \
8556 conftest
$ac_exeext conftest.
$ac_ext
8557 LIBS
="$ac_xsave_LIBS"
8559 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8560 # to get the SysV transport functions.
8561 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8563 # The nsl library prevents programs from opening the X display
8564 # on Irix 5.2, according to T.E. Dickey.
8565 # The functions gethostbyname, getservbyname, and inet_addr are
8566 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8567 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8568 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8572 if test $ac_cv_func_gethostbyname = no
; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8574 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8575 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8576 $as_echo_n "(cached) " >&6
8578 ac_check_lib_save_LIBS
=$LIBS
8580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8583 /* Override any GCC internal prototype to avoid an error.
8584 Use char because int might match the return type of a GCC
8585 builtin and then its argument prototype would still apply. */
8589 char gethostbyname ();
8593 return gethostbyname ();
8598 if ac_fn_c_try_link
"$LINENO"; then :
8599 ac_cv_lib_nsl_gethostbyname
=yes
8601 ac_cv_lib_nsl_gethostbyname
=no
8603 rm -f core conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 LIBS
=$ac_check_lib_save_LIBS
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8608 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8609 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8613 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8615 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8616 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8617 $as_echo_n "(cached) " >&6
8619 ac_check_lib_save_LIBS
=$LIBS
8621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8624 /* Override any GCC internal prototype to avoid an error.
8625 Use char because int might match the return type of a GCC
8626 builtin and then its argument prototype would still apply. */
8630 char gethostbyname ();
8634 return gethostbyname ();
8639 if ac_fn_c_try_link
"$LINENO"; then :
8640 ac_cv_lib_bsd_gethostbyname
=yes
8642 ac_cv_lib_bsd_gethostbyname
=no
8644 rm -f core conftest.err conftest.
$ac_objext \
8645 conftest
$ac_exeext conftest.
$ac_ext
8646 LIBS
=$ac_check_lib_save_LIBS
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8649 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8650 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8657 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8658 # socket/setsockopt and other routines are undefined under SCO ODT
8659 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8660 # on later versions), says Simon Leinen: it contains gethostby*
8661 # variants that don't use the name server (or something). -lsocket
8662 # must be given before -lnsl if both are needed. We assume that
8663 # if connect needs -lnsl, so does gethostbyname.
8664 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8665 if test "x$ac_cv_func_connect" = xyes
; then :
8669 if test $ac_cv_func_connect = no
; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8671 $as_echo_n "checking for connect in -lsocket... " >&6; }
8672 if ${ac_cv_lib_socket_connect+:} false
; then :
8673 $as_echo_n "(cached) " >&6
8675 ac_check_lib_save_LIBS
=$LIBS
8676 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8680 /* Override any GCC internal prototype to avoid an error.
8681 Use char because int might match the return type of a GCC
8682 builtin and then its argument prototype would still apply. */
8695 if ac_fn_c_try_link
"$LINENO"; then :
8696 ac_cv_lib_socket_connect
=yes
8698 ac_cv_lib_socket_connect
=no
8700 rm -f core conftest.err conftest.
$ac_objext \
8701 conftest
$ac_exeext conftest.
$ac_ext
8702 LIBS
=$ac_check_lib_save_LIBS
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8705 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8706 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8707 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8712 # Guillermo Gomez says -lposix is necessary on A/UX.
8713 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8714 if test "x$ac_cv_func_remove" = xyes
; then :
8718 if test $ac_cv_func_remove = no
; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8720 $as_echo_n "checking for remove in -lposix... " >&6; }
8721 if ${ac_cv_lib_posix_remove+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 ac_check_lib_save_LIBS
=$LIBS
8725 LIBS
="-lposix $LIBS"
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8729 /* Override any GCC internal prototype to avoid an error.
8730 Use char because int might match the return type of a GCC
8731 builtin and then its argument prototype would still apply. */
8744 if ac_fn_c_try_link
"$LINENO"; then :
8745 ac_cv_lib_posix_remove
=yes
8747 ac_cv_lib_posix_remove
=no
8749 rm -f core conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8751 LIBS
=$ac_check_lib_save_LIBS
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8754 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8755 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8756 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8761 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8762 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8763 if test "x$ac_cv_func_shmat" = xyes
; then :
8767 if test $ac_cv_func_shmat = no
; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8769 $as_echo_n "checking for shmat in -lipc... " >&6; }
8770 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8771 $as_echo_n "(cached) " >&6
8773 ac_check_lib_save_LIBS
=$LIBS
8775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8778 /* Override any GCC internal prototype to avoid an error.
8779 Use char because int might match the return type of a GCC
8780 builtin and then its argument prototype would still apply. */
8793 if ac_fn_c_try_link
"$LINENO"; then :
8794 ac_cv_lib_ipc_shmat
=yes
8796 ac_cv_lib_ipc_shmat
=no
8798 rm -f core conftest.err conftest.
$ac_objext \
8799 conftest
$ac_exeext conftest.
$ac_ext
8800 LIBS
=$ac_check_lib_save_LIBS
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8803 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8804 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8805 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8811 # Check for libraries that X11R6 Xt/Xaw programs need.
8812 ac_save_LDFLAGS
=$LDFLAGS
8813 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8814 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8815 # check for ICE first), but we must link in the order -lSM -lICE or
8816 # we get undefined symbols. So assume we have SM if we have ICE.
8817 # These have to be linked with before -lX11, unlike the other
8818 # libraries we check for below, so use a different variable.
8819 # John Interrante, Karl Berry
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8821 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8822 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8823 $as_echo_n "(cached) " >&6
8825 ac_check_lib_save_LIBS
=$LIBS
8826 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8830 /* Override any GCC internal prototype to avoid an error.
8831 Use char because int might match the return type of a GCC
8832 builtin and then its argument prototype would still apply. */
8836 char IceConnectionNumber ();
8840 return IceConnectionNumber ();
8845 if ac_fn_c_try_link
"$LINENO"; then :
8846 ac_cv_lib_ICE_IceConnectionNumber
=yes
8848 ac_cv_lib_ICE_IceConnectionNumber
=no
8850 rm -f core conftest.err conftest.
$ac_objext \
8851 conftest
$ac_exeext conftest.
$ac_ext
8852 LIBS
=$ac_check_lib_save_LIBS
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8855 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8856 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8857 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8860 LDFLAGS
=$ac_save_LDFLAGS
8865 if test "$have_x" = "yes"
8868 ac_save_CPPFLAGS
="$CPPFLAGS"
8869 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8872 $as_echo_n "checking for -lX11... " >&6; }
8873 if ${ac_cv_lib_soname_X11+:} false
; then :
8874 $as_echo_n "(cached) " >&6
8876 ac_check_soname_save_LIBS
=$LIBS
8877 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8881 /* Override any GCC internal prototype to avoid an error.
8882 Use char because int might match the return type of a GCC
8883 builtin and then its argument prototype would still apply. */
8887 char XCreateWindow ();
8891 return XCreateWindow ();
8896 if ac_fn_c_try_link
"$LINENO"; then :
8898 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8899 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'` ;;
8900 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8901 if test "x$ac_cv_lib_soname_X11" = x
; then :
8902 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8906 rm -f core conftest.err conftest.
$ac_objext \
8907 conftest
$ac_exeext conftest.
$ac_ext
8908 LIBS
=$ac_check_soname_save_LIBS
8910 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8912 $as_echo "not found" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8916 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8918 cat >>confdefs.h
<<_ACEOF
8919 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8925 $as_echo_n "checking for -lXext... " >&6; }
8926 if ${ac_cv_lib_soname_Xext+:} false
; then :
8927 $as_echo_n "(cached) " >&6
8929 ac_check_soname_save_LIBS
=$LIBS
8930 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8934 /* Override any GCC internal prototype to avoid an error.
8935 Use char because int might match the return type of a GCC
8936 builtin and then its argument prototype would still apply. */
8940 char XextCreateExtension ();
8944 return XextCreateExtension ();
8949 if ac_fn_c_try_link
"$LINENO"; then :
8951 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8952 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'` ;;
8953 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8954 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8955 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8959 rm -f core conftest.err conftest.
$ac_objext \
8960 conftest
$ac_exeext conftest.
$ac_ext
8961 LIBS
=$ac_check_soname_save_LIBS
8963 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8965 $as_echo "not found" >&6; }
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8969 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8971 cat >>confdefs.h
<<_ACEOF
8972 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8978 for ac_header
in X11
/Xlib.h \
8981 X11
/Xcursor
/Xcursor.h \
8982 X11
/extensions
/shape.h \
8983 X11
/extensions
/XInput.h \
8984 X11
/extensions
/XInput2.h \
8985 X11
/extensions
/XShm.h \
8986 X11
/extensions
/Xcomposite.h \
8987 X11
/extensions
/Xinerama.h \
8988 X11
/extensions
/Xrandr.h \
8989 X11
/extensions
/Xrender.h \
8990 X11
/extensions
/xf86vmode.h \
8991 X11
/extensions
/xf86vmproto.h
8993 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8994 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8995 # include <X11/Xlib.h>
8997 #ifdef HAVE_X11_XUTIL_H
8998 # include <X11/Xutil.h>
9001 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9002 cat >>confdefs.h
<<_ACEOF
9003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9011 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9014 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9015 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9016 $as_echo_n "(cached) " >&6
9018 ac_check_lib_save_LIBS
=$LIBS
9019 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9023 /* Override any GCC internal prototype to avoid an error.
9024 Use char because int might match the return type of a GCC
9025 builtin and then its argument prototype would still apply. */
9029 char XkbQueryExtension ();
9033 return XkbQueryExtension ();
9038 if ac_fn_c_try_link
"$LINENO"; then :
9039 ac_cv_lib_X11_XkbQueryExtension
=yes
9041 ac_cv_lib_X11_XkbQueryExtension
=no
9043 rm -f core conftest.err conftest.
$ac_objext \
9044 conftest
$ac_exeext conftest.
$ac_ext
9045 LIBS
=$ac_check_lib_save_LIBS
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9048 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9049 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9051 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9057 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9060 $as_echo_n "checking for -lXcursor... " >&6; }
9061 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9062 $as_echo_n "(cached) " >&6
9064 ac_check_soname_save_LIBS
=$LIBS
9065 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9075 char XcursorImageLoadCursor ();
9079 return XcursorImageLoadCursor ();
9084 if ac_fn_c_try_link
"$LINENO"; then :
9086 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9087 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'` ;;
9088 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9089 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9090 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9094 rm -f core conftest.err conftest.
$ac_objext \
9095 conftest
$ac_exeext conftest.
$ac_ext
9096 LIBS
=$ac_check_soname_save_LIBS
9098 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9100 $as_echo "not found" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9104 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9106 cat >>confdefs.h
<<_ACEOF
9107 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9113 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9114 case "x$with_xcursor" in
9115 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9117 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9118 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9122 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9125 $as_echo_n "checking for -lXi... " >&6; }
9126 if ${ac_cv_lib_soname_Xi+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 ac_check_soname_save_LIBS
=$LIBS
9130 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9140 char XOpenDevice ();
9144 return XOpenDevice ();
9149 if ac_fn_c_try_link
"$LINENO"; then :
9151 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9152 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'` ;;
9153 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9154 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9155 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9159 rm -f core conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9161 LIBS
=$ac_check_soname_save_LIBS
9163 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9165 $as_echo "not found" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9169 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9171 cat >>confdefs.h
<<_ACEOF
9172 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9178 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9179 case "x$with_xinput" in
9180 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9182 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9183 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9187 if test "x$ac_cv_lib_soname_Xi" != x
9189 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9190 case "x$with_xinput2" in
9191 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9193 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9194 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9199 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9202 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9203 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9204 $as_echo_n "(cached) " >&6
9206 ac_check_lib_save_LIBS
=$LIBS
9207 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9217 char XShmQueryExtension ();
9221 return XShmQueryExtension ();
9226 if ac_fn_c_try_link
"$LINENO"; then :
9227 ac_cv_lib_Xext_XShmQueryExtension
=yes
9229 ac_cv_lib_Xext_XShmQueryExtension
=no
9231 rm -f core conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 LIBS
=$ac_check_lib_save_LIBS
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9236 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9237 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9239 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9244 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9245 case "x$with_xshm" in
9246 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9248 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9249 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9253 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9256 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9257 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9258 $as_echo_n "(cached) " >&6
9260 ac_check_lib_save_LIBS
=$LIBS
9261 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9265 /* Override any GCC internal prototype to avoid an error.
9266 Use char because int might match the return type of a GCC
9267 builtin and then its argument prototype would still apply. */
9271 char XShapeQueryExtension ();
9275 return XShapeQueryExtension ();
9280 if ac_fn_c_try_link
"$LINENO"; then :
9281 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9283 ac_cv_lib_Xext_XShapeQueryExtension
=no
9285 rm -f core conftest.err conftest.
$ac_objext \
9286 conftest
$ac_exeext conftest.
$ac_ext
9287 LIBS
=$ac_check_lib_save_LIBS
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9290 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9291 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9293 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9298 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9299 case "x$with_xshape" in
9300 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9302 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9303 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9307 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9310 $as_echo_n "checking for -lXxf86vm... " >&6; }
9311 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9312 $as_echo_n "(cached) " >&6
9314 ac_check_soname_save_LIBS
=$LIBS
9315 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9319 /* Override any GCC internal prototype to avoid an error.
9320 Use char because int might match the return type of a GCC
9321 builtin and then its argument prototype would still apply. */
9325 char XF86VidModeQueryExtension ();
9329 return XF86VidModeQueryExtension ();
9334 if ac_fn_c_try_link
"$LINENO"; then :
9336 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9337 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'` ;;
9338 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9339 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9340 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9344 rm -f core conftest.err conftest.
$ac_objext \
9345 conftest
$ac_exeext conftest.
$ac_ext
9346 LIBS
=$ac_check_soname_save_LIBS
9348 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9350 $as_echo "not found" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9354 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9356 cat >>confdefs.h
<<_ACEOF
9357 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9363 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9364 case "x$with_xxf86vm" in
9365 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9367 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9368 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9372 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"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9375 $as_echo_n "checking for -lXrender... " >&6; }
9376 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 ac_check_soname_save_LIBS
=$LIBS
9380 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9390 char XRenderQueryExtension ();
9394 return XRenderQueryExtension ();
9399 if ac_fn_c_try_link
"$LINENO"; then :
9401 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9405 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9409 rm -f core conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 LIBS
=$ac_check_soname_save_LIBS
9413 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9419 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9421 cat >>confdefs.h
<<_ACEOF
9422 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9426 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9427 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 ac_check_lib_save_LIBS
=$LIBS
9431 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9441 char XRenderSetPictureTransform ();
9445 return XRenderSetPictureTransform ();
9450 if ac_fn_c_try_link
"$LINENO"; then :
9451 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9453 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9455 rm -f core conftest.err conftest.
$ac_objext \
9456 conftest
$ac_exeext conftest.
$ac_ext
9457 LIBS
=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9460 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9461 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9463 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9468 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9469 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS
=$LIBS
9473 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char XRenderCreateLinearGradient ();
9487 return XRenderCreateLinearGradient ();
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9495 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9502 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9503 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9505 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9512 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9513 case "x$with_xrender" in
9514 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9516 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9517 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9521 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9525 #include <X11/Xlib.h>
9526 #include <X11/extensions/Xrandr.h>
9530 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9535 if ac_fn_c_try_compile
"$LINENO"; then :
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9537 $as_echo_n "checking for -lXrandr... " >&6; }
9538 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9539 $as_echo_n "(cached) " >&6
9541 ac_check_soname_save_LIBS
=$LIBS
9542 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9552 char XRRQueryExtension ();
9556 return XRRQueryExtension ();
9561 if ac_fn_c_try_link
"$LINENO"; then :
9563 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9564 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'` ;;
9565 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9566 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9567 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9571 rm -f core conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LIBS
=$ac_check_soname_save_LIBS
9575 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9577 $as_echo "not found" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9581 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9583 cat >>confdefs.h
<<_ACEOF
9584 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9589 #include <X11/Xlib.h>
9590 #include <X11/extensions/Xrandr.h>
9594 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9599 if ac_fn_c_try_compile
"$LINENO"; then :
9601 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9610 case "x$with_xrandr" in
9611 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9613 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9614 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9618 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9622 #include <X11/Xlib.h>
9623 #include <X11/extensions/Xinerama.h>
9627 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9632 if ac_fn_c_try_compile
"$LINENO"; then :
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9634 $as_echo_n "checking for -lXinerama... " >&6; }
9635 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 ac_check_soname_save_LIBS
=$LIBS
9639 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9649 char XineramaQueryScreens ();
9653 return XineramaQueryScreens ();
9658 if ac_fn_c_try_link
"$LINENO"; then :
9660 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9661 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'` ;;
9662 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9663 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9664 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9668 rm -f core conftest.err conftest.
$ac_objext \
9669 conftest
$ac_exeext conftest.
$ac_ext
9670 LIBS
=$ac_check_soname_save_LIBS
9672 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9674 $as_echo "not found" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9678 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9680 cat >>confdefs.h
<<_ACEOF
9681 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9689 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9690 case "x$with_xinerama" in
9691 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9693 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9694 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9698 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9701 $as_echo_n "checking for -lXcomposite... " >&6; }
9702 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 ac_check_soname_save_LIBS
=$LIBS
9706 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char XCompositeRedirectWindow ();
9720 return XCompositeRedirectWindow ();
9725 if ac_fn_c_try_link
"$LINENO"; then :
9727 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9731 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9735 rm -f core conftest.err conftest.
$ac_objext \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_soname_save_LIBS
9739 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9745 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9747 cat >>confdefs.h
<<_ACEOF
9748 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9754 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9755 case "x$with_xcomposite" in
9756 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9758 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9759 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9763 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9764 #include <X11/Xlib.h>
9767 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9769 cat >>confdefs.h
<<_ACEOF
9770 #define HAVE_XICCALLBACK_CALLBACK 1
9775 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9776 #include <X11/Xlib.h>
9779 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9781 cat >>confdefs.h
<<_ACEOF
9782 #define HAVE_XEVENT_XCOOKIE 1
9791 if test "x$with_opengl" != "xno"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9794 $as_echo_n "checking for -lGL... " >&6; }
9795 if ${ac_cv_lib_soname_GL+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 ac_check_soname_save_LIBS
=$LIBS
9799 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9809 char glXCreateContext ();
9813 return glXCreateContext ();
9818 if ac_fn_c_try_link
"$LINENO"; then :
9820 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if test "x$ac_cv_lib_soname_GL" = x
; then :
9824 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9828 rm -f core conftest.err conftest.
$ac_objext \
9829 conftest
$ac_exeext conftest.
$ac_ext
9830 LIBS
=$ac_check_soname_save_LIBS
9832 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9836 $as_echo_n "checking for -lGL... " >&6; }
9837 if ${ac_cv_lib_soname_GL+:} false
; then :
9838 $as_echo_n "(cached) " >&6
9840 ac_check_soname_save_LIBS
=$LIBS
9841 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"
9842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9851 char glXCreateContext ();
9855 return glXCreateContext ();
9860 if ac_fn_c_try_link
"$LINENO"; then :
9862 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9865 if test "x$ac_cv_lib_soname_GL" = x
; then :
9866 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9870 rm -f core conftest.err conftest.
$ac_objext \
9871 conftest
$ac_exeext conftest.
$ac_ext
9872 LIBS
=$ac_check_soname_save_LIBS
9874 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9876 $as_echo "not found" >&6; }
9877 if test -f /usr
/X11R
6/lib
/libGL.a
9879 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9880 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9882 opengl_msg
="No OpenGL library found on this system."
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9886 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9888 cat >>confdefs.h
<<_ACEOF
9889 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9892 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"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9896 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9898 cat >>confdefs.h
<<_ACEOF
9899 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9904 if test "x$with_glu" != "xno"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9907 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9908 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 ac_check_lib_save_LIBS
=$LIBS
9912 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9926 return gluLookAt ();
9931 if ac_fn_c_try_link
"$LINENO"; then :
9932 ac_cv_lib_GLU_gluLookAt
=yes
9934 ac_cv_lib_GLU_gluLookAt
=no
9936 rm -f core conftest.err conftest.
$ac_objext \
9937 conftest
$ac_exeext conftest.
$ac_ext
9938 LIBS
=$ac_check_lib_save_LIBS
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9941 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9942 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9946 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9947 case "x$with_glu" in
9948 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9950 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9951 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9956 if test "x$with_osmesa" != "xno"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9959 $as_echo_n "checking for -lOSMesa... " >&6; }
9960 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9961 $as_echo_n "(cached) " >&6
9963 ac_check_soname_save_LIBS
=$LIBS
9964 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9983 if ac_fn_c_try_link
"$LINENO"; then :
9985 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9986 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'` ;;
9987 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9988 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9989 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9993 rm -f core conftest.err conftest.
$ac_objext \
9994 conftest
$ac_exeext conftest.
$ac_ext
9995 LIBS
=$ac_check_soname_save_LIBS
9997 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9999 $as_echo "not found" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10003 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10005 cat >>confdefs.h
<<_ACEOF
10006 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10011 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10012 case "x$with_osmesa" in
10013 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10015 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10016 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10021 if test -n "$opengl_msg"; then :
10022 case "x$with_opengl" in
10023 x
) as_fn_append wine_warnings
"|$opengl_msg
10024 OpenGL and Direct3D won't be supported." ;;
10026 *) as_fn_error $?
"$opengl_msg
10027 OpenGL and Direct3D won't be supported.
10028 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10032 CPPFLAGS
="$ac_save_CPPFLAGS"
10037 enable_winex11_drv
=${enable_winex11_drv:-no}
10039 if test "x$XLIB" = "x"; then :
10042 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10043 without X support, which probably isn't what you want. You will need
10044 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10045 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10049 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10051 if test "$ac_cv_header_CL_cl_h" = "yes"
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10054 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10055 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10056 $as_echo_n "(cached) " >&6
10058 ac_check_lib_save_LIBS
=$LIBS
10059 LIBS
="-lOpenCL $LIBS"
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10069 char clGetPlatformInfo ();
10073 return clGetPlatformInfo ();
10078 if ac_fn_c_try_link
"$LINENO"; then :
10079 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10081 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10083 rm -f core conftest.err conftest.
$ac_objext \
10084 conftest
$ac_exeext conftest.
$ac_ext
10085 LIBS
=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10088 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10089 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10090 LIBOPENCL
="-lOpenCL"
10095 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10096 case "x$with_opencl" in
10097 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10099 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10100 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10103 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10106 if test "x$with_xml" != "xno"
10108 if test -n "$XML2_CFLAGS"; then :
10110 elif test -n "$PKG_CONFIG"; then :
10111 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10113 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10114 if test -n "$XML2_LIBS"; then :
10116 elif test -n "$PKG_CONFIG"; then :
10117 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10119 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10120 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10121 ac_save_CPPFLAGS
=$CPPFLAGS
10122 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10123 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10125 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10126 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10127 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10128 cat >>confdefs.h
<<_ACEOF
10129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10136 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"
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10139 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10140 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10141 $as_echo_n "(cached) " >&6
10143 ac_check_lib_save_LIBS
=$LIBS
10144 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10154 char xmlParseMemory ();
10158 return xmlParseMemory ();
10163 if ac_fn_c_try_link
"$LINENO"; then :
10164 ac_cv_lib_xml2_xmlParseMemory
=yes
10166 ac_cv_lib_xml2_xmlParseMemory
=no
10168 rm -f core conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 LIBS
=$ac_check_lib_save_LIBS
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10173 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10174 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10176 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10183 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10184 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 ac_check_lib_save_LIBS
=$LIBS
10188 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10198 char xmlReadMemory ();
10202 return xmlReadMemory ();
10207 if ac_fn_c_try_link
"$LINENO"; then :
10208 ac_cv_lib_xml2_xmlReadMemory
=yes
10210 ac_cv_lib_xml2_xmlReadMemory
=no
10212 rm -f core conftest.err conftest.
$ac_objext \
10213 conftest
$ac_exeext conftest.
$ac_ext
10214 LIBS
=$ac_check_lib_save_LIBS
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10217 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10218 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10220 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10225 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10226 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10227 $as_echo_n "(cached) " >&6
10229 ac_check_lib_save_LIBS
=$LIBS
10230 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10240 char xmlNewDocPI ();
10244 return xmlNewDocPI ();
10249 if ac_fn_c_try_link
"$LINENO"; then :
10250 ac_cv_lib_xml2_xmlNewDocPI
=yes
10252 ac_cv_lib_xml2_xmlNewDocPI
=no
10254 rm -f core conftest.err conftest.
$ac_objext \
10255 conftest
$ac_exeext conftest.
$ac_ext
10256 LIBS
=$ac_check_lib_save_LIBS
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10259 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10260 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10262 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10267 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10268 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10269 $as_echo_n "(cached) " >&6
10271 ac_check_lib_save_LIBS
=$LIBS
10272 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10282 char xmlSchemaSetParserStructuredErrors ();
10286 return xmlSchemaSetParserStructuredErrors ();
10291 if ac_fn_c_try_link
"$LINENO"; then :
10292 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10296 rm -f core conftest.err conftest.
$ac_objext \
10297 conftest
$ac_exeext conftest.
$ac_ext
10298 LIBS
=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10301 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10302 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10304 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10309 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10310 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_lib_save_LIBS
=$LIBS
10314 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10324 char xmlSchemaSetValidStructuredErrors ();
10328 return xmlSchemaSetValidStructuredErrors ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10334 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10343 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10344 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10346 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10351 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10352 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10353 $as_echo_n "(cached) " >&6
10355 ac_check_lib_save_LIBS
=$LIBS
10356 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10366 char xmlFirstElementChild ();
10370 return xmlFirstElementChild ();
10375 if ac_fn_c_try_link
"$LINENO"; then :
10376 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10378 ac_cv_lib_xml2_xmlFirstElementChild
=no
10380 rm -f core conftest.err conftest.
$ac_objext \
10381 conftest
$ac_exeext conftest.
$ac_ext
10382 LIBS
=$ac_check_lib_save_LIBS
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10385 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10386 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10388 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10392 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10394 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10396 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10404 CPPFLAGS
=$ac_save_CPPFLAGS
10405 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10406 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10409 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10410 case "x$with_xml" in
10411 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10413 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10414 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10418 if test "x$with_xslt" != "xno"
10420 if test -n "$XSLT_CFLAGS"; then :
10422 elif test -n "$PKG_CONFIG"; then :
10423 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10425 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10426 if test -n "$XSLT_LIBS"; then :
10428 elif test -n "$PKG_CONFIG"; then :
10429 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10431 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10432 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10433 ac_save_CPPFLAGS
=$CPPFLAGS
10434 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10435 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10437 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10438 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10439 # include <libxslt/pattern.h>
10442 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10443 cat >>confdefs.h
<<_ACEOF
10444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10451 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10454 $as_echo_n "checking for -lxslt... " >&6; }
10455 if ${ac_cv_lib_soname_xslt+:} false
; then :
10456 $as_echo_n "(cached) " >&6
10458 ac_check_soname_save_LIBS
=$LIBS
10459 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10469 char xsltCompilePattern ();
10473 return xsltCompilePattern ();
10478 if ac_fn_c_try_link
"$LINENO"; then :
10480 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10481 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'` ;;
10482 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10483 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10484 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10488 rm -f core conftest.err conftest.
$ac_objext \
10489 conftest
$ac_exeext conftest.
$ac_ext
10490 LIBS
=$ac_check_soname_save_LIBS
10492 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10494 $as_echo "not found" >&6; }
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10498 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10500 cat >>confdefs.h
<<_ACEOF
10501 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10509 CPPFLAGS
=$ac_save_CPPFLAGS
10510 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10511 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10514 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10515 case "x$with_xslt" in
10516 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10518 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10519 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10523 if test "x$with_dbus" != "xno"
10525 if test -n "$DBUS_CFLAGS"; then :
10527 elif test -n "$PKG_CONFIG"; then :
10528 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10531 if test -n "$DBUS_LIBS"; then :
10533 elif test -n "$PKG_CONFIG"; then :
10534 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10538 ac_save_CPPFLAGS
=$CPPFLAGS
10539 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10540 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10541 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10543 $as_echo_n "checking for -ldbus-1... " >&6; }
10544 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 ac_check_soname_save_LIBS
=$LIBS
10548 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10558 char dbus_connection_close ();
10562 return dbus_connection_close ();
10567 if ac_fn_c_try_link
"$LINENO"; then :
10569 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10570 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'` ;;
10571 *) 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'`
10572 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10573 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10577 rm -f core conftest.err conftest.
$ac_objext \
10578 conftest
$ac_exeext conftest.
$ac_ext
10579 LIBS
=$ac_check_soname_save_LIBS
10581 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10583 $as_echo "not found" >&6; }
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10587 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10589 cat >>confdefs.h
<<_ACEOF
10590 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10600 CPPFLAGS
=$ac_save_CPPFLAGS
10601 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10602 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10605 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10606 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10607 case "x$with_dbus" in
10608 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10610 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10611 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10615 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10617 if test -n "$HAL_CFLAGS"; then :
10619 elif test -n "$PKG_CONFIG"; then :
10620 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10623 if test -n "$HAL_LIBS"; then :
10625 elif test -n "$PKG_CONFIG"; then :
10626 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10629 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10630 ac_save_CPPFLAGS
=$CPPFLAGS
10631 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10632 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10633 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10635 $as_echo_n "checking for -lhal... " >&6; }
10636 if ${ac_cv_lib_soname_hal+:} false
; then :
10637 $as_echo_n "(cached) " >&6
10639 ac_check_soname_save_LIBS
=$LIBS
10640 LIBS
="-lhal $HAL_LIBS $LIBS"
10641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10650 char libhal_ctx_new ();
10654 return libhal_ctx_new ();
10659 if ac_fn_c_try_link
"$LINENO"; then :
10661 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10662 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'` ;;
10663 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10664 if test "x$ac_cv_lib_soname_hal" = x
; then :
10665 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10669 rm -f core conftest.err conftest.
$ac_objext \
10670 conftest
$ac_exeext conftest.
$ac_ext
10671 LIBS
=$ac_check_soname_save_LIBS
10673 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10675 $as_echo "not found" >&6; }
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10679 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10681 cat >>confdefs.h
<<_ACEOF
10682 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10692 CPPFLAGS
=$ac_save_CPPFLAGS
10693 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10694 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10696 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10697 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10698 case "x$with_hal" in
10699 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10701 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10702 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10707 if test "x$with_gnutls" != "xno"
10709 if test -n "$GNUTLS_CFLAGS"; then :
10711 elif test -n "$PKG_CONFIG"; then :
10712 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10715 if test -n "$GNUTLS_LIBS"; then :
10717 elif test -n "$PKG_CONFIG"; then :
10718 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10722 ac_save_CPPFLAGS
=$CPPFLAGS
10723 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10724 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10725 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10728 #include <gnutls/gnutls.h>
10729 #include <gnutls/crypto.h>
10733 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10738 if ac_fn_c_try_compile
"$LINENO"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10740 $as_echo_n "checking for -lgnutls... " >&6; }
10741 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10742 $as_echo_n "(cached) " >&6
10744 ac_check_soname_save_LIBS
=$LIBS
10745 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10755 char gnutls_global_init ();
10759 return gnutls_global_init ();
10764 if ac_fn_c_try_link
"$LINENO"; then :
10766 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10767 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'` ;;
10768 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10769 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10770 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_soname_save_LIBS
10778 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10780 $as_echo "not found" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10784 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10786 cat >>confdefs.h
<<_ACEOF
10787 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10799 CPPFLAGS
=$ac_save_CPPFLAGS
10800 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10801 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10804 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10805 case "x$with_gnutls" in
10806 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10808 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10809 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10814 if test "$ac_cv_header_ncurses_h" = "yes"
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10817 $as_echo_n "checking for -lncurses... " >&6; }
10818 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10819 $as_echo_n "(cached) " >&6
10821 ac_check_soname_save_LIBS
=$LIBS
10822 LIBS
="-lncurses $LIBS"
10823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10841 if ac_fn_c_try_link
"$LINENO"; then :
10843 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10847 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10851 rm -f core conftest.err conftest.
$ac_objext \
10852 conftest
$ac_exeext conftest.
$ac_ext
10853 LIBS
=$ac_check_soname_save_LIBS
10855 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10861 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10863 cat >>confdefs.h
<<_ACEOF
10864 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10867 CURSESLIBS
="-lncurses"
10869 elif test "$ac_cv_header_curses_h" = "yes"
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10872 $as_echo_n "checking for -lcurses... " >&6; }
10873 if ${ac_cv_lib_soname_curses+:} false
; then :
10874 $as_echo_n "(cached) " >&6
10876 ac_check_soname_save_LIBS
=$LIBS
10877 LIBS
="-lcurses $LIBS"
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10896 if ac_fn_c_try_link
"$LINENO"; then :
10898 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10899 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'` ;;
10900 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10901 if test "x$ac_cv_lib_soname_curses" = x
; then :
10902 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10906 rm -f core conftest.err conftest.
$ac_objext \
10907 conftest
$ac_exeext conftest.
$ac_ext
10908 LIBS
=$ac_check_soname_save_LIBS
10910 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10912 $as_echo "not found" >&6; }
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10916 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10918 cat >>confdefs.h
<<_ACEOF
10919 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10922 CURSESLIBS
="-lcurses"
10925 ac_save_LIBS
="$LIBS"
10926 LIBS
="$LIBS $CURSESLIBS"
10927 for ac_func
in mousemask
10929 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10930 if test "x$ac_cv_func_mousemask" = xyes
; then :
10931 cat >>confdefs.h
<<_ACEOF
10932 #define HAVE_MOUSEMASK 1
10938 LIBS
="$ac_save_LIBS"
10939 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10940 case "x$with_curses" in
10941 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10943 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10944 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10948 if test "x$with_sane" != "xno"
10950 if test -n "$SANE_CFLAGS"; then :
10952 elif test -n "$PKG_CONFIG"; then :
10953 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10955 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10956 if test -n "$SANE_LIBS"; then :
10958 elif test -n "$PKG_CONFIG"; then :
10959 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10961 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10963 ac_save_CPPFLAGS
=$CPPFLAGS
10964 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10965 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10966 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10968 $as_echo_n "checking for -lsane... " >&6; }
10969 if ${ac_cv_lib_soname_sane+:} false
; then :
10970 $as_echo_n "(cached) " >&6
10972 ac_check_soname_save_LIBS
=$LIBS
10973 LIBS
="-lsane $SANE_LIBS $LIBS"
10974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10987 return sane_init ();
10992 if ac_fn_c_try_link
"$LINENO"; then :
10994 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10995 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'` ;;
10996 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10997 if test "x$ac_cv_lib_soname_sane" = x
; then :
10998 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11002 rm -f core conftest.err conftest.
$ac_objext \
11003 conftest
$ac_exeext conftest.
$ac_ext
11004 LIBS
=$ac_check_soname_save_LIBS
11006 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11008 $as_echo "not found" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11012 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11014 cat >>confdefs.h
<<_ACEOF
11015 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11025 CPPFLAGS
=$ac_save_CPPFLAGS
11026 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11027 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11030 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11031 case "x$with_sane" in
11032 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11034 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11035 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11039 if test "x$with_v4l" != "xno"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11042 $as_echo_n "checking for -lv4l1... " >&6; }
11043 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_check_soname_save_LIBS
=$LIBS
11047 LIBS
="-lv4l1 $LIBS"
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11061 return v4l1_open ();
11066 if ac_fn_c_try_link
"$LINENO"; then :
11068 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11071 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11072 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11076 rm -f core conftest.err conftest.
$ac_objext \
11077 conftest
$ac_exeext conftest.
$ac_ext
11078 LIBS
=$ac_check_soname_save_LIBS
11080 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11082 $as_echo "not found" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11086 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11088 cat >>confdefs.h
<<_ACEOF
11089 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11095 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11096 case "x$with_v4l" in
11097 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11099 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11100 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11104 if test "x$with_gphoto" != "xno"
11106 if test -n "$GPHOTO2_CFLAGS"; then :
11108 elif test -n "$PKG_CONFIG"; then :
11109 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11111 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11112 if test -n "$GPHOTO2_LIBS"; then :
11114 elif test -n "$PKG_CONFIG"; then :
11115 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11117 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11118 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11119 ac_save_CPPFLAGS
=$CPPFLAGS
11120 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11121 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11122 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11124 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11125 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11126 $as_echo_n "(cached) " >&6
11128 ac_check_lib_save_LIBS
=$LIBS
11129 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11139 char gp_camera_new ();
11143 return gp_camera_new ();
11148 if ac_fn_c_try_link
"$LINENO"; then :
11149 ac_cv_lib_gphoto2_gp_camera_new
=yes
11151 ac_cv_lib_gphoto2_gp_camera_new
=no
11153 rm -f core conftest.err conftest.
$ac_objext \
11154 conftest
$ac_exeext conftest.
$ac_ext
11155 LIBS
=$ac_check_lib_save_LIBS
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11158 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11159 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11161 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11164 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11168 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11172 CPPFLAGS
=$ac_save_CPPFLAGS
11173 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11178 elif test -n "$PKG_CONFIG"; then :
11179 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11181 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11182 if test -n "$GPHOTO2_PORT_LIBS"; then :
11184 elif test -n "$PKG_CONFIG"; then :
11185 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11187 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11188 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11189 ac_save_CPPFLAGS
=$CPPFLAGS
11190 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11191 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11192 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11194 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11195 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11196 $as_echo_n "(cached) " >&6
11198 ac_check_lib_save_LIBS
=$LIBS
11199 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11209 char gp_port_info_list_new ();
11213 return gp_port_info_list_new ();
11218 if ac_fn_c_try_link
"$LINENO"; then :
11219 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11221 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11223 rm -f core conftest.err conftest.
$ac_objext \
11224 conftest
$ac_exeext conftest.
$ac_ext
11225 LIBS
=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11228 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11229 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11231 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11234 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11238 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11242 CPPFLAGS
=$ac_save_CPPFLAGS
11243 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11244 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11247 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11248 case "x$with_gphoto" in
11249 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11251 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11252 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11255 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11256 case "x$with_gphoto" in
11257 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11259 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11260 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11265 if test "$ac_cv_header_resolv_h" = "yes"
11267 ac_save_LIBS
="$LIBS"
11268 for lib
in '' -lresolv
11270 LIBS
="$lib $ac_save_LIBS"
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11273 #ifdef HAVE_NETINET_IN_H
11274 #include <netinet/in.h>
11276 #include <resolv.h>
11280 res_query("foo",ns_c_in,0,0,0);
11285 if ac_fn_c_try_link
"$LINENO"; then :
11287 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 if test "${RESOLVLIBS+set}" = set; then
11298 LIBS
="$ac_save_LIBS"
11301 if test "x$with_lcms2" != "xno"
11303 if test -n "$LCMS2_CFLAGS"; then :
11305 elif test -n "$PKG_CONFIG"; then :
11306 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11309 if test -n "$LCMS2_LIBS"; then :
11311 elif test -n "$PKG_CONFIG"; then :
11312 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11315 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11316 ac_save_CPPFLAGS
=$CPPFLAGS
11317 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11318 for ac_header
in lcms2.h
11320 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11321 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11322 cat >>confdefs.h
<<_ACEOF
11323 #define HAVE_LCMS2_H 1
11330 if test "$ac_cv_header_lcms2_h" = "yes"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11333 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11334 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_lib_save_LIBS
=$LIBS
11338 LIBS
="-llcms2 $LIBS"
11339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11348 char cmsOpenProfileFromFile ();
11352 return cmsOpenProfileFromFile ();
11357 if ac_fn_c_try_link
"$LINENO"; then :
11358 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11360 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11362 rm -f core conftest.err conftest.
$ac_objext \
11363 conftest
$ac_exeext conftest.
$ac_ext
11364 LIBS
=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11367 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11368 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11370 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11380 CPPFLAGS
=$ac_save_CPPFLAGS
11381 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11382 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11385 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11386 case "x$with_cms" in
11387 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11389 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11390 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11394 if test "x$with_freetype" != "xno"
11396 if test -n "$FREETYPE_CFLAGS"; then :
11398 elif test -n "$PKG_CONFIG"; then :
11399 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11401 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11402 if test -n "$FREETYPE_LIBS"; then :
11404 elif test -n "$PKG_CONFIG"; then :
11405 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11407 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11408 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11409 ac_save_CPPFLAGS
=$CPPFLAGS
11410 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11412 $as_echo_n "checking for -lfreetype... " >&6; }
11413 if ${ac_cv_lib_soname_freetype+:} false
; then :
11414 $as_echo_n "(cached) " >&6
11416 ac_check_soname_save_LIBS
=$LIBS
11417 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11427 char FT_Init_FreeType ();
11431 return FT_Init_FreeType ();
11436 if ac_fn_c_try_link
"$LINENO"; then :
11438 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11439 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'` ;;
11440 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11441 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11442 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11446 rm -f core conftest.err conftest.
$ac_objext \
11447 conftest
$ac_exeext conftest.
$ac_ext
11448 LIBS
=$ac_check_soname_save_LIBS
11450 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11452 $as_echo "not found" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11456 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11458 cat >>confdefs.h
<<_ACEOF
11459 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11464 if test "$ft_lib" = "yes"
11466 for ac_header
in ft2build.h \
11467 freetype
/freetype.h \
11468 freetype
/ftglyph.h \
11469 freetype
/fttypes.h \
11470 freetype
/tttables.h \
11471 freetype
/ftsnames.h \
11472 freetype
/ttnameid.h \
11473 freetype
/ftoutln.h \
11474 freetype
/ftwinfnt.h \
11475 freetype
/ftmodapi.h \
11476 freetype
/ftlcdfil.h
11478 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11479 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11480 # include <ft2build.h>
11483 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11484 cat >>confdefs.h
<<_ACEOF
11485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11494 #include <ft2build.h>
11495 #include <freetype/fttrigon.h>
11497 if ac_fn_c_try_cpp
"$LINENO"; then :
11499 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11501 wine_cv_fttrigon
=yes
11503 wine_cv_fttrigon
=no
11505 rm -f conftest.err conftest.i conftest.
$ac_ext
11506 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11508 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11510 cat >>confdefs.h
<<_ACEOF
11511 #define HAVE_FT_TRUETYPEENGINETYPE 1
11517 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11520 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11528 CPPFLAGS
=$ac_save_CPPFLAGS
11529 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11530 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11533 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11534 case "x$with_freetype" in
11536 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11537 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11540 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11543 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11544 if ${ac_cv_c_ppdev+:} false
; then :
11545 $as_echo_n "(cached) " >&6
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 #ifdef HAVE_SYS_IOCTL_H
11550 # include <sys/ioctl.h>
11552 #include <linux/ppdev.h>
11556 ioctl (1,PPCLAIM,0)
11561 if ac_fn_c_try_compile
"$LINENO"; then :
11562 ac_cv_c_ppdev
="yes"
11566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11569 $as_echo "$ac_cv_c_ppdev" >&6; }
11570 if test "$ac_cv_c_ppdev" = "yes"
11573 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11577 ac_wine_check_funcs_save_LIBS
="$LIBS"
11578 LIBS
="$LIBS $LIBPTHREAD"
11580 pthread_attr_get_np \
11581 pthread_getattr_np \
11582 pthread_getthreadid_np \
11583 pthread_get_stackaddr_np \
11584 pthread_get_stacksize_np
11586 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11587 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11588 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11589 cat >>confdefs.h
<<_ACEOF
11590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11596 LIBS
="$ac_wine_check_funcs_save_LIBS"
11598 if test "$ac_cv_header_zlib_h" = "yes"
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11601 $as_echo_n "checking for inflate in -lz... " >&6; }
11602 if ${ac_cv_lib_z_inflate+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11625 if ac_fn_c_try_link
"$LINENO"; then :
11626 ac_cv_lib_z_inflate
=yes
11628 ac_cv_lib_z_inflate
=no
11630 rm -f core conftest.err conftest.
$ac_objext \
11631 conftest
$ac_exeext conftest.
$ac_ext
11632 LIBS
=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11635 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11636 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11638 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11645 if test "x$ZLIB" = "x"; then :
11646 case "x$with_zlib" in
11647 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11649 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11650 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11654 if test "x$enable_tools" != xno
11656 if test "$ac_cv_header_gettext_po_h" = "yes"
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11659 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11660 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11661 $as_echo_n "(cached) " >&6
11663 ac_check_lib_save_LIBS
=$LIBS
11664 LIBS
="-lgettextpo $LIBS"
11665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11674 char po_message_msgctxt ();
11678 return po_message_msgctxt ();
11683 if ac_fn_c_try_link
"$LINENO"; then :
11684 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11686 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11688 rm -f core conftest.err conftest.
$ac_objext \
11689 conftest
$ac_exeext conftest.
$ac_ext
11690 LIBS
=$ac_check_lib_save_LIBS
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11693 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11694 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11696 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11698 LIBGETTEXTPO
="-lgettextpo"
11703 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11704 case "x$with_gettextpo" in
11705 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11707 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11708 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11713 if test "x$with_gstreamer" != "xno"
11715 if test -n "$GSTREAMER_CFLAGS"; then :
11717 elif test -n "$PKG_CONFIG"; then :
11718 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11721 if test -n "$GSTREAMER_LIBS"; then :
11723 elif test -n "$PKG_CONFIG"; then :
11724 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11728 ac_save_CPPFLAGS
=$CPPFLAGS
11729 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11731 for i
in $GSTREAMER_CFLAGS
11734 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11737 GSTREAMER_CFLAGS
=$ac_gst_incl
11738 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11739 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11740 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11741 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11744 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 #include <gst/app/gstappsink.h>
11751 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11756 if ac_fn_c_try_compile
"$LINENO"; then :
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758 $as_echo "yes" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11760 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11761 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11762 $as_echo_n "(cached) " >&6
11764 ac_check_lib_save_LIBS
=$LIBS
11765 LIBS
="-lgstreamer-0.10 $LIBS"
11766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11775 char gst_pad_get_caps_reffed ();
11779 return gst_pad_get_caps_reffed ();
11784 if ac_fn_c_try_link
"$LINENO"; then :
11785 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11787 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11789 rm -f core conftest.err conftest.
$ac_objext \
11790 conftest
$ac_exeext conftest.
$ac_ext
11791 LIBS
=$ac_check_lib_save_LIBS
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11794 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11795 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11797 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11798 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11799 $as_echo_n "(cached) " >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11802 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11812 char gst_app_buffer_new ();
11816 return gst_app_buffer_new ();
11821 if ac_fn_c_try_link
"$LINENO"; then :
11822 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11824 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11826 rm -f core conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11831 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11832 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11847 GSTREAMER_CFLAGS
=""
11851 CPPFLAGS
=$ac_save_CPPFLAGS
11852 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11856 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11857 case "x$with_gstreamer" in
11858 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11860 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11861 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11864 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11868 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11871 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11872 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11873 $as_echo_n "(cached) " >&6
11875 ac_check_lib_save_LIBS
=$LIBS
11876 LIBS
="-lasound $LIBS"
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11886 char snd_pcm_hw_params_get_access_mask ();
11890 return snd_pcm_hw_params_get_access_mask ();
11895 if ac_fn_c_try_link
"$LINENO"; then :
11896 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11900 rm -f core conftest.err conftest.
$ac_objext \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11905 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11906 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 #ifdef HAVE_ALSA_ASOUNDLIB_H
11910 #include <alsa/asoundlib.h>
11911 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11912 #include <sys/asoundlib.h>
11917 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11922 if ac_fn_c_try_compile
"$LINENO"; then :
11923 ALSALIBS
="-lasound"
11925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11930 if test "x$with_oss" != xno
11932 ac_save_CPPFLAGS
="$CPPFLAGS"
11933 if test -f /etc
/oss.conf
11937 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11938 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11939 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11940 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11941 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11943 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11945 cat >>confdefs.h
<<_ACEOF
11946 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11949 OSS4INCL
="$ac_oss_incl"
11956 CPPFLAGS
="$ac_save_CPPFLAGS"
11957 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11959 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11963 if test "x$with_capi" != "xno"
11965 if test -n "$CAPI20_CFLAGS"; then :
11967 elif test -n "$PKG_CONFIG"; then :
11968 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11971 if test -n "$CAPI20_LIBS"; then :
11973 elif test -n "$PKG_CONFIG"; then :
11974 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11978 ac_save_CPPFLAGS
=$CPPFLAGS
11979 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11980 for ac_header
in capi20.h linux
/capi.h
11982 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11983 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11985 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11986 cat >>confdefs.h
<<_ACEOF
11987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11994 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11997 $as_echo_n "checking for -lcapi20... " >&6; }
11998 if ${ac_cv_lib_soname_capi20+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 ac_check_soname_save_LIBS
=$LIBS
12002 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12012 char capi20_register ();
12016 return capi20_register ();
12021 if ac_fn_c_try_link
"$LINENO"; then :
12023 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12024 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'` ;;
12025 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12026 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12027 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12031 rm -f core conftest.err conftest.
$ac_objext \
12032 conftest
$ac_exeext conftest.
$ac_ext
12033 LIBS
=$ac_check_soname_save_LIBS
12035 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12041 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12043 cat >>confdefs.h
<<_ACEOF
12044 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12050 CPPFLAGS
=$ac_save_CPPFLAGS
12051 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12056 case "x$with_capi" in
12057 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12059 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12060 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12066 if test "x$with_cups" != "xno"
12068 ac_save_CPPFLAGS
="$CPPFLAGS"
12069 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12070 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12071 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12072 for ac_header
in cups
/cups.h
12074 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12075 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12076 cat >>confdefs.h
<<_ACEOF
12077 #define HAVE_CUPS_CUPS_H 1
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12080 $as_echo_n "checking for -lcups... " >&6; }
12081 if ${ac_cv_lib_soname_cups+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 ac_check_soname_save_LIBS
=$LIBS
12085 LIBS
="-lcups $ac_cups_libs $LIBS"
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12095 char cupsGetDefault ();
12099 return cupsGetDefault ();
12104 if ac_fn_c_try_link
"$LINENO"; then :
12106 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if test "x$ac_cv_lib_soname_cups" = x
; then :
12110 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 rm -f core conftest.err conftest.
$ac_objext \
12115 conftest
$ac_exeext conftest.
$ac_ext
12116 LIBS
=$ac_check_soname_save_LIBS
12118 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12124 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12126 cat >>confdefs.h
<<_ACEOF
12127 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12130 CUPSINCL
="$ac_cups_cflags"
12136 CPPFLAGS
="$ac_save_CPPFLAGS"
12138 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12139 case "x$with_cups" in
12140 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12142 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12143 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12147 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12150 $as_echo_n "checking for -lfontconfig... " >&6; }
12151 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_soname_save_LIBS
=$LIBS
12155 LIBS
="-lfontconfig $LIBS"
12156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12174 if ac_fn_c_try_link
"$LINENO"; then :
12176 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12177 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'` ;;
12178 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12179 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12180 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LIBS
=$ac_check_soname_save_LIBS
12188 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12190 $as_echo "not found" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12194 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12196 cat >>confdefs.h
<<_ACEOF
12197 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12202 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12204 ac_save_CPPFLAGS
="$CPPFLAGS"
12205 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12206 $as_unset ac_cv_header_fontconfig_fontconfig_h
12207 for ac_header
in fontconfig
/fontconfig.h
12209 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12211 cat >>confdefs.h
<<_ACEOF
12212 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12219 CPPFLAGS
="$ac_save_CPPFLAGS"
12220 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12222 FONTCONFIGINCL
="$X_CFLAGS"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12225 $as_echo_n "checking for -lfontconfig... " >&6; }
12226 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 ac_check_soname_save_LIBS
=$LIBS
12230 LIBS
="-lfontconfig $X_LIBS $LIBS"
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12249 if ac_fn_c_try_link
"$LINENO"; then :
12251 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12252 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'` ;;
12253 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12254 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12255 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12259 rm -f core conftest.err conftest.
$ac_objext \
12260 conftest
$ac_exeext conftest.
$ac_ext
12261 LIBS
=$ac_check_soname_save_LIBS
12263 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12265 $as_echo "not found" >&6; }
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12269 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12271 cat >>confdefs.h
<<_ACEOF
12272 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12279 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12280 case "x$with_fontconfig" in
12281 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12283 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12284 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12288 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12291 $as_echo_n "checking for -lgsm... " >&6; }
12292 if ${ac_cv_lib_soname_gsm+:} false
; then :
12293 $as_echo_n "(cached) " >&6
12295 ac_check_soname_save_LIBS
=$LIBS
12297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12306 char gsm_create ();
12310 return gsm_create ();
12315 if ac_fn_c_try_link
"$LINENO"; then :
12317 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12318 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'` ;;
12319 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12320 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12321 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12325 rm -f core conftest.err conftest.
$ac_objext \
12326 conftest
$ac_exeext conftest.
$ac_ext
12327 LIBS
=$ac_check_soname_save_LIBS
12329 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12331 $as_echo "not found" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12335 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12337 cat >>confdefs.h
<<_ACEOF
12338 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12344 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12345 case "x$with_gsm" in
12346 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12348 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12349 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12353 if test "x$with_jpeg" != "xno"
12355 if test -n "$JPEG_CFLAGS"; then :
12357 elif test -n "$PKG_CONFIG"; then :
12358 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12361 if test -n "$JPEG_LIBS"; then :
12363 elif test -n "$PKG_CONFIG"; then :
12364 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12368 ac_save_CPPFLAGS
=$CPPFLAGS
12369 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12370 for ac_header
in jpeglib.h
12372 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12373 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12374 cat >>confdefs.h
<<_ACEOF
12375 #define HAVE_JPEGLIB_H 1
12382 if test "$ac_cv_header_jpeglib_h" = "yes"
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12385 $as_echo_n "checking for -ljpeg... " >&6; }
12386 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12387 $as_echo_n "(cached) " >&6
12389 ac_check_soname_save_LIBS
=$LIBS
12390 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12400 char jpeg_start_decompress ();
12404 return jpeg_start_decompress ();
12409 if ac_fn_c_try_link
"$LINENO"; then :
12411 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12412 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'` ;;
12413 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12414 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12415 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12421 LIBS
=$ac_check_soname_save_LIBS
12423 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12425 $as_echo "not found" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12429 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12431 cat >>confdefs.h
<<_ACEOF
12432 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12440 CPPFLAGS
=$ac_save_CPPFLAGS
12441 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12442 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12445 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12446 case "x$with_jpeg" in
12447 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12449 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12450 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12454 if test "x$with_png" != "xno"
12456 if test -n "$PNG_CFLAGS"; then :
12458 elif test -n "$PKG_CONFIG"; then :
12459 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12461 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12462 if test -n "$PNG_LIBS"; then :
12464 elif test -n "$PKG_CONFIG"; then :
12465 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12467 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12469 ac_save_CPPFLAGS
=$CPPFLAGS
12470 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12471 for ac_header
in png.h
12473 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12474 if test "x$ac_cv_header_png_h" = xyes
; then :
12475 cat >>confdefs.h
<<_ACEOF
12476 #define HAVE_PNG_H 1
12483 if test "$ac_cv_header_png_h" = "yes"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12486 $as_echo_n "checking for -lpng... " >&6; }
12487 if ${ac_cv_lib_soname_png+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 ac_check_soname_save_LIBS
=$LIBS
12491 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12501 char png_create_read_struct ();
12505 return png_create_read_struct ();
12510 if ac_fn_c_try_link
"$LINENO"; then :
12512 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12513 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'` ;;
12514 *) 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'`
12515 if test "x$ac_cv_lib_soname_png" = x
; then :
12516 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12520 rm -f core conftest.err conftest.
$ac_objext \
12521 conftest
$ac_exeext conftest.
$ac_ext
12522 LIBS
=$ac_check_soname_save_LIBS
12524 if test "x$ac_cv_lib_soname_png" = "x"; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12530 $as_echo "$ac_cv_lib_soname_png" >&6; }
12532 cat >>confdefs.h
<<_ACEOF
12533 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12542 typeof(png_set_expand_gray_1_2_4_to_8) *p
12547 if ac_fn_c_try_compile
"$LINENO"; then :
12549 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12557 CPPFLAGS
=$ac_save_CPPFLAGS
12558 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12559 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12562 if test "x$ac_cv_lib_soname_png" = "x"; then :
12563 case "x$with_png" in
12564 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12566 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12567 This is an error since --with-png was requested." "$LINENO" 5 ;;
12571 if test "x$with_tiff" != "xno"
12573 if test -n "$TIFF_CFLAGS"; then :
12575 elif test -n "$PKG_CONFIG"; then :
12576 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12579 if test -n "$TIFF_LIBS"; then :
12581 elif test -n "$PKG_CONFIG"; then :
12582 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12586 ac_save_CPPFLAGS
=$CPPFLAGS
12587 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12588 for ac_header
in tiffio.h
12590 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12592 cat >>confdefs.h
<<_ACEOF
12593 #define HAVE_TIFFIO_H 1
12600 if test "$ac_cv_header_tiffio_h" = "yes"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12603 $as_echo_n "checking for -ltiff... " >&6; }
12604 if ${ac_cv_lib_soname_tiff+:} false
; then :
12605 $as_echo_n "(cached) " >&6
12607 ac_check_soname_save_LIBS
=$LIBS
12608 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12618 char TIFFClientOpen ();
12622 return TIFFClientOpen ();
12627 if ac_fn_c_try_link
"$LINENO"; then :
12629 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12630 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'` ;;
12631 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12632 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12633 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 rm -f core conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_soname_save_LIBS
12641 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12647 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12649 cat >>confdefs.h
<<_ACEOF
12650 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12656 CPPFLAGS
=$ac_save_CPPFLAGS
12657 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12658 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12661 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12662 case "x$with_tiff" in
12663 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12665 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12666 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12670 if test "x$with_mpg123" != "xno"
12672 if test -n "$MPG123_CFLAGS"; then :
12674 elif test -n "$PKG_CONFIG"; then :
12675 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12678 if test -n "$MPG123_LIBS"; then :
12680 elif test -n "$PKG_CONFIG"; then :
12681 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12684 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12685 ac_save_CPPFLAGS
=$CPPFLAGS
12686 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12687 for ac_header
in mpg123.h
12689 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12690 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12691 cat >>confdefs.h
<<_ACEOF
12692 #define HAVE_MPG123_H 1
12699 if test "$ac_cv_header_mpg123_h" = "yes"
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12702 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12703 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12704 $as_echo_n "(cached) " >&6
12706 ac_check_lib_save_LIBS
=$LIBS
12707 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12717 char mpg123_feed ();
12721 return mpg123_feed ();
12726 if ac_fn_c_try_link
"$LINENO"; then :
12727 ac_cv_lib_mpg123_mpg123_feed
=yes
12729 ac_cv_lib_mpg123_mpg123_feed
=no
12731 rm -f core conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12733 LIBS
=$ac_check_lib_save_LIBS
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12736 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12737 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12747 CPPFLAGS
=$ac_save_CPPFLAGS
12748 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12749 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12752 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12753 case "x$with_mpg123" in
12754 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12756 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12757 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12760 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}
12762 if test "$ac_cv_header_AL_al_h" = "yes"
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12765 $as_echo_n "checking for -lopenal... " >&6; }
12766 if ${ac_cv_lib_soname_openal+:} false
; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_check_soname_save_LIBS
=$LIBS
12770 LIBS
="-lopenal $LIBS"
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12780 char alGetSource3i ();
12784 return alGetSource3i ();
12789 if ac_fn_c_try_link
"$LINENO"; then :
12791 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if test "x$ac_cv_lib_soname_openal" = x
; then :
12795 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12799 rm -f core conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12801 LIBS
=$ac_check_soname_save_LIBS
12803 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12809 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12811 cat >>confdefs.h
<<_ACEOF
12812 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12815 LIBOPENAL
="-lopenal"
12817 ac_cv_lib_openal
=yes
12819 cat >>confdefs.h
<<_ACEOF
12820 #define HAVE_OPENAL 1
12825 if test "x$ac_cv_lib_openal" != xyes
; then :
12826 case "x$with_openal" in
12827 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12829 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12830 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12833 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12835 if test "$ac_cv_header_kstat_h" = "yes"
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12838 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12839 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12840 $as_echo_n "(cached) " >&6
12842 ac_check_lib_save_LIBS
=$LIBS
12843 LIBS
="-lkstat $LIBS"
12844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12853 char kstat_open ();
12857 return kstat_open ();
12862 if ac_fn_c_try_link
"$LINENO"; then :
12863 ac_cv_lib_kstat_kstat_open
=yes
12865 ac_cv_lib_kstat_kstat_open
=no
12867 rm -f core conftest.err conftest.
$ac_objext \
12868 conftest
$ac_exeext conftest.
$ac_ext
12869 LIBS
=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12872 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12873 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12875 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12883 if test "$ac_cv_header_libprocstat_h" = "yes"
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12886 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12887 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12888 $as_echo_n "(cached) " >&6
12890 ac_check_lib_save_LIBS
=$LIBS
12891 LIBS
="-lprocstat $LIBS"
12892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12901 char procstat_open_sysctl ();
12905 return procstat_open_sysctl ();
12910 if ac_fn_c_try_link
"$LINENO"; then :
12911 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12913 ac_cv_lib_procstat_procstat_open_sysctl
=no
12915 rm -f core conftest.err conftest.
$ac_objext \
12916 conftest
$ac_exeext conftest.
$ac_ext
12917 LIBS
=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12920 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12921 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12923 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12925 LIBPROCSTAT
="-lprocstat"
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12932 $as_echo_n "checking for -lodbc... " >&6; }
12933 if ${ac_cv_lib_soname_odbc+:} false
; then :
12934 $as_echo_n "(cached) " >&6
12936 ac_check_soname_save_LIBS
=$LIBS
12937 LIBS
="-lodbc $LIBS"
12938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12947 char SQLConnect ();
12951 return SQLConnect ();
12956 if ac_fn_c_try_link
"$LINENO"; then :
12958 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12959 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'` ;;
12960 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12961 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12962 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12966 rm -f core conftest.err conftest.
$ac_objext \
12967 conftest
$ac_exeext conftest.
$ac_ext
12968 LIBS
=$ac_check_soname_save_LIBS
12970 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12972 $as_echo "not found" >&6; }
12973 cat >>confdefs.h
<<_ACEOF
12974 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12979 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12981 cat >>confdefs.h
<<_ACEOF
12982 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12988 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12989 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12990 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12991 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12993 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12994 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12995 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12997 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13003 if test "x${GCC}" = "xyes"
13005 EXTRACFLAGS
="-Wall -pipe"
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13008 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13009 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 if test "$cross_compiling" = yes; then :
13013 ac_cv_c_gcc_strength_bug
="yes"
13015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13017 int L[4] = {0,1,2,3};
13021 static int Array[3];
13022 unsigned int B = 3;
13024 for(i=0; i<B; i++) Array[i] = i - 3;
13025 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13027 return (Array[1] != -2 || L[2] != 3)
13032 if ac_fn_c_try_run
"$LINENO"; then :
13033 ac_cv_c_gcc_strength_bug
="no"
13035 ac_cv_c_gcc_strength_bug
="yes"
13037 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13038 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13043 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13044 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13046 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13050 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13051 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13052 $as_echo_n "(cached) " >&6
13054 ac_wine_try_cflags_saved
=$CFLAGS
13055 CFLAGS
="$CFLAGS -fno-builtin"
13056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13058 int main(int argc, char **argv) { return 0; }
13060 if ac_fn_c_try_link
"$LINENO"; then :
13061 ac_cv_cflags__fno_builtin
=yes
13063 ac_cv_cflags__fno_builtin
=no
13065 rm -f core conftest.err conftest.
$ac_objext \
13066 conftest
$ac_exeext conftest.
$ac_ext
13067 CFLAGS
=$ac_wine_try_cflags_saved
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13070 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13071 if test $ac_cv_cflags__fno_builtin = yes; then :
13072 BUILTINFLAG
="-fno-builtin"
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13076 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13077 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13078 $as_echo_n "(cached) " >&6
13080 ac_wine_try_cflags_saved
=$CFLAGS
13081 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 int main(int argc, char **argv) { return 0; }
13086 if ac_fn_c_try_link
"$LINENO"; then :
13087 ac_cv_cflags__fno_strict_aliasing
=yes
13089 ac_cv_cflags__fno_strict_aliasing
=no
13091 rm -f core conftest.err conftest.
$ac_objext \
13092 conftest
$ac_exeext conftest.
$ac_ext
13093 CFLAGS
=$ac_wine_try_cflags_saved
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13096 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13097 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13098 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13100 saved_CFLAGS
=$CFLAGS
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13102 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13103 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13104 $as_echo_n "(cached) " >&6
13106 ac_wine_try_cflags_saved
=$CFLAGS
13107 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13110 int main(int argc, char **argv) { return 0; }
13112 if ac_fn_c_try_link
"$LINENO"; then :
13113 ac_cv_cflags__Werror_unknown_warning_option
=yes
13115 ac_cv_cflags__Werror_unknown_warning_option
=no
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 CFLAGS
=$ac_wine_try_cflags_saved
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13122 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13123 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13124 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13127 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13128 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13129 $as_echo_n "(cached) " >&6
13131 ac_wine_try_cflags_saved
=$CFLAGS
13132 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13135 int main(int argc, char **argv) { return 0; }
13137 if ac_fn_c_try_link
"$LINENO"; then :
13138 ac_cv_cflags__Wdeclaration_after_statement
=yes
13140 ac_cv_cflags__Wdeclaration_after_statement
=no
13142 rm -f core conftest.err conftest.
$ac_objext \
13143 conftest
$ac_exeext conftest.
$ac_ext
13144 CFLAGS
=$ac_wine_try_cflags_saved
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13147 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13148 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13149 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13152 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13153 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13154 $as_echo_n "(cached) " >&6
13156 ac_wine_try_cflags_saved
=$CFLAGS
13157 CFLAGS
="$CFLAGS -Wempty-body"
13158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13160 int main(int argc, char **argv) { return 0; }
13162 if ac_fn_c_try_link
"$LINENO"; then :
13163 ac_cv_cflags__Wempty_body
=yes
13165 ac_cv_cflags__Wempty_body
=no
13167 rm -f core conftest.err conftest.
$ac_objext \
13168 conftest
$ac_exeext conftest.
$ac_ext
13169 CFLAGS
=$ac_wine_try_cflags_saved
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13172 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13173 if test $ac_cv_cflags__Wempty_body = yes; then :
13174 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13177 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13178 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13179 $as_echo_n "(cached) " >&6
13181 ac_wine_try_cflags_saved
=$CFLAGS
13182 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13185 int main(int argc, char **argv) { return 0; }
13187 if ac_fn_c_try_link
"$LINENO"; then :
13188 ac_cv_cflags__Wignored_qualifiers
=yes
13190 ac_cv_cflags__Wignored_qualifiers
=no
13192 rm -f core conftest.err conftest.
$ac_objext \
13193 conftest
$ac_exeext conftest.
$ac_ext
13194 CFLAGS
=$ac_wine_try_cflags_saved
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13197 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13198 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13199 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13203 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13204 $as_echo_n "(cached) " >&6
13206 ac_wine_try_cflags_saved
=$CFLAGS
13207 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 int main(int argc, char **argv) { return 0; }
13212 if ac_fn_c_try_link
"$LINENO"; then :
13213 ac_cv_cflags__Wstrict_prototypes
=yes
13215 ac_cv_cflags__Wstrict_prototypes
=no
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 CFLAGS
=$ac_wine_try_cflags_saved
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13223 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13224 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13228 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13229 $as_echo_n "(cached) " >&6
13231 ac_wine_try_cflags_saved
=$CFLAGS
13232 CFLAGS
="$CFLAGS -Wtype-limits"
13233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13235 int main(int argc, char **argv) { return 0; }
13237 if ac_fn_c_try_link
"$LINENO"; then :
13238 ac_cv_cflags__Wtype_limits
=yes
13240 ac_cv_cflags__Wtype_limits
=no
13242 rm -f core conftest.err conftest.
$ac_objext \
13243 conftest
$ac_exeext conftest.
$ac_ext
13244 CFLAGS
=$ac_wine_try_cflags_saved
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13248 if test $ac_cv_cflags__Wtype_limits = yes; then :
13249 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13254 $as_echo_n "(cached) " >&6
13256 ac_wine_try_cflags_saved
=$CFLAGS
13257 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13260 int main(int argc, char **argv) { return 0; }
13262 if ac_fn_c_try_link
"$LINENO"; then :
13263 ac_cv_cflags__Wunused_but_set_parameter
=yes
13265 ac_cv_cflags__Wunused_but_set_parameter
=no
13267 rm -f core conftest.err conftest.
$ac_objext \
13268 conftest
$ac_exeext conftest.
$ac_ext
13269 CFLAGS
=$ac_wine_try_cflags_saved
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13273 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13274 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13277 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13278 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13279 $as_echo_n "(cached) " >&6
13281 ac_wine_try_cflags_saved
=$CFLAGS
13282 CFLAGS
="$CFLAGS -Wwrite-strings"
13283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13285 int main(int argc, char **argv) { return 0; }
13287 if ac_fn_c_try_link
"$LINENO"; then :
13288 ac_cv_cflags__Wwrite_strings
=yes
13290 ac_cv_cflags__Wwrite_strings
=no
13292 rm -f core conftest.err conftest.
$ac_objext \
13293 conftest
$ac_exeext conftest.
$ac_ext
13294 CFLAGS
=$ac_wine_try_cflags_saved
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13297 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13298 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13299 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13303 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13304 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13305 $as_echo_n "(cached) " >&6
13307 ac_wine_try_cflags_saved
=$CFLAGS
13308 CFLAGS
="$CFLAGS -Wpointer-arith"
13309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 int main(int argc, char **argv) { return 0; }
13313 if ac_fn_c_try_link
"$LINENO"; then :
13314 ac_cv_cflags__Wpointer_arith
=yes
13316 ac_cv_cflags__Wpointer_arith
=no
13318 rm -f core conftest.err conftest.
$ac_objext \
13319 conftest
$ac_exeext conftest.
$ac_ext
13320 CFLAGS
=$ac_wine_try_cflags_saved
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13323 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13324 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13325 saved_string_h_CFLAGS
=$CFLAGS
13326 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13328 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13329 if ${ac_cv_c_string_h_warnings+:} false
; then :
13330 $as_echo_n "(cached) " >&6
13332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13334 #include <string.h>
13343 if ac_fn_c_try_compile
"$LINENO"; then :
13344 ac_cv_c_string_h_warnings
=no
13346 ac_cv_c_string_h_warnings
=yes
13348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13351 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13352 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13353 CFLAGS
=$saved_string_h_CFLAGS
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13357 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13358 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13359 $as_echo_n "(cached) " >&6
13361 ac_wine_try_cflags_saved
=$CFLAGS
13362 CFLAGS
="$CFLAGS -Wlogical-op"
13363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13365 int main(int argc, char **argv) { return 0; }
13367 if ac_fn_c_try_link
"$LINENO"; then :
13368 ac_cv_cflags__Wlogical_op
=yes
13370 ac_cv_cflags__Wlogical_op
=no
13372 rm -f core conftest.err conftest.
$ac_objext \
13373 conftest
$ac_exeext conftest.
$ac_ext
13374 CFLAGS
=$ac_wine_try_cflags_saved
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13377 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13378 if test $ac_cv_cflags__Wlogical_op = yes; then :
13379 saved_string_h_CFLAGS
=$CFLAGS
13380 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13382 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13383 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13384 $as_echo_n "(cached) " >&6
13386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13388 #include <string.h>
13389 char*f(const char *h,char n) {return strchr(h,n);}
13398 if ac_fn_c_try_compile
"$LINENO"; then :
13399 ac_cv_c_logicalop_noisy
=no
13401 ac_cv_c_logicalop_noisy
=yes
13403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13406 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13407 CFLAGS
=$saved_string_h_CFLAGS
13408 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13411 CFLAGS
=$saved_CFLAGS
13413 for ac_flag
in $CFLAGS; do
13415 -g) case $host_os in
13416 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13417 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13418 if ${ac_cv_cflags__gstabsp+:} false
; then :
13419 $as_echo_n "(cached) " >&6
13421 ac_wine_try_cflags_saved
=$CFLAGS
13422 CFLAGS
="$CFLAGS -gstabs+"
13423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13425 int main(int argc, char **argv) { return 0; }
13427 if ac_fn_c_try_link
"$LINENO"; then :
13428 ac_cv_cflags__gstabsp
=yes
13430 ac_cv_cflags__gstabsp
=no
13432 rm -f core conftest.err conftest.
$ac_objext \
13433 conftest
$ac_exeext conftest.
$ac_ext
13434 CFLAGS
=$ac_wine_try_cflags_saved
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13437 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13438 if test $ac_cv_cflags__gstabsp = yes; then :
13439 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13441 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13442 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13443 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13444 $as_echo_n "(cached) " >&6
13446 ac_wine_try_cflags_saved
=$CFLAGS
13447 CFLAGS
="$CFLAGS -gdwarf-2"
13448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13450 int main(int argc, char **argv) { return 0; }
13452 if ac_fn_c_try_link
"$LINENO"; then :
13453 ac_cv_cflags__gdwarf_2
=yes
13455 ac_cv_cflags__gdwarf_2
=no
13457 rm -f core conftest.err conftest.
$ac_objext \
13458 conftest
$ac_exeext conftest.
$ac_ext
13459 CFLAGS
=$ac_wine_try_cflags_saved
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13462 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13463 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13464 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13467 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13468 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13469 $as_echo_n "(cached) " >&6
13471 ac_wine_try_cflags_saved
=$CFLAGS
13472 CFLAGS
="$CFLAGS -gstrict-dwarf"
13473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 int main(int argc, char **argv) { return 0; }
13477 if ac_fn_c_try_link
"$LINENO"; then :
13478 ac_cv_cflags__gstrict_dwarf
=yes
13480 ac_cv_cflags__gstrict_dwarf
=no
13482 rm -f core conftest.err conftest.
$ac_objext \
13483 conftest
$ac_exeext conftest.
$ac_ext
13484 CFLAGS
=$ac_wine_try_cflags_saved
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13487 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13488 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13489 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13496 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13497 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13498 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13499 $as_echo_n "(cached) " >&6
13501 ac_wine_try_cflags_saved
=$CFLAGS
13502 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13507 if ac_fn_c_try_link
"$LINENO"; then :
13508 ac_cv_cflags__fno_omit_frame_pointer
=yes
13510 ac_cv_cflags__fno_omit_frame_pointer
=no
13512 rm -f core conftest.err conftest.
$ac_objext \
13513 conftest
$ac_exeext conftest.
$ac_ext
13514 CFLAGS
=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13517 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13518 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13519 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13524 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13525 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13526 if ${ac_cv_cflags__Wno_format+:} false
; then :
13527 $as_echo_n "(cached) " >&6
13529 ac_wine_try_cflags_saved
=$CFLAGS
13530 CFLAGS
="$CFLAGS -Wno-format"
13531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 int main(int argc, char **argv) { return 0; }
13535 if ac_fn_c_try_link
"$LINENO"; then :
13536 ac_cv_cflags__Wno_format
=yes
13538 ac_cv_cflags__Wno_format
=no
13540 rm -f core conftest.err conftest.
$ac_objext \
13541 conftest
$ac_exeext conftest.
$ac_ext
13542 CFLAGS
=$ac_wine_try_cflags_saved
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13545 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13546 if test $ac_cv_cflags__Wno_format = yes; then :
13547 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13551 if test "x$enable_maintainer_mode" = "xyes"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13554 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13555 if ${ac_cv_cflags__Werror+:} false
; then :
13556 $as_echo_n "(cached) " >&6
13558 ac_wine_try_cflags_saved
=$CFLAGS
13559 CFLAGS
="$CFLAGS -Werror"
13560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13562 int main(int argc, char **argv) { return 0; }
13564 if ac_fn_c_try_link
"$LINENO"; then :
13565 ac_cv_cflags__Werror
=yes
13567 ac_cv_cflags__Werror
=no
13569 rm -f core conftest.err conftest.
$ac_objext \
13570 conftest
$ac_exeext conftest.
$ac_ext
13571 CFLAGS
=$ac_wine_try_cflags_saved
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13574 $as_echo "$ac_cv_cflags__Werror" >&6; }
13575 if test $ac_cv_cflags__Werror = yes; then :
13576 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13580 saved_CFLAGS
="$CFLAGS"
13581 CFLAGS
="$CFLAGS -Werror"
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13583 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13584 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13585 $as_echo_n "(cached) " >&6
13587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13589 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13598 if ac_fn_c_try_compile
"$LINENO"; then :
13599 ac_cv_have_ms_hook_prologue
="yes"
13601 ac_cv_have_ms_hook_prologue
="no"
13603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13606 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13607 CFLAGS
="$saved_CFLAGS"
13608 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13611 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13614 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13621 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13622 if ${ac_cv_c_fortify_enabled+:} false
; then :
13623 $as_echo_n "(cached) " >&6
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <string.h>
13631 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13632 #error Fortify enabled
13638 if ac_fn_c_try_compile
"$LINENO"; then :
13639 ac_cv_c_fortify_enabled
=no
13641 ac_cv_c_fortify_enabled
=yes
13643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13646 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13647 if test "$ac_cv_c_fortify_enabled" = yes
13649 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13654 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13655 if ${ac_cv_c_extern_prefix+:} false
; then :
13656 $as_echo_n "(cached) " >&6
13658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 extern int ac_test;
13664 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13669 if ac_fn_c_try_link
"$LINENO"; then :
13670 ac_cv_c_extern_prefix
="yes"
13672 ac_cv_c_extern_prefix
="no"
13674 rm -f core conftest.err conftest.
$ac_objext \
13675 conftest
$ac_exeext conftest.
$ac_ext
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13678 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13683 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13684 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 #define __stdcall __attribute__((__stdcall__))
13692 int __stdcall ac_test(int i) { return i; }
13696 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13701 if ac_fn_c_try_link
"$LINENO"; then :
13702 ac_cv_c_stdcall_suffix
="yes"
13704 ac_cv_c_stdcall_suffix
="no"
13706 rm -f core conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13710 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13711 *) ac_cv_c_stdcall_suffix
="no" ;;
13715 if test "$ac_cv_c_extern_prefix" = "yes"
13717 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13719 asm_name_prefix
="_"
13721 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13727 if test "$ac_cv_c_stdcall_suffix" = "yes"
13729 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13732 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13738 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13739 if ${ac_cv_asm_func_def+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13748 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13753 if ac_fn_c_try_link
"$LINENO"; then :
13754 ac_cv_asm_func_def
=".def"
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13762 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13767 if ac_fn_c_try_link
"$LINENO"; then :
13768 ac_cv_asm_func_def
=".type @function"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13776 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13781 if ac_fn_c_try_link
"$LINENO"; then :
13782 ac_cv_asm_func_def
=".type 2"
13784 ac_cv_asm_func_def
="unknown"
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13792 rm -f core conftest.err conftest.
$ac_objext \
13793 conftest
$ac_exeext conftest.
$ac_ext
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13796 $as_echo "$ac_cv_asm_func_def" >&6; }
13799 case "$ac_cv_asm_func_def" in
13801 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13803 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13805 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13807 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13809 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13811 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13813 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13815 asm_func_header
="" ;;
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13819 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13820 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13821 $as_echo_n "(cached) " >&6
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 asm(".text\n\t.long 0");
13834 if ac_fn_c_try_compile
"$LINENO"; then :
13835 ac_cv_c_asm_outside_funcs
="yes"
13837 ac_cv_c_asm_outside_funcs
="no"
13839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13842 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13845 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13846 if ${ac_cv_c_dot_previous+:} false
; then :
13847 $as_echo_n "(cached) " >&6
13849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13855 asm(".text\nac_test:\t.long 0\n\t.previous");
13860 if ac_fn_c_try_link
"$LINENO"; then :
13861 ac_cv_c_dot_previous
="yes"
13863 ac_cv_c_dot_previous
="no"
13865 rm -f core conftest.err conftest.
$ac_objext \
13866 conftest
$ac_exeext conftest.
$ac_ext
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13869 $as_echo "$ac_cv_c_dot_previous" >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13872 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13873 if ${ac_cv_c_cfi_support+:} false
; then :
13874 $as_echo_n "(cached) " >&6
13876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13878 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13887 if ac_fn_c_try_compile
"$LINENO"; then :
13888 ac_cv_c_cfi_support
="yes"
13890 ac_cv_c_cfi_support
="no"
13892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13895 $as_echo "$ac_cv_c_cfi_support" >&6; }
13897 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13898 asm_func_trailer
=""
13899 if test "$ac_cv_c_dot_previous" = "yes"
13901 asm_func_trailer
="\\n\\t.previous"
13903 if test "$ac_cv_c_cfi_support" = "yes"
13905 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13906 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13908 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13910 UNWINDFLAGS
=-fasynchronous-unwind-tables
13913 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13917 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13920 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13922 cat >>confdefs.h
<<_ACEOF
13923 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13927 cat >>confdefs.h
<<_ACEOF
13928 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13933 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13936 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13941 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
13948 *i
[3456789]86*|x86_64
*)
13949 as_fn_append LOADER_RULES
"
13950 all: $wine_binary-preloader
13952 $wine_binary-preloader: preloader.o Makefile.in
13953 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13955 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13956 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13959 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13966 ac_save_CFLAGS
="$CFLAGS"
13967 CFLAGS
="$CFLAGS $BUILTINFLAG"
14045 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14046 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14047 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14048 cat >>confdefs.h
<<_ACEOF
14049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14055 CFLAGS
="$ac_save_CFLAGS"
14057 if test "$ac_cv_func_dlopen" = no
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14060 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14061 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14062 $as_echo_n "(cached) " >&6
14064 ac_check_lib_save_LIBS
=$LIBS
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14084 if ac_fn_c_try_link
"$LINENO"; then :
14085 ac_cv_lib_dl_dlopen
=yes
14087 ac_cv_lib_dl_dlopen
=no
14089 rm -f core conftest.err conftest.
$ac_objext \
14090 conftest
$ac_exeext conftest.
$ac_ext
14091 LIBS
=$ac_check_lib_save_LIBS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14094 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14095 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14096 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14102 ac_wine_check_funcs_save_LIBS
="$LIBS"
14103 LIBS
="$LIBS $LIBDL"
14104 for ac_func
in dladdr
14106 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14107 if test "x$ac_cv_func_dladdr" = xyes
; then :
14108 cat >>confdefs.h
<<_ACEOF
14109 #define HAVE_DLADDR 1
14115 LIBS
="$ac_wine_check_funcs_save_LIBS"
14117 if test "$ac_cv_func_poll" = no
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14120 $as_echo_n "checking for poll in -lpoll... " >&6; }
14121 if ${ac_cv_lib_poll_poll+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14124 ac_check_lib_save_LIBS
=$LIBS
14125 LIBS
="-lpoll $LIBS"
14126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14144 if ac_fn_c_try_link
"$LINENO"; then :
14145 ac_cv_lib_poll_poll
=yes
14147 ac_cv_lib_poll_poll
=no
14149 rm -f core conftest.err conftest.
$ac_objext \
14150 conftest
$ac_exeext conftest.
$ac_ext
14151 LIBS
=$ac_check_lib_save_LIBS
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14154 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14155 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14156 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14164 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14165 if ${ac_cv_search_gethostbyname+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14168 ac_func_search_save_LIBS
=$LIBS
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14178 char gethostbyname ();
14182 return gethostbyname ();
14187 for ac_lib
in '' nsl
; do
14188 if test -z "$ac_lib"; then
14189 ac_res
="none required"
14192 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14194 if ac_fn_c_try_link
"$LINENO"; then :
14195 ac_cv_search_gethostbyname
=$ac_res
14197 rm -f core conftest.err conftest.
$ac_objext \
14199 if ${ac_cv_search_gethostbyname+:} false
; then :
14203 if ${ac_cv_search_gethostbyname+:} false
; then :
14206 ac_cv_search_gethostbyname
=no
14208 rm conftest.
$ac_ext
14209 LIBS
=$ac_func_search_save_LIBS
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14212 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14213 ac_res
=$ac_cv_search_gethostbyname
14214 if test "$ac_res" != no
; then :
14215 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14221 $as_echo_n "checking for library containing connect... " >&6; }
14222 if ${ac_cv_search_connect+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 ac_func_search_save_LIBS
=$LIBS
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14244 for ac_lib
in '' socket
; do
14245 if test -z "$ac_lib"; then
14246 ac_res
="none required"
14249 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14251 if ac_fn_c_try_link
"$LINENO"; then :
14252 ac_cv_search_connect
=$ac_res
14254 rm -f core conftest.err conftest.
$ac_objext \
14256 if ${ac_cv_search_connect+:} false
; then :
14260 if ${ac_cv_search_connect+:} false
; then :
14263 ac_cv_search_connect
=no
14265 rm conftest.
$ac_ext
14266 LIBS
=$ac_func_search_save_LIBS
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14269 $as_echo "$ac_cv_search_connect" >&6; }
14270 ac_res
=$ac_cv_search_connect
14271 if test "$ac_res" != no
; then :
14272 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14278 $as_echo_n "checking for library containing inet_aton... " >&6; }
14279 if ${ac_cv_search_inet_aton+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 ac_func_search_save_LIBS
=$LIBS
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14296 return inet_aton ();
14301 for ac_lib
in '' resolv
; do
14302 if test -z "$ac_lib"; then
14303 ac_res
="none required"
14306 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14308 if ac_fn_c_try_link
"$LINENO"; then :
14309 ac_cv_search_inet_aton
=$ac_res
14311 rm -f core conftest.err conftest.
$ac_objext \
14313 if ${ac_cv_search_inet_aton+:} false
; then :
14317 if ${ac_cv_search_inet_aton+:} false
; then :
14320 ac_cv_search_inet_aton
=no
14322 rm conftest.
$ac_ext
14323 LIBS
=$ac_func_search_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14326 $as_echo "$ac_cv_search_inet_aton" >&6; }
14327 ac_res
=$ac_cv_search_inet_aton
14328 if test "$ac_res" != no
; then :
14329 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14348 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14349 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14350 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14351 cat >>confdefs.h
<<_ACEOF
14352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14361 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14362 if ${ac_cv_search_clock_gettime+:} false
; then :
14363 $as_echo_n "(cached) " >&6
14365 ac_func_search_save_LIBS
=$LIBS
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14375 char clock_gettime ();
14379 return clock_gettime ();
14384 for ac_lib
in '' rt
; do
14385 if test -z "$ac_lib"; then
14386 ac_res
="none required"
14389 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_search_clock_gettime
=$ac_res
14394 rm -f core conftest.err conftest.
$ac_objext \
14396 if ${ac_cv_search_clock_gettime+:} false
; then :
14400 if ${ac_cv_search_clock_gettime+:} false
; then :
14403 ac_cv_search_clock_gettime
=no
14405 rm conftest.
$ac_ext
14406 LIBS
=$ac_func_search_save_LIBS
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14409 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14410 ac_res
=$ac_cv_search_clock_gettime
14411 if test "$ac_res" != no
; then :
14412 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14414 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14416 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14424 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14426 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14428 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14430 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14431 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14432 $as_echo_n "(cached) " >&6
14434 ac_check_lib_save_LIBS
=$LIBS
14435 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14445 char ldap_initialize ();
14449 return ldap_initialize ();
14454 if ac_fn_c_try_link
"$LINENO"; then :
14455 ac_cv_lib_ldap_r_ldap_initialize
=yes
14457 ac_cv_lib_ldap_r_ldap_initialize
=no
14459 rm -f core conftest.err conftest.
$ac_objext \
14460 conftest
$ac_exeext conftest.
$ac_ext
14461 LIBS
=$ac_check_lib_save_LIBS
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14464 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14465 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14467 $as_echo_n "checking for ber_init in -llber... " >&6; }
14468 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14469 $as_echo_n "(cached) " >&6
14471 ac_check_lib_save_LIBS
=$LIBS
14472 LIBS
="-llber $LIBPTHREAD $LIBS"
14473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14476 /* Override any GCC internal prototype to avoid an error.
14477 Use char because int might match the return type of a GCC
14478 builtin and then its argument prototype would still apply. */
14486 return ber_init ();
14491 if ac_fn_c_try_link
"$LINENO"; then :
14492 ac_cv_lib_lber_ber_init
=yes
14494 ac_cv_lib_lber_ber_init
=no
14496 rm -f core conftest.err conftest.
$ac_objext \
14497 conftest
$ac_exeext conftest.
$ac_ext
14498 LIBS
=$ac_check_lib_save_LIBS
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14501 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14502 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14504 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14506 LDAPLIBS
="-lldap_r -llber"
14513 ac_wine_check_funcs_save_LIBS
="$LIBS"
14514 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14516 ldap_count_references \
14517 ldap_first_reference \
14518 ldap_next_reference \
14519 ldap_parse_reference \
14520 ldap_parse_sort_control \
14521 ldap_parse_sortresponse_control \
14522 ldap_parse_vlv_control \
14523 ldap_parse_vlvresponse_control
14525 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14526 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14527 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14528 cat >>confdefs.h
<<_ACEOF
14529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14535 LIBS
="$ac_wine_check_funcs_save_LIBS"
14537 if test "x$LDAPLIBS" = "x"; then :
14538 case "x$with_ldap" in
14539 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14541 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14542 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14547 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14548 if ${wine_cv_one_arg_mkdir+:} false
; then :
14549 $as_echo_n "(cached) " >&6
14551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <sys/stat.h>
14562 if ac_fn_c_try_compile
"$LINENO"; then :
14563 wine_cv_one_arg_mkdir
=yes
14565 wine_cv_one_arg_mkdir
=no
14567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14570 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14571 if test "$wine_cv_one_arg_mkdir" = "yes"
14574 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14579 $as_echo_n "checking for sched_setaffinity... " >&6; }
14580 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14581 $as_echo_n "(cached) " >&6
14583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 #define _GNU_SOURCE
14590 sched_setaffinity(0, 0, 0);
14595 if ac_fn_c_try_link
"$LINENO"; then :
14596 wine_cv_have_sched_setaffinity
=yes
14598 wine_cv_have_sched_setaffinity
=no
14600 rm -f core conftest.err conftest.
$ac_objext \
14601 conftest
$ac_exeext conftest.
$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14604 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14605 if test "$wine_cv_have_sched_setaffinity" = "yes"
14608 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14613 $as_echo_n "checking for fallocate... " >&6; }
14614 if ${wine_cv_have_fallocate+:} false
; then :
14615 $as_echo_n "(cached) " >&6
14617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 #define _GNU_SOURCE
14624 fallocate(-1, 0, 0, 0);
14629 if ac_fn_c_try_link
"$LINENO"; then :
14630 wine_cv_have_fallocate
=yes
14632 wine_cv_have_fallocate
=no
14634 rm -f core conftest.err conftest.
$ac_objext \
14635 conftest
$ac_exeext conftest.
$ac_ext
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14638 $as_echo "$wine_cv_have_fallocate" >&6; }
14639 if test "$wine_cv_have_fallocate" = "yes"
14642 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14648 $as_echo_n "checking for inline... " >&6; }
14649 if ${ac_cv_c_inline+:} false
; then :
14650 $as_echo_n "(cached) " >&6
14653 for ac_kw
in inline __inline__ __inline
; do
14654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #ifndef __cplusplus
14658 static $ac_kw foo_t static_foo () {return 0; }
14659 $ac_kw foo_t foo () {return 0; }
14663 if ac_fn_c_try_compile
"$LINENO"; then :
14664 ac_cv_c_inline
=$ac_kw
14666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14667 test "$ac_cv_c_inline" != no
&& break
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14672 $as_echo "$ac_cv_c_inline" >&6; }
14674 case $ac_cv_c_inline in
14677 case $ac_cv_c_inline in
14679 *) ac_val
=$ac_cv_c_inline;;
14681 cat >>confdefs.h
<<_ACEOF
14682 #ifndef __cplusplus
14683 #define inline $ac_val
14689 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14690 if test "x$ac_cv_type_mode_t" = xyes
; then :
14692 cat >>confdefs.h
<<_ACEOF
14693 #define HAVE_MODE_T 1
14698 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14699 if test "x$ac_cv_type_off_t" = xyes
; then :
14701 cat >>confdefs.h
<<_ACEOF
14702 #define HAVE_OFF_T 1
14707 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14708 if test "x$ac_cv_type_pid_t" = xyes
; then :
14710 cat >>confdefs.h
<<_ACEOF
14711 #define HAVE_PID_T 1
14716 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14717 if test "x$ac_cv_type_size_t" = xyes
; then :
14719 cat >>confdefs.h
<<_ACEOF
14720 #define HAVE_SIZE_T 1
14725 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14726 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14728 cat >>confdefs.h
<<_ACEOF
14729 #define HAVE_SSIZE_T 1
14734 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14735 if test "x$ac_cv_type_long_long" = xyes
; then :
14737 cat >>confdefs.h
<<_ACEOF
14738 #define HAVE_LONG_LONG 1
14743 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14744 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14746 cat >>confdefs.h
<<_ACEOF
14747 #define HAVE_FSBLKCNT_T 1
14752 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14753 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14755 cat >>confdefs.h
<<_ACEOF
14756 #define HAVE_FSFILCNT_T 1
14762 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14763 #include <signal.h>
14765 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14767 cat >>confdefs.h
<<_ACEOF
14768 #define HAVE_SIGSET_T 1
14774 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14776 if test "x$ac_cv_type_request_sense" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_REQUEST_SENSE 1
14786 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14787 #ifdef HAVE_SYS_SOCKET_H
14788 #include <sys/socket.h>
14790 #ifdef HAVE_SYS_SOCKETVAR_H
14791 #include <sys/socketvar.h>
14793 #ifdef HAVE_NET_ROUTE_H
14794 #include <net/route.h>
14796 #ifdef HAVE_NETINET_IN_H
14797 #include <netinet/in.h>
14799 #ifdef HAVE_NETINET_IN_SYSTM_H
14800 #include <netinet/in_systm.h>
14802 #ifdef HAVE_NETINET_IP_H
14803 #include <netinet/ip.h>
14805 #ifdef HAVE_NETINET_IN_PCB_H
14806 #include <netinet/in_pcb.h>
14809 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14811 cat >>confdefs.h
<<_ACEOF
14812 #define HAVE_STRUCT_XINPGEN 1
14819 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14822 #ifdef HAVE_SYS_LINK_H
14823 #include <sys/link.h>
14826 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14828 cat >>confdefs.h
<<_ACEOF
14829 #define HAVE_STRUCT_R_DEBUG 1
14834 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14837 #ifdef HAVE_SYS_LINK_H
14838 #include <sys/link.h>
14841 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14843 cat >>confdefs.h
<<_ACEOF
14844 #define HAVE_STRUCT_LINK_MAP 1
14851 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14852 #include <linux/input.h>
14855 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14857 cat >>confdefs.h
<<_ACEOF
14858 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14866 $as_echo_n "checking for sigaddset... " >&6; }
14867 if ${wine_cv_have_sigaddset+:} false
; then :
14868 $as_echo_n "(cached) " >&6
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 #include <signal.h>
14876 sigset_t set; sigaddset(&set,SIGTERM);
14881 if ac_fn_c_try_link
"$LINENO"; then :
14882 wine_cv_have_sigaddset
=yes
14884 wine_cv_have_sigaddset
=no
14886 rm -f core conftest.err conftest.
$ac_objext \
14887 conftest
$ac_exeext conftest.
$ac_ext
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14890 $as_echo "$wine_cv_have_sigaddset" >&6; }
14891 if test "$wine_cv_have_sigaddset" = "yes"
14894 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14900 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14901 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14902 $as_echo_n "(cached) " >&6
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14913 struct hostent *result;
14920 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14921 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14927 if ac_fn_c_try_link
"$LINENO"; then :
14928 wine_cv_linux_gethostbyname_r_6
=yes
14930 wine_cv_linux_gethostbyname_r_6
=no
14933 rm -f core conftest.err conftest.
$ac_objext \
14934 conftest
$ac_exeext conftest.
$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14938 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14939 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14942 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14946 if test "$ac_cv_header_linux_joystick_h" = "yes"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14949 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14950 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 #include <sys/ioctl.h>
14957 #include <sys/types.h>
14958 #include <linux/joystick.h>
14960 struct js_event blub;
14961 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14962 #error "no 2.2 header"
14973 if ac_fn_c_try_compile
"$LINENO"; then :
14974 wine_cv_linux_joystick_22_api
=yes
14976 wine_cv_linux_joystick_22_api
=no
14978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14982 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14983 if test "$wine_cv_linux_joystick_22_api" = "yes"
14986 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14992 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14993 #ifdef HAVE_SYS_PARAM_H
14994 # include <sys/param.h>
14996 #ifdef HAVE_SYS_MOUNT_H
14997 # include <sys/mount.h>
14999 #ifdef HAVE_SYS_VFS_H
15000 # include <sys/vfs.h>
15002 #ifdef HAVE_SYS_STATFS_H
15003 # include <sys/statfs.h>
15006 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15008 cat >>confdefs.h
<<_ACEOF
15009 #define HAVE_STRUCT_STATFS_F_BFREE 1
15014 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15015 #ifdef HAVE_SYS_PARAM_H
15016 # include <sys/param.h>
15018 #ifdef HAVE_SYS_MOUNT_H
15019 # include <sys/mount.h>
15021 #ifdef HAVE_SYS_VFS_H
15022 # include <sys/vfs.h>
15024 #ifdef HAVE_SYS_STATFS_H
15025 # include <sys/statfs.h>
15028 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15030 cat >>confdefs.h
<<_ACEOF
15031 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15036 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15037 #ifdef HAVE_SYS_PARAM_H
15038 # include <sys/param.h>
15040 #ifdef HAVE_SYS_MOUNT_H
15041 # include <sys/mount.h>
15043 #ifdef HAVE_SYS_VFS_H
15044 # include <sys/vfs.h>
15046 #ifdef HAVE_SYS_STATFS_H
15047 # include <sys/statfs.h>
15050 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15052 cat >>confdefs.h
<<_ACEOF
15053 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15058 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15059 #ifdef HAVE_SYS_PARAM_H
15060 # include <sys/param.h>
15062 #ifdef HAVE_SYS_MOUNT_H
15063 # include <sys/mount.h>
15065 #ifdef HAVE_SYS_VFS_H
15066 # include <sys/vfs.h>
15068 #ifdef HAVE_SYS_STATFS_H
15069 # include <sys/statfs.h>
15072 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15074 cat >>confdefs.h
<<_ACEOF
15075 #define HAVE_STRUCT_STATFS_F_FFREE 1
15080 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15081 #ifdef HAVE_SYS_PARAM_H
15082 # include <sys/param.h>
15084 #ifdef HAVE_SYS_MOUNT_H
15085 # include <sys/mount.h>
15087 #ifdef HAVE_SYS_VFS_H
15088 # include <sys/vfs.h>
15090 #ifdef HAVE_SYS_STATFS_H
15091 # include <sys/statfs.h>
15094 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15096 cat >>confdefs.h
<<_ACEOF
15097 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15102 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15103 #ifdef HAVE_SYS_PARAM_H
15104 # include <sys/param.h>
15106 #ifdef HAVE_SYS_MOUNT_H
15107 # include <sys/mount.h>
15109 #ifdef HAVE_SYS_VFS_H
15110 # include <sys/vfs.h>
15112 #ifdef HAVE_SYS_STATFS_H
15113 # include <sys/statfs.h>
15116 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15118 cat >>confdefs.h
<<_ACEOF
15119 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15126 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15127 #include <sys/statvfs.h>
15130 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15132 cat >>confdefs.h
<<_ACEOF
15133 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15140 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15141 #include <dirent.h>
15144 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15146 cat >>confdefs.h
<<_ACEOF
15147 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15154 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15155 #ifdef HAVE_SYS_SOCKET_H
15156 # include <sys/socket.h>
15158 #ifdef HAVE_SYS_UN_H
15159 # include <sys/un.h>
15162 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15164 cat >>confdefs.h
<<_ACEOF
15165 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15170 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15171 #ifdef HAVE_SYS_SOCKET_H
15172 # include <sys/socket.h>
15174 #ifdef HAVE_SYS_UN_H
15175 # include <sys/un.h>
15178 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15180 cat >>confdefs.h
<<_ACEOF
15181 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15186 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15187 #ifdef HAVE_SYS_SOCKET_H
15188 # include <sys/socket.h>
15190 #ifdef HAVE_SYS_UN_H
15191 # include <sys/un.h>
15194 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15196 cat >>confdefs.h
<<_ACEOF
15197 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15204 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15205 #ifdef HAVE_SCSI_SG_H
15206 #include <scsi/sg.h>
15209 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15211 cat >>confdefs.h
<<_ACEOF
15212 #define HAVE_SCSIREQ_T_CMD 1
15217 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>
15218 #ifdef HAVE_SCSI_SG_H
15219 #include <scsi/sg.h>
15222 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15224 cat >>confdefs.h
<<_ACEOF
15225 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15232 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15234 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15236 cat >>confdefs.h
<<_ACEOF
15237 #define HAVE_SIGINFO_T_SI_FD 1
15244 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15245 #ifdef HAVE_SYS_MTIO_H
15246 #include <sys/mtio.h>
15249 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15251 cat >>confdefs.h
<<_ACEOF
15252 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15257 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15258 #ifdef HAVE_SYS_MTIO_H
15259 #include <sys/mtio.h>
15262 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15264 cat >>confdefs.h
<<_ACEOF
15265 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15270 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15271 #ifdef HAVE_SYS_MTIO_H
15272 #include <sys/mtio.h>
15275 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15277 cat >>confdefs.h
<<_ACEOF
15278 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15285 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15286 #include <getopt.h>
15289 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15291 cat >>confdefs.h
<<_ACEOF
15292 #define HAVE_STRUCT_OPTION_NAME 1
15299 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15300 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15302 cat >>confdefs.h
<<_ACEOF
15303 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15308 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15309 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15311 cat >>confdefs.h
<<_ACEOF
15312 #define HAVE_STRUCT_STAT_ST_MTIM 1
15317 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15318 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15320 cat >>confdefs.h
<<_ACEOF
15321 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15326 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15327 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define HAVE_STRUCT_STAT_ST_CTIM 1
15335 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15336 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15338 cat >>confdefs.h
<<_ACEOF
15339 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15344 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15345 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15347 cat >>confdefs.h
<<_ACEOF
15348 #define HAVE_STRUCT_STAT_ST_ATIM 1
15353 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15354 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15362 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15363 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15365 cat >>confdefs.h
<<_ACEOF
15366 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15371 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15372 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15374 cat >>confdefs.h
<<_ACEOF
15375 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15380 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15381 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15383 cat >>confdefs.h
<<_ACEOF
15384 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15389 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15390 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15392 cat >>confdefs.h
<<_ACEOF
15393 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15398 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15399 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15401 cat >>confdefs.h
<<_ACEOF
15402 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15409 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
15410 #include <sys/types.h>
15412 #ifdef HAVE_NETINET_IN_H
15413 #include <netinet/in.h>
15416 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15418 cat >>confdefs.h
<<_ACEOF
15419 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15426 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15427 #include <resolv.h>
15430 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15432 cat >>confdefs.h
<<_ACEOF
15433 #define HAVE_STRUCT___RES_STATE 1
15440 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
15441 #include <resolv.h>
15444 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15446 cat >>confdefs.h
<<_ACEOF
15447 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15454 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15455 #include <sys/types.h>
15457 #ifdef HAVE_NETINET_IN_H
15458 # include <netinet/in.h>
15460 #ifdef HAVE_ARPA_NAMESER_H
15461 # include <arpa/nameser.h>
15464 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_NS_MSG__MSG_PTR 1
15474 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15475 #include <sys/types.h>
15477 #ifdef HAVE_NETINET_IP_H
15478 #include <netinet/ip.h>
15480 #ifdef HAVE_NETINET_IP_ICMP_H
15481 #include <netinet/ip_icmp.h>
15483 #ifdef HAVE_NETINET_ICMP_VAR_H
15484 #include <netinet/icmp_var.h>
15487 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15489 cat >>confdefs.h
<<_ACEOF
15490 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15497 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15498 #include <sys/types.h>
15500 #ifdef HAVE_ALIAS_H
15503 #ifdef HAVE_SYS_SOCKET_H
15504 #include <sys/socket.h>
15506 #ifdef HAVE_SYS_SOCKETVAR_H
15507 #include <sys/socketvar.h>
15509 #ifdef HAVE_SYS_TIMEOUT_H
15510 #include <sys/timeout.h>
15512 #ifdef HAVE_NETINET_IN_H
15513 #include <netinet/in.h>
15515 #ifdef HAVE_NETINET_IN_SYSTM_H
15516 #include <netinet/in_systm.h>
15518 #ifdef HAVE_NETINET_IP_H
15519 #include <netinet/ip.h>
15521 #ifdef HAVE_NETINET_IP_VAR_H
15522 #include <netinet/ip_var.h>
15524 #ifdef HAVE_NETINET_IP_ICMP_H
15525 #include <netinet/ip_icmp.h>
15527 #ifdef HAVE_NETINET_ICMP_VAR_H
15528 #include <netinet/icmp_var.h>
15531 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15533 cat >>confdefs.h
<<_ACEOF
15534 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15541 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15542 #include <sys/types.h>
15544 #ifdef HAVE_SYS_SOCKETVAR_H
15545 #include <sys/socketvar.h>
15547 #ifdef HAVE_NETINET_IN_H
15548 #include <netinet/in.h>
15550 #ifdef HAVE_NETINET_IP_VAR_H
15551 #include <netinet/ip_var.h>
15554 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15556 cat >>confdefs.h
<<_ACEOF
15557 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15564 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
15565 #include <netinet/ip_var.h>
15568 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15570 cat >>confdefs.h
<<_ACEOF
15571 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15578 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15579 #include <sys/types.h>
15581 #ifdef HAVE_SYS_SOCKETVAR_H
15582 #include <sys/socketvar.h>
15584 #ifdef HAVE_NETINET_IN_H
15585 #include <netinet/in.h>
15587 #ifdef HAVE_NETINET_TCP_H
15588 #include <netinet/tcp.h>
15590 #ifdef HAVE_NETINET_TCP_VAR_H
15591 #include <netinet/tcp_var.h>
15594 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15596 cat >>confdefs.h
<<_ACEOF
15597 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15604 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
15605 #include <netinet/tcp_var.h>
15608 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15610 cat >>confdefs.h
<<_ACEOF
15611 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15618 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15619 #include <sys/types.h>
15621 #ifdef HAVE_NETINET_IN_H
15622 #include <netinet/in.h>
15624 #ifdef HAVE_NETINET_IP_VAR_H
15625 #include <netinet/ip_var.h>
15627 #ifdef HAVE_NETINET_UDP_H
15628 #include <netinet/udp.h>
15630 #ifdef HAVE_NETINET_UDP_VAR_H
15631 #include <netinet/udp_var.h>
15634 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15636 cat >>confdefs.h
<<_ACEOF
15637 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15644 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15645 #include <sys/types.h>
15647 #ifdef HAVE_NET_IF_H
15648 # include <net/if.h>
15651 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15653 cat >>confdefs.h
<<_ACEOF
15654 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15662 $as_echo_n "checking for timezone variable... " >&6; }
15663 if ${ac_cv_have_timezone+:} false
; then :
15664 $as_echo_n "(cached) " >&6
15666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15677 if ac_fn_c_try_link
"$LINENO"; then :
15678 ac_cv_have_timezone
="yes"
15680 ac_cv_have_timezone
="no"
15682 rm -f core conftest.err conftest.
$ac_objext \
15683 conftest
$ac_exeext conftest.
$ac_ext
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15686 $as_echo "$ac_cv_have_timezone" >&6; }
15687 if test "$ac_cv_have_timezone" = "yes"
15690 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15694 $as_echo_n "checking for daylight variable... " >&6; }
15695 if ${ac_cv_have_daylight+:} false
; then :
15696 $as_echo_n "(cached) " >&6
15698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15709 if ac_fn_c_try_link
"$LINENO"; then :
15710 ac_cv_have_daylight
="yes"
15712 ac_cv_have_daylight
="no"
15714 rm -f core conftest.err conftest.
$ac_objext \
15715 conftest
$ac_exeext conftest.
$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15718 $as_echo "$ac_cv_have_daylight" >&6; }
15719 if test "$ac_cv_have_daylight" = "yes"
15722 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15726 ac_save_LIBS
="$LIBS"
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15729 $as_echo_n "checking for isinf... " >&6; }
15730 if ${ac_cv_have_isinf+:} false
; then :
15731 $as_echo_n "(cached) " >&6
15733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15739 float f = 0.0; return isinf(f)
15744 if ac_fn_c_try_link
"$LINENO"; then :
15745 ac_cv_have_isinf
="yes"
15747 ac_cv_have_isinf
="no"
15749 rm -f core conftest.err conftest.
$ac_objext \
15750 conftest
$ac_exeext conftest.
$ac_ext
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15753 $as_echo "$ac_cv_have_isinf" >&6; }
15754 if test "$ac_cv_have_isinf" = "yes"
15757 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15762 $as_echo_n "checking for isnan... " >&6; }
15763 if ${ac_cv_have_isnan+:} false
; then :
15764 $as_echo_n "(cached) " >&6
15766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15772 float f = 0.0; return isnan(f)
15777 if ac_fn_c_try_link
"$LINENO"; then :
15778 ac_cv_have_isnan
="yes"
15780 ac_cv_have_isnan
="no"
15782 rm -f core conftest.err conftest.
$ac_objext \
15783 conftest
$ac_exeext conftest.
$ac_ext
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15786 $as_echo "$ac_cv_have_isnan" >&6; }
15787 if test "$ac_cv_have_isnan" = "yes"
15790 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15793 LIBS
="$ac_save_LIBS"
15797 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15798 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15799 if ${ac_cv_cpp_def___i386__+:} false
; then :
15800 $as_echo_n "(cached) " >&6
15802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15809 $EGREP "yes" >/dev
/null
2>&1; then :
15810 ac_cv_cpp_def___i386__
=yes
15812 ac_cv_cpp_def___i386__
=no
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15818 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15819 if test $ac_cv_cpp_def___i386__ = yes; then :
15820 CFLAGS
="$CFLAGS -D__i386__"
15821 LINTFLAGS
="$LINTFLAGS -D__i386__"
15823 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15824 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15825 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15826 $as_echo_n "(cached) " >&6
15828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15835 $EGREP "yes" >/dev
/null
2>&1; then :
15836 ac_cv_cpp_def___x86_64__
=yes
15838 ac_cv_cpp_def___x86_64__
=no
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15844 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15845 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15846 CFLAGS
="$CFLAGS -D__x86_64__"
15847 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15849 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15850 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15851 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15852 $as_echo_n "(cached) " >&6
15854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15856 #ifndef __sparc64__
15860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15861 $EGREP "yes" >/dev
/null
2>&1; then :
15862 ac_cv_cpp_def___sparc64__
=yes
15864 ac_cv_cpp_def___sparc64__
=no
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15870 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15871 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15872 CFLAGS
="$CFLAGS -D__sparc64__"
15873 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15875 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15876 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15877 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15878 $as_echo_n "(cached) " >&6
15880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15887 $EGREP "yes" >/dev
/null
2>&1; then :
15888 ac_cv_cpp_def___sparc__
=yes
15890 ac_cv_cpp_def___sparc__
=no
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15896 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15897 if test $ac_cv_cpp_def___sparc__ = yes; then :
15898 CFLAGS
="$CFLAGS -D__sparc__"
15899 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15901 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15902 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15903 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15904 $as_echo_n "(cached) " >&6
15906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #ifndef __powerpc64__
15912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15913 $EGREP "yes" >/dev
/null
2>&1; then :
15914 ac_cv_cpp_def___powerpc64__
=yes
15916 ac_cv_cpp_def___powerpc64__
=no
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15922 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15923 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15924 CFLAGS
="$CFLAGS -D__powerpc64__"
15925 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15927 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15928 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15929 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15930 $as_echo_n "(cached) " >&6
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #ifndef __powerpc__
15938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15939 $EGREP "yes" >/dev
/null
2>&1; then :
15940 ac_cv_cpp_def___powerpc__
=yes
15942 ac_cv_cpp_def___powerpc__
=no
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15948 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15949 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15950 CFLAGS
="$CFLAGS -D__powerpc__"
15951 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15953 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15954 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15955 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15956 $as_echo_n "(cached) " >&6
15958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15960 #ifndef __aarch64__
15964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15965 $EGREP "yes" >/dev
/null
2>&1; then :
15966 ac_cv_cpp_def___aarch64__
=yes
15968 ac_cv_cpp_def___aarch64__
=no
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15974 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15975 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15976 CFLAGS
="$CFLAGS -D__aarch64__"
15977 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15979 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15980 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15981 if ${ac_cv_cpp_def___arm__+:} false
; then :
15982 $as_echo_n "(cached) " >&6
15984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15991 $EGREP "yes" >/dev
/null
2>&1; then :
15992 ac_cv_cpp_def___arm__
=yes
15994 ac_cv_cpp_def___arm__
=no
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16000 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16001 if test $ac_cv_cpp_def___arm__ = yes; then :
16002 CFLAGS
="$CFLAGS -D__arm__"
16003 LINTFLAGS
="$LINTFLAGS -D__arm__"
16007 case $host_vendor in
16008 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16009 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16010 if ${ac_cv_cpp_def___sun__+:} false
; then :
16011 $as_echo_n "(cached) " >&6
16013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16020 $EGREP "yes" >/dev
/null
2>&1; then :
16021 ac_cv_cpp_def___sun__
=yes
16023 ac_cv_cpp_def___sun__
=no
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16029 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16030 if test $ac_cv_cpp_def___sun__ = yes; then :
16031 CFLAGS
="$CFLAGS -D__sun__"
16032 LINTFLAGS
="$LINTFLAGS -D__sun__"
16040 ac_config_commands
="$ac_config_commands include/stamp-h"
16042 $as_echo_n "creating Makefile rules..." >&6
16045 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16048 if test -n "$CROSSTARGET"
16050 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16051 all: \$(STATICLIB:.a=.cross.a)
16056 if test -n "$DLLEXT"
16058 deps
="\$(MODULE)$DLLEXT \$(MODULE).fake"
16064 DLLFLAGS = $DLLFLAGS
16065 MAINSPEC = \$(MODULE:%.dll=%).spec
16066 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16067 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16074 DLLFLAGS = $DLLFLAGS
16082 DLLFLAGS = $DLLFLAGS
16083 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16084 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16085 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16086 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16087 EXTRA_OBJS = testlist.o
16089 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16091 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16093 check test: \$(C_SRCS:.c=.ok)
16095 .PHONY: check test crosstest
16098 if test -n "$CROSSTARGET"
16100 as_fn_append MAKE_TEST_RULES
"
16101 MAKEDEPFLAGS = -xo -xcross.o
16102 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16104 crosstest: \$(CROSSTESTMODULE)
16109 wine_rules_file
=conf$
$rules.
make
16110 rm -f $wine_rules_file
16112 ALL_TEST_RESOURCES
=""
16115 wine_fn_append_file
()
16117 as_fn_append
$1 " \\$as_nl $2"
16120 wine_fn_append_rule
()
16122 $as_echo "$1" >>$wine_rules_file
16125 wine_fn_has_flag
()
16127 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16130 wine_fn_depend_rules
()
16133 ac_makedep
="\$(MAKEDEP)"
16134 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16135 if test $ac_dir != tools
16137 ac_alldeps
="$1 $ac_makedep"
16139 ac_alldeps
="$1 include/config.h"
16142 *.
in) ac_input
=$ac_input:$1 ;;
16143 *) ac_makedep
="$1 $ac_makedep" ;;
16146 wine_fn_append_rule \
16147 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16148 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16149 depend: $ac_dir/depend
16150 .PHONY: $ac_dir/depend
16151 $ac_dir/depend: $ac_makedep dummy
16152 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16155 wine_fn_pot_rules
()
16157 test "x$with_gettextpo" = xyes ||
return
16159 if wine_fn_has_flag mc
16161 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16162 wine_fn_append_rule \
16163 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16164 @cd $ac_dir && \$(MAKE) msg.pot
16165 $ac_dir/msg.pot: tools/wmc include"
16167 if wine_fn_has_flag po
16169 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16170 wine_fn_append_rule \
16171 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16172 @cd $ac_dir && \$(MAKE) rsrc.pot
16173 $ac_dir/rsrc.pot: tools/wrc include"
16177 wine_fn_all_rules
()
16181 wine_fn_depend_rules
${ac_rules:-Make.rules}
16182 wine_fn_append_rule \
16185 $ac_dir: $ac_dir/Makefile dummy
16186 @cd $ac_dir && \$(MAKE)"
16189 wine_fn_install_rules
()
16191 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16193 wine_fn_append_rule \
16194 ".PHONY: $ac_dir/install $ac_dir/uninstall
16195 $ac_dir/install:: $ac_dir
16196 @cd $ac_dir && \$(MAKE) install
16197 $ac_dir/uninstall:: $ac_dir/Makefile
16198 @cd $ac_dir && \$(MAKE) uninstall
16199 install:: $ac_dir/install
16200 __uninstall__: $ac_dir/uninstall"
16202 if wine_fn_has_flag install-lib
16204 wine_fn_append_rule \
16205 ".PHONY: $ac_dir/install-lib
16206 $ac_dir/install-lib:: $ac_dir
16207 @cd $ac_dir && \$(MAKE) install-lib
16208 install-lib:: $ac_dir/install-lib"
16211 if wine_fn_has_flag install-dev
16213 wine_fn_append_rule \
16214 ".PHONY: $ac_dir/install-dev
16215 $ac_dir/install-dev:: $ac_dir
16216 @cd $ac_dir && \$(MAKE) install-dev
16217 install-dev:: $ac_dir/install-dev"
16221 wine_fn_clean_rules
()
16225 if wine_fn_has_flag clean
16227 wine_fn_append_rule \
16228 "__clean__: $ac_dir/clean
16229 .PHONY: $ac_dir/clean
16230 $ac_dir/clean: $ac_dir/Makefile
16231 @cd $ac_dir && \$(MAKE) clean
16232 \$(RM) $ac_dir/Makefile"
16234 wine_fn_append_rule \
16236 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16240 wine_fn_disabled_rules
()
16244 wine_fn_append_rule \
16246 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16249 wine_fn_config_makefile
()
16255 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16256 wine_fn_disabled_rules
; return
16259 wine_fn_install_rules
16260 wine_fn_clean_rules
16263 wine_fn_config_lib
()
16267 ac_dir
=dlls
/$ac_name
16269 wine_fn_all_rules Make.rules.
in
16270 wine_fn_clean_rules
16272 wine_fn_append_rule \
16273 ".PHONY: $ac_dir/install $ac_dir/uninstall
16274 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16275 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16276 $ac_dir/uninstall::
16277 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16278 install install-dev:: $ac_dir/install
16279 __uninstall__: $ac_dir/uninstall
16280 __builddeps__: $ac_dir
16281 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16284 wine_fn_config_dll
()
16287 ac_dir
=dlls
/$ac_name
16290 ac_implib
=${4:-$ac_name}
16291 ac_file
=$ac_dir/lib
$ac_implib
16293 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16297 *16) ac_implibflags
=" -m16" ;;
16299 *) ac_dll
=$ac_dll.dll
;;
16303 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16304 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16305 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16307 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16308 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16310 wine_fn_depend_rules Make.rules.
in
16311 wine_fn_clean_rules
$ac_clean
16313 wine_fn_disabled_rules
$ac_clean
16317 wine_fn_all_rules Make.rules.
in
16318 wine_fn_clean_rules
$ac_clean
16319 wine_fn_append_rule \
16320 "$ac_dir: __builddeps__
16321 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16322 @cd $ac_dir && \$(MAKE) \$@
16323 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16324 install install-lib:: $ac_dir/install-lib
16325 __uninstall__: $ac_dir/uninstall"
16326 if test -n "$DLLEXT"
16328 wine_fn_append_rule \
16329 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16331 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16332 $ac_dir/uninstall::
16333 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16335 wine_fn_append_rule \
16336 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16337 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16338 $ac_dir/uninstall::
16339 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16345 if wine_fn_has_flag staticimplib
16347 wine_fn_append_rule \
16348 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16349 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16350 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16351 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16352 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16353 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16354 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16355 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16356 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16357 $ac_dir/uninstall::
16358 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16359 install install-dev:: $ac_dir/install-dev
16360 __uninstall__: $ac_dir/uninstall"
16362 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16364 wine_fn_append_rule \
16365 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16366 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16367 $ac_dir/uninstall::
16368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16371 if test -n "$CROSSTARGET"
16373 wine_fn_append_rule \
16374 "__builddeps__: $ac_file.cross.a
16375 $ac_file.cross.a: $ac_dir/Makefile dummy
16376 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16379 elif wine_fn_has_flag implib
16381 wine_fn_append_rule \
16382 "__builddeps__: $ac_file.$IMPLIBEXT
16383 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16385 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16387 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16388 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16389 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16390 $ac_dir/uninstall::
16391 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16392 install install-dev:: $ac_dir/install-dev
16393 __uninstall__: $ac_dir/uninstall"
16394 if test -n "$CROSSTARGET"
16396 wine_fn_append_rule \
16397 "__builddeps__: $ac_file.cross.a
16398 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16399 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16402 if test "$ac_name" != "$ac_implib"
16404 wine_fn_append_rule \
16405 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16406 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16407 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16409 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16410 if test -n "$CROSSTARGET"
16412 wine_fn_append_rule \
16413 "__builddeps__: dlls/lib$ac_implib.cross.a
16414 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16415 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16421 wine_fn_config_program
()
16424 ac_dir
=programs
/$ac_name
16427 ac_program
=$ac_name
16431 *) ac_program
=$ac_program.exe
;;
16435 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16436 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16437 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16438 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16440 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16441 wine_fn_disabled_rules
$ac_clean; return
16444 wine_fn_all_rules Make.rules.
in
16445 wine_fn_clean_rules
$ac_clean
16446 wine_fn_append_rule
"$ac_dir: __builddeps__"
16449 wine_fn_has_flag
install ||
return
16450 wine_fn_append_rule \
16451 ".PHONY: $ac_dir/install $ac_dir/uninstall
16452 install install-lib:: $ac_dir/install
16453 __uninstall__: $ac_dir/uninstall"
16455 if test -n "$DLLEXT"
16457 wine_fn_append_rule \
16458 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16460 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16461 $ac_dir/uninstall::
16462 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16464 if test -z "$with_wine64" && wine_fn_has_flag installbin
16466 wine_fn_append_rule \
16467 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16468 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16469 $ac_dir/uninstall::
16470 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16473 wine_fn_append_rule \
16474 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16475 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16476 $ac_dir/uninstall::
16477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16480 if test -z "$with_wine64" && wine_fn_has_flag manpage
16482 wine_fn_append_rule \
16483 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16484 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16485 $ac_dir/uninstall::
16486 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16490 wine_fn_config_test
()
16497 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16498 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16499 ac_clean
="$ac_clean $ac_dir/testlist.c"
16501 if test "x$enable_tests" = xno
; then :
16502 wine_fn_disabled_rules
$ac_clean; return
16505 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16506 wine_fn_all_rules Make.rules.
in
16507 wine_fn_clean_rules
$ac_clean
16509 wine_fn_append_rule \
16510 "$ac_dir: programs/winetest/Makefile __builddeps__
16511 programs/winetest: $ac_dir
16512 check test: $ac_dir/test
16513 .PHONY: $ac_dir/test
16514 $ac_dir/test: dummy
16515 @cd $ac_dir && \$(MAKE) test
16517 \$(RM) $ac_dir/*.ok"
16519 if test -n "$CROSSTARGET"
16521 wine_fn_append_rule \
16522 "crosstest: $ac_dir/crosstest
16523 .PHONY: $ac_dir/crosstest
16524 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16525 @cd $ac_dir && \$(MAKE) crosstest"
16529 wine_fn_config_tool
()
16533 if test "x$enable_tools" = xno
; then :
16538 wine_fn_install_rules
16539 wine_fn_clean_rules
16541 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16542 wine_fn_append_rule
"$ac_dir: libs/port"
16544 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16548 wine_fn_config_makerules
()
16552 wine_fn_append_rule \
16553 "$ac_rules: $ac_rules.in $ac_deps config.status
16554 @./config.status $ac_rules
16559 wine_fn_config_symlink
()
16562 if test "x$1" = "x-d"
16568 wine_fn_append_rule \
16570 @./config.status \$@
16573 test -n "$ac_linkdir" ||
return
16574 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16577 if test -z "$CROSSTARGET"
16579 wine_fn_append_rule \
16581 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16583 wine_fn_append_rule
"
16584 # Rules automatically generated by configure
16589 Makefile: Makefile.in Make.vars.in Make.rules config.status
16590 @./config.status Make.tmp Makefile"
16592 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16593 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16594 if test "x$enable_fonts" != xno
; then
16595 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16596 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16597 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16598 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16599 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16601 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16602 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16603 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16604 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16605 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16606 wine_fn_config_symlink wine
16607 if test "x$enable_win64" != xno
; then
16608 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16609 wine_fn_config_symlink wine64
16612 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16613 wine_fn_append_rule \
16615 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16616 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16617 wine_fn_append_rule \
16619 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16620 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16621 wine_fn_append_rule \
16623 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16624 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16625 wine_fn_append_rule \
16627 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16628 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16629 wine_fn_append_rule \
16631 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16632 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16633 wine_fn_append_rule \
16635 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16636 ac_config_commands
="$ac_config_commands include/wine"
16637 wine_fn_append_rule \
16639 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16641 wine_fn_config_makerules Make.rules
16642 MAKE_RULES
=Make.rules
16643 ac_config_files
="$ac_config_files Make.rules"
16646 wine_fn_config_dll acledit enable_acledit
16647 wine_fn_config_dll aclui enable_aclui implib
16648 wine_fn_config_dll activeds enable_activeds implib
16649 wine_fn_config_dll actxprxy enable_actxprxy clean
16650 wine_fn_config_lib adsiid
16651 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16652 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16653 wine_fn_config_dll advpack enable_advpack implib
16654 wine_fn_config_test dlls
/advpack
/tests advpack_test
16655 wine_fn_config_dll amstream enable_amstream clean
16656 wine_fn_config_test dlls
/amstream
/tests amstream_test
16657 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16659 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16667 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16668 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16669 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16670 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16671 wine_fn_config_dll apphelp enable_apphelp
16672 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16673 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16674 wine_fn_config_dll atl enable_atl clean
,implib
16675 wine_fn_config_test dlls
/atl
/tests atl_test
16676 wine_fn_config_dll atl100 enable_atl100 implib
16677 wine_fn_config_test dlls
/atl100
/tests atl100_test
16678 wine_fn_config_dll atl110 enable_atl110
16679 wine_fn_config_dll atl80 enable_atl80 implib
16680 wine_fn_config_test dlls
/atl80
/tests atl80_test
16681 wine_fn_config_dll authz enable_authz
16682 wine_fn_config_dll avicap32 enable_avicap32 implib
16683 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16684 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16685 wine_fn_config_dll avifile.dll16 enable_win16
16686 wine_fn_config_dll avrt enable_avrt implib
16687 wine_fn_config_dll bcrypt enable_bcrypt
16688 wine_fn_config_dll browseui enable_browseui clean
,po
16689 wine_fn_config_test dlls
/browseui
/tests browseui_test
16690 wine_fn_config_dll cabinet enable_cabinet implib
16691 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16692 wine_fn_config_dll capi2032 enable_capi2032 implib
16693 wine_fn_config_dll cards enable_cards implib
16694 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16695 wine_fn_config_dll clusapi enable_clusapi implib
16696 wine_fn_config_dll comcat enable_comcat
16697 wine_fn_config_test dlls
/comcat
/tests comcat_test
16698 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16699 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16700 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16701 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16702 wine_fn_config_dll
comm.drv16 enable_win16
16703 wine_fn_config_dll commdlg.dll16 enable_win16
16704 wine_fn_config_dll compobj.dll16 enable_win16
16705 wine_fn_config_dll compstui enable_compstui implib
16706 wine_fn_config_dll comsvcs enable_comsvcs implib
16707 wine_fn_config_dll credui enable_credui implib
,po
16708 wine_fn_config_test dlls
/credui
/tests credui_test
16709 wine_fn_config_dll crtdll enable_crtdll implib
16710 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16711 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16712 wine_fn_config_dll cryptdlg enable_cryptdlg po
16713 wine_fn_config_dll cryptdll enable_cryptdll implib
16714 wine_fn_config_dll cryptnet enable_cryptnet implib
16715 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16716 wine_fn_config_dll cryptui enable_cryptui implib
,po
16717 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16718 wine_fn_config_dll ctapi32 enable_ctapi32
16719 wine_fn_config_dll ctl3d.dll16 enable_win16
16720 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16721 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16722 wine_fn_config_dll d3d10 enable_d3d10 implib
16723 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16724 wine_fn_config_dll d3d10core enable_d3d10core implib
16725 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16726 wine_fn_config_dll d3d11 enable_d3d11
16727 wine_fn_config_dll d3d8 enable_d3d8 implib
16728 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16729 wine_fn_config_dll d3d9 enable_d3d9 implib
16730 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16731 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16732 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16733 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16734 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16735 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16736 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16737 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16738 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16739 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16740 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16741 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16742 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16743 wine_fn_config_dll d3dim enable_d3dim implib
16744 wine_fn_config_dll d3drm enable_d3drm implib
16745 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16746 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16747 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16748 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16749 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16750 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16751 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16752 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16753 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16754 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16755 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16756 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16757 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16758 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16759 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16760 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16761 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16762 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16763 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16764 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16765 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16766 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16767 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16768 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16769 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16770 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16771 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16772 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16773 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16774 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16775 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16776 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16777 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16778 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16779 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16780 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16781 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16782 wine_fn_config_dll dbgeng enable_dbgeng implib
16783 wine_fn_config_dll dbghelp enable_dbghelp implib
16784 wine_fn_config_dll dciman32 enable_dciman32 implib
16785 wine_fn_config_dll ddeml.dll16 enable_win16
16786 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16787 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16788 wine_fn_config_dll ddrawex enable_ddrawex clean
16789 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16790 wine_fn_config_dll devenum enable_devenum clean
,po
16791 wine_fn_config_test dlls
/devenum
/tests devenum_test
16792 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16793 wine_fn_config_dll difxapi enable_difxapi
16794 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16795 wine_fn_config_test dlls
/dinput
/tests dinput_test
16796 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16797 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16798 wine_fn_config_dll dispdib.dll16 enable_win16
16799 wine_fn_config_dll dispex enable_dispex clean
16800 wine_fn_config_test dlls
/dispex
/tests dispex_test
16801 wine_fn_config_dll display.drv16 enable_win16
16802 wine_fn_config_dll dmband enable_dmband clean
16803 wine_fn_config_test dlls
/dmband
/tests dmband_test
16804 wine_fn_config_dll dmcompos enable_dmcompos clean
16805 wine_fn_config_dll dmime enable_dmime clean
16806 wine_fn_config_test dlls
/dmime
/tests dmime_test
16807 wine_fn_config_dll dmloader enable_dmloader clean
16808 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16809 wine_fn_config_dll dmscript enable_dmscript clean
16810 wine_fn_config_dll dmstyle enable_dmstyle clean
16811 wine_fn_config_dll dmsynth enable_dmsynth clean
16812 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16813 wine_fn_config_dll dmusic enable_dmusic clean
16814 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16815 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16816 wine_fn_config_dll dnsapi enable_dnsapi implib
16817 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16818 wine_fn_config_dll dplay enable_dplay implib
16819 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16820 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16821 wine_fn_config_dll dpnaddr enable_dpnaddr
16822 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16823 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16824 wine_fn_config_dll dpnhpast enable_dpnhpast
16825 wine_fn_config_dll dpnlobby enable_dpnlobby
16826 wine_fn_config_dll dpwsockx enable_dpwsockx
16827 wine_fn_config_dll drmclien enable_drmclien
16828 wine_fn_config_dll dsound enable_dsound clean
,implib
16829 wine_fn_config_test dlls
/dsound
/tests dsound_test
16830 wine_fn_config_dll dssenh enable_dssenh
16831 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16832 wine_fn_config_dll dswave enable_dswave clean
16833 wine_fn_config_dll dwmapi enable_dwmapi implib
16834 wine_fn_config_dll dwrite enable_dwrite implib
16835 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16836 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16837 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16838 wine_fn_config_lib dxerr8
16839 wine_fn_config_lib dxerr9
16840 wine_fn_config_dll dxgi enable_dxgi implib
16841 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16842 wine_fn_config_lib dxguid
16843 wine_fn_config_dll explorerframe enable_explorerframe clean
16844 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16845 wine_fn_config_dll faultrep enable_faultrep implib
16846 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16847 wine_fn_config_dll fltlib enable_fltlib
16848 wine_fn_config_dll fusion enable_fusion
16849 wine_fn_config_test dlls
/fusion
/tests fusion_test
16850 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16851 wine_fn_config_dll gameux enable_gameux clean
16852 wine_fn_config_test dlls
/gameux
/tests gameux_test
16853 wine_fn_config_dll gdi.exe16 enable_win16
16854 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16855 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16856 wine_fn_config_dll gdiplus enable_gdiplus implib
16857 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16858 wine_fn_config_dll glu32 enable_glu32 implib
16859 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16860 wine_fn_config_dll gpkcsp enable_gpkcsp
16861 wine_fn_config_dll hal enable_hal
16862 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16863 wine_fn_config_dll hid enable_hid implib
16864 wine_fn_config_dll hlink enable_hlink clean
,implib
16865 wine_fn_config_test dlls
/hlink
/tests hlink_test
16866 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16867 wine_fn_config_dll httpapi enable_httpapi
16868 wine_fn_config_dll iccvid enable_iccvid po
16869 wine_fn_config_dll icmp enable_icmp
16870 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16871 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16872 wine_fn_config_dll ifsmgr.vxd enable_win16
16873 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16874 wine_fn_config_dll imagehlp enable_imagehlp implib
16875 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16876 wine_fn_config_dll imm.dll16 enable_win16
16877 wine_fn_config_dll imm32 enable_imm32 implib
16878 wine_fn_config_test dlls
/imm32
/tests imm32_test
16879 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16880 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16881 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16882 wine_fn_config_dll inetmib1 enable_inetmib1
16883 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16884 wine_fn_config_dll infosoft enable_infosoft clean
16885 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16886 wine_fn_config_dll initpki enable_initpki
16887 wine_fn_config_dll inkobj enable_inkobj
16888 wine_fn_config_dll inseng enable_inseng clean
16889 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16890 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16891 wine_fn_config_dll itircl enable_itircl
16892 wine_fn_config_dll itss enable_itss clean
16893 wine_fn_config_test dlls
/itss
/tests itss_test
16894 wine_fn_config_dll joy.cpl enable_joy_cpl po
16895 wine_fn_config_dll jscript enable_jscript clean
,po
16896 wine_fn_config_test dlls
/jscript
/tests jscript_test
16897 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16898 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16899 wine_fn_config_dll keyboard.drv16 enable_win16
16900 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16901 wine_fn_config_dll ktmw32 enable_ktmw32
16902 wine_fn_config_dll loadperf enable_loadperf implib
16903 wine_fn_config_dll localspl enable_localspl po
16904 wine_fn_config_test dlls
/localspl
/tests localspl_test
16905 wine_fn_config_dll localui enable_localui po
16906 wine_fn_config_test dlls
/localui
/tests localui_test
16907 wine_fn_config_dll lz32 enable_lz32 implib
16908 wine_fn_config_test dlls
/lz32
/tests lz32_test
16909 wine_fn_config_dll lzexpand.dll16 enable_win16
16910 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16911 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16912 wine_fn_config_dll mapistub enable_mapistub
16913 wine_fn_config_dll mciavi32 enable_mciavi32
16914 wine_fn_config_dll mcicda enable_mcicda
16915 wine_fn_config_dll mciqtz32 enable_mciqtz32
16916 wine_fn_config_dll mciseq enable_mciseq
16917 wine_fn_config_dll mciwave enable_mciwave
16918 wine_fn_config_dll mgmtapi enable_mgmtapi
16919 wine_fn_config_dll midimap enable_midimap
16920 wine_fn_config_dll mlang enable_mlang clean
,implib
16921 wine_fn_config_test dlls
/mlang
/tests mlang_test
16922 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16923 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16924 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16925 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16926 wine_fn_config_dll mmdevldr.vxd enable_win16
16927 wine_fn_config_dll mmsystem.dll16 enable_win16
16928 wine_fn_config_dll monodebg.vxd enable_win16
16929 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16930 wine_fn_config_dll mouse.drv16 enable_win16
16931 wine_fn_config_dll mpr enable_mpr implib
,po
16932 wine_fn_config_test dlls
/mpr
/tests mpr_test
16933 wine_fn_config_dll mprapi enable_mprapi implib
16934 wine_fn_config_dll msacm.dll16 enable_win16
16935 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16936 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16937 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16938 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16939 wine_fn_config_dll mscat32 enable_mscat32
16940 wine_fn_config_dll mscms enable_mscms implib
16941 wine_fn_config_test dlls
/mscms
/tests mscms_test
16942 wine_fn_config_dll mscoree enable_mscoree clean
16943 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16944 wine_fn_config_dll msctf enable_msctf clean
16945 wine_fn_config_test dlls
/msctf
/tests msctf_test
16946 wine_fn_config_dll msdaps enable_msdaps clean
16947 wine_fn_config_dll msdmo enable_msdmo implib
16948 wine_fn_config_dll msftedit enable_msftedit
16949 wine_fn_config_dll msg711.acm enable_msg711_acm
16950 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16951 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16952 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16953 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16954 wine_fn_config_dll msi enable_msi clean
,implib
,po
16955 wine_fn_config_test dlls
/msi
/tests msi_test
16956 wine_fn_config_dll msident enable_msident clean
16957 wine_fn_config_dll msimg32 enable_msimg32 implib
16958 wine_fn_config_dll msimsg enable_msimsg
16959 wine_fn_config_dll msimtf enable_msimtf clean
16960 wine_fn_config_dll msisip enable_msisip
16961 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16962 wine_fn_config_dll msls31 enable_msls31
16963 wine_fn_config_dll msnet32 enable_msnet32
16964 wine_fn_config_dll mspatcha enable_mspatcha
16965 wine_fn_config_dll msrle32 enable_msrle32 po
16966 wine_fn_config_dll mssign32 enable_mssign32
16967 wine_fn_config_dll mssip32 enable_mssip32
16968 wine_fn_config_dll mstask enable_mstask clean
16969 wine_fn_config_test dlls
/mstask
/tests mstask_test
16970 wine_fn_config_dll msvcirt enable_msvcirt
16971 wine_fn_config_dll msvcm80 enable_msvcm80
16972 wine_fn_config_dll msvcm90 enable_msvcm90
16973 wine_fn_config_dll msvcp100 enable_msvcp100
16974 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16975 wine_fn_config_dll msvcp110 enable_msvcp110
16976 wine_fn_config_dll msvcp60 enable_msvcp60
16977 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16978 wine_fn_config_dll msvcp70 enable_msvcp70
16979 wine_fn_config_dll msvcp71 enable_msvcp71
16980 wine_fn_config_dll msvcp80 enable_msvcp80
16981 wine_fn_config_dll msvcp90 enable_msvcp90
16982 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16983 wine_fn_config_dll msvcr100 enable_msvcr100
16984 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16985 wine_fn_config_dll msvcr110 enable_msvcr110
16986 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16987 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16988 wine_fn_config_dll msvcr80 enable_msvcr80
16989 wine_fn_config_dll msvcr90 enable_msvcr90
16990 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16991 wine_fn_config_dll msvcrt enable_msvcrt implib
16992 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16993 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16994 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16995 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16996 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16997 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16998 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16999 wine_fn_config_dll msvidc32 enable_msvidc32 po
17000 wine_fn_config_dll msvideo.dll16 enable_win16
17001 wine_fn_config_dll mswsock enable_mswsock implib
17002 wine_fn_config_dll msxml enable_msxml clean
17003 wine_fn_config_dll msxml2 enable_msxml2 clean
17004 wine_fn_config_dll msxml3 enable_msxml3 clean
17005 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17006 wine_fn_config_dll msxml4 enable_msxml4 clean
17007 wine_fn_config_dll msxml6 enable_msxml6 clean
17008 wine_fn_config_dll nddeapi enable_nddeapi implib
17009 wine_fn_config_dll netapi32 enable_netapi32 implib
17010 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17011 wine_fn_config_dll netcfgx enable_netcfgx
17012 wine_fn_config_dll newdev enable_newdev implib
17013 wine_fn_config_dll normaliz enable_normaliz implib
17014 wine_fn_config_dll npmshtml enable_npmshtml
17015 wine_fn_config_dll ntdll enable_ntdll implib
17016 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17017 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17018 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17019 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17020 wine_fn_config_dll ntprint enable_ntprint
17021 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17022 wine_fn_config_dll objsel enable_objsel clean
17023 wine_fn_config_dll odbc32 enable_odbc32 implib
17024 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17025 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17026 wine_fn_config_dll odbccu32 enable_odbccu32
17027 wine_fn_config_dll ole2.dll16 enable_win16
17028 wine_fn_config_dll ole2conv.dll16 enable_win16
17029 wine_fn_config_dll ole2disp.dll16 enable_win16
17030 wine_fn_config_dll ole2nls.dll16 enable_win16
17031 wine_fn_config_dll ole2prox.dll16 enable_win16
17032 wine_fn_config_dll ole2thk.dll16 enable_win16
17033 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17034 wine_fn_config_test dlls
/ole32
/tests ole32_test
17035 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17036 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17037 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17038 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17039 wine_fn_config_dll olecli.dll16 enable_win16
17040 wine_fn_config_dll olecli32 enable_olecli32 implib
17041 wine_fn_config_dll oledb32 enable_oledb32 clean
17042 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17043 wine_fn_config_dll oledlg enable_oledlg implib
,po
17044 wine_fn_config_dll olepro32 enable_olepro32 implib
17045 wine_fn_config_dll olesvr.dll16 enable_win16
17046 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17047 wine_fn_config_dll olethk32 enable_olethk32
17048 wine_fn_config_dll openal32 enable_openal32
17049 wine_fn_config_dll opencl enable_opencl
17050 wine_fn_config_dll opengl32 enable_opengl32 implib
17051 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17052 wine_fn_config_dll pdh enable_pdh implib
17053 wine_fn_config_test dlls
/pdh
/tests pdh_test
17054 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17055 wine_fn_config_dll pidgen enable_pidgen
17056 wine_fn_config_dll powrprof enable_powrprof implib
17057 wine_fn_config_dll printui enable_printui
17058 wine_fn_config_dll propsys enable_propsys clean
,implib
17059 wine_fn_config_test dlls
/propsys
/tests propsys_test
17060 wine_fn_config_dll psapi enable_psapi implib
17061 wine_fn_config_test dlls
/psapi
/tests psapi_test
17062 wine_fn_config_dll pstorec enable_pstorec clean
17063 wine_fn_config_dll qcap enable_qcap
17064 wine_fn_config_test dlls
/qcap
/tests qcap_test
17065 wine_fn_config_dll qedit enable_qedit clean
17066 wine_fn_config_test dlls
/qedit
/tests qedit_test
17067 wine_fn_config_dll qmgr enable_qmgr clean
17068 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17069 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17070 wine_fn_config_dll quartz enable_quartz clean
,implib
17071 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17072 wine_fn_config_dll query enable_query
17073 wine_fn_config_dll rasapi16.dll16 enable_win16
17074 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17075 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17076 wine_fn_config_dll rasdlg enable_rasdlg implib
17077 wine_fn_config_dll regapi enable_regapi
17078 wine_fn_config_dll resutils enable_resutils implib
17079 wine_fn_config_dll riched20 enable_riched20 implib
17080 wine_fn_config_test dlls
/riched20
/tests riched20_test
17081 wine_fn_config_dll riched32 enable_riched32
17082 wine_fn_config_test dlls
/riched32
/tests riched32_test
17083 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17084 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17085 wine_fn_config_dll rsabase enable_rsabase
17086 wine_fn_config_dll rsaenh enable_rsaenh implib
17087 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17088 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17089 wine_fn_config_dll rtutils enable_rtutils implib
17090 wine_fn_config_dll samlib enable_samlib
17091 wine_fn_config_dll sane.ds enable_sane_ds po
17092 wine_fn_config_dll scarddlg enable_scarddlg
17093 wine_fn_config_dll sccbase enable_sccbase
17094 wine_fn_config_dll schannel enable_schannel
17095 wine_fn_config_test dlls
/schannel
/tests schannel_test
17096 wine_fn_config_dll scrrun enable_scrrun clean
17097 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17098 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17099 wine_fn_config_dll secur32 enable_secur32 implib
17100 wine_fn_config_test dlls
/secur32
/tests secur32_test
17101 wine_fn_config_dll security enable_security
17102 wine_fn_config_dll sensapi enable_sensapi implib
17103 wine_fn_config_dll serialui enable_serialui implib
,po
17104 wine_fn_config_test dlls
/serialui
/tests serialui_test
17105 wine_fn_config_dll setupapi enable_setupapi implib
,po
17106 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17107 wine_fn_config_dll setupx.dll16 enable_win16
17108 wine_fn_config_dll sfc enable_sfc implib
17109 wine_fn_config_dll sfc_os enable_sfc_os implib
17110 wine_fn_config_dll shdoclc enable_shdoclc po
17111 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17112 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17113 wine_fn_config_dll shell.dll16 enable_win16
17114 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17115 wine_fn_config_test dlls
/shell32
/tests shell32_test
17116 wine_fn_config_dll shfolder enable_shfolder implib
17117 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17118 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17119 wine_fn_config_dll slbcsp enable_slbcsp
17120 wine_fn_config_dll slc enable_slc implib
17121 wine_fn_config_dll snmpapi enable_snmpapi implib
17122 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17123 wine_fn_config_dll softpub enable_softpub
17124 wine_fn_config_dll sound.drv16 enable_win16
17125 wine_fn_config_dll spoolss enable_spoolss implib
17126 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17127 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17128 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17129 wine_fn_config_dll sti enable_sti clean
,implib
17130 wine_fn_config_test dlls
/sti
/tests sti_test
17131 wine_fn_config_dll storage.dll16 enable_win16
17132 wine_fn_config_dll stress.dll16 enable_win16
17133 wine_fn_config_lib strmbase
17134 wine_fn_config_lib strmiids
17135 wine_fn_config_dll svrapi enable_svrapi
17136 wine_fn_config_dll sxs enable_sxs implib
17137 wine_fn_config_test dlls
/sxs
/tests sxs_test
17138 wine_fn_config_dll system.drv16 enable_win16
17139 wine_fn_config_dll t2embed enable_t2embed
17140 wine_fn_config_dll tapi32 enable_tapi32 implib
17141 wine_fn_config_dll toolhelp.dll16 enable_win16
17142 wine_fn_config_dll traffic enable_traffic
17143 wine_fn_config_dll twain.dll16 enable_win16
17144 wine_fn_config_dll twain_32 enable_twain_32
17145 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17146 wine_fn_config_dll typelib.dll16 enable_win16
17147 wine_fn_config_dll unicows enable_unicows implib
17148 wine_fn_config_dll updspapi enable_updspapi
17149 wine_fn_config_dll url enable_url implib
17150 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17151 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17152 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17153 wine_fn_config_dll user.exe16 enable_win16
17154 wine_fn_config_dll user32 enable_user32 implib
,po
17155 wine_fn_config_test dlls
/user32
/tests user32_test
17156 wine_fn_config_dll userenv enable_userenv implib
17157 wine_fn_config_test dlls
/userenv
/tests userenv_test
17158 wine_fn_config_dll usp10 enable_usp10 implib
17159 wine_fn_config_test dlls
/usp10
/tests usp10_test
17160 wine_fn_config_lib uuid
17161 wine_fn_config_dll uxtheme enable_uxtheme implib
17162 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17163 wine_fn_config_dll vbscript enable_vbscript clean
17164 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17165 wine_fn_config_dll vcomp enable_vcomp
17166 wine_fn_config_dll vcomp100 enable_vcomp100
17167 wine_fn_config_dll vcomp90 enable_vcomp90
17168 wine_fn_config_dll vdhcp.vxd enable_win16
17169 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17170 wine_fn_config_dll ver.dll16 enable_win16
17171 wine_fn_config_dll version enable_version implib
17172 wine_fn_config_test dlls
/version
/tests version_test
17173 wine_fn_config_dll vmm.vxd enable_win16
17174 wine_fn_config_dll vnbt.vxd enable_win16
17175 wine_fn_config_dll vnetbios.vxd enable_win16
17176 wine_fn_config_dll vtdapi.vxd enable_win16
17177 wine_fn_config_dll vwin32.vxd enable_win16
17178 wine_fn_config_dll w32skrnl enable_win16
17179 wine_fn_config_dll w32sys.dll16 enable_win16
17180 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17181 wine_fn_config_dll wbemprox enable_wbemprox clean
17182 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17183 wine_fn_config_dll webservices enable_webservices implib
17184 wine_fn_config_dll wer enable_wer implib
17185 wine_fn_config_test dlls
/wer
/tests wer_test
17186 wine_fn_config_dll wevtapi enable_wevtapi
17187 wine_fn_config_dll wiaservc enable_wiaservc clean
17188 wine_fn_config_dll win32s16.dll16 enable_win16
17189 wine_fn_config_dll win87em.dll16 enable_win16
17190 wine_fn_config_dll winaspi.dll16 enable_win16
17191 wine_fn_config_dll windebug.dll16 enable_win16
17192 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17193 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17194 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17195 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17196 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17197 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17198 wine_fn_config_lib winecrt0
17199 wine_fn_config_dll wined3d enable_wined3d implib
17200 wine_fn_config_dll winegstreamer enable_winegstreamer
17201 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17202 wine_fn_config_dll winemac.drv enable_winemac_drv
17203 wine_fn_config_dll winemapi enable_winemapi
17204 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17205 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17206 wine_fn_config_dll wineps.drv enable_wineps_drv po
17207 wine_fn_config_dll wineps16.drv16 enable_win16
17208 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17209 wine_fn_config_dll winex11.drv enable_winex11_drv
17210 wine_fn_config_dll wing.dll16 enable_win16
17211 wine_fn_config_dll wing32 enable_wing32
17212 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17213 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17214 wine_fn_config_dll wininet enable_wininet implib
,po
17215 wine_fn_config_test dlls
/wininet
/tests wininet_test
17216 wine_fn_config_dll winmm enable_winmm implib
,po
17217 wine_fn_config_test dlls
/winmm
/tests winmm_test
17218 wine_fn_config_dll winnls.dll16 enable_win16
17219 wine_fn_config_dll winnls32 enable_winnls32 implib
17220 wine_fn_config_dll winscard enable_winscard implib
17221 wine_fn_config_dll winsock.dll16 enable_win16
17222 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17223 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17224 wine_fn_config_dll winsta enable_winsta
17225 wine_fn_config_dll wintab.dll16 enable_win16
17226 wine_fn_config_dll wintab32 enable_wintab32 implib
17227 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17228 wine_fn_config_dll wintrust enable_wintrust implib
17229 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17230 wine_fn_config_dll wlanapi enable_wlanapi
17231 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17232 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17233 wine_fn_config_dll wmi enable_wmi
17234 wine_fn_config_dll wmiutils enable_wmiutils clean
17235 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17236 wine_fn_config_dll wmvcore enable_wmvcore
17237 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17238 wine_fn_config_dll wow32 enable_win16 implib
17239 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17240 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17241 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17242 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17243 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17244 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17245 wine_fn_config_dll wsock32 enable_wsock32 implib
17246 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17247 wine_fn_config_dll wuapi enable_wuapi clean
17248 wine_fn_config_dll wuaueng enable_wuaueng
17249 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17250 wine_fn_config_dll xinput1_1 enable_xinput1_1
17251 wine_fn_config_dll xinput1_2 enable_xinput1_2
17252 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17253 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17254 wine_fn_config_dll xinput1_4 enable_xinput1_4
17255 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17256 wine_fn_config_dll xmllite enable_xmllite
17257 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17258 wine_fn_config_dll xolehlp enable_xolehlp
17259 wine_fn_config_dll xpsprint enable_xpsprint
17260 wine_fn_config_dll xpssvcs enable_xpssvcs
17261 wine_fn_config_makefile documentation enable_documentation clean
17262 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17263 wine_fn_config_makefile include enable_include clean
,install-dev
17264 wine_fn_config_makefile libs
/port enable_libs_port
17265 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17266 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17267 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17268 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17269 wine_fn_config_program attrib enable_attrib
install,po
17270 wine_fn_config_program cabarc enable_cabarc
install
17271 wine_fn_config_program cacls enable_cacls
install
17272 wine_fn_config_program
clock enable_clock
install,po
17273 wine_fn_config_program cmd enable_cmd
install,po
17274 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17275 wine_fn_config_program conhost enable_conhost
install
17276 wine_fn_config_program control enable_control
install
17277 wine_fn_config_program cscript enable_cscript
install
17278 wine_fn_config_program dxdiag enable_dxdiag
install,po
17279 wine_fn_config_program eject enable_eject
install
17280 wine_fn_config_program
expand enable_expand
install
17281 wine_fn_config_program explorer enable_explorer
install,po
17282 wine_fn_config_program extrac32 enable_extrac32
install
17283 wine_fn_config_program findstr enable_findstr
install
17284 wine_fn_config_program hh enable_hh
install
17285 wine_fn_config_program hostname enable_hostname
install,po
17286 wine_fn_config_program icinfo enable_icinfo
install
17287 wine_fn_config_program iexplore enable_iexplore
install
17288 wine_fn_config_program ipconfig enable_ipconfig
install,po
17289 wine_fn_config_program lodctr enable_lodctr
install
17290 wine_fn_config_program mofcomp enable_mofcomp
install
17291 wine_fn_config_program mshta enable_mshta
install
17292 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17293 wine_fn_config_program net enable_net
install,po
17294 wine_fn_config_program netsh enable_netsh
install
17295 wine_fn_config_program netstat enable_netstat
install,po
17296 wine_fn_config_program ngen enable_ngen
install
17297 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17298 wine_fn_config_program oleview enable_oleview
install,po
17299 wine_fn_config_program
ping enable_ping
install
17300 wine_fn_config_program plugplay enable_plugplay
install
17301 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17302 wine_fn_config_program progman enable_progman
install,po
17303 wine_fn_config_program reg enable_reg
install,po
17304 wine_fn_config_program regasm enable_regasm
install
17305 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17306 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17307 wine_fn_config_program regsvcs enable_regsvcs
install
17308 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17309 wine_fn_config_program rpcss enable_rpcss clean
,install
17310 wine_fn_config_program rundll.exe16 enable_win16
install
17311 wine_fn_config_program rundll32 enable_rundll32
install
17312 wine_fn_config_program sc enable_sc
install
17313 wine_fn_config_program schtasks enable_schtasks
install
17314 wine_fn_config_program secedit enable_secedit
install
17315 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17316 wine_fn_config_program services enable_services clean
,install
17317 wine_fn_config_test programs
/services
/tests services.exe_test
17318 wine_fn_config_program spoolsv enable_spoolsv
install
17319 wine_fn_config_program start enable_start
install,po
17320 wine_fn_config_program svchost enable_svchost
install
17321 wine_fn_config_program taskkill enable_taskkill
install,po
17322 wine_fn_config_program tasklist enable_tasklist
install
17323 wine_fn_config_program taskmgr enable_taskmgr
install,po
17324 wine_fn_config_program termsv enable_termsv
install
17325 wine_fn_config_program uninstaller enable_uninstaller
install,po
17326 wine_fn_config_program unlodctr enable_unlodctr
install
17327 wine_fn_config_program view enable_view
install,po
17328 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17329 wine_fn_config_program winebrowser enable_winebrowser
install
17330 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17331 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17332 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17333 wine_fn_config_program winedevice enable_winedevice
install
17334 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17335 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17336 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17337 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17338 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17339 wine_fn_config_program winetest enable_winetest clean
17340 wine_fn_config_program winevdm enable_win16
install
17341 wine_fn_config_program winhelp.exe16 enable_win16
install
17342 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17343 wine_fn_config_program winoldap.mod16 enable_win16
install
17344 wine_fn_config_program winver enable_winver
install
17345 wine_fn_config_program wmic enable_wmic
install,po
17346 wine_fn_config_program wordpad enable_wordpad
install,po
17347 wine_fn_config_program
write enable_write
install,po
17348 wine_fn_config_program wscript enable_wscript clean
,install
17349 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17350 wine_fn_config_program wusa enable_wusa
install
17351 wine_fn_config_program xcopy enable_xcopy
install,po
17352 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17353 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17354 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17355 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17356 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17357 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17358 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17359 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17410 ac_config_commands
="$ac_config_commands Makefile"
17413 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17417 if test "x$enable_maintainer_mode" = xyes
17419 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17420 cd \$(srcdir) && autoconf --warnings=all
17421 \$(srcdir)/include/config.h.in: include/stamp-h.in
17422 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17423 cd \$(srcdir) && autoheader --warnings=all
17424 @echo timestamp > \$@"
17427 if test "x$with_gettextpo" = xyes
17429 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17430 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17431 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17432 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17433 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17434 msgcat -o \$@ \$(ALL_POT_FILES)"
17437 if test "$MSGFMT" != false
17439 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17441 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17446 if test "x$enable_tools" != xno
17448 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17450 \$(RM) tools/makedep\$(EXEEXT)"
17453 if test -n "$with_wine64"
17455 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17456 fonts server tools:
17457 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17458 $with_wine64/loader/wine:
17459 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17460 $with_wine64/loader/wine-preloader:
17461 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17463 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17465 as_fn_append LOADER_RULES
"
17468 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17469 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17471 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17472 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17473 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17476 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17480 $as_echo " done" >&6
17481 cat >confcache
<<\_ACEOF
17482 # This file is a shell script that caches the results of configure
17483 # tests run on this system so they can be shared between configure
17484 # scripts and configure runs, see configure's option --config-cache.
17485 # It is not useful on other systems. If it contains results you don't
17486 # want to keep, you may remove or edit it.
17488 # config.status only pays attention to the cache file if you give it
17489 # the --recheck option to rerun configure.
17491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17493 # following values.
17497 # The following way of writing the cache mishandles newlines in values,
17498 # but we know of no workaround that is simple, portable, and efficient.
17499 # So, we kill variables containing newlines.
17500 # Ultrix sh set writes to stderr and can't be redirected directly,
17501 # and sets the high bit in the cache file unless we assign to the vars.
17503 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17504 eval ac_val
=\$
$ac_var
17508 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17512 _ | IFS | as_nl
) ;; #(
17513 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17514 *) { eval $ac_var=; unset $ac_var;} ;;
17520 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17521 *${as_nl}ac_space
=\
*)
17522 # `set' does not quote correctly, so add quotes: double-quote
17523 # substitution turns \\\\ into \\, and sed turns \\ into \.
17526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17529 # `set' quotes correctly as required by POSIX, so do not add quotes.
17530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17543 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17544 if test -w "$cache_file"; then
17545 if test "x$cache_file" != "x/dev/null"; then
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17547 $as_echo "$as_me: updating cache $cache_file" >&6;}
17548 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17549 cat confcache
>"$cache_file"
17551 case $cache_file in #(
17553 mv -f confcache
"$cache_file"$$
&&
17554 mv -f "$cache_file"$$
"$cache_file" ;; #(
17556 mv -f confcache
"$cache_file" ;;
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17567 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17568 # Let make expand exec_prefix.
17569 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17571 DEFS
=-DHAVE_CONFIG_H
17576 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17577 # 1. Remove the extension, and $U if already installed.
17578 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17579 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17581 # will be set to the directory where LIBOBJS objects are built.
17582 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17583 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17585 LIBOBJS
=$ac_libobjs
17587 LTLIBOBJS
=$ac_ltlibobjs
17591 : "${CONFIG_STATUS=./config.status}"
17593 ac_clean_files_save
=$ac_clean_files
17594 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17600 # Generated by $as_me.
17601 # Run this file to recreate the current configuration.
17602 # Compiler output produced by configure, useful for debugging
17603 # configure, is in config.log if it exists.
17606 ac_cs_recheck=false
17609 SHELL=\${CONFIG_SHELL-$SHELL}
17612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17613 ## -------------------- ##
17614 ## M4sh Initialization. ##
17615 ## -------------------- ##
17617 # Be more Bourne compatible
17618 DUALCASE
=1; export DUALCASE
# for MKS sh
17619 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17623 # is contrary to our usage. Disable this feature.
17624 alias -g '${1+"$@"}'='"$@"'
17625 setopt NO_GLOB_SUBST
17627 case `(set -o) 2>/dev/null` in #(
17639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17640 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17643 # Prefer a ksh shell builtin over an external printf program on Solaris,
17644 # but without wasting forks for bash or zsh.
17645 if test -z "$BASH_VERSION$ZSH_VERSION" \
17646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17647 as_echo='print
-r --'
17648 as_echo_n='print
-rn --'
17649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17650 as_echo='printf %s
\n'
17651 as_echo_n='printf %s
'
17653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17654 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17655 as_echo_n='/usr
/ucb
/echo -n'
17657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17658 as_echo_n_body='eval
17662 expr "X$arg" : "X\\(.*\\)$as_nl";
17663 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17665 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17667 export as_echo_n_body
17668 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17670 export as_echo_body
17671 as_echo='sh
-c $as_echo_body as_echo
'
17674 # The user is always right.
17675 if test "${PATH_SEPARATOR+set}" != set; then
17677 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17678 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17685 # We need space, tab and new line, in precisely that order. Quoting is
17686 # there to prevent editors from complaining about space-tab.
17687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17688 # splitting by setting IFS to empty value.)
17691 # Find who we are. Look in the path if we contain no directory separator.
17694 *[\\/]* ) as_myself=$0 ;;
17695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17696 for as_dir in $PATH
17699 test -z "$as_dir" && as_dir=.
17700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17706 # We did not find ourselves, most probably we were run as `sh COMMAND'
17707 # in which case we are not to be found in the path.
17708 if test "x$as_myself" = x
; then
17711 if test ! -f "$as_myself"; then
17712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17716 # Unset variables that we do not need and which cause bugs (e.g. in
17717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17718 # suppresses any "Segmentation fault" message there. '((' could
17719 # trigger a bug in pdksh 5.2.14.
17720 for as_var
in BASH_ENV ENV MAIL MAILPATH
17721 do eval test x\
${$as_var+set} = xset \
17722 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17735 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17739 # ----------------------------------------
17740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17742 # script with STATUS, using 1 if that was 0.
17745 as_status
=$1; test $as_status -eq 0 && as_status
=1
17747 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17750 $as_echo "$as_me: error: $2" >&2
17751 as_fn_exit
$as_status
17755 # as_fn_set_status STATUS
17756 # -----------------------
17757 # Set $? to STATUS, without forking.
17758 as_fn_set_status
()
17761 } # as_fn_set_status
17763 # as_fn_exit STATUS
17764 # -----------------
17765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17769 as_fn_set_status
$1
17775 # Portably unset VAR.
17778 { eval $1=; unset $1;}
17780 as_unset
=as_fn_unset
17781 # as_fn_append VAR VALUE
17782 # ----------------------
17783 # Append the text in VALUE to the end of the definition contained in VAR. Take
17784 # advantage of any shell optimizations that allow amortized linear growth over
17785 # repeated appends, instead of the typical quadratic growth present in naive
17787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17788 eval 'as_fn_append ()
17799 # as_fn_arith ARG...
17800 # ------------------
17801 # Perform arithmetic evaluation on the ARGs, and store the result in the
17802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17803 # must be portable across $(()) and expr.
17804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17805 eval 'as_fn_arith ()
17812 as_val
=`expr "$@" || test $? -eq 1`
17817 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17818 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17824 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17825 as_basename
=basename
17830 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17836 as_me
=`$as_basename -- "$0" ||
17837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17838 X"$0" : 'X\(//\)$' \| \
17839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17841 sed '/^.*\/\([^/][^/]*\)\/*$/{
17855 # Avoid depending upon Character Ranges.
17856 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17857 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17858 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17859 as_cr_digits
='0123456789'
17860 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17862 ECHO_C
= ECHO_N
= ECHO_T
=
17863 case `echo -n x` in #(((((
17865 case `echo 'xy\c'` in
17866 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17868 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17875 rm -f conf$$ conf$$.exe conf$$.
file
17876 if test -d conf$$.dir
; then
17877 rm -f conf$$.dir
/conf$$.
file
17880 mkdir conf$$.dir
2>/dev
/null
17882 if (echo >conf$$.
file) 2>/dev
/null
; then
17883 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17885 # ... but there are two gotchas:
17886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17888 # In both cases, we have to default to `cp -pR'.
17889 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17891 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17899 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17900 rmdir conf$$.dir
2>/dev
/null
17905 # Create "$as_dir" as a directory, including parents if necessary.
17910 -*) as_dir
=.
/$as_dir;;
17912 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17916 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17917 *) as_qdir
=$as_dir;;
17919 as_dirs
="'$as_qdir' $as_dirs"
17920 as_dir
=`$as_dirname -- "$as_dir" ||
17921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17922 X"$as_dir" : 'X\(//\)[^/]' \| \
17923 X"$as_dir" : 'X\(//\)$' \| \
17924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17925 $as_echo X"$as_dir" |
17926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17930 /^X\(\/\/\)[^/].*/{
17943 test -d "$as_dir" && break
17945 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17946 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17950 if mkdir
-p .
2>/dev
/null
; then
17951 as_mkdir_p
='mkdir -p "$as_dir"'
17953 test -d .
/-p && rmdir .
/-p
17958 # as_fn_executable_p FILE
17959 # -----------------------
17960 # Test if FILE is an executable regular file.
17961 as_fn_executable_p
()
17963 test -f "$1" && test -x "$1"
17964 } # as_fn_executable_p
17965 as_test_x
='test -x'
17966 as_executable_p
=as_fn_executable_p
17968 # Sed expression to map a string onto a valid CPP name.
17969 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17971 # Sed expression to map a string onto a valid variable name.
17972 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17976 ## ----------------------------------- ##
17977 ## Main body of $CONFIG_STATUS script. ##
17978 ## ----------------------------------- ##
17980 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17983 # Save the log message, to keep $0 and so on meaningful, and to
17984 # report actual input values of CONFIG_FILES etc. instead of their
17985 # values after options handling.
17987 This file was extended by Wine $as_me 1.7.3, which was
17988 generated by GNU Autoconf 2.69. Invocation command line was
17990 CONFIG_FILES = $CONFIG_FILES
17991 CONFIG_HEADERS = $CONFIG_HEADERS
17992 CONFIG_LINKS = $CONFIG_LINKS
17993 CONFIG_COMMANDS = $CONFIG_COMMANDS
17996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18001 case $ac_config_files in *"
18002 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18005 case $ac_config_headers in *"
18006 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18011 # Files that config.status was made for.
18012 config_files="$ac_config_files"
18013 config_headers="$ac_config_headers"
18014 config_links="$ac_config_links"
18015 config_commands="$ac_config_commands"
18019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18021 \`$as_me' instantiates files and other configuration actions
18022 from templates according to the current configuration. Unless the files
18023 and actions are specified as TAGs, all are instantiated by default.
18025 Usage: $0 [OPTION]... [TAG]...
18027 -h, --help print this help, then exit
18028 -V, --version print version number and configuration settings, then exit
18029 --config print configuration, then exit
18030 -q, --quiet, --silent
18031 do not print progress messages
18032 -d, --debug don't remove temporary files
18033 --recheck update $as_me by reconfiguring in the same conditions
18034 --file=FILE[:TEMPLATE]
18035 instantiate the configuration file FILE
18036 --header=FILE[:TEMPLATE]
18037 instantiate the configuration header FILE
18039 Configuration files:
18042 Configuration headers:
18045 Configuration links:
18048 Configuration commands:
18051 Report bugs to <wine-devel@winehq.org>.
18052 Wine home page: <http://www.winehq.org>."
18055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18056 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18058 Wine config.status 1.7.3
18059 configured by $0, generated by GNU Autoconf 2.69,
18060 with options \\"\$ac_cs_config\\"
18062 Copyright (C) 2012 Free Software Foundation, Inc.
18063 This config.status script is free software; the Free Software Foundation
18064 gives unlimited permission to copy, distribute and modify it."
18070 test -n "\$AWK" || AWK=awk
18073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18074 # The default lists apply if the user does not specify any file.
18080 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18081 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18085 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18097 # Handling of the options.
18098 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18100 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18101 $as_echo "$ac_cs_version"; exit ;;
18102 --config |
--confi |
--conf |
--con |
--co |
--c )
18103 $as_echo "$ac_cs_config"; exit ;;
18104 --debug |
--debu |
--deb |
--de |
--d |
-d )
18106 --file |
--fil |
--fi |
--f )
18109 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18110 '') as_fn_error $?
"missing file argument" ;;
18112 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18113 ac_need_defaults
=false
;;
18114 --header |
--heade |
--head |
--hea )
18117 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18119 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18120 ac_need_defaults
=false
;;
18122 # Conflict between --help and --header
18123 as_fn_error $?
"ambiguous option: \`$1'
18124 Try \`$0 --help' for more information.";;
18125 --help |
--hel |
-h )
18126 $as_echo "$ac_cs_usage"; exit ;;
18127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18128 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18131 # This is an error.
18132 -*) as_fn_error $?
"unrecognized option: \`$1'
18133 Try \`$0 --help' for more information." ;;
18135 *) as_fn_append ac_config_targets
" $1"
18136 ac_need_defaults
=false
;;
18142 ac_configure_extra_args
=
18144 if $ac_cs_silent; then
18146 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18151 if \$ac_cs_recheck; then
18152 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18154 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18155 CONFIG_SHELL='$SHELL'
18156 export CONFIG_SHELL
18161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18166 ## Running $as_me. ##
18172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18176 wine_fn_output_makefile ()
18178 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18179 `cat $wine_rules_file`
18181 as_fn_error $? "could not create Makefile" "$LINENO" 5
18186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18188 # Handling of arguments.
18189 for ac_config_target
in $ac_config_targets
18191 case $ac_config_target in
18192 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18193 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18194 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18195 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18196 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18197 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18198 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18199 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18200 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18201 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18202 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18203 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18204 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18205 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18206 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18207 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18208 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18209 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18210 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18211 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18212 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18214 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18219 # If the user did not use the arguments to specify the items to instantiate,
18220 # then the envvar interface is used. Set only those that are not.
18221 # We use the long form for the default assignment because of an extremely
18222 # bizarre bug on SunOS 4.1.3.
18223 if $ac_need_defaults; then
18224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18226 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18227 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18230 # Have a temporary directory for convenience. Make it in the build tree
18231 # simply because there is no reason against having it here, and in addition,
18232 # creating and moving files from /tmp can sometimes cause problems.
18233 # Hook for its removal unless debugging.
18234 # Note that there is a small window in which the directory will not be cleaned:
18235 # after its creation but before its name has been assigned to `$tmp'.
18239 trap 'exit_status=$?
18240 : "${ac_tmp:=$tmp}"
18241 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18243 trap 'as_fn_exit 1' 1 2 13 15
18245 # Create a (secure) tmp directory for tmp files.
18248 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18252 tmp
=.
/conf$$
-$RANDOM
18253 (umask 077 && mkdir
"$tmp")
18254 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18257 # Set up the scripts for CONFIG_FILES section.
18258 # No need to generate them if there are no CONFIG_FILES.
18259 # This happens for instance with `./config.status config.h'.
18260 if test -n "$CONFIG_FILES"; then
18262 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18263 ac_cs_awk_getline
=:
18264 ac_cs_awk_pipe_init
=
18265 ac_cs_awk_read_file
='
18266 while ((getline aline < (F[key])) > 0)
18269 ac_cs_awk_pipe_fini
=
18271 ac_cs_awk_getline
=false
18272 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18273 ac_cs_awk_read_file
='
18275 print "cat " F[key] " &&"
18276 '$ac_cs_awk_pipe_init
18277 # The final `:' finishes the AND list.
18278 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18280 ac_cr
=`echo X | tr X '\015'`
18281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18282 # But we know of no other shell where ac_cr would be empty at this
18283 # point, so we can use a bashism as a fallback.
18284 if test "x$ac_cr" = x
; then
18285 eval ac_cr
=\$
\'\\r
\'
18287 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18291 ac_cs_awk_cr
=$ac_cr
18294 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18297 # Create commands to substitute file output variables.
18299 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18300 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18301 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18304 } >conf$
$files.sh
&&
18305 . .
/conf$
$files.sh ||
18306 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18307 rm -f conf$
$files.sh
18310 echo "cat >conf$$subs.awk <<_ACEOF" &&
18311 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18313 } >conf$$subs.sh ||
18314 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18315 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18317 for ac_last_try in false false false false false :; do
18318 . ./conf$$subs.sh ||
18319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18321 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18322 if test $ac_delim_n = $ac_delim_num; then
18324 elif $ac_last_try; then
18325 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18327 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18330 rm -f conf$$subs.sh
18332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18333 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18337 s/^/S["/; s
/!.
*/"]=/
18347 s/\(.\{148\}\)..*/\1/
18349 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18354 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18361 s/\(.\{148\}\)..*/\1/
18363 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18367 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18372 ' <conf$$subs.awk | sed '
18377 ' >>$CONFIG_STATUS || ac_write_fail=1
18378 rm -f conf$$subs.awk
18379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18381 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18382 for (key in S) S_is_set[key] = 1
18384 \$ac_cs_awk_pipe_init
18388 nfields = split(line, field, "@
")
18390 len = length(field[1])
18391 for (i = 2; i < nfields; i++) {
18393 keylen = length(key)
18394 if (S_is_set[key]) {
18396 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18397 len += length(value) + length(field[++i])
18402 if (nfields == 3 && !substed) {
18404 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18405 \$ac_cs_awk_read_file
18411 \$ac_cs_awk_pipe_fini
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18416 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18419 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18420 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18423 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18424 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18425 # trailing colons and then remove the whole line if VPATH becomes empty
18426 # (actually we leave an empty line to preserve line numbers).
18427 if test "x
$srcdir" = x.; then
18428 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18447 fi # test -n "$CONFIG_FILES"
18449 # Set up the scripts for CONFIG_HEADERS section.
18450 # No need to generate them if there are no CONFIG_HEADERS.
18451 # This happens for instance with `./config.status Makefile'.
18452 if test -n "$CONFIG_HEADERS"; then
18453 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18457 # Transform confdefs.h into an awk script `defines.awk', embedded as
18458 # here-document in config.status, that substitutes the proper values into
18459 # config.h.in to produce config.h.
18461 # Create a delimiter string that does not exist in confdefs.h, to ease
18462 # handling of long lines.
18464 for ac_last_try in false false :; do
18465 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18466 if test -z "$ac_tt"; then
18468 elif $ac_last_try; then
18469 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18471 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18475 # For the awk script, D is an array of macro values keyed by name,
18476 # likewise P contains macro parameters if any. Preserve backslash
18477 # newline sequences.
18479 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18481 s/.\{148\}/&'"$ac_delim"'/g
18484 s/^[ ]*#[ ]*define[ ][ ]*/ /
18491 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18493 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18498 D["\
1"]=" \
3\\\\\\n
"\\/p
18500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18505 s/.\{148\}/&'"$ac_delim"'/g
18510 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18513 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18515 ' <confdefs.h | sed '
18516 s/'"$ac_delim"'/"\\\
18517 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 for (key in D) D_is_set[key] = 1
18523 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18525 split(line, arg, " ")
18526 if (arg[1] == "#") {
18530 defundef
= substr
(arg
[1], 2)
18533 split(mac1
, mac2
, "(") #)
18535 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18536 if (D_is_set
[macro
]) {
18537 # Preserve the white space surrounding the "#".
18538 print prefix
"define", macro P
[macro
] D
[macro
]
18541 # Replace #undef with comments. This is necessary, for example,
18542 # in the case of _POSIX_SOURCE, which is predefined and required
18543 # on some systems where configure will not decide to define it.
18544 if (defundef
== "undef") {
18545 print
"/*", prefix defundef
, macro
, "*/"
18553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18554 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18555 fi # test -n "$CONFIG_HEADERS"
18558 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18563 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18565 case $ac_mode$ac_tag in
18567 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18568 :[FH
]-) ac_tag
=-:-;;
18569 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18586 -) ac_f
="$ac_tmp/stdin";;
18587 *) # Look for the file first in the build tree, then in the source tree
18588 # (if the path is not absolute). The absolute path cannot be DOS-style,
18589 # because $ac_f cannot contain `:'.
18593 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18595 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18597 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18598 as_fn_append ac_file_inputs
" '$ac_f'"
18601 # Let's still pretend it is `configure' which instantiates (i.e., don't
18602 # use $as_me), people would be surprised to read:
18603 # /* config.h. Generated by config.status. */
18604 configure_input
='Generated from '`
18605 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18607 if test x
"$ac_file" != x-
; then
18608 configure_input
="$ac_file. $configure_input"
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18610 $as_echo "$as_me: creating $ac_file" >&6;}
18612 # Neutralize special characters interpreted by sed in replacement strings.
18613 case $configure_input in #(
18614 *\
&* |
*\|
* |
*\\* )
18615 ac_sed_conf_input
=`$as_echo "$configure_input" |
18616 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18617 *) ac_sed_conf_input
=$configure_input;;
18621 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18622 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18627 ac_dir
=`$as_dirname -- "$ac_file" ||
18628 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18629 X"$ac_file" : 'X\(//\)[^/]' \| \
18630 X"$ac_file" : 'X\(//\)$' \| \
18631 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18632 $as_echo X"$ac_file" |
18633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18637 /^X\(\/\/\)[^/].*/{
18650 as_dir
="$ac_dir"; as_fn_mkdir_p
18654 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18656 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18657 # A ".." for each directory in $ac_dir_suffix.
18658 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18659 case $ac_top_builddir_sub in
18660 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18661 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18664 ac_abs_top_builddir
=$ac_pwd
18665 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18666 # for backward compatibility:
18667 ac_top_builddir
=$ac_top_build_prefix
18670 .
) # We are building in place.
18672 ac_top_srcdir
=$ac_top_builddir_sub
18673 ac_abs_top_srcdir
=$ac_pwd ;;
18674 [\\/]* | ?
:[\\/]* ) # Absolute name.
18675 ac_srcdir
=$srcdir$ac_dir_suffix;
18676 ac_top_srcdir
=$srcdir
18677 ac_abs_top_srcdir
=$srcdir ;;
18678 *) # Relative name.
18679 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18680 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18681 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18683 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18693 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18694 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18696 ac_MKDIR_P
=$MKDIR_P
18698 [\\/$
]* | ?
:[\\/]* ) ;;
18699 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18704 # If the template does not know about datarootdir, expand it.
18705 # FIXME: This hack should be removed a few years after 2.60.
18706 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18717 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18718 *datarootdir
*) ac_datarootdir_seen
=yes;;
18719 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18721 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18724 ac_datarootdir_hack='
18725 s&@datadir@&$datadir&g
18726 s&@docdir@&$docdir&g
18727 s&@infodir@&$infodir&g
18728 s&@localedir@&$localedir&g
18729 s&@mandir@&$mandir&g
18730 s&\\\${datarootdir}&$datarootdir&g' ;;
18734 # Neutralize VPATH when `$srcdir' = `.'.
18735 # Shell code in configure.ac might set extrasub.
18736 # FIXME: do we really want to maintain this feature?
18737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18738 ac_sed_extra="$ac_vpsub
18741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18743 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18744 s|@configure_input@|
$ac_sed_conf_input|
;t t
18745 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18746 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18747 s
&@srcdir@
&$ac_srcdir&;t t
18748 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18749 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18750 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18751 s
&@builddir@
&$ac_builddir&;t t
18752 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18753 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18754 s
&@INSTALL@
&$ac_INSTALL&;t t
18755 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18756 $ac_datarootdir_hack
18758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18759 if $ac_cs_awk_getline; then
18760 $AWK -f "$ac_tmp/subs.
awk"
18762 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18764 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18767 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18769 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18771 which seems to be undefined. Please make sure it is defined" >&5
18772 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18773 which seems to be undefined. Please make sure it is defined" >&2;}
18775 rm -f "$ac_tmp/stdin"
18777 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18778 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786 if test x"$ac_file" != x-; then
18788 $as_echo "/* $configure_input */" \
18789 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18790 } >"$ac_tmp/config.h" \
18791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18792 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18797 mv "$ac_tmp/config.h" "$ac_file" \
18798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18801 $as_echo "/* $configure_input */" \
18802 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18803 || as_fn_error $? "could not create -" "$LINENO" 5
18811 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18814 # Prefer the file from the source tree if names are identical.
18815 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18816 ac_source=$srcdir/$ac_source
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18820 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18822 if test ! -r "$ac_source"; then
18823 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18827 # Try a relative symlink, then a hard link, then a copy.
18829 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18830 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18832 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18833 ln "$ac_source" "$ac_file" 2>/dev/null ||
18834 cp -p "$ac_source" "$ac_file" ||
18835 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18838 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18839 $as_echo "$as_me: executing $ac_file commands" >&6;}
18844 case $ac_file$ac_mode in
18845 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18846 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18847 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18848 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18849 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18850 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18851 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18852 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18853 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18854 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18855 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18856 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18857 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18858 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18859 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18860 "Makefile":C) wine_fn_output_makefile Makefile ;;
18868 ac_clean_files=$ac_clean_files_save
18870 test $ac_write_fail = 0 ||
18871 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18874 # configure is writing to config.log, and then calls config.status.
18875 # config.status does its own redirection, appending to config.log.
18876 # Unfortunately, on DOS this fails, as config.log is still kept open
18877 # by configure, so config.status won't be able to
write to it
; its
18878 # output is simply discarded. So we exec the FD to /dev/null,
18879 # effectively closing config.log, so it can be properly (re)opened and
18880 # appended to by config.status. When coming back to configure, we
18881 # need to make the FD available again.
18882 if test "$no_create" != yes; then
18884 ac_config_status_args
=
18885 test "$silent" = yes &&
18886 ac_config_status_args
="$ac_config_status_args --quiet"
18888 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18890 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18891 # would make configure fail if this is the last instruction.
18892 $ac_cs_success || as_fn_exit
1
18894 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18896 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18900 if test "$no_create" = "yes"
18906 if test "x$wine_notices != "x
; then
18909 for msg
in $wine_notices; do
18911 if test -n "$msg"; then
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18913 $as_echo "$as_me: $msg" >&6;}
18918 for msg
in $wine_warnings; do
18920 if test -n "$msg"; then
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18923 $as_echo "$as_me: WARNING: $msg" >&2;}
18929 $as_me: Finished. Do '${ac_make}' to compile Wine.